Structs§
- Approval
Record - Approvals
Repo - Checkpoint
Record - Checkpoints
Repo - Compaction
Record - Compactions
Repo - Message
Record - Messages
Repo - NewApproval
- NewCheckpoint
- NewCompaction
- NewMessage
- NewPlugin
Install - NewProcess
- NewProvider
Probe - NewSession
- NewTask
- NewTool
Run - Pairing
Token Record - Pairing
Tokens Repo - Plugin
Install Record - Plugins
Repo - Process
Record - Processes
Repo - Provider
Probe Record - Provider
Probes Repo - Runtime
Store - SQLite-backed durable runtime state.
- Session
Record - Sessions
Repo - Task
Record - Task
Timeline Event - Tasks
Repo - Tool
RunRecord - Tool
Runs Repo
Enums§
- Process
Status - Task
Priority - Task
Status - Durable task state. A task is the daemon-level work unit; a chat transcript is just one artifact linked to it.
Functions§
- data_
dir - try_
exclusive_ lock - Acquire an exclusive, auto-released advisory lock on
path— a process singleton guard for the daemon (#131). Returns the heldFileon success (keep it alive to hold the lock), orNoneif another process already holds it.flockreleases automatically when the file is dropped OR the process exits/crashes, so a dead holder never wedges the lock the way anO_EXCLpidfile would. Holding it across the socket probe → unlink → bind closes that TOCTOU: two daemons can’t both decide a stale socket is theirs to rebind.