返回全部动态

Claude Code 2.1.236 发布:新增默认模型变量与多项修复

原标题:2.1.236

Claude Code Changelog一手来源产品发布质量 79

AI 摘要

Claude Code 2.1.236 版本发布,新增 ANTHROPIC_DEFAULT_MODEL 环境变量以设置新会话默认模型,并支持跨会话空闲通知。修复了多项 bug,包括沙箱通配符拒绝规则、全屏渲染器、SendMessage 等问题,并改进了自动模式、启动性能和 /model 选择器。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

- Added `ANTHROPIC_DEFAULT_MODEL` environment variable: sets the model new sessions start on, while a `/model` pick still overrides it and persists across restarts (unlike `ANTHROPIC_MODEL`) - Added `notify_when_idle` to cross-session `SendMessage`: ask another Claude Code session on this machine to send one notice when it next goes idle — opt-in, one-shot, no polling (macOS and Linux) - Sandbox: on macOS, wildcard read-deny rules (e.g. `**/.env`) now take precedence inside allowed read regions,


发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic
阅读原文raw.githubusercontent.com