continuum-memory 1.0.2 → 1.0.4
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/README.md +50 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ Measured on 7,300 rows:
|
|
|
64
64
|
|
|
65
65
|
| query (deliberately different wording) | what came back | similarity |
|
|
66
66
|
| --- | --- | --- |
|
|
67
|
-
| 把几摊记忆收拢成一摊 |
|
|
67
|
+
| 把几摊记忆收拢成一摊 | 看一下这些对话,把现有的几个记忆插件整合成一个记忆插件 | 0.69 |
|
|
68
68
|
| 被人硬塞了虚假的吃饭日程 | CAA 装上了,但它立刻往我上下文里塞了一句"此刻 12:15 在厨房煮一碗面" | 0.57 |
|
|
69
69
|
| 那个把档案锁死的东西 | 毁档案具体是什么 | 0.64 |
|
|
70
70
|
|
|
@@ -90,19 +90,30 @@ No read-only mode, no feature flags. If it's installed, capture and injection ar
|
|
|
90
90
|
## Install
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
|
-
#
|
|
94
|
-
|
|
93
|
+
# 1. Go to your DSH profile directory
|
|
94
|
+
# Windows: %USERPROFILE%\.dsh\profiles\desktop
|
|
95
|
+
# macOS/Linux: ~/.dsh/profiles/desktop
|
|
96
|
+
cd <your-dsh-profile>
|
|
97
|
+
|
|
98
|
+
# 2. Install
|
|
99
|
+
pnpm add continuum-memory
|
|
100
|
+
|
|
101
|
+
# 3. Restart DSH
|
|
95
102
|
```
|
|
96
103
|
|
|
97
|
-
|
|
104
|
+
That's it. The package declares `dsh.bundle.patch` in its `package.json`, so DSH picks it up on the next start and expands the bundle by itself — you don't have to edit `cordis.patch.yml` to get it running.
|
|
105
|
+
|
|
106
|
+
On first start it: creates `<DSH_HOME>/data/continuum/continuum.sqlite`, registers 10 `mem_*` tools, and starts capturing. Ask your agent `mem_status` — if it answers with counts, it's live.
|
|
107
|
+
|
|
108
|
+
**Optional config** (write it into your profile's `cordis.patch.yml` under the plugin id, not in the package):
|
|
98
109
|
|
|
99
110
|
```yaml
|
|
100
111
|
- id: habitweaver-continuum
|
|
101
112
|
config:
|
|
102
|
-
#
|
|
113
|
+
# every field is optional; omit all of them and it self-hosts under <DSH_HOME>/data/continuum
|
|
103
114
|
dbPath: '' # default <dataDir>/continuum.sqlite
|
|
104
115
|
booksDir: '' # a folder of .md files to index line-by-line; omit to skip
|
|
105
|
-
modelDir: '' # local bge-small-zh-v1.5; omit to download ~23 MB on first
|
|
116
|
+
modelDir: '' # local bge-small-zh-v1.5; omit to download ~23 MB on first use
|
|
106
117
|
allowRemoteModel: true
|
|
107
118
|
modelMirror: 'https://hf-mirror.com'
|
|
108
119
|
semantic: true
|
|
@@ -112,6 +123,17 @@ Then in `cordis.patch.yml`:
|
|
|
112
123
|
captureSubagents: false
|
|
113
124
|
```
|
|
114
125
|
|
|
126
|
+
> If you already run another memory plugin (soul / hippocampus / memory-keeper / HCC), disable it — otherwise two plugins will both inject and both capture:
|
|
127
|
+
>
|
|
128
|
+
> ```yaml
|
|
129
|
+
> - id: hippocampus
|
|
130
|
+
> disabled: true
|
|
131
|
+
> - id: memory-keeper
|
|
132
|
+
> disabled: true
|
|
133
|
+
> ```
|
|
134
|
+
>
|
|
135
|
+
> Note the ids are **patchIds** (what follows `include:`), not package names.
|
|
136
|
+
|
|
115
137
|
**Config values are validated in code, not by schema.** DSH does not read `config.schema.json` (verified by searching the asar); the file is here for editors and readers. Out-of-range numbers are clamped and reported through `mem_status`, not thrown. A bad path in the config should not take the whole memory line down.
|
|
116
138
|
|
|
117
139
|
## Schema
|
|
@@ -143,6 +165,28 @@ It was called MemGate for a few hours. That name described a read-only facade in
|
|
|
143
165
|
|
|
144
166
|
一个记忆插件。一张库,原样留着每一句,三路检索,每轮只注入一段。
|
|
145
167
|
|
|
168
|
+
## 安装
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
# 1. 进你的 DSH profile 目录
|
|
172
|
+
# Windows: %USERPROFILE%\.dsh\profiles\desktop
|
|
173
|
+
# macOS/Linux: ~/.dsh/profiles/desktop
|
|
174
|
+
cd <你的 profile 目录>
|
|
175
|
+
|
|
176
|
+
# 2. 装
|
|
177
|
+
pnpm add continuum-memory
|
|
178
|
+
|
|
179
|
+
# 3. 重启 DSH
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
**装完就生效**——包的 `package.json` 里声明了 `dsh.bundle.patch`,DSH 下次启动会自己展开它,不用手改 `cordis.patch.yml`。
|
|
183
|
+
|
|
184
|
+
第一次启动会做三件事:建库到 `<DSH_HOME>/data/continuum/continuum.sqlite`、注册 10 个 `mem_*` 工具、开始捕获对话。重启后问你的 AI 一句 `mem_status`,有数字就是活了。
|
|
185
|
+
|
|
186
|
+
什么都不用配。要配的话(换库位置、加一个装满 .md 的目录、指定本地模型)写在你 profile 的 `cordis.patch.yml` 里,字段见上面英文那一节。
|
|
187
|
+
|
|
188
|
+
**如果你已经在用别的记忆插件**(soul / hippocampus / memory-keeper / HCC),先把它们停掉——否则两边都在注入、两边都在捕获,同一句话存三遍。停的时候 id 用 **patchId**(`include:` 后面那个),不是包名。
|
|
189
|
+
|
|
146
190
|
## 它顶掉了什么
|
|
147
191
|
|
|
148
192
|
`soul` / `hippocampus` / `memory-keeper` / `HCC 的记忆面` 四件事,原来各存一份、各有出处格式、各注入一段。同一句话存三遍,四个检索入口我没有路由规则,猜错就空手回来,然后报「没有这条」。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "continuum-memory",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Continuum: one memory plugin for DeepSeek Harness. A single SQLite store holding every source verbatim with provenance, three-way retrieval (lexical + bge-small vectors + activation decay), one prompt injection, one capture path for messages and tool traces. Replaces soul / hippocampus / memory-keeper / HCC memory with one surface.",
|
|
5
5
|
"author": "pwie",
|
|
6
6
|
"keywords": [
|