dsh-plugin-memory 0.18.4 → 0.19.0
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 +11 -0
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/docs/CONFIGURATION.md +1 -1
- package/docs/market/index.json +2 -2
- package/lib/client.js +13 -7
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
所有记录跟随 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/) 风格;版本号与 `package.json` 保持一致。
|
|
4
4
|
|
|
5
|
+
## [0.19.0] - 2026-11-11
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **兼容 DSH 0.2.2-rc.2**:`engines.dsh` 扩为 `^0.2.1-rc.5 || ^0.2.2-rc.2`,`@deepseek-ai/dsh-skill` / `dsh-system-prompt` 的 peer 范围同步覆盖 `^0.2.2-rc.2`——使用默认 semver 语义的工具/界面不再把插件误判成"不兼容 rc.2"(DSH 自身闸门本来就带 `includePrerelease`)。
|
|
10
|
+
- 设置分区(`settings.section`)注册加容错:宿主 slot 契约变化时,面板入口不显示,但 boot 注入、memory 技能、HTTP 路由、CLI 不受影响。
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- 按 0.2.2-rc.2 的客户端变更做了防御:侧栏导航服务继续用 `ctx.reflect.get` 懒解析、chip 下拉自绘定位、设置导航图标按文本认领,不依赖 rc.2 调整过的浮层定位与导航内部接口。
|
|
15
|
+
|
|
5
16
|
## [0.18.4] - 2026-11-10
|
|
6
17
|
|
|
7
18
|
### Fixed
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
> Long-term memory for DeepSeek Harness — a portable markdown memory store with a soul, injected at every session start.
|
|
14
14
|
|
|
15
|
-
**macOS · Windows · Linux** · Node ≥ 18 · DSH `^0.2.1-rc.5` · MIT
|
|
15
|
+
**macOS · Windows · Linux** · Node ≥ 18 · DSH `^0.2.1-rc.5` / `0.2.2-rc.2` · MIT
|
|
16
16
|
|
|
17
17
|
## What it does
|
|
18
18
|
|
package/README.zh.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
> 给 DeepSeek Harness 的长期记忆 —— 一个可迁移的 markdown 记忆库,还带一份灵魂,每次会话启动自动注入。
|
|
14
14
|
|
|
15
|
-
**macOS · Windows · Linux** 全平台支持 · Node ≥ 18 · DSH `^0.2.1-rc.5` · MIT
|
|
15
|
+
**macOS · Windows · Linux** 全平台支持 · Node ≥ 18 · DSH `^0.2.1-rc.5` / `0.2.2-rc.2` · MIT
|
|
16
16
|
|
|
17
17
|
## 它是干什么的
|
|
18
18
|
|
package/docs/CONFIGURATION.md
CHANGED
|
@@ -71,7 +71,7 @@ When every file fits inside its equal share this is byte-for-byte the old even-s
|
|
|
71
71
|
|
|
72
72
|
## Compatibility
|
|
73
73
|
|
|
74
|
-
`package.json` declares `engines.dsh: "^0.2.1-rc.5"` and the host enforces it with `semver.satisfies(..., { includePrerelease: true })` — `^0.2.1` or `>=0.2.0` do **not** match the prerelease. The `locale` service (0.11+) and session projections (0.12+) are load-bearing. On older hosts the gate refuses the plugin instead of running it half-broken; at runtime a missing projection degrades gracefully.
|
|
74
|
+
`package.json` declares `engines.dsh: "^0.2.1-rc.5 || ^0.2.2-rc.2"` and the host enforces it with `semver.satisfies(..., { includePrerelease: true })` — `^0.2.1` or `>=0.2.0` do **not** match the prerelease. The `locale` service (0.11+) and session projections (0.12+) are load-bearing. On older hosts the gate refuses the plugin instead of running it half-broken; at runtime a missing projection degrades gracefully.
|
|
75
75
|
|
|
76
76
|
## Language
|
|
77
77
|
|
package/docs/market/index.json
CHANGED
package/lib/client.js
CHANGED
|
@@ -2593,13 +2593,19 @@ window.__ModuleLoader__.load({
|
|
|
2593
2593
|
}
|
|
2594
2594
|
return sectionLabel(active)
|
|
2595
2595
|
}
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2596
|
+
// The panel entry is the only slot we own; if a future host changes the
|
|
2597
|
+
// slot contract, keep the rest of the plugin (boot, skill, routes) alive.
|
|
2598
|
+
try {
|
|
2599
|
+
ctx.slots.inject('settings.section', () => ctx.slots.register({
|
|
2600
|
+
name: 'settings.section',
|
|
2601
|
+
id: 'memory',
|
|
2602
|
+
order: 100,
|
|
2603
|
+
locale: LOCALE_NS,
|
|
2604
|
+
label: labelOf,
|
|
2605
|
+
}, MemorySection))
|
|
2606
|
+
} catch {
|
|
2607
|
+
// no settings panel entry on this host
|
|
2608
|
+
}
|
|
2603
2609
|
// 会话内开关(composer 工具行左侧 chip)。旧宿主可能不声明该 slot:
|
|
2604
2610
|
// 注册失败只影响 chip,/memory 命令与设置面板入口仍然可用。
|
|
2605
2611
|
try {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-memory",
|
|
3
3
|
"description": "Long-term memory plugin for DeepSeek Harness: persistent cross-session markdown memory with a soul/persona file, auto-injected at every session start, plus remember/recall/consolidate/forget workflows and portable migration tooling.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.19.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=18",
|
|
46
|
-
"dsh": "^0.2.1-rc.5"
|
|
46
|
+
"dsh": "^0.2.1-rc.5 || ^0.2.2-rc.2"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"deepseek-harness",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
],
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
61
|
-
"@deepseek-ai/dsh-skill": "^0.1.2-alpha.1 || ^0.2.0-rc.1",
|
|
62
|
-
"@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.1 || ^0.2.0-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-skill": "^0.1.2-alpha.1 || ^0.2.0-rc.1 || ^0.2.2-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.1 || ^0.2.0-rc.1 || ^0.2.2-rc.2",
|
|
63
63
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
64
64
|
},
|
|
65
65
|
"repository": {
|