ScriptBlockVerdict
Type Alias: ScriptBlockVerdict
ScriptBlockVerdict = {
alsoMatches?:number;block:number;dispatch:number;exitCode?:number;label:ScriptLabel;tool:string;toolCallId:string; } | {block:number;label:"unmatched";reason:UnmatchedReason; }
Defined in: src/lib/scriptRecord.ts:58
The verdict on one fenced block of the answer, under code: 'match'.
Union Members
Type Literal
{ alsoMatches?: number; block: number; dispatch: number; exitCode?: number; label: ScriptLabel; tool: string; toolCallId: string; }
alsoMatches?
readonlyoptionalalsoMatches?:number
Other calls of this turn that submitted byte-identical programs (the latest is named).
block
readonlyblock:number
1-based position among the answer's fenced blocks that were read.
dispatch
readonlydispatch:number
The library's identity for the matched call: the 1-based order of the actual dispatch within its turn. A reused provider id is a new dispatch; a pause and its settlement are one.
exitCode?
readonlyoptionalexitCode?:number
label
readonlylabel:ScriptLabel
The matched call's own label — F2, never a fixed "executed".
tool
readonlytool:string
toolCallId
readonlytoolCallId:string
The provider's id for the call — display only; two calls may share one.
Type Literal
{ block: number; label: "unmatched"; reason: UnmatchedReason; }
