ShownScript
Interface: ShownScript
Defined in: src/lib/scriptRecord.ts:100
One attached script, as turn_end.scripts.shown carries it.
Properties
bytes
readonlybytes:number
Defined in: src/lib/scriptRecord.ts:116
UTF-8 bytes of the whole program.
dispatch
readonlydispatch:number
Defined in: src/lib/scriptRecord.ts:104
The library's identity for the call: its dispatch order within the turn.
exitCode?
readonlyoptionalexitCode?:number
Defined in: src/lib/scriptRecord.ts:111
Only when the runner supplied one.
label
readonlylabel:ScriptLabel
Defined in: src/lib/scriptRecord.ts:109
language?
readonlyoptionallanguage?:string
Defined in: src/lib/scriptRecord.ts:108
As declared.
lines
readonlylines:number
Defined in: src/lib/scriptRecord.ts:117
resultWithheld?
readonlyoptionalresultWithheld?:"over-ceiling"
Defined in: src/lib/scriptRecord.ts:112
rewritten?
readonlyoptionalrewritten?:true
Defined in: src/lib/scriptRecord.ts:114
A before-tool rule changed the program before dispatch.
text
readonlytext:string
Defined in: src/lib/scriptRecord.ts:121
The program, cut at maxBytes — a model-written string.
tool
readonlytool:string
Defined in: src/lib/scriptRecord.ts:106
The name the model called.
toolCallId
readonlytoolCallId:string
Defined in: src/lib/scriptRecord.ts:102
The provider's id for the call — display only; two calls may share one.
truncated?
readonlyoptionaltruncated?:object
Defined in: src/lib/scriptRecord.ts:119
Present when text is a cut: how many bytes of bytes it holds.
shownBytes
readonlyshownBytes:number
