Repository navigation
feat: add Desktop and Headless Swarm Mode parity - #1327
Merged
Merged
Conversation
likun666661
marked this pull request as ready for review
July 22, 2026 06:09
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
/swarm,/swarm status,/swarm on|off, and one-shot/swarm <task>without leaking command text into the model-visible user messageSessionSummaryfor active, resumed, and branched sessions/swarmparser from CLI into@maka/coreso hosts cannot driftrunExperiment/runTaskOnceagent_swarmauthorization from the authoritativeAgentRunheader in structured Headless resultsRuntime remains the owner of prompt injection, step-0 tool pinning, scoped authorization, and exclusive-step admission. This PR only supplies trusted host intent and renders the resulting state/evidence.
Tracks #1324.
Scope boundary
This completes the staged first-delivery PR 3 only. The follow-up enhancements A–G in #1324 remain intentionally out of scope and are not implemented by this PR:
prompt_template × items,resume_agent_ids, provider rate-limit awareness, dynamic concurrency capacity, real worktree isolation, per-item retries, and multi-batch pipeline Swarm.Testing
npm --workspace @maka/core test— 1146 passednpm --workspace maka-agent run test:dist— passednpm --workspace @maka/ui run test:dist— passednpm --workspace @maka/desktop test— 2765 passednpm --workspace @maka/headless run typecheck— passed