Skip to main content

Module logs

Module logs 

Source
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 a objectiveai.messages."index" to its typed Response variant. The dispatch logic lives in crate::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 stored total_tokens snapshot to change or the instance lock to drop).

Functions§

execute