Merge pull request #44 from Askhz/fix/disable-fork-subagent-default

fix: 默认关闭 FORK_SUBAGENT feature flag
This commit is contained in:
geroge 2026-05-08 09:35:46 +08:00 committed by GitHub
commit 0e01c5a02f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,7 +52,7 @@ export const DEFAULT_BUILD_FEATURES = [
'HISTORY_SNIP', // 历史消息裁剪,压缩上下文窗口
'CONTEXT_COLLAPSE', // 上下文折叠,自动压缩旧消息
'MONITOR_TOOL', // Monitor 工具,流式监控后台进程输出
'FORK_SUBAGENT', // Fork 子代理,在隔离上下文中并行执行任务
// 'FORK_SUBAGENT', // Fork 子代理,在隔离上下文中并行执行任务(默认关闭,开启后强制所有 agent 异步运行run_in_background 参数失效)
// 'UDS_INBOX', // inbox 数组只增不减(非 GB 级主因)
'KAIROS', // Kairos 定时任务系统核心
// 'COORDINATOR_MODE', // 已禁用AgentSummary 30s fork 循环GB 级泄露主因