Claude Code 在 30 天后删除对话

2 分•作者: mieubrisse•3 个月前
分享此信息,希望能帮助其他人避免我遇到的数据丢失问题: Claude 的默认设置是 30 天数据保留期:https://github.com/anthropics/claude-code/issues/59248 如果您想保留您的对话记录,则需要在 `settings.json` 文件中更新 `cleanupPeriodDays` 的值。
查看原文
Sharing this in hopes it saves other people the data loss I experienced:<p>CC&#x27;s default setting is a 30-day data retention: https:&#x2F;&#x2F;github.com&#x2F;anthropics&#x2F;claude-code&#x2F;issues&#x2F;59248<p>If you want to keep your transcripts, you&#x27;ll need to update `cleanupPeriodDays` in your `settings.json`.