Expand description
agents logs — CLI-side dispatch for the logs subtree.
open (look up one row), list (stream rows: --all/--pending),
subscribe (live stream of new rows).
Modules§
- list
agents read all— bare-naked streaming handler stub.- open
agents logs read id <id>— resolve aobjectiveai.messages."index"to its typedResponsevariant. The dispatch logic lives incrate::db::logs::read_by_id; this handler is a thin wrapper.- subscribe
agents logs read subscribe— first-ping-or-go-inactive wait loop.- token_
usage agents logs token-usage— CLI-side dispatch. Leaf:subscribe(wait for the storedtotal_tokenssnapshot to change or the instance lock to drop).