Expand description
agents logs token-usage — CLI-side dispatch. Leaf: subscribe
(wait for the stored total_tokens snapshot to change or the
instance lock to drop).
Modules§
- get
agents logs token-usage get— read an agent’s current storedtotal_tokenssnapshot.total_tokensis null when no agent-completion usage has been recorded for the AIH yet.- subscribe
agents logs token-usage subscribe— wait for an agent’s storedtotal_tokenssnapshot to change, OR for its instance lock to drop. One-shot: emits exactly one item then ends.