Skip to content

CrashContext

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/crashHandler.ts:44

Session-supplied context folded into the snapshot when a crash fires. All optional: a crash before a session registers anything still produces a useful snapshot (error + stack + debugLog buffer + env), just without config/transcript.

optional config?: unknown

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/crashHandler.ts:46

The effective resolved config.


optional modelDisplayName?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/crashHandler.ts:48

Model display name.


optional transcriptTail?: unknown

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/crashHandler.ts:50

The in-flight turn’s transcript tail.