Skip to main content

Module claude_runtime_scheduler

Module claude_runtime_scheduler 

Source
Expand description

Deterministic execution cursor for imported Claude cron and wakeup state.

This module never reads the system clock and never sleeps. Callers supply integer Unix seconds to activation, inspection, reconciliation, and claim operations. Cron fields are interpreted in UTC. Claude’s native scheduler may use a local wall-clock timezone; that offset is not present in the imported runtime records, so UTC is the explicit persisted residue here.

Structs§

ClaudeCronScheduleState
Persisted execution cursor for one Claude cron.
ClaudeRuntimeDeliveryState
Persisted claimed-but-unacknowledged prompt.
ClaudeRuntimeSchedulerState
Persisted scheduler cursor. Empty/default state keeps pre-scheduler manifests backward compatible and inert.
ClaudeRuntimeTrigger
One prompt made executable by an explicit scheduler claim.
ClaudeWakeupScheduleState
Persisted execution cursor for one Claude scheduled wakeup.

Enums§

ClaudeRuntimeTriggerKind
Stable trigger ordering: due time, then kind, then source id.