Skip to main content

Module agent_runtime_latest

Module agent_runtime_latest 

Source
Expand description

The latest agentruntime event of each pane, kept in memory so a reader that did not subscribe (the live facts Agents list and Agents status read) can ask what a pane runs with now: what it was asked to run (model, effort, permission_mode) and what its CLI reported using (effective_model, effective_effort). Written where the event is published, so it is as current as the event; lost with the process, like the event’s own replay.

Functions§

forget
Forget block_id (its pane closed).
get
block_id’s latest event, if one was published since srv started.
record
Remember event as its pane’s latest.