dsh-subagent-default-model 1.2.0 → 1.2.2
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 +29 -0
- package/lib/client.js +13 -6
- package/lib/index.js +36 -3
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.2 (2026-09-10)
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- **修复 peer 区间不接纳 DSH 0.1.5-rc.1(桌面 2.0.9 捆绑内核)**:原区间 `^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0` 在语义化版本预发布规则下**不匹配 `0.1.5-rc.1`**——一个预发布版本只有在同一比较器集合中存在**相同 `major.minor.patch` 元组**且带预发布标识的比较器时才可能被接纳;`>=0.1.2-alpha.1` 的元组是 `0.1.2`,无法为 `0.1.5` 承载预发布。实测在宿主已装 `0.1.5-rc.1`(即 DSH Desktop 2.0.9 的实际运行环境)时,npm 抛 `ERESOLVE overriding peer dependency` 并不满足警告,pnpm/严格模式与依赖审计同样判定不符。新增 `>=0.1.5-alpha.1 <0.2.0` 子句为 0.1.5 线提供同元组承载后,0.1.5-alpha.1 / alpha.2 / rc.1 / rc.2 全部被接纳,同时仍排除 `0.2.x`。
|
|
8
|
+
- **devDependencies 基线推进到 0.1.5 线**:`@deepseek-ai/dsh-settings` `0.1.2-rc.1` → `^0.1.5-rc.1`。此处**必须用范围而非精确锁定**:`dsh-settings@0.1.5-rc.1` 自身 peer 依赖 `@deepseek-ai/dsh-brand@^0.1.5-rc.1`,而该包当前只发布了 `0.1.5-rc.2`(`next` 通道),精确锁定 rc.1 会直接 ERESOLVE 装不上。这也印证了内核 0.1.5 线已进入 rc.2 迭代、不宜写死补丁版本。
|
|
9
|
+
|
|
10
|
+
### Testing
|
|
11
|
+
|
|
12
|
+
- 新增 `plugin/test/peer-range.test.mjs`:从 `package.json` 读取真实 peer 区间做契约回归,自带预发布感知的 semver 判定(已与官方 `semver` 对 12 个版本逐一比对一致)。断言覆盖:所有 peer 均带 0.1.5 元组承载子句;0.1.0-rc.6 起的全部受支持版本可被接纳(含 `0.1.5-rc.1` 这一回归点);`0.2.x` 仍被排除;并显式复现原区间拒绝 `0.1.5-rc.1` 的缺陷,使该问题不可静默回退。
|
|
13
|
+
- 全部 46 项测试在真实 `0.1.5` 线依赖上通过(含 default-model / failover / settings-install / client-trajectory 集成用例)。
|
|
14
|
+
|
|
15
|
+
### Compatibility
|
|
16
|
+
|
|
17
|
+
- 保留对旧宿主的支持:`^0.1.0-rc.6`、`^0.1.1-rc.2`、`>=0.1.2-alpha.1 <0.2.0` 三个原有子句逐字保留,未收窄任何既有可装区间。
|
|
18
|
+
- 生成器路径自动选择(`installSettingsSection` 在场则委托、否则走 `settings.installSection` 官方缝)未改动;`0.1.5-rc.1` 捆绑包中两种导出与官方缝均在场,两条路径均可用。
|
|
19
|
+
|
|
20
|
+
## 1.2.1 (2026-09-06)
|
|
21
|
+
|
|
22
|
+
### Fixes
|
|
23
|
+
|
|
24
|
+
- **适配 DSH 0.1.2-alpha.2+ 的 dsh-settings 结构变更**:设置段注册迁移到官方 `settings` 服务缝(`ctx.inject(["settings"], …)` → `settings.installSection`)。`@deepseek-ai/dsh-settings` 自 0.1.2-alpha.2 起移除了独立的 `installSettingsSection` / `settingsNamespace` 导出——纯净 npm cohort 宿主(`@deepseek-ai/dsh` CLI、直跑 `dsh web`、CI)上旧导入会直接模块加载失败;此前仅靠 DSH Desktop 的过渡兼容补丁续命。按模块导出有无自动选择路径:仍有旧导出(0.1.0-rc.6 / 0.1.1-rc.2 / 桌面补丁版)走旧助手,否则走官方缝,声明的 peer 区间 `^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0` 全程可装。
|
|
25
|
+
- **对话视图跳过 `request/header` 的 `series` reason**:DSH 0.1.2 在后续轮开启新请求系列且配置未变时追加 `reason:"series"` 帧;插件不再为其生成行,避免多轮(continuable/steer)子代理每轮多出一行冗余的「当前供应商/模型」。`initial` / `change` / `resume` 三种提示行为不变。
|
|
26
|
+
|
|
27
|
+
### Testing
|
|
28
|
+
|
|
29
|
+
- 新增 `plugin/test/settings-install.test.mjs`:安装路径决策单测(旧助手在场→逐字委托;缺席→官方缝、消费者 ctx 保持 section owner;模块缺失→缝兜底)。
|
|
30
|
+
- devDependencies 升级:`@deepseek-ai/dsh-settings` `0.1.0-rc.6` → `0.1.2-rc.1`(纯净版,无旧导出),`@deepseek-ai/cordis` `^4.0.1` → `^4.0.2`——现有 default-model / failover 集成测试现在端到端运行真实官方缝路径。
|
|
31
|
+
|
|
3
32
|
## 1.2.0 (2026-09-01)
|
|
4
33
|
|
|
5
34
|
### Features
|
package/lib/client.js
CHANGED
|
@@ -14,7 +14,7 @@ window.__ModuleLoader__.load({
|
|
|
14
14
|
|
|
15
15
|
// ── plugin icon (LD brand logo, 64px) ────────────────────────────────
|
|
16
16
|
var DSM_ICON = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAXGUlEQVR4nH1bC7BdVXn+1tr7nHPvzb3JvUloSAQp0JHWoAMttKOCFrWU8irQSbCTQYG21IahnTJUUTsM0FJhZCzCSIcKImOpDkhrhQ5YC7ROB3lUBU3EyCuBFBIIedzcx3ntvTr/a621TwIns3PO3mfvddf/+v7v/9c6DvYKoYBz1cZNYfJpVBcNBm7dcIhj3TBM15VzqAE6XAWEGggVADroOl0byDW+PtRr9E732rl9r2PxOMNsrCogVE7PA0Kge4Lcz5/TGI6v00UaK+h98u4QUA9quIDg4Pe2i2LTsknc++mzZu9cv37VHNaFAveSJICj/9aFUNzrXHXSTwdnznl/Y+X9MaEP1D0A/ToKaUdDASoAK0YVYcLad/G88S6C1aQcOkI2Nj9HylBFBRMYqPUeFp6EDXQfKcIUoud6LQQP59rwrs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+wzOoNUIzu0uz0SFhkHlHTiq4InO4zr9ENSjHO841N2e5ui3PrBTZQPFlagC0Jb54Vd4pZqNiOttgPoI4AZn1ZYLPzLoQatS2CNmod3T3W7Asc+Puc5D1JKRbpRJnFYgZAI9iQub7EvY9gxc9yW1vW+HgME3KkwSkNDs0EVnXqWqARIG3X1y3XDq0xbPbTS4q7vVcCN7qwGWM73/HV3P0t7iwImoOhlMZpe0rc8q7tblaE9vxzJaTCJa3nC/iZp6QFTgNGi/0mC9TvOTukUNLUG8Y6hZte7e/2l52Iu8ar6qXalR6hrhq5P0+LI7/DaYBgrHnMve1HEhYu6RkWgq2bvKDJ3cVGOfhZLOdYkaq8xPIYX2zVV72uyPBEN01XnTDuy2WLL33w+rG7/PpT3NyvrQ4bx9tww8qT1ejHNHFPQEJ6Ke0E1LJd2FmhR90g04xpP+tfKCjmYKaWIU/ImhcpTpXi2q7UfLeH9fXVqSVsTNiMD+Rh4uraDT2mlpXu8BNaG1etcnN+3T2huPcvWg8dubS6dHJJUfD6bFVXrq5rrw3+tCaXOuGmBENzAzHpu0tvL63uNj8bykdeoCkt8QHL+SqAkRxz60wJcQ9BFh6p7CX8CYEQLtShKocTfmbpRLHs3d1LT7u+9dA99tNZ+yHxBTcNztz0mr9x74I/hnZXhD7F/PCAn6bJz+U0vrPr7K5VJUJZf5/v040NDcG02LGGJVmfOsuxdifg03U9vUZHrPz0fl7p5caGjNkiEmTFUXBooUDbjWGs5TE+Pdyy6vjqijO+MPYACb+efjwdiYsqIewMk+d8tbro1b1uXXehPrYahmn+hZmGgtefqsalNFvU1BpAhM8QXhUlCmgCmihAUnBUQixk6J2eSYqwvM9Iz5sfrApM7LDF7W651oILbef3Tky0Nk2vcfeed0dxp3Nu7h6EYr2sgOL/Aa5OuMdnE5sWAAAAAElFTkSuQmCC";
|
|
17
|
-
var SETTINGS_CSS = ".dsm-model-settings{display:flex;flex-direction:column;gap:14px;margin:0;padding:0}.dsm-model-settings-list{display:flex;flex-direction:column;gap:10px}.dsm-model-settings-route{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--dsw-alias-border-l2,#36373b);border-radius:10px;background:var(--dsw-alias-bg-layer-3,#202126)}.dsm-model-settings-field{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary,#b8b8b8)}.dsm-model-settings-select{width:100%;max-width:220px;height:32px;padding:0 28px 0 10px;border:1px solid var(--dsw-alias-border-l2,#36373b);border-radius:8px;background:var(--dsw-alias-bg-layer-2,#232529);color:var(--dsw-alias-label-primary,#e6e6e6);font:inherit;font-size:13px;line-height:1.5}.dsm-model-settings-select:focus{outline:2px solid var(--dsw-alias-state-business-primary,#5686fe);outline-offset:1px}.dsm-model-settings-select:disabled{color:var(--dsw-alias-label-tertiary,#999);cursor:default}.dsm-model-settings-remove{height:32px;min-width:32px;border:1px solid var(--dsw-alias-border-l2,#36373b);border-radius:8px;background:transparent;color:var(--dsw-alias-label-secondary,#b8b8b8);cursor:pointer;font-size:16px;line-height:1}.dsm-model-settings-remove:hover{color:var(--dsw-alias-state-error-primary,#ef4444);background:var(--dsw-alias-interactive-bg-hover-danger,rgba(242,90,90,.15))}.dsm-model-settings-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dsm-model-settings-strategy{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary,#b8b8b8)}.dsm-model-settings-strategy .dsm-model-settings-select{max-width:150px}.dsm-model-settings-failover{display:flex;align-items:center;gap:6px;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary,#b8b8b8);cursor:pointer}.dsm-model-settings-failover input[type=checkbox]{cursor:pointer}.dsm-failover-hint{font-size:12px;line-height:18px;color:var(--dsw-alias-label-tertiary,#999);white-space:nowrap}.dsm-model-settings-footer{border-top:1px solid var(--dsw-alias-border-l2,#36373b);display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0 4px}.dsm-model-settings-footer-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.dsm-model-settings-footer-status{flex:1;min-width:0;color:var(--dsw-alias-label-secondary,#b8b8b8);font-size:12px;line-height:1.5}.dsm-model-settings-footer-error{flex:1;min-width:0;color:var(--dsw-alias-label-error,#ef4444);font-size:12px;line-height:1.5}.dsm-btn{appearance:none;font:inherit;cursor:pointer;border:1px solid transparent;border-radius:8px;padding:5px 14px;font-size:13px;line-height:1.5}.dsm-btn:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#5686fe);outline-offset:1px}.dsm-btn:disabled{opacity:.4;cursor:default}.dsm-btn-outline{border-color:var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);background:transparent}.dsm-btn-outline:hover:not(:disabled){color:var(--dsw-alias-label-primary);border-color:var(--dsw-alias-label-dimmed)}.dsm-btn-primary{background:var(--dsw-alias-label-primary);color:var(--dsw-alias-bg-layer-3)}.dsm-btn-primary:hover:not(:disabled){opacity:.9}.dsm-model-settings-hint{font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary,#b8b8b8)}.dsm-plugin-card{border:1px solid var(--dsw-alias-border-l2,#36373b);background:var(--dsw-alias-bg-layer-3,#202126);border-radius:12px;list-style:none;transition:border-color .16s,background .16s}.dsm-plugin-card:hover{border-color:var(--dsw-alias-label-dimmed,#777)}.dsm-plugin-card-open{background:var(--dsw-alias-bg-layer-2,#25262b);border-color:var(--dsw-alias-label-dimmed,#777)}.dsm-plugin-card-header{appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:transparent;border:0;border-radius:12px;align-items:center;gap:12px;padding:14px 16px;display:flex}.dsm-plugin-card-header:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#5686fe);outline-offset:-2px}.dsm-plugin-card-head{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.dsm-plugin-card-title{color:var(--dsw-alias-label-primary,#e6e6e6);font-size:15px;font-weight:600;line-height:1.4}.dsm-plugin-card-description{color:var(--dsw-alias-label-tertiary,#999);font-size:13px;line-height:1.5}.dsm-plugin-card-chevron{color:var(--dsw-alias-label-tertiary,#999);flex:none;display:inline-flex;transition:transform .16s}.dsm-plugin-card-chevron-open{transform:rotate(180deg)}.dsm-plugin-card-body{border-top:1px solid var(--dsw-alias-border-l2,#36373b);margin:0 16px;padding:0 0 8px}.dsm-plugin-card-body .dsm-model-settings{margin:0;padding:12px 0 0;background:transparent;border:0;border-radius:0}.dsm-plugin-card-body .dsm-model-settings-head{display:none}.dsm-plugin-card-icon{width:32px;height:32px;flex:none;border-radius:7px}.dsm-model-settings-cheer{display:inline-flex;align-items:center;gap:4px;flex:none;text-decoration:underline;text-underline-offset:2px;color:var(--dsw-alias-label-tertiary,#999);font-size:13px;line-height:1.5;transition:color .16s}.dsm-model-settings-cheer-star{font-size:12px;line-height:1;display:inline-flex}.dsm-model-settings-cheer:hover{color:var(--dsw-alias-label-primary,#e6e6e6)}.dsm-model-settings-cheer:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#5686fe);outline-offset:2px}";
|
|
17
|
+
var SETTINGS_CSS = ".dsm-model-settings{display:flex;flex-direction:column;gap:14px;margin:0;padding:0}.dsm-model-settings-list{display:flex;flex-direction:column;gap:10px}.dsm-model-settings-route{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--dsw-alias-border-l2,#36373b);border-radius:10px;background:var(--dsw-alias-bg-layer-3,#202126)}.dsm-model-settings-field{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary,#b8b8b8)}.dsm-model-settings-select{width:100%;max-width:220px;height:32px;padding:0 28px 0 10px;border:1px solid var(--dsw-alias-border-l2,#36373b);border-radius:8px;background:var(--dsw-alias-bg-layer-2,#232529);color:var(--dsw-alias-label-primary,#e6e6e6);font:inherit;font-size:13px;line-height:1.5}.dsm-model-settings-select:focus{outline:2px solid var(--dsw-alias-state-business-primary,#5686fe);outline-offset:1px}.dsm-model-settings-select:disabled{color:var(--dsw-alias-label-tertiary,#999);cursor:default}.dsm-model-settings-remove{height:32px;min-width:32px;border:1px solid var(--dsw-alias-border-l2,#36373b);border-radius:8px;background:transparent;color:var(--dsw-alias-label-secondary,#b8b8b8);cursor:pointer;font-size:16px;line-height:1}.dsm-model-settings-remove:hover{color:var(--dsw-alias-state-error-primary,#ef4444);background:var(--dsw-alias-interactive-bg-hover-danger,rgba(242,90,90,.15))}.dsm-model-settings-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dsm-model-settings-strategy{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary,#b8b8b8)}.dsm-model-settings-strategy .dsm-model-settings-select{max-width:150px}.dsm-model-settings-failover{display:flex;align-items:center;gap:6px;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary,#b8b8b8);cursor:pointer}.dsm-model-settings-failover input[type=checkbox]{cursor:pointer}.dsm-failover-hint{font-size:12px;line-height:18px;color:var(--dsw-alias-label-tertiary,#999);white-space:nowrap}.dsm-model-settings-footer{border-top:1px solid var(--dsw-alias-border-l2,#36373b);display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0 4px}.dsm-model-settings-footer-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.dsm-model-settings-footer-status{flex:1;min-width:0;color:var(--dsw-alias-label-secondary,#b8b8b8);font-size:12px;line-height:1.5}.dsm-model-settings-footer-error{flex:1;min-width:0;color:var(--dsw-alias-label-error,#ef4444);font-size:12px;line-height:1.5}.dsm-btn{appearance:none;font:inherit;cursor:pointer;border:1px solid transparent;border-radius:8px;padding:5px 14px;font-size:13px;line-height:1.5}.dsm-btn:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#5686fe);outline-offset:1px}.dsm-btn:disabled{opacity:.4;cursor:default}.dsm-btn-outline{border-color:var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);background:transparent;font-weight:500}.dsm-btn-outline:hover:not(:disabled){color:var(--dsw-alias-label-primary);border-color:var(--dsw-alias-label-dimmed);background:rgba(255,255,255,.04)}.dsm-btn-primary{background:var(--dsw-alias-label-primary);color:var(--dsw-alias-bg-layer-3)}.dsm-btn-primary:hover:not(:disabled){opacity:.9}.dsm-model-settings-hint{font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary,#b8b8b8)}.dsm-plugin-card{border:1px solid var(--dsw-alias-border-l2,#36373b);background:var(--dsw-alias-bg-layer-3,#202126);border-radius:12px;list-style:none;transition:border-color .16s,background .16s}.dsm-plugin-card:hover{border-color:var(--dsw-alias-label-dimmed,#777)}.dsm-plugin-card-open{background:var(--dsw-alias-bg-layer-2,#25262b);border-color:var(--dsw-alias-label-dimmed,#777)}.dsm-plugin-card-header{appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:transparent;border:0;border-radius:12px;align-items:center;gap:12px;padding:14px 16px;display:flex}.dsm-plugin-card-header:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#5686fe);outline-offset:-2px}.dsm-plugin-card-head{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.dsm-plugin-card-title{color:var(--dsw-alias-label-primary,#e6e6e6);font-size:15px;font-weight:600;line-height:1.4}.dsm-plugin-card-description{color:var(--dsw-alias-label-tertiary,#999);font-size:13px;line-height:1.5}.dsm-plugin-card-chevron{color:var(--dsw-alias-label-tertiary,#999);flex:none;display:inline-flex;transition:transform .16s}.dsm-plugin-card-chevron-open{transform:rotate(180deg)}.dsm-plugin-card-body{border-top:1px solid var(--dsw-alias-border-l2,#36373b);margin:0 16px;padding:0 0 8px}.dsm-plugin-card-body .dsm-model-settings{margin:0;padding:12px 0 0;background:transparent;border:0;border-radius:0}.dsm-plugin-card-body .dsm-model-settings-head{display:none}.dsm-plugin-card-icon{width:32px;height:32px;flex:none;border-radius:7px}.dsm-model-settings-cheer{display:inline-flex;align-items:center;gap:4px;flex:none;text-decoration:underline;text-underline-offset:2px;color:var(--dsw-alias-label-tertiary,#999);font-size:13px;line-height:1.5;transition:color .16s}.dsm-model-settings-cheer-star{font-size:12px;line-height:1;display:inline-flex}.dsm-model-settings-cheer:hover{color:var(--dsw-alias-label-primary,#e6e6e6)}.dsm-model-settings-cheer:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#5686fe);outline-offset:2px}";
|
|
18
18
|
|
|
19
19
|
if (typeof document !== "undefined") {
|
|
20
20
|
var cssId = "dsh-subagent-default-model/client.css";
|
|
@@ -46,6 +46,7 @@ window.__ModuleLoader__.load({
|
|
|
46
46
|
"row.discard": "放弃修改",
|
|
47
47
|
"row.cheer": "鼓励一下",
|
|
48
48
|
"row.save": "保存",
|
|
49
|
+
"row.saving": "保存中…",
|
|
49
50
|
"row.saved": "已保存",
|
|
50
51
|
"row.incomplete": "请为每个模型路由选择 Provider 和 Model。",
|
|
51
52
|
"row.saveFailed": "保存失败,请重试。",
|
|
@@ -74,6 +75,7 @@ window.__ModuleLoader__.load({
|
|
|
74
75
|
"row.discard": "Discard",
|
|
75
76
|
"row.cheer": "Star on GitHub",
|
|
76
77
|
"row.save": "Save",
|
|
78
|
+
"row.saving": "Saving…",
|
|
77
79
|
"row.saved": "Saved",
|
|
78
80
|
"row.incomplete": "Choose a provider and model for every route.",
|
|
79
81
|
"row.saveFailed": "Could not save the setting. Try again.",
|
|
@@ -260,7 +262,7 @@ window.__ModuleLoader__.load({
|
|
|
260
262
|
toastState[1](null);
|
|
261
263
|
}
|
|
262
264
|
var hasIncompleteRoute = routesState[0].some(function (route) { return !route.provider || !route.model; });
|
|
263
|
-
var saveDisabled = !snap || snap.status !== "ready" || snap.writable === false || busyState[0] || hasIncompleteRoute;
|
|
265
|
+
var saveDisabled = !snap || snap.status !== "ready" || snap.writable === false || busyState[0] || hasIncompleteRoute || !dirtyState[0];
|
|
264
266
|
var discardDisabled = !dirtyState[0] || busyState[0];
|
|
265
267
|
var routes = routesState[0].map(function (route, index) {
|
|
266
268
|
var group = null;
|
|
@@ -368,11 +370,10 @@ window.__ModuleLoader__.load({
|
|
|
368
370
|
},
|
|
369
371
|
t("row.cheer"),
|
|
370
372
|
React.createElement("span", { className: "dsm-model-settings-cheer-star", "aria-hidden": "true" }, "\u2605")
|
|
371
|
-
)
|
|
372
|
-
savedState[0] ? React.createElement("span", { className: "dsm-model-settings-footer-status" }, t("row.saved")) : (saveErrorState[0] ? React.createElement("span", { className: "dsm-model-settings-footer-error", role: "alert" }, t("row.saveFailed")) : null)
|
|
373
|
+
)
|
|
373
374
|
),
|
|
374
375
|
React.createElement("button", { type: "button", className: "dsm-btn dsm-btn-outline", disabled: discardDisabled, onClick: discard }, t("row.discard")),
|
|
375
|
-
React.createElement("button", { type: "button", className: "dsm-btn dsm-btn-primary", disabled: saveDisabled, onClick: save }, busyState[0] ? t("row.
|
|
376
|
+
React.createElement("button", { type: "button", className: "dsm-btn dsm-btn-primary", disabled: saveDisabled, onClick: save }, busyState[0] ? t("row.saving") : t("row.save"))
|
|
376
377
|
),
|
|
377
378
|
toastState[0] ? React.createElement(Toast, { key: toastState[0].seq, text: toastState[0].text, onDone: function () { toastState[1](null); } }) : null
|
|
378
379
|
);
|
|
@@ -482,7 +483,13 @@ window.__ModuleLoader__.load({
|
|
|
482
483
|
kind: "chat-subagent-model",
|
|
483
484
|
target: "chat",
|
|
484
485
|
match: function (event) {
|
|
485
|
-
|
|
486
|
+
if (event.type !== "request/header") return null;
|
|
487
|
+
// DSH 0.1.2 also appends a "series" header when a follow-up
|
|
488
|
+
// turn starts a new request series with an UNCHANGED config:
|
|
489
|
+
// no route change to surface, and claiming it would add one
|
|
490
|
+
// redundant "Current provider/model" row per turn.
|
|
491
|
+
if ((event.data || {}).reason === "series") return null;
|
|
492
|
+
return { id: String(event.seq), role: "start" };
|
|
486
493
|
},
|
|
487
494
|
start: function (_context, match) {
|
|
488
495
|
var event = match.event;
|
package/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import z from "@deepseek-ai/schemastery";
|
|
2
|
-
import
|
|
2
|
+
import * as dshSettings from "@deepseek-ai/dsh-settings";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* dsh-subagent-default-model — default model(s) for subagent delegations.
|
|
@@ -43,7 +43,40 @@ export const name = "dsh-subagent-default-model";
|
|
|
43
43
|
// independently; `apply()` attaches the service wrapper through `ctx.inject()`.
|
|
44
44
|
|
|
45
45
|
/** Settings namespace: default model route for subagent runs without an explicit `agentOptions`. */
|
|
46
|
-
const SUBAGENT_DEFAULT_MODEL_SETTINGS_NAMESPACE =
|
|
46
|
+
const SUBAGENT_DEFAULT_MODEL_SETTINGS_NAMESPACE = "subagent-default-model";
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Pick the settings-section installer for the installed DSH generation.
|
|
50
|
+
*
|
|
51
|
+
* DSH 0.1.2-alpha.2 removed the standalone `installSettingsSection` /
|
|
52
|
+
* `settingsNamespace` exports from `@deepseek-ai/dsh-settings` in favor of
|
|
53
|
+
* the `ctx.settings` service seam (`settings.installSection`), and that seam
|
|
54
|
+
* does not exist on older hosts (`settings.register` there, reachable only
|
|
55
|
+
* through the legacy helper). Decide by export presence: a module that still
|
|
56
|
+
* ships the helper (pre-alpha.2 hosts, and DSH Desktop's transitional
|
|
57
|
+
* compatibility patch, where the helper merely delegates to the seam) uses
|
|
58
|
+
* it; otherwise wire the official seam directly. Both paths register the
|
|
59
|
+
* section only once the settings service mounts — the legacy helper itself
|
|
60
|
+
* wraps `ctx.inject(["settings"], …)` — so neither ever blocks the plugin
|
|
61
|
+
* root on service waves.
|
|
62
|
+
*
|
|
63
|
+
* Exported for unit tests only; not part of the plugin contract.
|
|
64
|
+
*
|
|
65
|
+
* @param module - the resolved `@deepseek-ai/dsh-settings` module namespace.
|
|
66
|
+
* @returns an `(ctx, ns, schema, entry, hooks)` installer for that generation.
|
|
67
|
+
*/
|
|
68
|
+
export function settingsSectionInstaller(module) {
|
|
69
|
+
if (typeof module?.installSettingsSection === "function") {
|
|
70
|
+
return (ctx, ns, schema, entry, hooks) => module.installSettingsSection(ctx, ns, schema, entry, hooks);
|
|
71
|
+
}
|
|
72
|
+
return (ctx, ns, schema, entry, hooks) => {
|
|
73
|
+
ctx.inject(["settings"], (settingsCtx) => {
|
|
74
|
+
settingsCtx.settings.installSection(ctx, ns, schema, entry, hooks);
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const INSTALL_SETTINGS_SECTION = settingsSectionInstaller(dshSettings);
|
|
47
80
|
/** One model entry: a bare model id (uses the section `provider`) or an explicit `{provider, model}` pair. */
|
|
48
81
|
const MODEL_ENTRY = z.union([
|
|
49
82
|
z.string(),
|
|
@@ -293,7 +326,7 @@ export function apply(ctx) {
|
|
|
293
326
|
// DSH 0.1.2 can mount that service later or in a different service wave; a
|
|
294
327
|
// root-level hard inject would otherwise keep this whole plugin waiting and
|
|
295
328
|
// hide its settings card even though the Client half is already registered.
|
|
296
|
-
|
|
329
|
+
INSTALL_SETTINGS_SECTION(ctx, SUBAGENT_DEFAULT_MODEL_SETTINGS_NAMESPACE, SUBAGENT_DEFAULT_MODEL_SETTINGS_SCHEMA, {}, {
|
|
297
330
|
setSource: (current) => {
|
|
298
331
|
state.settingsSource = current;
|
|
299
332
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-subagent-default-model",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Configure default model routes for DeepSeek Harness subagents, with single-model, round-robin, random, and per-route reasoning-effort options.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@deepseek-ai/dsh-settings": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0",
|
|
72
|
-
"@deepseek-ai/dsh-subagent": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0",
|
|
73
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0",
|
|
74
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0",
|
|
75
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0",
|
|
76
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0",
|
|
77
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0",
|
|
78
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0"
|
|
71
|
+
"@deepseek-ai/dsh-settings": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
72
|
+
"@deepseek-ai/dsh-subagent": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
73
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
74
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
75
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
76
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
77
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
78
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6 || ^0.1.1-rc.2 || >=0.1.2-alpha.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependenciesMeta": {
|
|
81
81
|
"@deepseek-ai/dsh-client-connection": {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
102
|
-
"@deepseek-ai/dsh-settings": "0.1.
|
|
101
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
102
|
+
"@deepseek-ai/dsh-settings": "^0.1.5-rc.1"
|
|
103
103
|
}
|
|
104
104
|
}
|