Skip to content

WriteCrashSnapshotInput

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

Input to writeCrashSnapshot.

optional config?: unknown

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

The effective resolved config, if the crashing process had one registered. Opaque.


error: unknown

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

The thrown error / rejection reason. Need not be an Error.


optional modelDisplayName?: string

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

Model display name, if known.


origin: string

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

Where the failure came from — e.g. 'uncaughtException' / 'unhandledRejection'.


optional transcriptTail?: unknown

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

The in-flight turn’s transcript tail, if a session registered one. Opaque.