From 8cfe9b6dc3bd5a4b5e0c7b699b8cc3702f8e9e48 Mon Sep 17 00:00:00 2001 From: claude-code-best Date: Wed, 6 May 2026 14:53:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=90=AF=E7=94=A8=20COORDINATOR=5FMODE?= =?UTF-8?q?=20feature=20flag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AgentSummary 30s fork 循环的内存泄露已在 commit 52b61c2c 修复(闭包 引用丢弃 + 上下文重建 + 消息/字符上限),重新启用该 feature。 用户可通过 /coordinator 命令或 CLAUDE_CODE_COORDINATOR_MODE=1 环境变量 激活多 worker 编排模式。 Co-Authored-By: Claude Opus 4.7 --- scripts/defines.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/defines.ts b/scripts/defines.ts index fa7a7b8d8..4ed3e6f06 100644 --- a/scripts/defines.ts +++ b/scripts/defines.ts @@ -65,7 +65,7 @@ export const DEFAULT_BUILD_FEATURES = [ // 'FORK_SUBAGENT', // 已禁用:显式 `fork: true` 参数触发 fork 路径(继承父级上下文和模型),不影响 forceAsync 和探索任务模型选择 // 'UDS_INBOX', // inbox 数组只增不减(非 GB 级主因) 'KAIROS', // Kairos 定时任务系统核心 - // 'COORDINATOR_MODE', // 已禁用:AgentSummary 30s fork 循环,GB 级泄露主因 + 'COORDINATOR_MODE', // 多 worker 编排模式(AgentSummary 泄露已在 52b61c2c 修复) // 'LAN_PIPES', // 依赖 UDS_INBOX(已随 UDS_INBOX 恢复) 'BG_SESSIONS', // 后台会话管理(ps/logs/attach/kill) 'TEMPLATES', // 模板任务(new/list/reply 子命令)