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, and nothing downstream of it does either: supercode records a
Claude session’s schedules and never fires them. Compiling them into a
scheduler that does is supercode orchestrator import --from claude-session, an explicit operator act against the orchestrator’s own
job store.
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.
Constants§
- CLAUDE_
RUNTIME_ MANIFEST_ VERSION - Version of the persisted Claude runtime-state manifest schema.