Skip to content

feat(vscode): support Agent tool and passthrough SubagentEvent fields#148

Merged
tempurai merged 2 commits intomainfrom
feat/agent-tool-and-subagent-passthrough
Apr 13, 2026
Merged

feat(vscode): support Agent tool and passthrough SubagentEvent fields#148
tempurai merged 2 commits intomainfrom
feat/agent-tool-and-subagent-passthrough

Conversation

@tempurai
Copy link
Copy Markdown
Collaborator

Summary

  • Render the Agent tool using the same UI as Task in the webview
  • Fall back to subagent_type when subagent_name is missing on Task/Agent calls
  • Treat Agent results like Task results when resolving subagent steps
  • Allow unknown fields on SubagentEventSchema via .passthrough() for forward compatibility

Test plan

  • Trigger a tool call named Agent and confirm it renders with the Task-style card
  • Confirm subagent steps still attach to their parent tool call
  • Confirm existing Task flows are unaffected

@tempurai tempurai merged commit f123a6b into main Apr 13, 2026
6 checks passed
@tempurai tempurai deleted the feat/agent-tool-and-subagent-passthrough branch April 13, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant