inspector/core/json
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall c9162d0e73 fix: address Copilot review round 31 — proto-safe results, set-valued types, core keywords
- convertToolParameters defines its result keys rather than assigning them, so
  a discriminator legally named `__proto__` reaches the call instead of the
  prototype setter. It also collapses a nullable declaration before dispatching,
  so `type: ["number","null"]` coerces as a number rather than being sent
  as text.
- typeNameOf sorts an array `type`: JSON Schema reads it as a SET, so
  `["number","null"]` and `["null","number"]` are one declaration
  and must not read as branches disagreeing.
- nullableUnion's non-asserting keyword set covers `$defs`, `$id`,
  `$schema`, `$anchor`, `$dynamicAnchor` and `$vocabulary` — they
  identify or declare rather than assert. `$ref` stays out: it applies
  whatever it points at.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 12:25:46 -04:00
..
jsonUtils.ts fix: address Copilot review round 31 — proto-safe results, set-valued types, core keywords 2026-08-26 12:25:46 -04:00
nullableUnion.ts fix: address Copilot review round 31 — proto-safe results, set-valued types, core keywords 2026-08-26 12:25:46 -04:00
rootUnion.ts fix: address Copilot review round 26 — a false property schema declines the branch 2026-08-26 09:42:50 -04:00
schemaLint.ts fix: stop claiming a bare-true replacement narrows the contract 2026-08-25 03:41:17 -04:00
xMcpHeader.ts fix(core): mirror SEP-2243 x-mcp-header args to Mcp-Param-* on tools/call (#1847) 2026-07-28 19:19:48 -04:00