TurnEndScripts
Interface: TurnEndScripts
Defined in: src/lib/scriptRecord.ts:125
turn_end.scripts — present only under .scriptTravelsWithTheAnswer().
Properties
closedFence?
readonlyoptionalclosedFence?:object
Defined in: src/lib/scriptRecord.ts:140
The fence the library CLOSED before the attachment: the text before it (the model's answer, and any library block above) ended inside a fence a renderer would still be in, so the library wrote the closing fence first and nothing the model left open could take the programs in. Present only when it closed one.
char
readonlychar:"backtick"|"tilde"
length
readonlylength:number
omitted
readonlyomitted:number
Defined in: src/lib/scriptRecord.ts:132
Calls of this turn not attached: past MAX_ATTACHED_SCRIPTS, a program
over MAX_SCRIPT_BYTES (no text on its row), or a call past
MAX_SCRIPT_ROWS (no row).
shown
readonlyshown: readonlyShownScript[]
Defined in: src/lib/scriptRecord.ts:126
withheldFromText?
readonlyoptionalwithheldFromText?:true
Defined in: src/lib/scriptRecord.ts:148
true: the programs are NOT in the answer's text, only here. The text
before the attachment holds a line after which a renderer could pair
fences another way (an indented fence, raw HTML, display math), so the
library cannot tell what a program would render inside. The labels are
in the text; the programs ride shown[].text. Absent otherwise.
