dsh-memory-gate 0.2.0 → 0.2.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.
- package/CHANGELOG.md +7 -0
- package/README.md +22 -9
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.1 - 2026-08-14
|
|
4
|
+
|
|
5
|
+
- Docs-only release: lead with the "retrieved ≠ injected" positioning in the
|
|
6
|
+
README, package description, and GitHub repository description.
|
|
7
|
+
- Document plugin removal (`dsh plugin --profile web remove dsh-memory-gate`)
|
|
8
|
+
and the retention of the SQLite memory file across uninstall.
|
|
9
|
+
|
|
3
10
|
## 0.2.0 - 2026-08-14
|
|
4
11
|
|
|
5
12
|
- Rename the plugin, package, and repository from `dsh-memory-cbdc` to
|
package/README.md
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
# dsh-memory-gate(记忆闸门)
|
|
2
2
|
|
|
3
|
-
>
|
|
4
|
-
> CBDC
|
|
3
|
+
> 核心立场:**检索到 ≠ 注入**。前身是 `dsh-memory-cbdc`(v0.1.x);
|
|
4
|
+
> v0.2.0 起更名为 **dsh-memory-gate**,CBDC 保留为机制名(见下)。
|
|
5
|
+
> 旧仓库地址仍会重定向到本仓库。
|
|
5
6
|
|
|
6
|
-
DeepSeek Harness
|
|
7
|
-
Claim,并在每次模型调用前执行 CBDC
|
|
8
|
-
Consumption
|
|
7
|
+
DeepSeek Harness 的本地长期记忆插件,核心立场是**检索到 ≠ 注入**:
|
|
8
|
+
它把稳定信息保存为可撤销的 Claim,并在每次模型调用前执行 CBDC
|
|
9
|
+
(Claim → Belief → Decision → Consumption)权威门控,每条记忆都要
|
|
10
|
+
经过裁决才能进入上下文。有界(默认 ≤3 条 / 1200 字符)、全程可审计、
|
|
11
|
+
不增加第二次模型调用。
|
|
9
12
|
|
|
10
13
|
这是社区插件,不属于 DeepSeek 官方项目。许可证为 [MIT](LICENSE)。
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
Local long-term memory for DeepSeek Harness — **retrieved ≠ injected**:
|
|
16
|
+
every recall passes CBDC (Claim → Belief → Decision → Consumption)
|
|
17
|
+
authority gating before it can enter context. SQLite-only, bounded
|
|
18
|
+
(≤3 claims / 1200 chars by default), auditable, no extra model call.
|
|
14
19
|
|
|
15
|
-
当前版本:`0.2.
|
|
20
|
+
当前版本:`0.2.1`。目标 Harness:`0.1.0-rc.6`,Node.js `>=22.5`。
|
|
16
21
|
|
|
17
22
|
## v1 能力
|
|
18
23
|
|
|
@@ -50,9 +55,17 @@ dsh web
|
|
|
50
55
|
也可以用 Git 地址安装并锁定版本:
|
|
51
56
|
|
|
52
57
|
```bash
|
|
53
|
-
dsh plugin --profile web add git+https://github.com/GIT121995/dsh-memory-gate.git#v0.2.
|
|
58
|
+
dsh plugin --profile web add git+https://github.com/GIT121995/dsh-memory-gate.git#v0.2.1
|
|
54
59
|
```
|
|
55
60
|
|
|
61
|
+
卸载:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
dsh plugin --profile web remove dsh-memory-gate
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
卸载后重启 `dsh web`。记忆数据保留在 `$DSH_HOME/memory/cbdc.sqlite`,重装即可继续使用;如要彻底清除,删除该文件即可。
|
|
68
|
+
|
|
56
69
|
安装后重启正在运行的 `dsh web`。Bundle 默认写入
|
|
57
70
|
`$DSH_HOME/memory/cbdc.sqlite`(文件名沿用 CBDC 机制名),并以保守 `assist`
|
|
58
71
|
模式启动。每次模型调用仍只有原来的一次;插件只在本地检索,并把最多 3 条
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-memory-gate",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Retrieved ≠ injected: CBDC-gated local long-term memory for DeepSeek Harness (SQLite + FTS5, bounded recall, auditable, no extra model call)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|