AgentLab·· 2026-07-02
Claude Code 2.1.198: Subagent 默认后台运行,Workflow 与任务停止契约同步调整
AgentLab 分析摘要
Subagent 现在默认后台运行,需要立即取得结果时可通过 `run_in_background: false` 请求同步执行;`TaskStop` 也明确接受 agent ID 或名称作为停止目标。这让委派任务的默认生命周期转向异步,并扩展了可停止任务的标识范围。Workflow 文档还补充了 Agent 类型配置来源、检查 `journal.jsonl` 中实际返回值的恢复诊断方式,以及 durable 调度任务仅在 Session 内存中存活的限制。
分析与证据
分析已完成AgentLab · claude-code 2.1.198
来源:AgentLab · agentlab.dairui1.com