inspector/core/json
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall ab3f8c779a fix: address Copilot review round 25 — names before constants, unrenderable properties
- selectBranchIndex asks the supplied NAMES first and falls back to a lone
  agreeing constant only when they settle nothing. A matching `const` does
  not identify a branch while another candidate leaves that property unpinned:
  `{ kind: "email", phone: "555" }` agrees with an email branch whose
  `address` is missing while satisfying a phone branch outright.
- isOfferable requires every property VALUE to be readable — JSON Schema's
  boolean form is fine, a `null` or an array is not a schema at all and the
  web form dereferences one on the way to choosing a widget. Such a branch is
  declined rather than handed on to crash a tool panel that would otherwise
  have rendered.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 09:30:36 -04:00
..
jsonUtils.ts fix: address Copilot review round 23 — inherited constants, branch null forms, test cast 2026-08-26 08:31:00 -04:00
nullableUnion.ts fix: address Copilot review round 23 — inherited constants, branch null forms, test cast 2026-08-26 08:31:00 -04:00
rootUnion.ts fix: address Copilot review round 25 — names before constants, unrenderable properties 2026-08-26 09:30:36 -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