Primary sourceClaude Code: GitHub Releases
View sourceEvent ·Official first-hand
Claude Code v2.1.299 发布:新增空闲压缩与文件提及开关
Anthropic 发布 Claude Code v2.1.299,新增 CLAUDE_CODE_DISABLE_FILE_MENTIONS 环境变量,@ 文件提及只向模型传路径而非文件内容。终端新增空闲压缩功能:超过 200K token 的会话闲置约 54 分钟后自动压缩,赶在一小时 prompt cache 过期前完成,下一条消息不必重新处理全部上下文。阈值可通过 CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS 调整,或在 settings.json 中设 idleCompaction 为 false 关闭。本次更新还加入 /effort 与 /fast 选择器、claude plugin eval 的 --disallow-tools 参数,并修复了 200K token 附近 Prompt is too long 报错和云端会话组织归属错误。
Current read
Claude Code 更新到 v2.1.299,超长会话闲置 54 分钟会自动压缩,缓存过期前处理完,不用重跑 20 万 token。
11 sources54° AI heatLast updated 2026/10/14 02:49:42
Evidence
11 sourcesRelated source 1宝玉
View sourceRelated source 2AI Will
View sourceRelated source 3kimmonismus
View sourceRelated source 4claudedevs
View sourceRelated source 5TestingCatalog
View sourceRelated source 6IT之家
View sourceRelated source 7Gorden Sun
View sourceRelated source 8Lxfater
View sourceRelated source 9swyx (AI Engineer)
View sourceRelated source 10Andrew Curran
View sourceConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.