Skip to main content

Module daemon

Module daemon 

Source
Expand description

daemon tier dispatch. Mirrors objectiveai-sdk-rs/src/cli/command/daemon/mod.rs. spawn is streaming (the resident daemon yields readiness then serves); kill is unary.

Modules§

kill
daemon kill — stop the per-state plugin daemon. Its leashed daemon: true plugins die with it.
spawn
daemon spawn — launcher + resident foreground daemon.

Constants§

DAEMON_INIT_LOCK_KEY
Init gate key — serializes daemon startup so the singleton lock is acquired without racing (mirrors objectiveai-db’s db-init gate).
DAEMON_LOCK_KEY
Per-state daemon singleton lock key (under state_dir/locks).

Functions§

execute