Expand description
Lossless, non-executing reconstruction of Claude Code runtime state.
Claude Code persists scheduling, queue, permission, and background-agent
events in the same JSONL stream as chat messages. Those records are not
part of the provider-neutral crate::ChatMessage view, but they are
required to decide whether a resumed session is semantically complete.
This module folds the verbatim crate::Session::raw records into a
serializable manifest. It deliberately does not start jobs, agents, or
timers; activation is a separate policy decision.
Structs§
- Claude
Background Child - Latest known state of a Claude
Agenttool call. - Claude
Cron Job - One active Claude Cron job.
- Claude
Queue State - End-of-transcript queue state.
- Claude
Runtime Manifest - A pure, serializable reconstruction of runtime state in a Claude transcript.
- Claude
Runtime Posture - Latest Claude CLI mode and permission posture.
- Claude
Runtime Residue - Verbatim evidence for one runtime-affecting source record.
- Claude
Wakeup - One scheduled one-shot wakeup that has not yet observably fired.
Enums§
- Claude
Background State - Lifecycle state recovered for a Claude background child.
- Claude
Runtime Execution State - Execution posture for imported Claude runtime state.
Constants§
- CLAUDE_
RUNTIME_ MANIFEST_ VERSION - Version of the persisted Claude runtime-state manifest schema.