memory-eternal 0.18.1 → 0.18.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.
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/README.md +19 -1
- package/README.zh-CN.md +19 -1
- package/cursor-extension/package.json +1 -1
- package/dsh-tui-plugin/dsh-plugin.json +1 -1
- package/dsh-tui-plugin/package.json +1 -1
- package/lib/client.js +25 -20
- package/orca-plugin/orca-plugin.json +1 -1
- package/package.json +1 -1
- package/web/app.js +26 -21
|
@@ -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.18.
|
|
4
|
+
"version": "0.18.2",
|
|
5
5
|
"description": "记忆核心(Memory Eternal):对话结束后自动沉淀知识卡到本地记忆库(~/.dsh/memory-vault),支持检索 / 召回 / 审核中心。",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "EternalNight996",
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/EternalNight996/memory-eternal/stargazers)
|
|
4
4
|
[](https://www.npmjs.com/package/memory-eternal)
|
|
5
|
-
[](https://github.com/EternalNight996/memory-eternal/releases)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
**English (default)** · [简体中文](README.zh-CN.md)
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
- 🔍 **Review before it counts** — new cards wait in a review queue; approve or reject from the Web UI or terminal; every change is written to an immutable audit log.
|
|
20
20
|
- 🧾 **Token ledger** — see how much recall injected, how many distillation calls ran, and how often recall was actually useful.
|
|
21
21
|
- 🏠 **Local-first, no cloud** — SQLite + Markdown on your own disk. No third-party memory framework, no account, no outbound calls.
|
|
22
|
+
- ⭐ **Core memory** — promote approved cards to always-on memory; every session gets them automatically, and the review queue still decides what qualifies.
|
|
23
|
+
- 🧭 **Reader & layout** — clickable table of contents in the card reader, plus a compact / normal / large layout setting for the whole memory UI.
|
|
22
24
|
|
|
23
25
|
<p align="center"><strong>⭐ If it saves you from explaining the same context again, a star helps a lot.</strong><br/><sub>DSH one-liner: <code>dsh plugin --profile desktop add memory-eternal</code></sub></p>
|
|
24
26
|
|
|
@@ -84,6 +86,22 @@ A memory system that silently ingests everything will eventually recall a wrong
|
|
|
84
86
|
- agents can read and propose, but **cannot approve their own cards**;
|
|
85
87
|
- deleted cards go to a recycle bin (30 days by default).
|
|
86
88
|
|
|
89
|
+
## ⭐ Core memory
|
|
90
|
+
|
|
91
|
+
Not everything should be injected into every session. Core memory is the small, explicit set of rules and preferences that must always win:
|
|
92
|
+
|
|
93
|
+
- any approved card can be promoted from the reader or card list;
|
|
94
|
+
- auto-capture may **suggest** core only for explicit long-term preferences / hard constraints, and core candidates always stay pending for review;
|
|
95
|
+
- approved core cards are injected into the system prompt of every session — no `memory_recall` call needed;
|
|
96
|
+
- set a card limit and character budget in Settings → Memory → Core memory;
|
|
97
|
+
- in the knowledge graph, core nodes are orange diamonds with a ★;
|
|
98
|
+
- never store secrets or API keys in a core card; keep only a pointer to the credential directory.
|
|
99
|
+
|
|
100
|
+
## 🎛 Reader & layout
|
|
101
|
+
|
|
102
|
+
- click any heading in the reader's table of contents to smoothly scroll to that section;
|
|
103
|
+
- Settings → Memory → Layout size offers **compact / normal / large** for the whole UI; it only affects display.
|
|
104
|
+
|
|
87
105
|
## 🧩 One vault, every agent
|
|
88
106
|
|
|
89
107
|
| Entry | What you get |
|
package/README.zh-CN.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/EternalNight996/memory-eternal/stargazers)
|
|
4
4
|
[](https://www.npmjs.com/package/memory-eternal)
|
|
5
|
-
[](https://github.com/EternalNight996/memory-eternal/releases)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
[English (default)](README.md) · **简体中文(镜像)**
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
- 🔍 **先审核,再入库** —— 新卡先进待审队列,Web 或终端里批准/驳回;每次状态变更写入不可篡改的审计日志。
|
|
20
20
|
- 🧾 **记忆账本** —— 召回注入了多少、蒸馏调了几次、召回到底有没有用,全部可查。
|
|
21
21
|
- 🏠 **本地优先,零云端** —— SQLite + Markdown 存在你自己的磁盘上。没有第三方记忆框架、不需要账号、不外发请求。
|
|
22
|
+
- ⭐ **核心记忆** —— 已批准的卡可提升为「每次会话强制注入」的核心记忆;自动沉淀可以建议,但最终仍由审核中心决定。
|
|
23
|
+
- 🧭 **阅读与布局** —— 卡片目录可点击跳转;记忆界面支持紧凑 / 标准 / 大三种布局大小。
|
|
22
24
|
|
|
23
25
|
<p align="center"><strong>⭐ 如果它帮你少解释了一遍上下文,点个 Star 就是最大的支持</strong><br/><sub>DSH 一条命令:<code>dsh plugin --profile desktop add memory-eternal</code></sub></p>
|
|
24
26
|
|
|
@@ -84,6 +86,22 @@ npx -y -p memory-eternal dsh-memory tui # 终端里的实时待审队列
|
|
|
84
86
|
- Agent 可以读取和提议,但**不能批准自己写的卡**;
|
|
85
87
|
- 删除的卡进回收站(默认保留 30 天)。
|
|
86
88
|
|
|
89
|
+
## ⭐ 核心记忆
|
|
90
|
+
|
|
91
|
+
不是所有内容都该每次注入上下文。核心记忆是一组**必须每次遵守**的偏好与硬约束:
|
|
92
|
+
|
|
93
|
+
- 任意已批准卡片都可以在阅读器或卡片列表里提升为核心记忆;
|
|
94
|
+
- 自动沉淀只会在用户明确要求长期偏好 / 硬约束时**建议**核心,且 core 候选**一律待审**;
|
|
95
|
+
- 已批准的核心卡每次会话直接注入 systemPrompt,不依赖 `memory_recall` 调用;
|
|
96
|
+
- 在「设置 → 记忆 → 核心记忆」里可配置条数上限和字符预算;
|
|
97
|
+
- 知识星图里核心节点显示为橙色菱形 + ★;
|
|
98
|
+
- **不要把密钥/Token 的值写进核心卡**,只保存凭证目录的引用。
|
|
99
|
+
|
|
100
|
+
## 🎛 阅读与布局
|
|
101
|
+
|
|
102
|
+
- 卡片阅读器右侧目录可点击,平滑跳转到对应章节;
|
|
103
|
+
- 「设置 → 记忆 → 布局大小」支持 **紧凑 / 标准 / 大**,只影响界面显示。
|
|
104
|
+
|
|
87
105
|
## 🧩 一个库,所有 Agent
|
|
88
106
|
|
|
89
107
|
| 入口 | 你能得到什么 |
|
|
@@ -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.18.
|
|
5
|
+
"version": "0.18.2",
|
|
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.18.
|
|
5
|
+
"version": "0.18.2",
|
|
6
6
|
"manifestVersion": "0.15",
|
|
7
7
|
"description": "Open Memory Atlas from dsh-TUI: native /audit scene plus browser launcher.",
|
|
8
8
|
"facets": {
|