sage-mem 0.6.1 → 0.6.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/README.md +2 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
记忆存在**本地 markdown 文件**里(frontmatter + 正文),不是数据库。透明、可检查、防膨胀。
|
|
6
6
|
|
|
7
|
-
> **DSH 版本兼容性(0.5.3 核对于 `0.1.7-rc.1`)**
|
|
7
|
+
> **DSH 版本兼容性(0.6.2 核对于 `0.2.0-rc.1`;0.5.3 核对于 `0.1.7-rc.1`)**
|
|
8
|
+
> `@deepseek-ai/dsh-typert-protocol` 与 `@deepseek-ai/dsh-client-locale` 的 `lib/` 在 `0.1.7-rc.2` → `0.2.0-rc.1` 之间**逐字节未变**(导出符号零增删、签名零变化),peer 范围随之放宽为 `^0.1.2-rc.1 || ^0.2.0-rc.1`,同时覆盖两条版本线;插件在 0.2.0 上无需改动即可工作。
|
|
8
9
|
> `session.deriveMessages()`(仍是同步)、`system-prompt/assemble` 事件、以及 `context.agent.session` 这条链,在 0.1.6 → 0.1.7 之间**均未改变**,本插件在 0.1.7 上无需改动即可工作。
|
|
9
10
|
> 0.5.3 另加了一层防御:`deriveMessages()` 若哪天被改成异步,或 `Session` 上的历史读取接口被改名(0.1.7 起 `snapshotEvents` / `eventAt` / `ownEvents` 已标记弃用),插件会在**日志里报警**,而不是像以前那样静默地不再注入记忆。0.1.6 上的行为与 0.5.2 完全一致。
|
|
10
11
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sage-mem",
|
|
3
3
|
"description": "File-based memory plugin for DeepSeek Harness (DSH) — cross-session memory in transparent markdown files, with a memory star-map view, type/tag filtering, and an optional dream pass that consolidates memories on demand or on a schedule",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"0.1.6-alpha.1": "compatible",
|
|
40
40
|
"0.1.6-alpha.2": "compatible",
|
|
41
41
|
"0.1.7-rc.1": "compatible",
|
|
42
|
-
"0.1.7-rc.2": "compatible"
|
|
42
|
+
"0.1.7-rc.2": "compatible",
|
|
43
|
+
"0.2.0-rc.1": "compatible"
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
},
|
|
@@ -51,8 +52,8 @@
|
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
53
54
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
54
|
-
"@deepseek-ai/dsh-typert-protocol": "^0.1.2-rc.1",
|
|
55
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.2-rc.1",
|
|
55
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.2-rc.1 || ^0.2.0-rc.1",
|
|
56
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.2-rc.1 || ^0.2.0-rc.1",
|
|
56
57
|
"react": "^18.0.0"
|
|
57
58
|
},
|
|
58
59
|
"repository": {
|