Claude Code releases 2.1.299 and 2.1.300 with 278 changes
Auto-compaction of 200K+ token sessions removes a real cost trap: long sessions previously risked cache expiry wiping accumulated context. Teams running shared Claude Code plans can now trace quota consumption per member with /usage. Anyone automating background agents or connecting Slack should upgrade promptly, since both duplicate-trigger bugs and the sandbox escape fix affect production workflows.
Anthropic shipped Claude Code versions 2.1.299 and 2.1.300 across two days, totalling 278 changes. Version highlights include automatic compaction of sessions exceeding 200K tokens before cache expiry, and a /usage command that shows which teammates are consuming quota. The updates also fix duplicate triggers for background agents and scheduled tasks, and patch a sandbox escape vulnerability. Remote Control now transfers phone files and photos reliably, and Slack integrations gain allow-once/deny permissions.
1/ Claude Code 两天内连续发布 2.1.299 和 2.1.300,带来 278 项改动。 真正值得关注的 7 项: 1. 200K+ token 会话会在缓存过期前自动压缩 2. /usage 会提示谁在消耗额度 3. 修复后台 Agent 和定时任务重复触发 4. 修复沙箱逃逸漏洞 5. 手机文件和照片可通过 Remote Control 稳定传输 6. 退出时强制终止卡住的后台命令 7. Slack 中可选择“允许一次/拒绝” 建议收藏。 💬 1 🔄 0 ❤️ 0 👀 412 📊 1 ⚡