inspector/test-servers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall f3878f94a9 fix: widen the test recorder's metadata type and correct a stale comment
`RecordedRequest.metadata` was still `Record<string, string>`, so the recorder
advertised a string-only contract it no longer honors. The new CLI tests assert
objects and arrays against it and passed only because `toEqual` does not
enforce the declared type.

Typed as `Record<string, unknown>` rather than core's `RequestMetadata`:
test-servers compiles standalone (`tsc -p test-servers`, NodeNext, no `paths`),
so it has no `@inspector/core` alias to import through.

Also update `progressTokenOf`'s doc comment, which still claimed an invalid
token "reaches the wire inside `_meta`" — untrue since mergeMeta started
deleting it. It now names the split: progressTokenOf governs callback
correlation, mergeMeta governs wire sanitization, both via isProgressToken.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0177mPHAdECD18nLLCTwR5rh
Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-23 13:49:55 -04:00
..
configs feat(apps): negotiated app-rendered form elicitations 2026-08-22 19:05:33 -04:00
src fix: widen the test recorder's metadata type and correct a stale comment 2026-08-23 13:49:55 -04:00
tsconfig.json All of the mid-session and step-up auth work 2026-07-02 16:35:31 -07:00