@specific.dev/spectest 0.55.0 → 0.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/daemon.js +10 -0
- package/dist/harness/raw-fetch.d.ts +7 -0
- package/dist/harness/raw-fetch.js +33 -0
- package/dist/ids.d.ts +9 -0
- package/dist/ids.js +11 -1
- package/dist/index.d.ts +43 -0
- package/dist/index.js +4 -0
- package/dist/mcp-auth.d.ts +176 -0
- package/dist/mcp-auth.js +455 -0
- package/dist/mcp-transport.d.ts +130 -0
- package/dist/mcp-transport.js +330 -0
- package/dist/mcp.d.ts +246 -0
- package/dist/mcp.js +1060 -0
- package/dist/recorder.d.ts +5 -0
- package/package.json +1 -1
- package/src/daemon.ts +10 -0
- package/src/harness/raw-fetch.ts +36 -0
- package/src/ids.ts +12 -1
- package/src/index.ts +69 -0
- package/src/mcp-auth.ts +626 -0
- package/src/mcp-transport.ts +427 -0
- package/src/mcp.test.ts +94 -0
- package/src/mcp.ts +1435 -0
- package/src/recorder.ts +5 -2
package/src/recorder.ts
CHANGED
|
@@ -859,10 +859,13 @@ export type StepBlock =
|
|
|
859
859
|
| { type: "text"; text: string }
|
|
860
860
|
| { type: "code"; code: string; lang?: string; label?: string }
|
|
861
861
|
| { type: "json"; value: unknown; label?: string }
|
|
862
|
-
| { type: "kv"; rows: { label: string; value?: string; error?: boolean }[] }
|
|
862
|
+
| { type: "kv"; rows: { label: string; value?: string; error?: boolean }[]; label?: string }
|
|
863
863
|
| { type: "table"; columns: string[]; rows: unknown[][] }
|
|
864
864
|
| { type: "htmlSandbox"; html: string; label?: string }
|
|
865
|
-
| { type: "chat"; messages: ChatBlockMessage[]; label?: string }
|
|
865
|
+
| { type: "chat"; messages: ChatBlockMessage[]; label?: string }
|
|
866
|
+
// A disclosure. For what a step has but a reader does not want on every
|
|
867
|
+
// step — a connection's protocol version, session id, redacted token.
|
|
868
|
+
| { type: "details"; summary: string; blocks: StepBlock[] };
|
|
866
869
|
|
|
867
870
|
/** One message of a `chat` block. */
|
|
868
871
|
export interface ChatBlockMessage {
|