@klarkxy/dsh-model-hub 0.1.7 → 0.1.8

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/README.md CHANGED
@@ -19,17 +19,17 @@ Replace `web` with your profile name and restart the profile.
19
19
  Open **Plugins → Model Hub**.
20
20
 
21
21
  - **Fields**: every model setting exposed by installed plugins, such as Auto Title, Git Commit, and Safe Auto. Search by plugin, purpose, or current model, then pick a new model. The plugin that owns the setting saves the change.
22
- - **Subagent Cast**: toggle the subagent model allowlist and add, replace, or remove models. When enabled with at least one model, it guides the agent to discover the models available in the current conversation and pick one explicitly when delegating. The guidance distinguishes provider and model names to help avoid repeating the provider prefix. For independent reviews and alternative approaches it favors a different model when suitable, but allows the same one when it fits better. Per-model task tendencies you add are optional hints; none are supplied by default. Below the list, a live view shows each running subagent with its current model and reasoning effort; an effort marked adapter default comes from the adapter, not an explicit choice.
22
+ - **Subagent Cast**: toggle the subagent model allowlist and add, replace, or remove models. When enabled with at least one model, it guides the agent to discover the models available in the current conversation and pick one explicitly when delegating. The guidance keeps provider and model IDs separate so the provider prefix appears once. For independent reviews and alternative approaches it favors a different model when suitable, and uses the same model when it fits better. Per-model task tendencies you add are optional hints; the default list starts with blank tendencies. Below the list, a live view shows each running subagent with its current model and reasoning effort; an effort marked adapter default comes from the adapter rather than an explicit choice.
23
23
 
24
24
  ## Limits
25
25
 
26
26
  - Only plugins that expose model settings appear.
27
27
  - Changes made elsewhere update the page automatically. If an edit conflicts with a newer change, refresh and choose again.
28
- - If the model list cannot load, use **Retry**. The last available list stays visible; warnings name providers that failed while others stay usable.
29
- - Selection guidance needs host tools that support choosing a subagent model. List changes apply to new conversations; existing conversations and their subagents keep their saved lists. Refreshing the settings page does not change a conversation's list. Omitting an explicit model can still inherit the parent model.
30
- - Guidance never forces a model choice or adds subtasks just for variety.
31
- - Remote subagents and finished runs have no readable route; the live list covers only live local subagents.
32
- - No usage statistics.
28
+ - When the model list fails to load, use **Retry**. The last available list stays visible; warnings name providers that failed while others stay usable.
29
+ - Selection guidance requires host tools that support choosing a subagent model. List changes apply to new conversations; existing conversations and their subagents keep their saved lists, including across settings page refreshes. Omitting an explicit model still inherits the parent model.
30
+ - Guidance leaves the final model choice and task breakdown to the agent.
31
+ - The live list covers running local subagents; remote subagents and finished runs omit route details.
32
+ - This plugin focuses on model routing and live status; usage statistics are outside its scope.
33
33
 
34
34
  ## License
35
35
 
@@ -19,17 +19,17 @@ dsh plugin --profile web add @klarkxy/dsh-model-hub
19
19
  打开「插件 → 模型枢纽」。
20
20
 
21
21
  - **字段总览**:列出已安装插件提供的模型设置,例如自动标题、Git 提交和安全自动。可按插件、用途或当前模型搜索,再选择新模型;改动由对应插件保存。
22
- - **子代理阵容**:开关子代理模型白名单,添加、替换或移除模型。开启且至少有一个模型时,会引导智能体发现当前会话可用的模型,并在派发时显式选择。提示会区分提供方与模型名称,帮助避免重复填写提供方前缀。独立复核和方案对比会优先考虑合适的不同模型,同模型更适合时仍可使用。自填的模型「任务倾向」只作可选参考,插件不预置任何倾向。列表下方实时显示运行中的子代理及其当前模型和思考强度;标注「适配器默认」的强度来自适配器,而非显式选择。
22
+ - **子代理阵容**:开关子代理模型白名单,添加、替换或移除模型。开启且至少有一个模型时,会引导智能体发现当前会话可用的模型,并在派发时显式选择。提示会将提供方与模型名称分开标识,确保提供方前缀只写一次。独立复核和方案对比会优先考虑合适的不同模型,同模型更适合时仍可使用。自填的模型「任务倾向」作为可选参考,默认留空。列表下方实时显示运行中的子代理及其当前模型和思考强度;标注「适配器默认」的强度来自适配器默认设置。
23
23
 
24
24
  ## 限制
25
25
 
26
26
  - 只显示提供模型设置的插件。
27
27
  - 别处改动设置时页面自动更新;编辑与较新的改动冲突时,刷新后重新选择。
28
28
  - 模型列表读取失败时点「重试」。上次可用的列表保留;部分提供方读取失败会显示提示,其余提供方仍可用。
29
- - 选模引导需要宿主工具支持选择子代理模型。名单修改对新建会话生效,已有会话及其子代理沿用原名单;刷新设置页面不会更新会话名单。不显式指定模型时仍可继承父代理模型。
30
- - 引导不强制选模,也不为增加模型种类而新增子任务。
31
- - 远程子代理和已结束的子代理没有可读取的路由;运行列表只覆盖存活的本地子代理。
32
- - 不提供用量统计。
29
+ - 选模引导需要宿主工具支持选择子代理模型。名单修改对新建会话生效,已有会话及其子代理沿用原名单(含刷新设置页面后)。省略模型参数时仍继承父代理模型。
30
+ - 引导只提供选模参考,具体模型选择与任务拆解仍由智能体决定。
31
+ - 运行列表展示当前运行的本地子代理;远程子代理和已结束的子代理省略路由详情。
32
+ - 本插件专注于模型路由与运行状态展示,用量统计不在其范围内。
33
33
 
34
34
  ## 许可证
35
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klarkxy/dsh-model-hub",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Change the models used by DSH plugins and subagents from one page, and see each running subagent's model and reasoning effort.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
@@ -44,7 +44,7 @@
44
44
  }
45
45
  },
46
46
  "scripts": {
47
- "build": "tsdown && node --check lib/index.js && node ../../scripts/editor-plugins/wrap-client.mjs @klarkxy/dsh-model-hub",
47
+ "build": "tsdown && node ../../scripts/editor-plugins/wrap-client.mjs @klarkxy/dsh-model-hub",
48
48
  "typecheck": "tsc --noEmit -p tsconfig.json",
49
49
  "test": "vitest run --root ../.. --config vitest.editor-plugins.config.ts --maxWorkers=2 plugins/dsh-model-hub/src"
50
50
  },
@@ -106,6 +106,6 @@
106
106
  },
107
107
  "homepage": "https://klarkxy.github.io/dsh-plugins/plugins/model-hub/",
108
108
  "dshRelease": {
109
- "contentHash": "7c37fd51e932a6d8cbe1fc5ff2878676fdbd6c6cda130349e71676892f157eff"
109
+ "contentHash": "8aec951ff52ef34e1609f24f8c1cb8571ba481404d386992ac014e75cd8cd857"
110
110
  }
111
111
  }