Primary source宝玉
View sourceEvent ·Multi-source
Claude Code 推出空闲压缩功能,缓存失效前自动运行 /compact
Anthropic 的 Claude Code 新增了 idle compaction(空闲压缩)功能,会在提示词缓存约 1 小时即将失效前,自动对长时间空闲的会话运行 /compact。这样用户之后回来继续会话时,只需重新处理压缩后的摘要,而不用重新处理整个对话历史,从而节省 token 用量和费用。如果想关闭该功能,可以在 ~/.claude/settings.json 中把 idleCompaction 设为 false。
Current read
Claude Code 新增空闲压缩,缓存过期前自动帮你 compact,隔一小时回来继续用能省不少 token 费,不想用可在 settings.json 里关掉。
11 sources44° AI heatLast updated 2026/10/14 22:03:13
Evidence
11 sourcesRelated source 1Claude Code: GitHub Releases
View sourceRelated source 2AI Will
View sourceRelated source 3claudedevs
View sourceRelated source 4TestingCatalog
View sourceRelated source 5IT之家
View sourceRelated source 6kimmonismus
View sourceRelated source 7Lxfater
View sourceRelated source 8Andrew Curran
View sourceRelated source 9Yuchen Jin
View sourceRelated source 10Gorden Sun
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.