dsh-structured 0.9.3 → 0.9.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/CHANGELOG.md +5 -0
- package/README.md +2 -2
- package/assets/screenshots/11-config-page.png +0 -0
- package/package.json +5 -3
- package/test/structured.test.mjs +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.4 — 2026-10-24
|
|
4
|
+
|
|
5
|
+
- DSH 0.3.0-rc.1 兼容声明:`engines.dsh` 上限从 `<0.3.0-0` 放宽到 `<0.4.0-0`(否则 desktop 0.3.0-rc.1 的装配门禁会挡住本插件);`dsh.compatibility.dshReleases` 补 `0.2.1-rc.3`、`0.3.0-rc.1` 为 compatible。
|
|
6
|
+
- 无功能改动。0.2.1-rc.3 / 0.3.0-rc.1 为**声明性兼容**:插件依赖的 systemPrompt / commands / configForms / plugins.bundle.config 均为宿主稳定服务面,未见破坏性变更公告,未逐项实测;实测后如有差异再适配或收紧。
|
|
7
|
+
|
|
3
8
|
## 0.9.3 — 2026-10-24
|
|
4
9
|
|
|
5
10
|
- 配置页主题分段:三个主题选项(DeepSeek / Codex / Anthropic)各带所代表主题的强调色——选项前 7px 圆点标识 + 选中态文字着色,明暗自适应(DeepSeek `#2563EB`/`#60A5FA`、Codex `#10A37F`/`#34D399`、Anthropic `#CC785C`/`#E8A087`,与视觉层三套 token 同源)。样式只作用于 `[data-dsh-structured-config]` 容器内,随配置页 slot 同生命周期注入/撤销。
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
## 安装
|
|
19
19
|
|
|
20
|
-
要求:DSH 0.2.x(`@deepseek-ai/cordis` 4.x),Node ≥ 22。
|
|
20
|
+
要求:DSH 0.2.x – 0.3.x(`@deepseek-ai/cordis` 4.x),Node ≥ 22。
|
|
21
21
|
|
|
22
22
|
**默认目标就是 desktop profile。** 插件只硬依赖 `systemPrompt`(desktop 由 `@deepseek-ai/dsh-base` 提供),`commands` 是可选服务;不依赖 Electron/headless 专有 API,也没有 profile 分支。安装前先跑一次预检:
|
|
23
23
|
|
|
@@ -81,7 +81,7 @@ pnpm add $tgz
|
|
|
81
81
|
|
|
82
82
|
### 兼容性门禁
|
|
83
83
|
|
|
84
|
-
本包声明 `@deepseek-ai/schemastery` peer:`Config`(theme/visual/defaultEnabled/tailReminder/includeSubagents/genui)用它生成设置表单;这是 host 提供的服务,不是门禁。真正门禁是 `engines.dsh`(`>=0.1.7-rc.2 <0.
|
|
84
|
+
本包声明 `@deepseek-ai/schemastery` peer:`Config`(theme/visual/defaultEnabled/tailReminder/includeSubagents/genui)用它生成设置表单;这是 host 提供的服务,不是门禁。真正门禁是 `engines.dsh`(`>=0.1.7-rc.2 <0.4.0-0`,0.9.4 起覆盖 0.3.x),`dsh-app-boot` 在有 `engines.dsh` 时读取它;`dsh.compatibility.dshReleases` 是 advisory。实测 DSH CLI `0.1.7-rc.2` 与 desktop `0.2.1-rc.2`;`0.2.1-rc.3` / `0.3.0-rc.1` 为声明性兼容(插件依赖的 systemPrompt / commands / configForms / plugins.bundle.config 均为宿主稳定服务面,未见破坏性变更公告;未逐项实测,实测后将更新标注)。
|
|
85
85
|
|
|
86
86
|
## 使用
|
|
87
87
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-structured",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.4",
|
|
4
4
|
"description": "Structured output for DSH: no-label title card first, then tables/lists/steps; per-session switch and style.md override. 让 DSH 的每条实质回复默认结构化。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -49,7 +49,9 @@
|
|
|
49
49
|
"0.1.7-rc.2": "compatible",
|
|
50
50
|
"0.2.0-rc.2": "compatible",
|
|
51
51
|
"0.2.1-rc.1": "compatible",
|
|
52
|
-
"0.2.1-rc.2": "compatible"
|
|
52
|
+
"0.2.1-rc.2": "compatible",
|
|
53
|
+
"0.2.1-rc.3": "compatible",
|
|
54
|
+
"0.3.0-rc.1": "compatible"
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
},
|
|
@@ -85,7 +87,7 @@
|
|
|
85
87
|
},
|
|
86
88
|
"engines": {
|
|
87
89
|
"node": ">=22",
|
|
88
|
-
"dsh": ">=0.1.7-rc.2 <0.
|
|
90
|
+
"dsh": ">=0.1.7-rc.2 <0.4.0-0"
|
|
89
91
|
},
|
|
90
92
|
"peerDependencies": {
|
|
91
93
|
"@deepseek-ai/schemastery": "^3.18.0"
|
package/test/structured.test.mjs
CHANGED
|
@@ -573,7 +573,10 @@ test('仓库边界:不 append 消息、不碰 pre-step / 工具服务、files
|
|
|
573
573
|
assert.equal(pkg.dsh.client.platform, 'web')
|
|
574
574
|
assert.equal(pkg.exports['./client'], './lib/client.js')
|
|
575
575
|
assert.match(pkg.engines.dsh, /0\.1\.7-rc\.2/)
|
|
576
|
+
assert.equal(pkg.engines.dsh, '>=0.1.7-rc.2 <0.4.0-0')
|
|
576
577
|
assert.equal(pkg.dsh.compatibility.dshReleases['0.2.1-rc.2'], 'compatible')
|
|
578
|
+
assert.equal(pkg.dsh.compatibility.dshReleases['0.2.1-rc.3'], 'compatible')
|
|
579
|
+
assert.equal(pkg.dsh.compatibility.dshReleases['0.3.0-rc.1'], 'compatible')
|
|
577
580
|
assert.ok(existsSync('cordis.patch.yml'))
|
|
578
581
|
assert.ok(existsSync('lib/client.js'))
|
|
579
582
|
})
|