memory-eternal 0.12.0 → 0.14.0

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://anthropic.com/claude-code/plugin.schema.json",
3
3
  "name": "memory-eternal",
4
- "version": "0.12.0",
4
+ "version": "0.14.0",
5
5
  "description": "记忆核心(Memory Eternal):对话结束后自动沉淀知识卡到本地记忆库(~/.dsh/memory-vault),支持检索 / 召回 / 审核中心。",
6
6
  "author": {
7
7
  "name": "EternalNight996",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memory-eternal",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "记忆核心(Memory Eternal):对话结束后自动沉淀知识卡到本地记忆库(~/.dsh/memory-vault),支持检索 / 召回 / 审核中心。",
5
5
  "author": {
6
6
  "name": "EternalNight996",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memory-eternal",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "记忆核心(Memory Eternal):对话结束后自动沉淀知识卡到本地记忆库(~/.dsh/memory-vault),支持检索 / 召回 / 审核中心。",
5
5
  "author": {
6
6
  "name": "EternalNight996",
package/README.en.md CHANGED
@@ -20,7 +20,7 @@
20
20
  <p align="center">
21
21
  <img src="https://img.shields.io/badge/DeepSeek%20Harness-plugin-3B82F6" alt="DSH plugin" />
22
22
  <img src="https://img.shields.io/npm/v/memory-eternal" alt="npm version" />
23
- <img src="https://img.shields.io/badge/release-v0.12.0-FF7A45" alt="v0.12.0" />
23
+ <img src="https://img.shields.io/badge/release-v0.14.0-FF7A45" alt="v0.14.0" />
24
24
  <a href="https://eternalnight996.github.io/memory-eternal/"><img src="https://img.shields.io/badge/Live%20Demo-online-FF7A45" alt="Live demo" /></a>
25
25
  <img src="https://img.shields.io/github/stars/EternalNight996/memory-eternal?style=flat" alt="GitHub stars" />
26
26
  <img src="https://img.shields.io/github/license/EternalNight996/memory-eternal" alt="license" />
@@ -46,6 +46,15 @@
46
46
 
47
47
  <p align="center"><sub>▲ Real screenshots: review verdict · knowledge graph · reader</sub></p>
48
48
 
49
+ <p align="center">
50
+ <img src="https://raw.githubusercontent.com/EternalNight996/memory-eternal/main/assets/screen/terminal.png" width="49%" alt="Web Terminal page: copy commands for the full TUI or the native dsh-tui /audit" />
51
+ <img src="https://raw.githubusercontent.com/EternalNight996/memory-eternal/main/assets/screen/tui-audit.png" width="49%" alt="Native terminal audit: select-all, batch approve/reject, verdict pane" />
52
+ </p>
53
+ <p align="center">
54
+ <img src="https://raw.githubusercontent.com/EternalNight996/memory-eternal/main/assets/screen/tui-reader.png" width="72%" alt="Native terminal long-form reader: TOC, body, related memories and scrolling" />
55
+ </p>
56
+ <p align="center"><sub>▲ New in v0.13: in-Web terminal guide · native terminal audit (select-all/batch) · long-form reader</sub></p>
57
+
49
58
  ---
50
59
 
51
60
  ## 🧩 Supported platforms
@@ -54,7 +63,7 @@
54
63
  |---|---|---|---|---|
55
64
  | **DSH desktop / Web** | Fully embedded | ✅ | ✅ | Sidebar “Memory”, supported |
56
65
  | **Orca** | Sidebar launcher | In Web UI | In Web UI | Right sidebar “Memory”, [new in this release](orca-plugin/README.md) |
57
- | **dsh-tui** | Opens browser | In Web UI | In Web UI | `/memory`, [new in this release](dsh-tui-plugin/README.md) |
66
+ | **dsh-tui** | Native `/audit` + `/memory` | Native scene | Native scene | [new in this release](dsh-tui-plugin/README.md) |
58
67
  | **Codex** | Opens browser | In Web UI | In Web UI | [`memory-open` skill](skills/memory-open/SKILL.md), new in this release |
59
68
  | **Claude Code** | Browser / Pane | In Web UI | In Web UI | `/memory-eternal:memory-open`, new in this release |
60
69
  | **Cursor** | Embedded Webview | ✅ | ✅ | [Extension Webview](cursor-extension/README.md), new in this release |
@@ -98,7 +107,7 @@ cd ~/.dsh/profiles/web && pnpm add memory-eternal@latest
98
107
  # right after a release, @latest can be held back by pnpm's minimum-release-age gate or a cached
99
108
  # packument (it silently stays on the old version): pin the version instead — pnpm adds it to the
100
109
  # workspace's minimumReleaseAgeExclude automatically
101
- cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.12.0
110
+ cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.14.0
102
111
 
103
112
  # verify the version, then restart the host
104
113
  node -e "console.log(require('memory-eternal/package.json').version)"
@@ -406,14 +415,16 @@ curl http://127.0.0.1:7999/memory-eternal/api/web-info # is the standalone we
406
415
 
407
416
  | Version | Date | Highlights |
408
417
  |---|---|---|
409
- | **v0.12.0** | 2026-10-22 | **Cross-host launchers**: Orca right-sidebar Memory panel, dsh-tui `/memory`, Codex / Claude `memory-open` skill, and a Cursor / VS Code Webview extension; README gains a platform support table; one Web UI stays the single source of truth — Webview where it works, a thin launcher everywhere else, with no new agent permissions. |
410
- | **v0.11.0** | 2026-10-22 | **Memory Atlas stable release**: the full V5 UI lands — 4-column library cards with daily resurface and mini connection graphs; review top type bar + queue + right verdict sidebar (no bottom bar, no popups); knowledge graph page head/cluster legend + DPR, grid and edge rendering optimizations; four runtime status cards; reader TOC and related memories; Jinwu brand icon; click-to-zoom QR codes; onboarding starts with Star/Fork; GitHub/Gitee/npm shipped together. |
418
+ | **v0.14.0** | 2026-10-23 | **Web terminal entry + fresh screenshots**: the library rail gains a Terminal page with copy-ready commands, the dsh-tui `/audit` guide and a terminal preview, so terminal-only features are discoverable from the Web UI; README adds real screenshots for the terminal audit, long-form reader and Web terminal page; the native dsh-tui `/audit` scene ships. |
419
+ | **v0.13.0** | 2026-10-23 | **Full TUI + native dsh-tui audit**: the terminal client now covers library, audit, graph, status, recycle, settings, long-form reader and search; audit gains select-all and batch approve/reject; `--live` talks to the local API (read-only by default, `--write` to mutate); a native dsh-tui `/audit` scene replaces the browser-only entry. |
411
420
 
412
421
  <details>
413
422
  <summary>Older release notes (v0.10.52 and earlier · 79 releases, click to expand)</summary>
414
423
 
415
424
  | Version | Date | Highlights |
416
425
  |---|---|---|
426
+ | **v0.12.0** | 2026-10-22 | **Cross-host launchers**: Orca right-sidebar Memory panel, dsh-tui `/memory`, Codex / Claude `memory-open` skill, and a Cursor / VS Code Webview extension; README gains a platform support table; one Web UI stays the single source of truth — Webview where it works, a thin launcher everywhere else, with no new agent permissions. |
427
+ | **v0.11.0** | 2026-10-22 | **Memory Atlas stable release**: the full V5 UI lands — 4-column library cards with daily resurface and mini connection graphs; review top type bar + queue + right verdict sidebar (no bottom bar, no popups); knowledge graph page head/cluster legend + DPR, grid and edge rendering optimizations; four runtime status cards; reader TOC and related memories; Jinwu brand icon; click-to-zoom QR codes; onboarding starts with Star/Fork; GitHub/Gitee/npm shipped together. |
417
428
  | **v0.11.0-rc.1** | 2026-10-21 | **V5 preview RC**: Memory Atlas dark ember theme, 228px rail and topbar; V5 card grid and page head; audit top type bar + queue + verdict preview + select-all batch approve/reject; smaller graph default; first-run guide (👍 emphasised), reader TOC/related memory, and support rail (community/sponsor/legacy/bug report); public demo updated to V5. |
418
429
  | **v0.10.54** | 2026-10-20 | **More reliable distillation with local models (#48), plus a refreshed README with new screenshots**. ① **#48**: a local 30B model takes 40-60s to cold start while the distill timeout was **hardcoded to 45s**, so every cold start aborted; the timeout is now configurable via **captureTimeoutMs** (still 45s by default, 120000+ recommended for local inference) and **a timeout retries the same candidate once with a longer budget** instead of switching models. ② **The second shape of #48**: when the provider does not report max-tokens, a truncated answer only shows up as unterminated JSON, so a dedicated **TRUNCATED_OUTPUT** code now joins MAX_TOKENS on the "double the output budget and retry the same candidate" ladder. ③ The settings page gains a distill timeout (ms) field. ④ **README refresh**: all real screenshots (cards, a graph with 897 nodes / 4257 edges, health overview, audit centre, settings) plus a "what problem does it solve" comparison table and a clearer value proposition and star call-to-action (both languages). npm test now runs **440 checks** |
419
430
  | **v0.10.53** | 2026-10-20 | **Health panel (reliability line): all previously invisible state in one place**. A new "Health" card at the top of the usage page shows: ① **database** (journal mode, writability, last health check, with doctor guidance when bad); ② **backups** (count and age of the newest, amber past 7 days, red at zero); ③ **auto capture** (last success/failure with reason); ④ **versions** (disk / resident / host, plus a Start check button because align needs the npm registry and cannot run automatically). Data comes from existing endpoints: /overview now includes a **backups summary** (count/newestAt/last five filenames) alongside /capture-log and /align. Also **fixes a white-screen bug**: the card initially used tf(), which only exists in the ConfigPanel scope, so opening the usage page blanked the whole app; the panel checker gained two gates — **page alive (textLen<20 counts as blank)** and **Runtime.exceptionThrown capture** — because a blank page previously passed the overflow assertions. Adds tests/health-panel.test.mjs (4 checks). npm test now runs **437 checks** |
package/README.md CHANGED
@@ -20,7 +20,7 @@
20
20
  <p align="center">
21
21
  <img src="https://img.shields.io/badge/DeepSeek%20Harness-plugin-3B82F6" alt="DSH plugin" />
22
22
  <img src="https://img.shields.io/npm/v/memory-eternal" alt="npm version" />
23
- <img src="https://img.shields.io/badge/release-v0.12.0-FF7A45" alt="v0.12.0" />
23
+ <img src="https://img.shields.io/badge/release-v0.14.0-FF7A45" alt="v0.14.0" />
24
24
  <a href="https://eternalnight996.github.io/memory-eternal/"><img src="https://img.shields.io/badge/Live%20Demo-online-FF7A45" alt="Live demo" /></a>
25
25
  <img src="https://img.shields.io/github/stars/EternalNight996/memory-eternal?style=flat" alt="GitHub stars" />
26
26
  <img src="https://img.shields.io/github/license/EternalNight996/memory-eternal" alt="license" />
@@ -46,6 +46,15 @@
46
46
 
47
47
  <p align="center"><sub>▲ 真实运行截图:待审判词 · 知识星图 · 读卡器</sub></p>
48
48
 
49
+ <p align="center">
50
+ <img src="https://raw.githubusercontent.com/EternalNight996/memory-eternal/main/assets/screen/terminal.png" width="49%" alt="Web 内「终端版」:复制命令,进入完整 TUI 或 dsh-tui 原生 /audit" />
51
+ <img src="https://raw.githubusercontent.com/EternalNight996/memory-eternal/main/assets/screen/tui-audit.png" width="49%" alt="终端原生待审:全选、批量批准/驳回、判词双栏" />
52
+ </p>
53
+ <p align="center">
54
+ <img src="https://raw.githubusercontent.com/EternalNight996/memory-eternal/main/assets/screen/tui-reader.png" width="72%" alt="终端原生长文读卡器:目录、正文、相关记忆与滚动" />
55
+ </p>
56
+ <p align="center"><sub>▲ v0.13 新增:Web 内终端引导 · 终端原生审核(全选/批驳)· 长文读卡器</sub></p>
57
+
49
58
  ---
50
59
 
51
60
  ## 🧩 支持平台
@@ -54,7 +63,7 @@
54
63
  |---|---|---|---|---|
55
64
  | **DSH 桌面版 / Web** | 完整内嵌 | ✅ | ✅ | 左栏「记忆」,已支持 |
56
65
  | **Orca** | 侧栏启动器 | Web 内完成 | Web 内完成 | 右栏「记忆」,[本版新增](orca-plugin/README.md) |
57
- | **dsh-tui** | 浏览器打开 | Web 内完成 | Web 内完成 | `/memory`,[本版新增](dsh-tui-plugin/README.md) |
66
+ | **dsh-tui** | 原生 `/audit` + `/memory` | 原生场景 | 原生场景 | [本版新增](dsh-tui-plugin/README.md) |
58
67
  | **Codex** | 浏览器打开 | Web 内完成 | Web 内完成 | [`memory-open` skill](skills/memory-open/SKILL.md),本版新增 |
59
68
  | **Claude Code** | 浏览器打开 / Pane | Web 内完成 | Web 内完成 | `/memory-eternal:memory-open`,本版新增 |
60
69
  | **Cursor** | Webview 内嵌 | ✅ | ✅ | [扩展 Webview](cursor-extension/README.md),本版新增 |
@@ -97,7 +106,7 @@ cd ~/.dsh/profiles/web && pnpm add memory-eternal@latest
97
106
 
98
107
  # 刚发新版时 @latest 可能被 pnpm 的最小发布年龄门槛/元数据缓存挡住(静默停在旧版):
99
108
  # 直接指定版本号最快,pnpm 会自动把它加进 workspace 的 minimumReleaseAgeExclude
100
- cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.12.0
109
+ cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.14.0
101
110
 
102
111
  # 验版本(应等于上面装的号),然后重启对应宿主生效
103
112
  node -e "console.log(require('memory-eternal/package.json').version)"
@@ -438,14 +447,16 @@ curl http://127.0.0.1:7999/memory-eternal/api/web-info # 独立 web 是否活
438
447
 
439
448
  | 版本 | 日期 | 关键改动 |
440
449
  |---|---|---|
441
- | **v0.12.0** | 2026-10-22 | **跨宿主入口**:Orca 右侧栏「记忆」启动器、dsh-tui `/memory` 命令、Codex / Claude `memory-open` skill、Cursor / VS Code Webview 扩展;README 新增平台支持表;坚持一套 Web UI 唯一真源,能内嵌的用 Webview,不能内嵌的只做启动器;不新增 agent 权限。 |
442
- | **v0.11.0** | 2026-10-22 | **Memory Atlas 正式版**:V5 UI 全量落地 —— 记忆库 4 列知识卡 + 今日回看 + 固定/连接微缩图;待审顶部类型条 + 队列 + 右侧判词栏(无底部栏、无弹窗);知识星图 V5 页头/连接簇图例 + DPR/网格/边渲染优化;运行状态四张状态卡;读卡器右侧目录/相关记忆;金乌品牌图标;二维码点击放大;首次引导先 Star/Fork;GitHub/Gitee/npm 三端同步。 |
450
+ | **v0.14.0** | 2026-10-23 | **Web 终端入口 + 新功能截图**:记忆库左栏新增「终端版」,内置运行命令、dsh-tui `/audit` 引导与终端预览,解决 Web 无法展示 TUI 的问题;README 新增终端审核、长文读卡器和 Web 终端页真实截图;dsh-tui 原生 `/audit` 正式接入。 |
451
+ | **v0.13.0** | 2026-10-23 | **完整 TUI + dsh-tui 原生审核**:终端客户端补齐记忆库、待审、星图、运行状态、回收站、设置、长文读卡器与搜索;待审支持全选/批量批驳;`--live` 直连本地 API(默认只读,`--write` 才写);新增 dsh-tui 原生 `/audit` 场景,不再只是打开浏览器。 |
443
452
 
444
453
  <details>
445
454
  <summary>更早的更新日志(v0.10.52 及以前 · 共 79 版,点开查看)</summary>
446
455
 
447
456
  | 版本 | 日期 | 关键改动 |
448
457
  |---|---|---|
458
+ | **v0.12.0** | 2026-10-22 | **跨宿主入口**:Orca 右侧栏「记忆」启动器、dsh-tui `/memory` 命令、Codex / Claude `memory-open` skill、Cursor / VS Code Webview 扩展;README 新增平台支持表;坚持一套 Web UI 唯一真源,能内嵌的用 Webview,不能内嵌的只做启动器;不新增 agent 权限。 |
459
+ | **v0.11.0** | 2026-10-22 | **Memory Atlas 正式版**:V5 UI 全量落地 —— 记忆库 4 列知识卡 + 今日回看 + 固定/连接微缩图;待审顶部类型条 + 队列 + 右侧判词栏(无底部栏、无弹窗);知识星图 V5 页头/连接簇图例 + DPR/网格/边渲染优化;运行状态四张状态卡;读卡器右侧目录/相关记忆;金乌品牌图标;二维码点击放大;首次引导先 Star/Fork;GitHub/Gitee/npm 三端同步。 |
449
460
  | **v0.11.0-rc.1** | 2026-10-21 | **V5 预览 RC**:Memory Atlas 深色余烬视觉、228px 侧栏与顶栏;记忆库 V5 卡片网格 + 页头;审核顶部类型条 + 队列 + 判词预览 + 全选批量批准/驳回;星图默认缩小;首次引导(重点 👍)、读卡器目录/相关记忆与左栏交流群/赞助/旧程序/异常反馈;公开 Demo 同步 V5。 |
450
461
  | **v0.10.54** | 2026-10-20 | **本地大模型蒸馏更稳(#48)+ README 焕新与最新截图**。① **#48**:本地 30B 模型冷启动要 40–60 秒,而蒸馏超时**硬编码 45 秒** → 每次冷启动必报 ABORTED;现在超时可配 **captureTimeoutMs**(默认仍 45s,本地推理建议 120000+),且**超时后自动用更长超时重试同一候选一次**(不直接换模型)。② **#48 的第二种形态**:模型不给 max-tokens finish 时,截断只表现为「JSON 未闭合」→ 新增独立错误码 **TRUNCATED_OUTPUT**,与 MAX_TOKENS 一起走「加倍输出预算重试同一候选」的阶梯。③ 配置页新增「蒸馏超时(毫秒)」输入项。④ **README 焕新**:全部换成真实运行截图(知识卡 / 知识图谱 897 节点 4257 连线 / 健康概览 / 审核中心 / 配置页)+ 新增「它到底解决什么问题」对照表 + 更清晰的卖点与 Star 引导(中英同步)。npm test 共 **440 项** |
451
462
  | **v0.10.53** | 2026-10-20 | **健康面板(可靠性线):把看不见的状态集中一处**。在「用量/今日」顶部新增「🩺 健康概览」:① **知识库**(journal 模式 / 可写 / 最后一次体检时间,异常时给 doctor 指引);② **备份**(数量 + 最近一次多久前,>7 天标黄、0 备份标红);③ **自动沉淀**(最近一次成功/失败与原因);④ **版本**(磁盘 / 常驻 / 宿主;未检查时给「开始检查」按钮,因为 align 要联网比 npm 不能自动跑)。数据来自既有接口:/overview 新增 **backups 摘要**(count/newestAt/最近 5 个文件名),加上 /capture-log 与 /align。**顺带修一个白屏 bug**:健康卡最初误用了 ConfigPanel 作用域的 tf() → 点开「用量/今日」整页白屏;同时给 panel-check 补了两道闸 —— **页面存活(textLen<20 判空白页)** 与 **Runtime.exceptionThrown 捕获**,因为「白屏没有横向溢出」原本会让检查通过。新增 tests/health-panel.test.mjs(4 项)。npm test 共 **437 项** |
@@ -2,7 +2,7 @@
2
2
  "name": "memory-eternal",
3
3
  "displayName": "Memory Atlas",
4
4
  "description": "Memory-eternal: open the local Memory Atlas library, review queue and knowledge graph in a Cursor/VS Code webview.",
5
- "version": "0.12.0",
5
+ "version": "0.14.0",
6
6
  "publisher": "EternalNight996",
7
7
  "license": "MIT",
8
8
  "repository": {
@@ -8,6 +8,77 @@
8
8
 
9
9
  执行后确保 `memory-eternal` 的本地 Web 服务存活,并打开同一套 Memory Atlas Web UI。
10
10
 
11
+ 另一个命令:
12
+
13
+ ```text
14
+ /audit
15
+ ```
16
+
17
+ 在 dsh-tui 内直接打开**原生审核场景**:读取真实待审队列、`s` 全选、`a` 批准、`r` 驳回、`Esc` 退出。它不打开浏览器,也不复制 Web UI。
18
+
19
+ ## 先看效果(不需要 dsh-tui)
20
+
21
+ 完整 TUI 原型:
22
+
23
+ ```bash
24
+ node dsh-tui-plugin/demo.mjs
25
+ ```
26
+
27
+ 包含:
28
+
29
+ - `1` 记忆库:搜索、类型、今日回看、读卡
30
+ - `2` 待审:类型、全选、批量批准/驳回、判词
31
+ - `3` 知识星图:连接簇、相关卡
32
+ - `4` 运行状态:知识库/备份/沉淀日志
33
+ - `5` 回收站:恢复、彻底删除
34
+ - `6` 设置:开关、主题
35
+ - `Enter` 读卡器
36
+ - `/` 搜索
37
+ - `?` 帮助
38
+
39
+ 静态预览单页:
40
+
41
+ ```bash
42
+ node dsh-tui-plugin/demo.mjs --once --no-color
43
+ node dsh-tui-plugin/demo.mjs --once --no-color --screen=library
44
+ node dsh-tui-plugin/demo.mjs --once --no-color --screen=settings
45
+ node dsh-tui-plugin/demo.mjs --once --no-color --screen=audit --select-all
46
+ node dsh-tui-plugin/demo.mjs --once --no-color --screen=reader
47
+ node dsh-tui-plugin/demo.mjs --once --no-color --screen=reader --scroll=60
48
+ ```
49
+
50
+ 按键:
51
+
52
+ - `1–6` 切换页面
53
+ - `Tab` 循环页面
54
+ - `↑↓` / `j k` 移动
55
+ - `←→` / `t` 切换类型
56
+ - `Enter` 读卡 / 切换设置
57
+ - `L` 直接打开长文读卡器;`j/k` 滚动,`PgUp/PgDn` 翻页,`g/G` 首尾
58
+
59
+ 实时数据模式:
60
+
61
+ ```bash
62
+ # 只读:读取真实待审卡和正文
63
+ node dsh-tui-plugin/demo.mjs --live
64
+
65
+ # 写入:允许真实批准 / 驳回,谨慎使用
66
+ node dsh-tui-plugin/demo.mjs --live --write
67
+ ```
68
+
69
+ 实时模式默认走 `http://127.0.0.1:7999/memory-eternal/api`,可用
70
+ `MEMORY_ETERNAL_API` 覆盖。API 不可用时自动回退到示例数据。
71
+ - `Space` 多选 / 切换设置
72
+ - `s` 或 `Ctrl+A` 全选 / 反选
73
+ - `a` 批准,`r` 驳回
74
+ - 回收站:`r` 恢复,`d` 彻底删除
75
+ - `/` 搜索,`Esc` 返回 / 清空
76
+ - `?` 帮助,`q` 退出
77
+
78
+ 每个页面的底部快捷键会随当前页面更新,例如待审页显示全选/批驳,设置页显示切换,回收站显示恢复/删除。
79
+
80
+ `demo-audit.mjs` 保留为纯审核页备份。
81
+
11
82
  ## 安装
12
83
 
13
84
  在 `memory-eternal` 仓库根目录: