@leonw24/open-codex 0.130.5 → 0.130.6
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/README.md +12 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -94,6 +94,10 @@ The earlier fork-only memory subsystem has been removed so the fork stays aligne
|
|
|
94
94
|
|
|
95
95
|
- **Global overlay diagnostics** — `/memory-overlay` shows all loaded session overlay entries plus global ad-hoc staged notes, and reports exact matches already present in durable memory files. It is a diagnostic view, not a semantic-proof system: unmatched entries may still be pending consolidation or may have been paraphrased by the consolidation agent.
|
|
96
96
|
|
|
97
|
+
- **Overlay status metrics** — Each `/memory-overlay` row is grouped by source (`Session overlays` or `Ad-hoc staged notes`) and carries a status metric: `matched` means the staged content has an exact text match in a durable memory file, while `pending` means no exact durable match was found. Matched rows include the durable file paths, such as `MEMORY.md` or `topics/*.md`. This makes durable visibility auditable today, while leaving explicit Phase 2 provenance (`selected/consumed but paraphrased`) as a future metric rather than pretending exact-match checks can prove semantic consolidation.
|
|
98
|
+
|
|
99
|
+
- **Durable memory browser** — `/memory` opens the current durable memory content grouped by `Summary`, `Overall index`, and `Topics`, so users can inspect what the next session will actually read from the upstream memory files instead of inferring durable state from overlay diagnostics alone.
|
|
100
|
+
|
|
97
101
|
- **Removed conflicting fork behavior** — The old direct durable write tools, notepad file, topic frontmatter priority system, merge-write path, and custom AGENTS.md hierarchy are no longer part of the memory implementation.
|
|
98
102
|
|
|
99
103
|
This addresses the active-update gap while keeping durable memory storage and consolidation compatible with upstream.
|
|
@@ -170,6 +174,7 @@ The shared interaction model is:
|
|
|
170
174
|
- terminal details show runtime and recent output; subagent details show role, task, status, runtime, progress, and task-boundary context.
|
|
171
175
|
- `/agent` shows available agent profiles, while `/subagents` keeps the subagent thread picker/switching workflow.
|
|
172
176
|
- completed subagent work wakes the parent turn through a core completion event, so results can be integrated without manually calling `wait_agent` or closing the agent.
|
|
177
|
+
- completed subagents are reclaimed from spawn quota when they reach a final state, and the spawn path performs opportunistic cleanup before reporting that no quota is available. Interrupted subagents remain visible as active quota holders because they may still be resumed; `/subagents` is therefore the active/resumable subagent view, not a stale-handle inventory.
|
|
173
178
|
- completed background command output is preserved in history without pulling the task back into the foreground.
|
|
174
179
|
|
|
175
180
|
This is the essential interaction change behind the Claude Code-style behavior: background work stays visible and controllable, but it no longer blocks normal chat flow.
|
|
@@ -209,7 +214,7 @@ Implemented as a Claude Code-style `/export` flow for the current session, with
|
|
|
209
214
|
|
|
210
215
|
#### 3. Better memory mechanics
|
|
211
216
|
|
|
212
|
-
Active memory staging is implemented on top of upstream memories (see Current Delta section 3 above). Broader durable-memory behavior should continue to follow upstream so fork changes stay additive.
|
|
217
|
+
Active memory staging is implemented on top of upstream memories (see Current Delta section 3 above). Broader durable-memory behavior should continue to follow upstream so fork changes stay additive. The main remaining observability gap is a native Phase 2 provenance metric that can distinguish `not selected yet`, `selected/consumed but paraphrased`, and `exact durable match`.
|
|
213
218
|
|
|
214
219
|
#### 4. Better Zellij ergonomics
|
|
215
220
|
|
|
@@ -389,6 +394,10 @@ Codex CLI 是开源的,但上游仓库当前对外部代码贡献采用 invita
|
|
|
389
394
|
|
|
390
395
|
- **全局 overlay 诊断** — `/memory-overlay` 会展示所有 loaded session overlay entries 和全局 ad-hoc staged notes,并标出哪些内容已经在 durable memory 文件中出现 exact match。这是诊断视图,不是语义证明系统:未匹配的条目可能仍在等待 consolidation,也可能已经被 consolidation agent 改写表达。
|
|
391
396
|
|
|
397
|
+
- **Overlay status metrics** — `/memory-overlay` 的每一行会按来源分组(`Session overlays` 或 `Ad-hoc staged notes`),并带一个状态指标:`matched` 表示 staged content 已经在 durable memory 文件里出现 exact text match,`pending` 表示没有找到 exact durable match。匹配成功的行会展示 durable 文件路径,例如 `MEMORY.md` 或 `topics/*.md`。这让当前 durable visibility 可以被审计,但不会把 exact-match check 伪装成语义 consolidation 证明;显式 Phase 2 provenance(例如 `selected/consumed but paraphrased`)仍是后续需要补的 metric。
|
|
398
|
+
|
|
399
|
+
- **Durable memory browser** — `/memory` 会按 `Summary`、`Overall index`、`Topics` 展示当前 durable memory 内容,让用户可以直接检查下一次 session 真正会从 upstream memory 文件读到什么,而不是只靠 overlay diagnostics 推断 durable 状态。
|
|
400
|
+
|
|
392
401
|
- **已移除冲突 fork 行为** — 旧的直接 durable write tools、notepad 文件、topic frontmatter priority、merge-write 路径、自定义 AGENTS.md hierarchy 都不再属于当前 memory 实现。
|
|
393
402
|
|
|
394
403
|
这补上了主动更新缺口,同时保持 durable memory 存储和 consolidation 与 upstream 兼容。
|
|
@@ -465,6 +474,7 @@ Codex CLI 是开源的,但上游仓库当前对外部代码贡献采用 invita
|
|
|
465
474
|
- terminal detail 展示运行时间和最近输出;subagent detail 展示 role、task、status、运行时间、progress 和任务边界信息。
|
|
466
475
|
- `/agent` 用于查看可用 agent profiles,`/subagents` 保留 subagent thread picker / 切换工作流。
|
|
467
476
|
- subagent 完成后会通过 core completion event 唤醒 parent turn,因此不需要手动调用 `wait_agent` 或关闭 agent 才能继续整合结果。
|
|
477
|
+
- completed subagent 到达 final state 后会从 spawn quota 中回收;当 spawn 没有可用 quota 时,主线程会先做 opportunistic cleanup 再返回 quota 不足。Interrupted subagent 仍会作为 active quota holder 保留,因为它们可能被 resume;因此 `/subagents` 的语义是 active/resumable subagent view,而不是僵尸 handle 列表。
|
|
468
478
|
- background command 完成后会保留输出到 history,但不会把任务重新拉回前台。
|
|
469
479
|
|
|
470
480
|
这是 Claude Code 风格体验背后的本质交互变化:后台工作仍然可见、可管理,但不会阻塞正常聊天流。
|
|
@@ -504,7 +514,7 @@ status line 现在可以通过可配置的 `workspace-changes` item 显示当前
|
|
|
504
514
|
|
|
505
515
|
#### 3. 更好的 memory 机制
|
|
506
516
|
|
|
507
|
-
当前已在 upstream memories 之上实现主动 memory staging(见上方当前差异第 3 项)。更广义的 durable-memory 行为应继续跟随 upstream,fork
|
|
517
|
+
当前已在 upstream memories 之上实现主动 memory staging(见上方当前差异第 3 项)。更广义的 durable-memory 行为应继续跟随 upstream,fork 侧只保留增量补充。主要剩余 observability gap 是原生 Phase 2 provenance metric:需要能区分 `not selected yet`、`selected/consumed but paraphrased` 和 `exact durable match`。
|
|
508
518
|
|
|
509
519
|
#### 4. 更好的 Zellij 使用体验
|
|
510
520
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leonw24/open-codex",
|
|
3
|
-
"version": "0.130.
|
|
3
|
+
"version": "0.130.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"open-codex": "bin/codex.js"
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
},
|
|
20
20
|
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@leonw24/open-codex-linux-x64": "npm:@leonw24/open-codex@0.130.
|
|
22
|
+
"@leonw24/open-codex-linux-x64": "npm:@leonw24/open-codex@0.130.6-linux-x64"
|
|
23
23
|
}
|
|
24
24
|
}
|