consciousness/src/bin/poc-daemon
ProofOfConcept d0080698f3 cli: switch to clap, add notify-timeout, improve status display
Replace manual arg parsing with clap derive for the full command set.
Single source of truth for command names, args, and help text.

Add notify_timeout (default 2min) — controls how long after last
response before notifications inject via tmux instead of waiting
for the hook. Separate from idle_timeout (5min) which controls
autonomous prompts.

Improve `poc-daemon status` to show both timers with elapsed/configured
and block reason, replacing the terse one-liner.

Add new Status fields over capnp: idleTimeout, notifyTimeout,
sinceActivity, sinceUser, blockReason.

ExecStart in poc-daemon.service now uses `daemon` subcommand.

Co-Authored-By: ProofOfConcept <poc@bcachefs.org>
2026-03-05 21:32:27 -05:00
..
modules irc: handle non-UTF-8 input, CTCP VERSION, log outgoing messages 2026-03-05 21:15:49 -05:00
config.rs merge poc-daemon and poc-hook into poc-memory repo 2026-03-05 19:17:22 -05:00
context.rs daemon: fix UTF-8 panics on multi-byte character truncation 2026-03-05 21:15:40 -05:00
idle.rs cli: switch to clap, add notify-timeout, improve status display 2026-03-05 21:32:27 -05:00
main.rs cli: switch to clap, add notify-timeout, improve status display 2026-03-05 21:32:27 -05:00
notify.rs daemon: fix UTF-8 panics on multi-byte character truncation 2026-03-05 21:15:40 -05:00
rpc.rs cli: switch to clap, add notify-timeout, improve status display 2026-03-05 21:32:27 -05:00
tmux.rs daemon: fix UTF-8 panics on multi-byte character truncation 2026-03-05 21:15:40 -05:00