Claude Code 默认 30 天删除会话记录,一行配置可保留 10 年

daniel_mac8 · x · 2026-10-09

开发者 weswinder 提醒:Claude Code 默认只保留会话转录 30 天,之后永久删除。想长期保存(如 10 年),只需在 settings. 中加入 "cleanupPeriodDays": 3650。danielmac8 转发时补充观点:未来 ASI 时代,历史 agent 会话数据可能非常有价值,值得现在就开始留存。

所属事件:Claude Code 默认 30 天删除会话记录,一行配置可长期保留(2 条相关)→

原文链接 →

「编程与Agent」频道最新

更多「编程与Agent」频道 AI 资讯 →