agent-dashboard: render opencode 2 subagent results as Markdown #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "muon/agent-subagent-result-markdown"
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?
Summary
Opencode 2 wraps a subagent's result in
<subagent sessionID=… state=…>…</subagent>. The card only removed opencode 1's<task_result>wrapper. Because the opening tag sits on its own line, the Markdown renderer treated the whole result as one raw HTML block and showed it as plain text (bullets and code spans run together on one line).Evidence
<subagent sessionID="ses_…" state="completed"> - **Where it's defined:**formatDuration……as one line of plain text.After: new
test/task-result.test.ts:bun testpasses 34 tests, 0 failures;tsc --noEmitandbun build.tssucceed.Merge Danger
Door: two-way
Blast Radius: subagent-card
Only the Result section of the subagent card changes.