Skip to content

OpenCode Subagent timeline support #622

@thisisryanswift

Description

@thisisryanswift

OpenCode 'task' tool calls currently appear as generic raw tool calls, which makes subagent work pretty opaque.

There's existing sub_agent tool shape that's used by Claude Code. Goal would be to have OpenCode use the same shape. Show the subagent type/description, link child sessions when OpenCode exposes them, and stream child tool activity into the parent task card.

Acceptance criteria:

  • OpenCode task calls render as subagent cards instead of raw JSON.
  • The card shows subagent type and description.
  • Child session id is shown when known.
  • Child tool activity streams into the parent card.
  • Final output/errors are preserved.
  • Existing clients remain schema-compatible.

I have a commit for this on my personal fork if you want it!

Apologies for the issue spam, I assume it's helpful, but if not, just let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions