memory-eternal 0.13.0 → 0.14.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.
@@ -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.13.0",
4
+ "version": "0.14.1",
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.13.0",
3
+ "version": "0.14.1",
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.13.0",
3
+ "version": "0.14.1",
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.13.0-FF7A45" alt="v0.13.0" />
23
+ <img src="https://img.shields.io/badge/release-v0.14.1-FF7A45" alt="v0.14.1" />
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
@@ -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.13.0
110
+ cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.14.1
102
111
 
103
112
  # verify the version, then restart the host
104
113
  node -e "console.log(require('memory-eternal/package.json').version)"
@@ -162,6 +171,7 @@ dsh-memory setup [--dry-run] # re-run / preview auto-mount (idempote
162
171
  dsh-memory mcp # MCP stdio (mount to any MCP client)
163
172
  dsh-memory serve [--port 7999] # run web in foreground
164
173
  dsh-memory open # ensure web alive + open browser
174
+ dsh-memory tui --live # full terminal client (read-only; --write to review)
165
175
  dsh-memory watchdog [--port 7799] # watchdog keep-alive (standalone process)
166
176
  dsh-memory status [--json] # resident watchdog: pid / port / version / alive
167
177
  # plus the version **actually served on the port**
@@ -406,14 +416,16 @@ curl http://127.0.0.1:7999/memory-eternal/api/web-info # is the standalone we
406
416
 
407
417
  | Version | Date | Highlights |
408
418
  |---|---|---|
409
- | **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. |
410
- | **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. |
419
+ | **v0.14.1** | 2026-10-23 | **Portable terminal entry**: new `dsh-memory tui --live` lets any installed user launch the full terminal client without `cd`-ing into the repo or hard-coding a local path; the Web terminal page now shows the same read-only/write commands. |
420
+ | **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. |
411
421
 
412
422
  <details>
413
423
  <summary>Older release notes (v0.10.52 and earlier · 79 releases, click to expand)</summary>
414
424
 
415
425
  | Version | Date | Highlights |
416
426
  |---|---|---|
427
+ | **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. |
428
+ | **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. |
417
429
  | **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
430
  | **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. |
419
431
  | **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** |
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.13.0-FF7A45" alt="v0.13.0" />
23
+ <img src="https://img.shields.io/badge/release-v0.14.1-FF7A45" alt="v0.14.1" />
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
  ## 🧩 支持平台
@@ -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.13.0
109
+ cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.14.1
101
110
 
102
111
  # 验版本(应等于上面装的号),然后重启对应宿主生效
103
112
  node -e "console.log(require('memory-eternal/package.json').version)"
@@ -173,6 +182,7 @@ dsh-memory connect <claude|codex|cursor> # 写会话结束自动沉淀 hook(
173
182
  dsh-memory mcp # MCP stdio(挂任意 MCP 客户端)
174
183
  dsh-memory serve [--port 7999] # 前台跑 web
175
184
  dsh-memory open # ensure web 存活 + 开浏览器
185
+ dsh-memory tui --live # 完整终端客户端(只读真实队列;--write 才批驳)
176
186
  dsh-memory watchdog [--port 7799] # 看门狗保活 web(独立进程)
177
187
  dsh-memory status [--json] # 看常驻 watchdog:pid / 端口 / 版本 / 是否存活
178
188
  # 以及**端口上真正在服务的版本**(锁里的版本号只是 watchdog 自述)
@@ -438,14 +448,16 @@ curl http://127.0.0.1:7999/memory-eternal/api/web-info # 独立 web 是否活
438
448
 
439
449
  | 版本 | 日期 | 关键改动 |
440
450
  |---|---|---|
441
- | **v0.13.0** | 2026-10-23 | **完整 TUI + dsh-tui 原生审核**:终端客户端补齐记忆库、待审、星图、运行状态、回收站、设置、长文读卡器与搜索;待审支持全选/批量批驳;`--live` 直连本地 API(默认只读,`--write` 才写);新增 dsh-tui 原生 `/audit` 场景,不再只是打开浏览器。 |
442
- | **v0.12.0** | 2026-10-22 | **跨宿主入口**:Orca 右侧栏「记忆」启动器、dsh-tui `/memory` 命令、Codex / Claude `memory-open` skill、Cursor / VS Code Webview 扩展;README 新增平台支持表;坚持一套 Web UI 唯一真源,能内嵌的用 Webview,不能内嵌的只做启动器;不新增 agent 权限。 |
451
+ | **v0.14.1** | 2026-10-23 | **终端入口免绝对路径**:新增 `dsh-memory tui --live`,任意用户安装插件后可直接运行完整终端客户端,无需 `cd` 到仓库或填写本机绝对路径;Web 终端页同步改为只读/写入两条通用命令。 |
452
+ | **v0.14.0** | 2026-10-23 | **Web 终端入口 + 新功能截图**:记忆库左栏新增「终端版」,内置运行命令、dsh-tui `/audit` 引导与终端预览,解决 Web 无法展示 TUI 的问题;README 新增终端审核、长文读卡器和 Web 终端页真实截图;dsh-tui 原生 `/audit` 正式接入。 |
443
453
 
444
454
  <details>
445
455
  <summary>更早的更新日志(v0.10.52 及以前 · 共 79 版,点开查看)</summary>
446
456
 
447
457
  | 版本 | 日期 | 关键改动 |
448
458
  |---|---|---|
459
+ | **v0.13.0** | 2026-10-23 | **完整 TUI + dsh-tui 原生审核**:终端客户端补齐记忆库、待审、星图、运行状态、回收站、设置、长文读卡器与搜索;待审支持全选/批量批驳;`--live` 直连本地 API(默认只读,`--write` 才写);新增 dsh-tui 原生 `/audit` 场景,不再只是打开浏览器。 |
460
+ | **v0.12.0** | 2026-10-22 | **跨宿主入口**:Orca 右侧栏「记忆」启动器、dsh-tui `/memory` 命令、Codex / Claude `memory-open` skill、Cursor / VS Code Webview 扩展;README 新增平台支持表;坚持一套 Web UI 唯一真源,能内嵌的用 Webview,不能内嵌的只做启动器;不新增 agent 权限。 |
449
461
  | **v0.11.0** | 2026-10-22 | **Memory Atlas 正式版**:V5 UI 全量落地 —— 记忆库 4 列知识卡 + 今日回看 + 固定/连接微缩图;待审顶部类型条 + 队列 + 右侧判词栏(无底部栏、无弹窗);知识星图 V5 页头/连接簇图例 + DPR/网格/边渲染优化;运行状态四张状态卡;读卡器右侧目录/相关记忆;金乌品牌图标;二维码点击放大;首次引导先 Star/Fork;GitHub/Gitee/npm 三端同步。 |
450
462
  | **v0.11.0-rc.1** | 2026-10-21 | **V5 预览 RC**:Memory Atlas 深色余烬视觉、228px 侧栏与顶栏;记忆库 V5 卡片网格 + 页头;审核顶部类型条 + 队列 + 判词预览 + 全选批量批准/驳回;星图默认缩小;首次引导(重点 👍)、读卡器目录/相关记忆与左栏交流群/赞助/旧程序/异常反馈;公开 Demo 同步 V5。 |
451
463
  | **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 项** |
@@ -6,6 +6,7 @@
6
6
  // dsh-memory capture <text | - > [--source TAG] 手动沉淀(- 读 stdin)
7
7
  // dsh-memory serve [--port N] [--vault DIR] 启动 Web UI(前台常驻)
8
8
  // dsh-memory open [--port N] 确保 Web 存活并用浏览器打开
9
+ // dsh-memory tui [--live] [--write] 打开完整终端客户端(无需绝对路径)
9
10
  // dsh-memory mcp MCP stdio server(各 agent 挂载)
10
11
  // dsh-memory setup [--claude-only|--codex-only|--cursor-only] [--dry-run] [--no-hooks]
11
12
  // 自动挂载 MCP 到已装的 agent
@@ -110,6 +111,14 @@ async function main() {
110
111
  process.on('SIGTERM', () => process.exit(0))
111
112
  return
112
113
  }
114
+ case 'tui': {
115
+ const { spawn } = await import('node:child_process')
116
+ const { fileURLToPath } = await import('node:url')
117
+ const demo = fileURLToPath(new URL('../dsh-tui-plugin/demo.mjs', import.meta.url))
118
+ const child = spawn(process.execPath, [demo, ...argv.slice(1)], { stdio: 'inherit', windowsHide: false })
119
+ child.on('exit', (code) => process.exit(code ?? 0))
120
+ return
121
+ }
113
122
  case 'open': {
114
123
  const { ensureWebServer, DEFAULT_WEB_PORT } = await import('../lib/web.js')
115
124
  const { defaultVaultDir } = await import('../lib/capture-run.js')
@@ -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.13.0",
5
+ "version": "0.14.1",
6
6
  "publisher": "EternalNight996",
7
7
  "license": "MIT",
8
8
  "repository": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "urn:dsh-std:community-draft:dsh-plugin:0.15",
3
3
  "id": "memory-eternal-tui",
4
4
  "name": "memory-eternal-tui",
5
- "version": "0.13.0",
5
+ "version": "0.14.1",
6
6
  "manifestVersion": "0.15",
7
7
  "description": "Open Memory Atlas from dsh-TUI: native /audit scene plus browser launcher.",
8
8
  "facets": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memory-eternal-tui",
3
- "version": "0.13.0",
3
+ "version": "0.14.1",
4
4
  "description": "Open Memory Atlas from dsh-TUI with /memory.",
5
5
  "type": "module",
6
6
  "main": "main.js",