产品官方一手精选

Claude Code v2.1.219 发布,Opus 5 成为默认模型

v2.1.219

精选理由

Claude Code 更新了,默认模型变成 Opus 5,能处理百万 token 上下文,还加了网络限制白名单和工作流大小设置,修了不少bug,值得升。

Claude Code v2.1.

正文

219 发布,默认 Opus 模型升级为 Claude Opus 5,支持 1M 上下文,定价 $10/$50 每百万 token。新增 sandbox.

network.strictAllowlist 设置,可拒绝非白名单主机。

新增 workflowSizeGuideline 设置和目录添加钩子,修复多项 bug,包括 Vim 模式、屏幕阅读器等。

原文 · Claude Code: GitHub Releases

v2.1.219

What's changed Added Claude Opus 5 ( claude-opus-5 ), now the default Opus model — 1M context, fast mode at $10/$50 per Mtok Added sandbox.network.strictAllowlist setting to deny non-allowlisted hosts for sandboxed commands without prompting Added DirectoryAdded hook that fires after /add-dir or the SDK register_repo_root control request registers a new working directory mid-session Added mcp_server_errors to the headless stream-json init event, listing --mcp-config entries skipped by config validation; terminal runs print a startup warning Added the workflowSizeGuideline settings key so the advisory Dynamic workflow size guideline can be set from any settings file; the /config row is hidden while one does Added nested subagent forwarding in stream-json: subagents spawned at depth-2+ now appear when --forward-subagent-text is set, keyed by their spawning Agent tool_use id Fixed claude -p text output dropping the answer already produced when a turn dies on a mid-stream API error Added HTTP status and error text to claude mcp list and /mcp when a server fails to connect, and a warning for MCP config values with hidden leading or trailing whitespace Fixed a permission you approved while a self-hosted runner was restarting being dropped when the session resumed, so the approved action now runs Fixed the Fable model row showing "Requires usage credits" for plans that include it, when a stale cache had baked the label in Fixed a SIGTERM arriving while a self-hosted runner was starting up leaving a stale active row until the lease expired; it now deregisters cleanly Added structured failure categories to self-hosted runner spawn and session failures, so hook errors, runner crashes and config errors can be told apart Fixed the /model picker showing the merged Opus row as plain "Opus" instead of "Opus (1M context)" Fixed copy-on-select inside GNU screen printing base64 into the terminal instead of copying the selection Fixed Remote Control clients keeping a stale fast-mode status after a model switch, reconnect, or failed org check Fixed CLAUDE_CODE_GIT_BASH_PATH on Windows exiting or being used as bash when the path isn't a bash/sh binary; it's now ignored with a warning Fixed Vim mode: pressing ← on an empty prompt now returns to the agent view from NORMAL mode, not just INSERT Fixed screen-reader mode rewriting the entire input line on every keystroke instead of echoing only the typed character Improved the "Remote Control is only available via api.anthropic.com" error to name the specific setting that caused it Improved claude --teleport to show which repo your current checkout points at when it doesn't match the session's repo Changed dynamic workflows to default to a medium size guideline (aim for fewer than 15 agents); pick another size or unrestricted with Dynamic workflow size in /config Changed managed MCP allowlist/denylist ${VAR} entries to resolve from the startup environment and managed-settings env instead of settings-file env Changed the /model picker to highlight only the newest model's name, so the highlight marks the new release rather than an arbitrary subset of the list Added the current default workflow size to the running-workflow status line, with a pointer to /config for changing it Removed Opus 4.7 from fast mode; /fast now applies to Opus 5 and Opus 4.8 Updated the claude-api skill to default to Claude Opus 5, with a migration path from Opus 4.8 Subagents can now spawn nested subagents up to depth 3 by default (was 1); set CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1 to disable nesting

产业坐标与信源核验

本条情报归属 AITOP「产品」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」「中美大模型技术代差与商业化对照」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Claude Code、Claude Opus 5、Anthropic、编程助手,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始信息发布自一手权威信源「Claude Code: GitHub Releases」(Tier-1 一手发布),具备高确定性参考价值。截至目前,全网已有 11 家独立信源对该事件进行交叉印证与跟进报道(含 Y Combinator、宝玉、marktechpost 等),属于近期高关注度行业信号。

发现摘要或翻译有误? 告诉我们