A subagent's tab reads "Subagent Agent": opencode 2 moved the agent's name to info.agent #345
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
In run 160 the Subagents panel's tab for the Visual check's browser subagent reads "▣ Subagent Agent running", and so does the delegation row. opencode 2 no longer titles a child session
<task> (@browser subagent), and itssession.updatedpayload carries the agent asinfo.agent, whichonChildStarteddoesn't read (ui/src/lib/format.ts; it reads a top-levelagent). So the agent falls back to the wordsubagent, anddelegateFactsadds "Agent". Thesubagenttool part has nometadata.sessionIdwhile running, soonTaskCallnever corrects it.Fix
Read
info.agentinonChildStarted. When no agent is known, title the row "Subagent", never "Subagent Agent". Add a format test on an opencode 2oc.child.startedpayload.Done when
Run 160's subagent tabs and rows read "Browser Agent", and an unknown agent reads "Subagent".
Done in batch B, merged as #355 (
91f4b85f), and live on production: Braid reports commitc00c62f, which includes it. It was checked with the repo's tests and sims before the merge. A live check on vLLM is still to come: trogdor is off the network. Closed at the owner's request.