Interface: CrashReport
@termwright/driver / CrashReport
Interface: CrashReport
Section titled “Interface: CrashReport”Defined in: driver/src/api.ts:984
What the session knew at the moment a program died unexpectedly.
“Unexpectedly” means the child exited on a signal, or with a non-zero code,
without the harness being asked for it: neither close() nor an explicit
signal() produces a report.
Properties
Section titled “Properties”diagnosticsTail
Section titled “diagnosticsTail”
readonlydiagnosticsTail: readonlySessionDiagnostic[]
Defined in: driver/src/api.ts:1000
Tail of the session diagnostics log.
readonlyexit:ExitStatus
Defined in: driver/src/api.ts:985
lastSemanticTree
Section titled “lastSemanticTree”
readonlylastSemanticTree:SemanticSnapshot|null
Defined in: driver/src/api.ts:996
Last fully paired semantic revision, when the session had one.
recentInputs
Section titled “recentInputs”
readonlyrecentInputs: readonlyCrashInput[]
Defined in: driver/src/api.ts:998
The most recent inputs, oldest first — what was sent just before the end.
screenTail
Section titled “screenTail”
readonlyscreenTail: readonlystring[]
Defined in: driver/src/api.ts:994
Last lines of scrollback plus the visible grid, oldest first, with trailing blank lines trimmed — where a stack trace or a panic message ends up.
This is what the terminal showed, verbatim and unscrubbed: whatever the program (or the tty’s echo) displayed is here, secrets included. Treat a crash report like a screenshot when storing or forwarding it.
timeMs
Section titled “timeMs”
readonlytimeMs:number
Defined in: driver/src/api.ts:1002
Milliseconds since session start, on the same clock as every event.