dsh-model-reasoning-defaults 0.0.4 → 0.0.5

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 +3 -1
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -10,7 +10,9 @@
10
10
  - **仓库**:<https://github.com/xht-code/dsh-model-reasoning-defaults>
11
11
 
12
12
  > [!IMPORTANT]
13
- > 本版本(0.0.4+)面向 **DSH 0.1.7-alpha.2 及以上的设置体系**:设置项由 profile entry 的 `Config` schema 派生,可编辑字段必须声明为 `volatile`,写回落在 profile patch。旧版宿主(0.1.6 及以前)请使用 0.0.3。
13
+ > 本版本(0.0.5+)面向 **DSH 0.1.7-alpha.2 及以上的设置体系**:设置项由 profile entry 的 `Config` schema 派生,可编辑字段必须声明为 `volatile`,写回落在 profile patch。旧版宿主(0.1.6 及以前)请使用 0.0.3。
14
+ >
15
+ > 插件把 `@deepseek-ai/schemastery` 声明为**运行时依赖**(`~3.18.4`,`.volatile()` 自该版本提供)而非交给 profile 解析的 peer:`dsh plugin` 生成的 profile 使用 `autoInstallPeers: false`,如果 profile 中已存在更低的 schemastery(例如与 `dsh-remote-terminal` 共用的 3.18.2),peer 会被解析成不满足的版本,插件将在加载期直接失败。
14
16
 
15
17
  ## 安装 / 更新
16
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-model-reasoning-defaults",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "DSH (DeepSeek Harness) 插件:为每个 LLM 模型配置默认推理等级(reasoningEffort),并在请求进入底层调用链前按路由规则自动补齐",
5
5
  "keywords": [
6
6
  "dsh",
@@ -30,12 +30,14 @@
30
30
  "bugs": {
31
31
  "url": "https://github.com/xht-code/dsh-model-reasoning-defaults/issues"
32
32
  },
33
+ "dependencies": {
34
+ "@deepseek-ai/schemastery": "~3.18.4"
35
+ },
33
36
  "peerDependencies": {
34
37
  "@deepseek-ai/cordis": ">=4.0.0-rc <5",
35
38
  "@deepseek-ai/cosmokit": ">=1.8.5 <2",
36
39
  "@deepseek-ai/dsh-llm": ">=0.0.1-rc <2",
37
- "@deepseek-ai/dsh-settings": ">=0.1.7-alpha.2 <2",
38
- "@deepseek-ai/schemastery": "^3.18.4"
40
+ "@deepseek-ai/dsh-settings": ">=0.1.7-alpha.2 <2"
39
41
  },
40
42
  "devDependencies": {
41
43
  "@deepseek-ai/cordis": "^4.0.4",
@@ -44,7 +46,6 @@
44
46
  "@deepseek-ai/dsh-client-ui-slots": "0.1.7-alpha.2",
45
47
  "@deepseek-ai/dsh-llm": "0.1.7-alpha.2",
46
48
  "@deepseek-ai/dsh-settings": "0.1.7-alpha.2",
47
- "@deepseek-ai/schemastery": "^3.18.4",
48
49
  "@types/node": "^24.13.3",
49
50
  "@types/react": "~18.3.1",
50
51
  "react": "^18.2.0",