正文 · AI 翻译
变更内容
- `claude agents --json` 现在包含 `waitingFor` 字段,用于显示等待会话被阻塞的原因(例如权限提示)
- `--tools`:在带有嵌入式搜索的原生构建版本中,显式列出 Grep/Glob 现在会提供专用的搜索工具(此前这些名称会被静默忽略)
- `/effort` 现在会在你选择的级别将作为新会话的默认设置持久保留时进行确认
- 在自动补全菜单中点击斜杠命令现在会将其填入提示词而非立即执行;按 Enter 键执行
- 远程控制现在显示为持久化的底部药丸状按钮(附带会话链接),而非启动时的消息
- 在 `/ide` 菜单、`/terminal-setup` 和 `/scroll-speed` 中,已将 Windsurf 重命名为 Devin Desktop,以跟随编辑器的品牌重塑
- 修复了当配置目录为只读或不可写入时启动静默挂起的问题——Claude Code 现在会使用内存配置启动并显示启动错误,而非显示空白屏幕
- 修复了 WebFetch 权限规则未应用于内置预批准域名的问题;显式的 `WebFetch(domain:...)` deny/ask/allow 规则现在优先于预批准主机的自动允许规则
- 修复了 Windows 上使用反斜杠(`~\`、`\\server\share`)或大小写变体路径拼写时权限规则始终不匹配的问题,以及读取拒绝规则未从 Glob/Grep 结果中隐藏文件的问题
- 修复了在轮次开始时发送的中断(Esc)在 stream-json/SDK 会话中被静默丢弃,导致轮次继续运行且无"已中断"反馈的问题
- 修复了 API 400 错误中字符串缺少低位代理项的问题,该问题出现在分类器侧查询和包含截断边界附近表情符号的 MCP 服务器描述中
- 修复了 MCP 每服务器超时配置值低于 1000 毫秒时被截断为 1 秒看门狗导致每次工具调用都被中止的问题;低于 1000 毫秒的值现在会被忽略(回退至 `MCP_TOOL_TIMEOUT` 或默认值),`claude mcp get` 会相应地进行标注
- 修复了 LSP 工具的 workspaceSymbol 操作不返回结果的问题;现在它接受一个查询参数并将其传递给语言服务器
- 修复了 `claude agents` 在宽终端上将实时状态文本(工具参数、回复、提示词、执行输出)截断为 60–120 列的问题;状态详情现在使用终端的完整宽度
- 修复了 Claude 智能体将长会话名称截断为 40 列的问题;名称列现在会随终端宽度自动扩展
- 修复了 Claude 智能体在后台服务重启后首次尝试附加时,偶尔会直接弹回会话列表的问题
- 修复了 Claude 智能体中 Ctrl+V 粘贴图片在调度输入框和会话回复框内无反应的问题;无图片时粘贴现在会显示提示
- 修复了使用 ← 键将会话放入后台时,若后台服务无法启动,对话会静默丢失的问题;该会话会作为失败行保留在列表中,可按 Enter 键唤醒
- 修复了智能体视图中发送失败的回复丢失的问题;它们现在会被排队,在下次会话启动时重新发送
- 修复了当 CLAUDE_CODE_TMPDIR 或 $TMPDIR 指向深层目录时,跨会话消息(SendMessage)静默失效的问题
- 修复了从 claude agents 打开一个正在运行的后台会话时,在附加前会卡住 5 秒的问题
- 启动信息更简洁:通知按严重程度分组,会话信息和公告每次启动仅共享一行
- 启动警告已重写,更简短清晰,每条都附带具体的修复方法
- 启动提示词警告(深度链接/预填提示词)现在会固定在输入框下方,直到你操作,而不会滚动消失
- 失败的轮次现在显示一个紧凑的警告行,而不是多行的红色错误块
- 改进了后台服务启动和 claude 更新验证,会等待端点安全扫描新二进制文件完成,而不是在 5 秒后直接失败
- 后台调度生成失败时,若没有 errno 可用,现在会报告错误类名
- 移除了“已启用 Chrome 中的 Claude”和“已安装市场扩展”的启动消息;模型自动更新和团队入门提示现在会以静默通知形式显示在 Logo 下方
What's changed
claude agents --jsonnow includeswaitingForshowing what a waiting session is blocked on (e.g. permission prompt)--tools: explicitly listing Grep/Glob now provides the dedicated search tools on native builds with embedded search (previously these names were silently ignored)/effortnow confirms when your chosen level will persist as the default for new sessions- Clicking a slash command in the autocomplete menu now fills it into your prompt instead of running it immediately; press Enter to run
- Remote Control now shows as a persistent footer pill (with a link to the session) instead of a startup message
- Renamed Windsurf to Devin Desktop in the
/idemenu,/terminal-setup, and/scroll-speed, following the editor's rebrand - Fixed a silent startup hang when the config directory is read-only or unwritable — Claude Code now starts with in-memory config and surfaces startup errors instead of showing a blank screen
- Fixed WebFetch permission rules not being applied to built-in preapproved domains; explicit
WebFetch(domain:...)deny/ask/allow rules now take precedence over the preapproved-host auto-allow - Fixed Windows permission rules never matching when spelled with backslashes (
~\,\\server\share) or case-variant paths, and Read deny rules not hiding files from Glob/Grep results - Fixed an interrupt (Esc) sent at the very start of a turn being silently dropped in stream-json/SDK sessions, leaving the turn running with no "Interrupted" feedback
- Fixed API 400
no low surrogate in stringerrors for classifier side-queries and MCP server descriptions containing emoji near a truncation boundary - Fixed MCP per-server
timeoutconfig values below 1000 ms being floored to a 1-second watchdog that aborted every tool call; sub-1000 ms values are now ignored (falling back toMCP_TOOL_TIMEOUTor default), andclaude mcp getannotates them accordingly - Fixed the LSP tool's
workspaceSymboloperation returning no results; it now accepts aqueryparameter and passes it to the language server - Fixed
claude agentscutting live status text (tool args, replies, prompts, exec output) at 60–120 columns on wide terminals; the status detail now uses the full terminal width - Fixed
claude agentstruncating long session names at 40 columns; the name column now grows with terminal width - Fixed
claude agentsattach occasionally bouncing straight back to the session list on the first try after a background-service restart - Fixed
claude agentsCtrl+V image paste doing nothing in the dispatch input and the session reply box; pasting with no image now shows a hint - Fixed backgrounding a session with ← silently losing the conversation when the background service cannot start; the session stays in the list as a failed row you can wake with Enter
- Fixed replies from the agents view that fail to send being lost; they are now queued for delivery on the next session start
- Fixed cross-session messaging (
SendMessage) silently breaking whenCLAUDE_CODE_TMPDIRor$TMPDIRpoints at a deep directory - Fixed opening a running background session from
claude agentsstalling for 5 seconds before attaching - Quieter startup: notices group by severity, and session info and announcements share a single line per launch
- Startup warnings rewritten to be shorter and clearer, each with a concrete fix
- Launch-prompt warnings (deep link/pre-filled prompt) now stay pinned below the input until you act instead of scrolling away
- Failed turns now show a compact warning line instead of a multi-line red error block
- Improved background service startup and
claude updateverification to wait out endpoint-security scanning of new binaries instead of failing after 5 seconds - Background dispatch spawn failures now report the error class name when no errno is available
- Removed the "Claude in Chrome enabled" and "marketplace installed" startup messages; model auto-updates and the team-onboarding tip now show as quiet notices under the logo