@specific.dev/spectest 0.54.1 → 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/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 {