Repository navigation
feat: add Agent Team experimental feature for parallel sub-agent coordination #4844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
c46a88a
feat(core): add Agent Team foundation (experimental, flag-gated)
tanzhenxin 8c8bf2e
feat(core): add send_message team routing (experimental)
tanzhenxin cd573b9
feat(core): let the Agent tool spawn named teammates (experimental)
tanzhenxin 336f8c8
feat(cli): render team_result/task_list tool displays (experimental)
tanzhenxin 9e11fcc
feat(core): treat teammate messages as top-level turns (experimental)
tanzhenxin ac76dbb
feat(cli): drive teammates from the headless run loop (experimental)
tanzhenxin 0954dd7
feat(cli): drive teammates from the interactive turn loop (experimental)
tanzhenxin 3d16cd1
fix(core): declare proper-lockfile dependency for the team subsystem
tanzhenxin 50e95be
fix(team): address review findings on the agent-team subsystem (exper…
tanzhenxin 47649ad
fix(core): close ownership TOCTOU and lock-ordering hazard in agent-t…
tanzhenxin 0f8d7ea
fix(core): harden agent-team message handling and auto-claim
tanzhenxin c8e5c51
fix(core): require approval for agent-team task_create/task_update
tanzhenxin 818a90e
docs(core): correct completeOnIdle JSDoc for team teammates
tanzhenxin ba363e8
fix(core): harden agent-team leader callback and task envelope
tanzhenxin 3d9de93
fix(core): make deleteTask edge cleanup resilient to partial failure
tanzhenxin 78f0013
fix(cli): mount useTeamInProcess so teammate tabs render
tanzhenxin 9219502
test(terminal-capture): add agent-team feature demo + capture fixes
tanzhenxin 50a868e
fix(core): serialize in-process mailbox writers to fix Windows lock f…
tanzhenxin 8e3be23
feat(team): render teammate reports as a compact notification line
tanzhenxin 61e8a94
fix(terminal-capture): widen agent-team-demo Phase C budget so the GI…
tanzhenxin 5a84641
fix(core): separate task-content nonce; forward send_message summary
tanzhenxin 2ddb5a2
fix(core,cli): harden agent-team messaging per review round 4
tanzhenxin 5a0d5e9
Merge remote-tracking branch 'origin/main' into feat/agent-team-v2
tanzhenxin 41f873d
fix(core): don't let a failed dependent unblock abort task completion
tanzhenxin a5d2532
Merge remote-tracking branch 'origin/main' into feat/agent-team-v2
tanzhenxin 583baca
fix(core): quarantine corrupt teammate inboxes; skip task scan when n…
tanzhenxin 74cc344
fix(core): re-check task ownership under the lock when unassigning a …
tanzhenxin b5d6018
fix(core): harden team task file layer against partial writes and tra…
tanzhenxin 58929fb
fix(core): drain messages enqueued during the IDLE transition; settle…
tanzhenxin 9337cae
test(core): align FakeAgent queue and abort semantics with AgentInter…
tanzhenxin 25ec5af
fix(core): surface spawn failures, handle shutdown_rejected, envelope…
tanzhenxin aacb825
fix(core): exclude workflow tool from teammates
tanzhenxin afcca7e
fix(core): make task tools visible to permission review; reject depen…
tanzhenxin da713de
fix(core): reclaim stale teams on team_create instead of wedging the …
tanzhenxin a1da6c4
fix(cli): pass teammate envelopes straight to the model, skipping she…
tanzhenxin 00f44c8
fix(core): exclude Teammate from UserPromptSubmit hooks and record it…
tanzhenxin f3d32a9
fix(cli): stop teammate-approval rejections from escaping as unhandle…
tanzhenxin 2e96d18
Merge remote-tracking branch 'origin/main' into feat/agent-team-v2
tanzhenxin 96410d1
test(core): add getSessionId to team-lifecycle mock config
tanzhenxin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(team): render teammate reports as a compact notification line
A teammate's report was injected into the leader's conversation as a raw <teammate_message_<nonce>> envelope and rendered verbatim as a user bubble — a large, scaffolding-heavy block on screen for what is often the biggest payload in the feature. Adopt the two-text split the notification queue already uses: the full nonce-tagged envelope still goes to the leader's model, but the user now sees a compact "● <name> reported back" line in its place. The verbatim USER bubble is suppressed for SendMessageType.Teammate exactly as it is for Cron, and coordination-error notices get the same treatment. The leader callback now delivers both the model text and a display string built in TeamManager (where the structured sender/summary live), so the UI never parses the envelope. Headless is unchanged — it ignores the extra arg.
- Loading branch information
commit 8e3be23d5a949c1b3e2fcaebd5701cf12c0a21bf
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.