dsh-subagent-default-model 1.1.0 → 1.1.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.1 (2026-08-31)
4
+
5
+ ### Changed
6
+
7
+ - **模型行文案改为「当前供应商/模型」**: 轨迹视图与对话视图的模型提示行前缀从「子代理模型」改为「当前供应商/模型」(英文同步为 `Current provider/model`),更准确地表达该行展示的是当前请求实际使用的供应商与模型。同步更新测试断言、simulate 脚本与文档示例。
8
+
3
9
  ## 1.1.0 (2026-08-31)
4
10
 
5
11
  ### Features
package/lib/client.js CHANGED
@@ -52,8 +52,8 @@ window.__ModuleLoader__.load({
52
52
  "row.toastSaved": "子代理默认模型设置已保存。",
53
53
  "row.failoverEnabled": "连接失败时按队列与策略切换模型",
54
54
  "row.failoverHint": "(需配置 ≥2 个 Provider,切换才会生效)。",
55
- "row.trajectoryModel": "子代理模型",
56
- "row.chatModelInitial": "子代理模型",
55
+ "row.trajectoryModel": "当前供应商/模型",
56
+ "row.chatModelInitial": "当前供应商/模型",
57
57
  "row.chatModelChange": "已切换到",
58
58
  "row.chatModelResume": "继续使用"
59
59
  };
@@ -80,8 +80,8 @@ window.__ModuleLoader__.load({
80
80
  "row.toastSaved": "Subagent default model settings saved.",
81
81
  "row.failoverEnabled": "Switch models by queue and strategy on connection failure",
82
82
  "row.failoverHint": "(requires at least 2 configured providers).",
83
- "row.trajectoryModel": "Subagent model",
84
- "row.chatModelInitial": "Subagent model",
83
+ "row.trajectoryModel": "Current provider/model",
84
+ "row.chatModelInitial": "Current provider/model",
85
85
  "row.chatModelChange": "Switched to",
86
86
  "row.chatModelResume": "Resumed on"
87
87
  };
@@ -421,7 +421,7 @@ window.__ModuleLoader__.load({
421
421
  // agent-loop appends a `request/context` frame (provider/model) whenever
422
422
  // the provider or model changes — failover switches trigger it with zero
423
423
  // host changes. Register a trajectory definition that renders that frame
424
- // as a compact "Subagent model" row inside the subagent's trajectory view.
424
+ // as a compact "Current provider/model" row inside the subagent's trajectory view.
425
425
  if (ctx.conversationEvents && typeof ctx.conversationEvents.register === "function") {
426
426
  var trajectoryT = ctx.locale.bind(SUBAGENT_ROW_LOCALE);
427
427
  var modelContextDefinition = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-subagent-default-model",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
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",