inspector
inspector copied to clipboard
fix(web): surface InspectorClient error events
Summary
- expose the existing InspectorClient
errorevent aslastErrorfromuseInspectorClient - show a deduped connection-error toast when the hook reports an error status with a reason
- pin SDK subpath aliases used by repo-root unit tests so
App.test.tsxresolves core imports fromclients/web/node_modules
Fixes #1323
Validation
cd clients/web && npm test -- src/test/core/react/useInspectorClient.test.tsx src/App.test.tsx./clients/web/node_modules/.bin/prettier --check core/react/useInspectorClient.ts clients/web/src/App.tsx clients/web/src/App.test.tsx clients/web/src/test/core/react/useInspectorClient.test.tsxcd clients/web && ./node_modules/.bin/eslint src/App.tsx src/App.test.tsx src/test/core/react/useInspectorClient.test.tsx vite.config.tsgit diff --check