The CURRENT record for a terminal id, or undefined when it is gone.
Resolved off the pane inventory rather than agent get: in herdr 0.8.0 an "agent" is a
RECOGNIZED KIND (pi, claude, codex, …) attached to a pane, so a pane we started with
agentStart never appears in the agent registry and agent get reports it as gone. The
pane inventory is the only view that sees it, and it is session-wide (--workspace merely
narrows), so a pane that moved workspaces is still found.
A failed inventory THROWS rather than reporting undefined — uncertainty must never read as gone,
or a live agent gets torn down as a corpse.
The CURRENT record for a terminal id, or undefined when it is gone.
Resolved off the pane inventory rather than
agent get: in herdr 0.8.0 an "agent" is a RECOGNIZED KIND (pi, claude, codex, …) attached to a pane, so a pane we started with agentStart never appears in the agent registry andagent getreports it as gone. The pane inventory is the only view that sees it, and it is session-wide (--workspacemerely narrows), so a pane that moved workspaces is still found.A failed inventory THROWS rather than reporting undefined — uncertainty must never read as gone, or a live agent gets torn down as a corpse.