dsh-instruction-memory 1.0.3 → 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.
Files changed (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -83,6 +83,11 @@ major.minor.patch 且自身带预发布标签的比较符"。因此看起来很
83
83
 
84
84
  **未验证范围**:macOS / Linux、`headless` 与 `tui` profile、以及上表之外的其他 DSH 版本均未实测。
85
85
 
86
+ **同一串范围写在两处**:`dsh.compatibility.dsh`(插件自己的字段)与 `dsh.engines.dsh`(插件市场**实际读取**的位置)。
87
+ 市场只读 `engines.dsh` / `dsh.engines.dsh` 以及 `@deepseek-ai/dsh*` 的 `peerDependencies`,并不读 `dsh.compatibility.dsh`。
88
+ 从 1.0.4 起宿主要求会真实出现在市场卡片上,并生效于安装前的校验:**范围之外的宿主上,市场会把本插件从列表中隐藏并拒绝安装/更新**
89
+ (市场只隐藏"确认不兼容"的条目;"未声明"或"无法确认"的条目照常显示)。范围之外的宿主仍可自行用 `dsh plugin add` 安装,只是不再被市场担保。
90
+
86
91
  ## 发布(维护者)
87
92
 
88
93
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-instruction-memory",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "DSH 指令记忆:在设置界面中维护可增删改的长期指令,并自动注入此后每一轮对话的系统提示词。",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -60,6 +60,9 @@
60
60
  ],
61
61
  "platform": "web"
62
62
  },
63
+ "engines": {
64
+ "dsh": ">=0.1.3-alpha.2 <0.1.4 || >=0.1.4-0 <0.1.5-0 || >=0.1.5-alpha.1"
65
+ },
63
66
  "compatibility": {
64
67
  "dsh": ">=0.1.3-alpha.2 <0.1.4 || >=0.1.4-0 <0.1.5-0 || >=0.1.5-alpha.1"
65
68
  }