跳到正文
AgentLab·· 2026-06-24

Claude Code 2.1.187: Claude Code 2.1.187:细化 Sandbox 凭据限制并修复 Structured Output 与 Session 生命周期

AgentLab 分析摘要

本版在 Sandbox 配置中增加 `sandbox.credentials`,用于阻止 Sandbox 命令读取凭据文件和秘密环境变量;模型选择入口加入组织配置的模型限制。执行与 Session 路径还修复 Structured Output 重复调用、远程 MCP 长时间挂起、`--resume` 无对话可恢复,以及 Subagent 深度和 worktree 清理问题,改善受限执行、结果交付与 Thread 恢复行为。Runtime Prompt 的可见差异仅涉及 Explore、Plan 的 Tool Definition 排除 Artifact;Tool Schema 无变化。

分析与证据

分析已完成

AgentLab · claude-code 2.1.187

来源:AgentLab · agentlab.dairui1.com