memory-eternal 0.14.0 → 0.14.2

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.14.0",
4
+ "version": "0.14.2",
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.14.0",
3
+ "version": "0.14.2",
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.14.0",
3
+ "version": "0.14.2",
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.14.0-FF7A45" alt="v0.14.0" />
23
+ <img src="https://img.shields.io/badge/release-v0.14.2-FF7A45" alt="v0.14.2" />
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" />
@@ -53,7 +53,7 @@
53
53
  <p align="center">
54
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
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>
56
+ <p align="center"><sub>▲ New in v0.14: in-Web terminal guide · native terminal audit (select-all/batch) · long-form reader</sub></p>
57
57
 
58
58
  ---
59
59
 
@@ -62,8 +62,9 @@
62
62
  | Platform / host | Memory Atlas UI | Review / approve | Knowledge graph | Entry and status |
63
63
  |---|---|---|---|---|
64
64
  | **DSH desktop / Web** | Fully embedded | ✅ | ✅ | Sidebar “Memory”, supported |
65
+ | **Any terminal (TUI)** | Native terminal UI | ✅ select-all / batch | Clusters / adjacency | [`dsh-memory tui --live`](#-terminal-tui), no absolute path |
65
66
  | **Orca** | Sidebar launcher | In Web UI | In Web UI | Right sidebar “Memory”, [new in this release](orca-plugin/README.md) |
66
- | **dsh-tui** | Native `/audit` + `/memory` | Native scene | Native scene | [new in this release](dsh-tui-plugin/README.md) |
67
+ | **dsh-tui** | Native `/audit` + full TUI | Native scene | Native scene | [new in this release](dsh-tui-plugin/README.md) |
67
68
  | **Codex** | Opens browser | In Web UI | In Web UI | [`memory-open` skill](skills/memory-open/SKILL.md), new in this release |
68
69
  | **Claude Code** | Browser / Pane | In Web UI | In Web UI | `/memory-eternal:memory-open`, new in this release |
69
70
  | **Cursor** | Embedded Webview | ✅ | ✅ | [Extension Webview](cursor-extension/README.md), new in this release |
@@ -73,6 +74,74 @@
73
74
 
74
75
  ---
75
76
 
77
+ ## 🖥️ Terminal (TUI)
78
+
79
+ The Web UI is not the only entry. The terminal version is a **native TUI** over the same memory vault — built for fast review, select-all, long-form reading and a low-distraction workflow.
80
+
81
+ ### One command for any user
82
+
83
+ No clone, no `cd`, no local absolute path:
84
+
85
+ ```bash
86
+ npx -y -p memory-eternal dsh-memory tui --live
87
+ ```
88
+
89
+ On a machine where `memory-eternal` is already installed:
90
+
91
+ ```bash
92
+ dsh-memory tui --live # read-only: real review queue
93
+ dsh-memory tui --live --write # write: real approve / reject
94
+ ```
95
+
96
+ If `dsh-memory` is not on PATH, use the `npx` command above; it downloads and runs the current npm version.
97
+
98
+ > The `tui` subcommand ships in **0.14.1+**. An older CLI prints help; upgrade with `npm i -g --force memory-eternal@0.14.2`.
99
+
100
+ ### What is inside
101
+
102
+ | Page | Capability |
103
+ |---|---|
104
+ | Library | search, kind filters, today's resurface, reading |
105
+ | Review | select-all / invert, batch approve, batch reject, verdict |
106
+ | Star map | clusters, adjacency, related cards |
107
+ | Runtime | vault, backups, version, capture log |
108
+ | Recycle bin | restore, purge |
109
+ | Settings | auto-capture, failure alerts, audit, retention, theme |
110
+ | Reader | long-form wrapping, TOC, related memories, scrolling |
111
+
112
+ ### Keys
113
+
114
+ | Key | Action |
115
+ |---|---|
116
+ | `1–6` | switch main page |
117
+ | `Tab` | cycle pages |
118
+ | `↑↓` / `j k` | move |
119
+ | `←→` / `t` | switch kind |
120
+ | `Space` | multi-select / toggle setting |
121
+ | `s` / `Ctrl+A` | select all / invert |
122
+ | `a` | approve current or batch |
123
+ | `r` | reject current or batch; restore in recycle bin |
124
+ | `d` | purge in recycle bin |
125
+ | `Enter` | read card / toggle setting |
126
+ | `L` | open the long-form reader directly |
127
+ | `j k` / `PgUp` `PgDn` / `g G` | reader scroll / page / top-bottom |
128
+ | `/` | search |
129
+ | `Esc` | back / clear |
130
+ | `?` | help |
131
+ | `q` | quit |
132
+
133
+ ### Why the Web UI does not embed the TUI
134
+
135
+ The terminal TUI relies on the alternate screen, raw key events and a character grid; an iframe cannot reproduce it faithfully. The Web “Terminal” page therefore provides copy-ready commands and a preview; the real run happens in a terminal, while dsh-tui uses the native `/audit` scene.
136
+
137
+ ### Limits
138
+
139
+ - No images / QR / Canvas graph in the terminal; the graph becomes clusters and adjacency.
140
+ - Colors and borders depend on the terminal font; on Windows use Windows Terminal or the VS Code integrated terminal.
141
+ - `--live` is read-only by default; real review requires `--write`.
142
+
143
+ ---
144
+
76
145
  ## ✨ What problem does it actually solve
77
146
 
78
147
  | What you hit | Before | After |
@@ -107,7 +176,7 @@ cd ~/.dsh/profiles/web && pnpm add memory-eternal@latest
107
176
  # right after a release, @latest can be held back by pnpm's minimum-release-age gate or a cached
108
177
  # packument (it silently stays on the old version): pin the version instead — pnpm adds it to the
109
178
  # workspace's minimumReleaseAgeExclude automatically
110
- cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.14.0
179
+ cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.14.2
111
180
 
112
181
  # verify the version, then restart the host
113
182
  node -e "console.log(require('memory-eternal/package.json').version)"
@@ -171,6 +240,7 @@ dsh-memory setup [--dry-run] # re-run / preview auto-mount (idempote
171
240
  dsh-memory mcp # MCP stdio (mount to any MCP client)
172
241
  dsh-memory serve [--port 7999] # run web in foreground
173
242
  dsh-memory open # ensure web alive + open browser
243
+ dsh-memory tui --live # full terminal client (read-only; --write to review)
174
244
  dsh-memory watchdog [--port 7799] # watchdog keep-alive (standalone process)
175
245
  dsh-memory status [--json] # resident watchdog: pid / port / version / alive
176
246
  # plus the version **actually served on the port**
@@ -415,14 +485,16 @@ curl http://127.0.0.1:7999/memory-eternal/api/web-info # is the standalone we
415
485
 
416
486
  | Version | Date | Highlights |
417
487
  |---|---|---|
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. |
488
+ | **v0.14.2** | 2026-10-23 | **Live empty-queue fix**: `dsh-memory tui --live` no longer falls back to sample data when the real pending queue is empty; it stays in LIVE mode and shows the empty state. The path-free npx entry and the 0.14.1 old-global-CLI upgrade note remain. |
489
+ | **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
490
 
421
491
  <details>
422
492
  <summary>Older release notes (v0.10.52 and earlier · 79 releases, click to expand)</summary>
423
493
 
424
494
  | Version | Date | Highlights |
425
495
  |---|---|---|
496
+ | **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. |
497
+ | **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. |
426
498
  | **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
499
  | **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. |
428
500
  | **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. |
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.14.0-FF7A45" alt="v0.14.0" />
23
+ <img src="https://img.shields.io/badge/release-v0.14.2-FF7A45" alt="v0.14.2" />
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" />
@@ -53,7 +53,7 @@
53
53
  <p align="center">
54
54
  <img src="https://raw.githubusercontent.com/EternalNight996/memory-eternal/main/assets/screen/tui-reader.png" width="72%" alt="终端原生长文读卡器:目录、正文、相关记忆与滚动" />
55
55
  </p>
56
- <p align="center"><sub>▲ v0.13 新增:Web 内终端引导 · 终端原生审核(全选/批驳)· 长文读卡器</sub></p>
56
+ <p align="center"><sub>▲ v0.14 新增:Web 内终端引导 · 终端原生审核(全选/批驳)· 长文读卡器</sub></p>
57
57
 
58
58
  ---
59
59
 
@@ -62,8 +62,9 @@
62
62
  | 平台 / 宿主 | Memory Atlas UI | 待审 / 批驳 | 知识星图 | 入口与状态 |
63
63
  |---|---|---|---|---|
64
64
  | **DSH 桌面版 / Web** | 完整内嵌 | ✅ | ✅ | 左栏「记忆」,已支持 |
65
+ | **任意终端(TUI)** | 终端原生 | ✅ 全选 / 批量批驳 | 连接簇 / 邻接表 | [`dsh-memory tui --live`](#-终端版tui),免绝对路径 |
65
66
  | **Orca** | 侧栏启动器 | Web 内完成 | Web 内完成 | 右栏「记忆」,[本版新增](orca-plugin/README.md) |
66
- | **dsh-tui** | 原生 `/audit` + `/memory` | 原生场景 | 原生场景 | [本版新增](dsh-tui-plugin/README.md) |
67
+ | **dsh-tui** | 原生 `/audit` + 完整 TUI | 原生场景 | 原生场景 | [本版新增](dsh-tui-plugin/README.md) |
67
68
  | **Codex** | 浏览器打开 | Web 内完成 | Web 内完成 | [`memory-open` skill](skills/memory-open/SKILL.md),本版新增 |
68
69
  | **Claude Code** | 浏览器打开 / Pane | Web 内完成 | Web 内完成 | `/memory-eternal:memory-open`,本版新增 |
69
70
  | **Cursor** | Webview 内嵌 | ✅ | ✅ | [扩展 Webview](cursor-extension/README.md),本版新增 |
@@ -73,6 +74,75 @@
73
74
 
74
75
  ---
75
76
 
77
+ ## 🖥️ 终端版(TUI)
78
+
79
+ Web 不是唯一入口。终端版是同一套记忆库的**原生 TUI**,适合快速批卡、全选、长文阅读和低干扰工作流。
80
+
81
+ ### 任意用户,一条命令
82
+
83
+ 不需要克隆仓库、不需要 `cd`、不需要填写本机绝对路径:
84
+
85
+ ```bash
86
+ npx -y -p memory-eternal dsh-memory tui --live
87
+ ```
88
+
89
+ 已经安装 `memory-eternal` 的机器:
90
+
91
+ ```bash
92
+ dsh-memory tui --live # 只读:读取真实待审队列
93
+ dsh-memory tui --live --write # 写入:允许真实批准/驳回
94
+ ```
95
+
96
+ `dsh-memory` 不在 PATH 时,直接用上面的 `npx` 命令;它会临时下载并运行当前 npm 版本。
97
+
98
+ > `tui` 子命令从 **0.14.1** 开始提供。旧版 `dsh-memory` 会显示帮助;升级:`npm i -g --force memory-eternal@0.14.2`。
99
+
100
+ ### 终端版包含
101
+
102
+ | 页面 | 能力 |
103
+ |---|---|
104
+ | 记忆库 | 搜索、类型筛选、今日回看、读卡 |
105
+ | 待审 | 全选 / 反选、批量批准、批量驳回、判词 |
106
+ | 知识星图 | 连接簇、邻接表、相关卡片 |
107
+ | 运行状态 | 知识库、备份、版本、沉淀日志 |
108
+ | 回收站 | 恢复、彻底删除 |
109
+ | 设置 | 自动沉淀、失败提醒、审核、回收站保留、主题 |
110
+ | 读卡器 | 长文换行、目录、相关记忆、滚动 |
111
+
112
+ ### 终端键位
113
+
114
+ | 键 | 作用 |
115
+ |---|---|
116
+ | `1–6` | 切换主页面 |
117
+ | `Tab` | 循环页面 |
118
+ | `↑↓` / `j k` | 移动 |
119
+ | `←→` / `t` | 切换类型 |
120
+ | `Space` | 多选 / 切换设置 |
121
+ | `s` / `Ctrl+A` | 全选 / 反选 |
122
+ | `a` | 批准当前或批量 |
123
+ | `r` | 驳回当前或批量;回收站里是恢复 |
124
+ | `d` | 回收站彻底删除 |
125
+ | `Enter` | 读卡 / 切换设置 |
126
+ | `L` | 直接打开长文读卡器 |
127
+ | `j k` / `PgUp` `PgDn` / `g G` | 读卡器滚动 / 翻页 / 首尾 |
128
+ | `/` | 搜索 |
129
+ | `Esc` | 返回 / 清空 |
130
+ | `?` | 帮助 |
131
+ | `q` | 退出 |
132
+
133
+ ### 为什么 Web 不直接嵌 TUI
134
+
135
+ 终端 TUI 依赖 alternate screen、原始键盘事件和字符网格,无法用 iframe 忠实嵌入。
136
+ 所以 Web 的「终端版」页面提供可复制命令和预览,真正运行时进入终端;dsh-tui 里则使用原生 `/audit` 场景。
137
+
138
+ ### 限制
139
+
140
+ - 终端不渲染图片 / 二维码 / Canvas 星图;星图使用连接簇和邻接表。
141
+ - 长文、颜色和边框依赖终端字体;Windows 建议 Windows Terminal / VS Code 集成终端。
142
+ - `--live` 默认只读;真实批驳必须显式加 `--write`。
143
+
144
+ ---
145
+
76
146
  ## ✨ 它到底解决什么问题
77
147
 
78
148
  | 你遇到的 | 以前的做法 | 用了之后 |
@@ -106,7 +176,7 @@ cd ~/.dsh/profiles/web && pnpm add memory-eternal@latest
106
176
 
107
177
  # 刚发新版时 @latest 可能被 pnpm 的最小发布年龄门槛/元数据缓存挡住(静默停在旧版):
108
178
  # 直接指定版本号最快,pnpm 会自动把它加进 workspace 的 minimumReleaseAgeExclude
109
- cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.14.0
179
+ cd ~/.dsh/profiles/web && pnpm add memory-eternal@0.14.2
110
180
 
111
181
  # 验版本(应等于上面装的号),然后重启对应宿主生效
112
182
  node -e "console.log(require('memory-eternal/package.json').version)"
@@ -182,6 +252,7 @@ dsh-memory connect <claude|codex|cursor> # 写会话结束自动沉淀 hook(
182
252
  dsh-memory mcp # MCP stdio(挂任意 MCP 客户端)
183
253
  dsh-memory serve [--port 7999] # 前台跑 web
184
254
  dsh-memory open # ensure web 存活 + 开浏览器
255
+ dsh-memory tui --live # 完整终端客户端(只读真实队列;--write 才批驳)
185
256
  dsh-memory watchdog [--port 7799] # 看门狗保活 web(独立进程)
186
257
  dsh-memory status [--json] # 看常驻 watchdog:pid / 端口 / 版本 / 是否存活
187
258
  # 以及**端口上真正在服务的版本**(锁里的版本号只是 watchdog 自述)
@@ -447,14 +518,16 @@ curl http://127.0.0.1:7999/memory-eternal/api/web-info # 独立 web 是否活
447
518
 
448
519
  | 版本 | 日期 | 关键改动 |
449
520
  |---|---|---|
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` 场景,不再只是打开浏览器。 |
521
+ | **v0.14.2** | 2026-10-23 | **实时空队列修复**:`dsh-memory tui --live` 在真实待审为 0 时不再回退示例数据,显示 LIVE 空队列;同时保留 `npx -p memory-eternal dsh-memory tui --live` 的免路径入口与 0.14.1 的旧全局 CLI 升级提示。 |
522
+ | **v0.14.1** | 2026-10-23 | **终端入口免绝对路径**:新增 `dsh-memory tui --live`,任意用户安装插件后可直接运行完整终端客户端,无需 `cd` 到仓库或填写本机绝对路径;Web 终端页同步改为只读/写入两条通用命令。 |
452
523
 
453
524
  <details>
454
525
  <summary>更早的更新日志(v0.10.52 及以前 · 共 79 版,点开查看)</summary>
455
526
 
456
527
  | 版本 | 日期 | 关键改动 |
457
528
  |---|---|---|
529
+ | **v0.14.0** | 2026-10-23 | **Web 终端入口 + 新功能截图**:记忆库左栏新增「终端版」,内置运行命令、dsh-tui `/audit` 引导与终端预览,解决 Web 无法展示 TUI 的问题;README 新增终端审核、长文读卡器和 Web 终端页真实截图;dsh-tui 原生 `/audit` 正式接入。 |
530
+ | **v0.13.0** | 2026-10-23 | **完整 TUI + dsh-tui 原生审核**:终端客户端补齐记忆库、待审、星图、运行状态、回收站、设置、长文读卡器与搜索;待审支持全选/批量批驳;`--live` 直连本地 API(默认只读,`--write` 才写);新增 dsh-tui 原生 `/audit` 场景,不再只是打开浏览器。 |
458
531
  | **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
532
  | **v0.11.0** | 2026-10-22 | **Memory Atlas 正式版**:V5 UI 全量落地 —— 记忆库 4 列知识卡 + 今日回看 + 固定/连接微缩图;待审顶部类型条 + 队列 + 右侧判词栏(无底部栏、无弹窗);知识星图 V5 页头/连接簇图例 + DPR/网格/边渲染优化;运行状态四张状态卡;读卡器右侧目录/相关记忆;金乌品牌图标;二维码点击放大;首次引导先 Star/Fork;GitHub/Gitee/npm 三端同步。 |
460
533
  | **v0.11.0-rc.1** | 2026-10-21 | **V5 预览 RC**:Memory Atlas 深色余烬视觉、228px 侧栏与顶栏;记忆库 V5 卡片网格 + 页头;审核顶部类型条 + 队列 + 判词预览 + 全选批量批准/驳回;星图默认缩小;首次引导(重点 👍)、读卡器目录/相关记忆与左栏交流群/赞助/旧程序/异常反馈;公开 Demo 同步 V5。 |
@@ -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.14.0",
5
+ "version": "0.14.2",
6
6
  "publisher": "EternalNight996",
7
7
  "license": "MIT",
8
8
  "repository": {
@@ -559,10 +559,10 @@ async function loadLive(state) {
559
559
  apiJson('/cards?status=pending&limit=300'),
560
560
  apiJson('/overview').catch(() => null),
561
561
  ])
562
- if (!cardsData.cards.length) throw new Error('没有待审卡')
563
562
  state.cards = cardsData.cards.map(toLiveCard)
564
563
  state.overview = overview
565
564
  state.index = 0
565
+ if (!state.cards.length) state.toast = { text: '实时队列为空(0 张待审)', ok: true }
566
566
  state.marked.clear()
567
567
  if (selectAllAtStart) state.cards.forEach((c) => state.marked.add(c.id))
568
568
  state.live = true
@@ -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.14.0",
5
+ "version": "0.14.2",
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.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "Open Memory Atlas from dsh-TUI with /memory.",
5
5
  "type": "module",
6
6
  "main": "main.js",