@liuyoumi/codex-history 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +6 -0
- package/README.zh-CN.md +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1 - 2026-05-28
|
|
4
|
+
|
|
5
|
+
### Documentation
|
|
6
|
+
|
|
7
|
+
- Document that Codex Desktop should be restarted after purging a conversation.
|
|
8
|
+
- Warn that continuing to chat in an already-open purged conversation can write new local data for the same thread.
|
|
9
|
+
|
|
3
10
|
## 0.1.0 - 2026-05-27
|
|
4
11
|
|
|
5
12
|
Initial release candidate.
|
package/README.md
CHANGED
|
@@ -145,6 +145,8 @@ Before deleting, `codex-history`:
|
|
|
145
145
|
|
|
146
146
|
This tool only changes local Codex data. It does not delete server-side OpenAI/Codex records, OS backups, terminal scrollback, crash reports, or user-created transcript copies.
|
|
147
147
|
|
|
148
|
+
If Codex Desktop is already showing the conversation you purge, quit or restart Codex before using it again. A running Codex process may still hold the old conversation in memory, and continuing to chat in that old window can write new local data for the same thread.
|
|
149
|
+
|
|
148
150
|
## Q&A
|
|
149
151
|
|
|
150
152
|
### Does this delete server-side Codex data?
|
|
@@ -159,6 +161,10 @@ Backups are written under `~/.codex-history/backups`.
|
|
|
159
161
|
|
|
160
162
|
The tool creates a backup before deletion, but v0.1 does not include an automatic restore command. Treat `purge` as destructive.
|
|
161
163
|
|
|
164
|
+
### Do I need to restart Codex after purging?
|
|
165
|
+
|
|
166
|
+
Recommended, especially for Codex Desktop. `purge` updates local files on disk, but a running Codex process may not refresh its in-memory conversation list immediately. Restart Codex before continuing work.
|
|
167
|
+
|
|
162
168
|
## Development
|
|
163
169
|
|
|
164
170
|
```bash
|
package/README.zh-CN.md
CHANGED
|
@@ -145,6 +145,8 @@ codex-history --json purge 019e6885 --force
|
|
|
145
145
|
|
|
146
146
|
这个工具只处理本地 Codex 数据。它不会删除 OpenAI/Codex 服务端记录、系统备份、终端滚动历史、崩溃报告,或你手动保存过的对话副本。
|
|
147
147
|
|
|
148
|
+
如果 Codex Desktop 已经打开了你要删除的对话,删除后请先退出或重启 Codex,再继续使用。运行中的 Codex 进程可能仍然在内存里保留旧对话;如果继续在那个旧窗口里聊天,可能会为同一个 thread 重新写入本地数据。
|
|
149
|
+
|
|
148
150
|
## Q&A
|
|
149
151
|
|
|
150
152
|
### 会删除 Codex 服务端数据吗?
|
|
@@ -159,6 +161,10 @@ codex-history --json purge 019e6885 --force
|
|
|
159
161
|
|
|
160
162
|
工具会在删除前创建备份,但 v0.1 还没有自动恢复命令。请把 `purge` 当作破坏性操作对待。
|
|
161
163
|
|
|
164
|
+
### 删除后需要重启 Codex 吗?
|
|
165
|
+
|
|
166
|
+
建议重启,尤其是 Codex Desktop。`purge` 修改的是磁盘上的本地文件,但正在运行的 Codex 进程可能不会立刻刷新内存里的历史列表。继续工作前,最好先重启 Codex。
|
|
167
|
+
|
|
162
168
|
## 开发
|
|
163
169
|
|
|
164
170
|
```bash
|