inspector/core/mcp/state
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 6a08c77c92 fix: address Copilot review round 3 on #2251
- skills.ts: decide root containment on NORMALIZED URIs. A raw prefix
  check passed `skill://acme/billing/refunds/../other.md`, which starts
  with the advertised root but resolves outside it — a traversal the
  conformance report was reporting as clean.
- skills.ts: `normalizeSkillUri` also rejects a relative string, so
  `demo/SKILL.md` is `malformed-uri` rather than a skill path, and an
  opaque-path URI (`skill:demo/..`), which the parser leaves un-normalized
  and on which containment cannot be decided.
- skills.ts: `missing-description` is an error. SEP-2640 requires it, so
  an absent one must not read as "0 errors" in the conformance summary.
- managedSkillsState: call `markResponseRejected` for a decode rejection,
  as every managed list does. An invalid `skills/list` result was showing
  in the Protocol tab as a clean success.
- SkillsScreen: per-row attempt token. The manifest key cannot tell two
  verifications of the SAME row apart, so a double click (or a row button
  pressed during "Verify all") let an older read finish last and overwrite
  the newer verdict.
- SkillsScreen: disable "Verify all" while a batch runs. The concurrency
  cap is per invocation, so repeated clicks stacked pools — 4, then 8,
  then 12.
- SkillsScreen: include the finding index in each issue alert's key. Three
  identical URIs produce two `duplicate-resource` findings with the same
  code and URI, and React was free to drop the extras — hiding findings in
  exactly the malformed input this view exists to inspect.
- test-servers/skills.ts: register `skills/list` and `skills/get` through
  the PUBLIC `setRequestHandler` with explicit param schemas. The private
  `_requestHandlers` map is now reached only to wrap `resources/read`,
  which has to chain onto the SDK's handler rather than replace it — the
  one thing the public API cannot express, and the comment now says so
  instead of citing the tasks fixture.
- test-servers/skills.ts: raise `-32602` for an unknown `skills/get` URI.
  A plain Error mapped to a generic server failure, making the fixture
  non-conforming outside its three documented bad cases.
- clients/web/README.md: the paragraph named four contracts while still
  saying the smoke "drives all three".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018kfrH3uRNUM4JAk1reKtyY
Signed-off-by: cliffhall <cliff@futurescale.com>
2026-09-04 22:06:36 -04:00
..
fetchRequestLogState.ts Thread cacheMode through managed list refresh via SDK cache-aware verbs (#1721) (#1723) 2026-07-19 01:06:31 -04:00
index.ts feat: support the Skills extension (SEP-2640) with digest verification 2026-09-04 20:45:15 -04:00
managedListState.ts feat: allow complex JSON values in request _meta 2026-08-23 12:23:40 -04:00
managedPromptsState.ts fix: surface list-fetch failures instead of swallowing them 2026-08-08 16:48:48 -04:00
managedRequestorTasksState.ts chore: close quality-gate coverage gaps (#1689) (#1766) 2026-07-24 17:20:12 -04:00
managedResourcesState.ts fix: surface list-fetch failures instead of swallowing them 2026-08-08 16:48:48 -04:00
managedResourceTemplatesState.ts fix: surface list-fetch failures instead of swallowing them 2026-08-08 16:48:48 -04:00
managedSkillsState.ts fix: address Copilot review round 3 on #2251 2026-09-04 22:06:36 -04:00
managedToolsState.ts fix: surface list-fetch failures instead of swallowing them 2026-08-08 16:48:48 -04:00
mergeTaskIntoList.ts SDK v2 migration (behavior-neutral, versionNegotiation: 'legacy') (#1624) 2026-07-15 10:44:24 -04:00
messageLogState.ts fix: surface list-fetch failures instead of swallowing them 2026-08-08 16:48:48 -04:00
pagedPromptsState.ts feat: allow complex JSON values in request _meta 2026-08-23 12:23:40 -04:00
pagedRequestorTasksState.ts SDK v2 migration (behavior-neutral, versionNegotiation: 'legacy') (#1624) 2026-07-15 10:44:24 -04:00
pagedResourcesState.ts feat: allow complex JSON values in request _meta 2026-08-23 12:23:40 -04:00
pagedResourceTemplatesState.ts feat: allow complex JSON values in request _meta 2026-08-23 12:23:40 -04:00
pagedToolsState.ts fix: surface list-fetch failures in paginated mode (#1998) 2026-08-17 20:40:23 -04:00
resourceSubscriptionsState.ts chore: close quality-gate coverage gaps (#1689) (#1766) 2026-07-24 17:20:12 -04:00
stderrLogState.ts feat(core): port v1.5 hook layer (#1243) (#1300) 2026-05-13 17:43:07 -04:00