mirror of
https://github.com/zeronsh/comet.git
synced 2026-11-16 18:57:19 +00:00
Settings → Providers → Claude Code gets a Native subagents switch (per device, on by default). With it off, a top-level chat launches Claude Code with --disallowedTools=Agent,Task,Workflow, and Zeron's MCP server (ZERON_SIDE_CHATS_ONLY=1) tells the agent to delegate through side chats. Side chats, and chats whose parent is not known yet, keep their subagents. A parked session is replaced before its next idle turn. Co-authored-by: Alexandre VARGAS <alexandre.vargas.lopez@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .. | ||
| 00-setting.png | ||
| 01-switch-on.png | ||
| 02-switch-off.png | ||
| 03-chat-card.png | ||
| README.md | ||
Native subagents setting: demo media
Captures for "Providers: a switch to turn native subagents off" (#1003).
01and02: Settings → Providers → Claude Code on a headless engine built from this branch, before and after a click on the switch. After the click the engine answeredGetNativeSubagentswith{"off": ["claude-code"], "switchable": ["claude-code"]}and wrote"nativeSubagentsOff": ["claude-code"]to itsharness-prefs.json.00-setting.pngstacks the two at half size.03: the session card of a chat on that engine, Claude Code 2.1.310 with Haiku. Its first turn, with the switch off, asked for a subagent; its Claude process ran with--disallowedTools=Agent,Task,Workflow, the agent delegated through Zeron'screate_chat, and the side chat "ls entry count" is the result. Its second turn, after the switch went back on, ran in a new process without the flag and used Claude's ownAgenttool: "1 finished" under Subagents.- The frames are the production
Shellrendered offscreen by gpui (Window::render_to_image), attached to the engine over IPC. They are not an OS screen recording. - The crops stop above the provider's Accounts section, and the session card's device name is blurred.
The engine and the UI were both built from this branch's code commit, f3e9d09a, on v0.2.124. Only Claude Code is switchable: Codex's details have no Delegation section.