mirror of
https://github.com/warpdotdev/warp.git
synced 2026-05-06 23:32:51 +08:00
## Description Client-side implementation of the `RunAgents` orchestration tool, paired with server PR https://github.com/warpdotdev/warp-server/pull/10809. ### What - **RunAgentsCardView**: confirmation card UI with inline editor for model, harness, environment, host, and execution mode (Local/Cloud) - **RunAgentsExecutor**: executor that dispatches accepted requests, spawning child agent conversations via `StartAgentExecutor` - **Cancel handling**: card subscribes to `FinishedAction` events so Ctrl+C (both card-level and terminal-level) shows the cancelled state - **Harness support**: Oz, Claude, Gemini, Codex with brand icons; local-dev host gated on `Channel::Local` - **Spawning card**: in-flight "Spawning N agents..." status while children are being launched - **Proto adoption**: `RunAgents` request/result types, `Harness` oneof shape, `StartAgentV2` advertised alongside `Orchestrate` ### Demo https://www.loom.com/share/dacad55f436b42d29191bf54461ab3cf ## Testing - Manual validation of accept, reject (Ctrl+C), edit/discard, picker interactions, local and cloud execution modes - Existing tests updated for new harness list and import ordering ## Server API dependencies - [x] Does this change rely on a new server API? - Server PR: https://github.com/warpdotdev/warp-server/pull/10809 ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode Co-Authored-By: Oz <oz-agent@warp.dev> Co-authored-by: Oz <oz-agent@warp.dev>