inspector/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 923c58edec fix(server): pin all validated addresses; keep tests out of the build
Addresses the round-2 Copilot review (both suppressed comments).

- createPinnedAgent now takes the whole validated address list instead of
  a single IP, so Node's address-family fallback still works: a
  dual-stack host whose first address is unreachable (IPv6 on an
  IPv4-only network) connects via a later one. The set net.connect may
  choose from is exactly the prevalidated set, so the TOCTOU guarantee is
  unchanged. Empty input throws ProxyTargetError rather than pinning
  undefined.
- Tests: dual-stack pass-through, the empty-list guard, and an
  end-to-end request where the first pinned address is a black hole
  (2001:db8::1) and the connection must complete via the second.
- server/tsconfig.json excludes src/**/__tests__/** so the suite is no
  longer emitted into build/ and published with the package (verified:
  build/__tests__ is gone). tsconfig.test.json keeps the suite
  type-checked, and `npm test` runs it before vitest.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-19 17:05:42 -04:00
..
src fix(server): pin all validated addresses; keep tests out of the build 2026-08-19 17:05:42 -04:00
static Add MCP Apps support to Inspector (#1044) 2026-02-05 20:02:20 -07:00
LICENSE fix: include LICENSE file in published npm packages 2026-02-04 12:37:55 +00:00
package.json fix(server): pin all validated addresses; keep tests out of the build 2026-08-19 17:05:42 -04:00
tsconfig.json fix(server): pin all validated addresses; keep tests out of the build 2026-08-19 17:05:42 -04:00
tsconfig.test.json fix(server): pin all validated addresses; keep tests out of the build 2026-08-19 17:05:42 -04:00
vitest.config.ts fix: prevent DNS-rebinding TOCTOU in safeProxyFetch by pinning resolved IPs 2026-07-21 12:46:25 +02:00