inspector/clients/web/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 566990382a chore: address Copilot review round 3 on #2200
Two suppressed comments, both accurate.

- Pin zod, zod/v4 and open to the root in vitest.shared.mts, and add matching
  paths to the three clients/web tsconfigs. The claim they replace — that these
  resolve unambiguously by walk-up — was wrong: both still sit at the top level
  of clients/web/node_modules as transitive copies (zod under
  eslint-plugin-react-hooks, open under Storybook), so an unpinned bare import
  from a web test resolved the client copy while core/ and the SDK packages
  resolved the root's. For open that is only wasteful; for zod it is a schema
  built by one copy and an instanceof check made by the other across the whole
  @modelcontextprotocol/* surface. zod is deduped as well, and zod/v4 gets its
  own entry because first-party code imports both specifiers and pinning one
  would split the package rather than collapse it.
- Update the consumer comments that #2195 falsified. clients/web/vite.config.ts
  (three places) and server/start-vite-dev-server.ts all still said the shared
  aliases resolve pino/hono and friends from clients/web/node_modules; they now
  state the split — react and react-dom from the client install, everything
  root-declared from the repo root.
- local-dev skill: replace the wrong 'resolves unambiguously' list with the
  distinction that actually matters. Deleting a declaration is not the same as
  the package resolving from the root, because chokidar, zod, open and react
  all sit in a client install transitively; check the install, not the manifest.
  ajv, commander and undici carry no pin because no client install has a copy.

npm run local:gate passes from a cold tsc build.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-31 20:27:08 -04:00
..
app-origin-controller.ts fix(web): bound retained app documents by size; correct the cookie claim 2026-08-24 08:45:40 -04:00
browser-externalized-builtin-gate.ts build(web): fail vite build on a browser-externalized Node built-in (#1769) (#1777) 2026-07-25 19:45:11 -04:00
ensure-web-build.ts feat(web): build dist on demand for prod --web + end-to-end CI smoke (#1486) (#1497) 2026-06-16 18:34:52 -04:00
inject-auth-token.ts feat(auth): inject MCP_INSPECTOR_API_TOKEN into served index.html (#1378) (#1382) 2026-05-30 20:10:27 -04:00
resolve-bind-host.ts fix: bind loopback by address and pin the sandbox port so containers work 2026-08-15 12:33:27 -04:00
run-web.ts feat(web): enforce localhost-only binding; expand loopback origin allow-list (#1796) 2026-07-26 22:15:10 -04:00
sandbox-controller.ts fix(web): harden the app-origin paths and correct three docs 2026-08-24 08:45:40 -04:00
server.ts test(web): prove the dedicated app origin end to end 2026-08-24 08:45:40 -04:00
start-vite-dev-server.ts chore: address Copilot review round 3 on #2200 2026-08-31 20:27:08 -04:00
types.ts Port v1.5 web dev backend (vite-hono-plugin + remote-server bootstrap) (#1321) 2026-05-18 19:22:14 -04:00
vite-base-config.ts fix(auth): refuse on a stuck lock, capture identity at the mkdir seam (#2082) 2026-08-23 11:31:37 -04:00
vite-hono-plugin.ts test(web): prove the dedicated app origin end to end 2026-08-24 08:45:40 -04:00
web-server-config.ts fix(web): guard the app-origin port and the trusted-origin grant 2026-08-24 08:45:40 -04:00