Expand description
agents logs — persisted log tier. Leaves:
open --id <id>— look up a single logged row by itslogs.messages."index".list --all | --pending— stream logged rows for the targets:--allis every row,--pendingis the unfinalized rows only.subscribe— long-lived stream of new rows as they land.
Modules§
- list
agents logs read all— fetch every log row for a target AIH, coalesced intoResponseItemblocks.- open
agents logs read id— fetch one logged row by itslogs.messages."index"BIGSERIAL. The handler resolves the row’s target table via thelogs.message_tablediscriminator and returns a typedResponsevariant carrying that table’s payload — noserde_json::Valueanywhere in the public shape.- subscribe
agents logs read subscribe— the live cousin ofagents logs read pending. SameVec<Target>input + same parts-grouped block output, but with a first-ping-or-go-inactive wait loop. Returns either a real block (the EXACT same JSON shaperead all/read pendingemit) OR the literal string"agents_inactive"when no target has a live agent to wait on.