dsh-system-prompt-insertion 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 +6 -0
- package/README.md +1 -1
- package/package.json +12 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# dsh-system-prompt-insertion
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a3b13cd: **兼容 DSH 0.2.2-rc.1。** 构建与测试基线升级到 `@deepseek-ai/* 0.2.2-rc.1`(cordis 4.1.0 / schemastery 3.19.0),`dsh.compatibility.dshReleases` 补充 `0.2.2-rc.1`,`@deepseek-ai/cordis` peer 范围纳入 4.1.x。四个插件的运行时代码没有行为变化:`dsh-lan-link` 的网关与代理逻辑未改;`dsh-notes-context` 复核后仍用 `session.requestHeader()` 对齐 compaction 后端的 `routedTarget()`。CI 增加 Node 26,覆盖 0.2.2 宿主要求的 Node ≥24.9。
|
|
8
|
+
|
|
3
9
|
## 0.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ dsh plugin --profile web add dsh-system-prompt-insertion
|
|
|
133
133
|
|
|
134
134
|
## 兼容性与限制
|
|
135
135
|
|
|
136
|
-
- 目标 `@deepseek-ai/*` **0.2.
|
|
136
|
+
- 目标 `@deepseek-ai/*` **0.2.2-rc.1**(cordis 4.1.0 / schemastery 3.19.0 实测)。
|
|
137
137
|
- 宿主没有 `webServer`(headless / acp / sdk)时,只有侧栏面板消失,段落注册照常。
|
|
138
138
|
- `{{...}}` 是严格插值:开启插值又写了未知变量,请求会在组装阶段失败——所以默认关闭。
|
|
139
139
|
- 段落文字属于请求前缀,改动会让之后的缓存前缀失效;把稳定文本放「末尾」,比频繁改「开头」更省。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-system-prompt-insertion",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "User-owned system-prompt insertion for DeepSeek Harness: place your own text at the head, middle, or tail of the assembled prompt, and edit it from a left-column Web panel with a live preview.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -43,6 +43,11 @@
|
|
|
43
43
|
"bundle": {
|
|
44
44
|
"patch": "./cordis.patch.yml"
|
|
45
45
|
},
|
|
46
|
+
"compatibility": {
|
|
47
|
+
"dshReleases": {
|
|
48
|
+
"0.2.2-rc.1": "compatible"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
46
51
|
"client": {
|
|
47
52
|
"platform": "web",
|
|
48
53
|
"inject": [
|
|
@@ -51,7 +56,7 @@
|
|
|
51
56
|
}
|
|
52
57
|
},
|
|
53
58
|
"peerDependencies": {
|
|
54
|
-
"@deepseek-ai/cordis": "~4.0.5",
|
|
59
|
+
"@deepseek-ai/cordis": "~4.0.5 || ~4.1.0",
|
|
55
60
|
"@deepseek-ai/schemastery": "^3.18.4",
|
|
56
61
|
"@deepseek-ai/dsh-home-paths": "*",
|
|
57
62
|
"@deepseek-ai/dsh-host-webserver": "*",
|
|
@@ -66,11 +71,11 @@
|
|
|
66
71
|
}
|
|
67
72
|
},
|
|
68
73
|
"devDependencies": {
|
|
69
|
-
"@deepseek-ai/cordis": "4.0
|
|
70
|
-
"@deepseek-ai/dsh-home-paths": "0.2.
|
|
71
|
-
"@deepseek-ai/dsh-host-webserver": "0.2.
|
|
72
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.
|
|
73
|
-
"@deepseek-ai/schemastery": "3.
|
|
74
|
+
"@deepseek-ai/cordis": "4.1.0",
|
|
75
|
+
"@deepseek-ai/dsh-home-paths": "0.2.2-rc.1",
|
|
76
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
|
|
77
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
|
|
78
|
+
"@deepseek-ai/schemastery": "3.19.0",
|
|
74
79
|
"@types/node": "^26.6.4",
|
|
75
80
|
"dsh-plugin-toolkit": "0.0.0",
|
|
76
81
|
"react": "18.3.1",
|