pub struct DaemonOptions {
pub idle_exit: Duration,
pub worker_bin: PathBuf,
pub reconcile_on_start: bool,
pub dead_row_grace: Duration,
pub notify_on_blocked: bool,
pub notify_on_done: bool,
}Expand description
Daemon tunables. Defaults match the design (30 min idle exit).
Fields§
§idle_exit: Duration§worker_bin: PathBufPath to the fno-agents-worker binary. Resolved from the daemon’s own
executable directory by default; overridable via FNO_AGENTS_WORKER_BIN
(tests point this at the cargo-built binary).
reconcile_on_start: boolRun one bounded reconcile sweep on daemon startup before serving any
client (Architecture B, plan ab-70faa65b). Default true; the opt-out
(env FNO_AGENTS_NO_STARTUP_RECONCILE=1, Claude’s discretion #5) trades a
truthful first list for the fastest possible cold start.
dead_row_grace: DurationGrace window before the dead-row GC reaps a finished agent-view row
(x-b1aa). Default 1h; the daemon entrypoint overrides it from
config.agents.dead_row_grace (via agents_config::dead_row_grace_secs).
notify_on_blocked: boolFire an OS notification when a badge ENTERS blocked (x-dd84). Default
ON; overridden from config.mux.notify_on_blocked at startup.
notify_on_done: boolAlso notify on a terminal done hook transition. Default OFF; overridden
from config.mux.notify_on_done.
Trait Implementations§
Source§impl Clone for DaemonOptions
impl Clone for DaemonOptions
Source§fn clone(&self) -> DaemonOptions
fn clone(&self) -> DaemonOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more