@klarkxy/dsh-model-hub 0.1.8 → 0.2.0
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 +9 -12
- package/docs/README.zh-CN.md +9 -12
- package/lib/client.inner.cjs +2093 -1521
- package/lib/client.inner.cjs.map +1 -1
- package/lib/client.js +2093 -1521
- package/lib/index.d.ts +1 -39
- package/lib/index.js +120 -512
- package/lib/index.js.map +1 -1
- package/locale/en.json +2 -2
- package/locale/zh.json +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Subagents
|
|
2
2
|
|
|
3
3
|
<!-- release-state-note -->
|
|
4
4
|
|
|
5
5
|
[简体中文](docs/README.zh-CN.md)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Configure the models and reasoning effort available to new DeepSeek Harness subagents, and see each subagent's last-used model in the conversation's subagent popup.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -16,20 +16,17 @@ Replace `web` with your profile name and restart the profile.
|
|
|
16
16
|
|
|
17
17
|
## Use
|
|
18
18
|
|
|
19
|
-
Open **
|
|
19
|
+
Open **Settings → Subagents** to add, replace, or remove models, choose their reasoning effort, and add optional task tendencies. These guide the agent when delegating; the agent makes the final choice.
|
|
20
20
|
|
|
21
|
-
|
|
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.
|
|
21
|
+
In a conversation, open the subagent count or switcher to see each child's last-used model and effort. This is read-only.
|
|
23
22
|
|
|
24
23
|
## Limits
|
|
25
24
|
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
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.
|
|
25
|
+
- List changes apply to new conversations; existing conversations keep their saved lists. Effort preferences guide new subagents and do not change running ones.
|
|
26
|
+
- Selection requires host tools that support choosing a subagent model. Omitting a model still inherits the parent model.
|
|
27
|
+
- Model lists use the host's model and effort metadata. If loading fails, use **Retry**; available providers remain usable.
|
|
28
|
+
- The popup uses the host's private tree and style hooks, so host changes may require a plugin update. External subagents and children without a model request have no route to show.
|
|
29
|
+
- Settings changed elsewhere update automatically; refresh to resolve a conflicting edit.
|
|
33
30
|
|
|
34
31
|
## License
|
|
35
32
|
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 子代理
|
|
2
2
|
|
|
3
3
|
<!-- release-state-note -->
|
|
4
4
|
|
|
5
5
|
[English](../README.md)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
配置新建 DeepSeek Harness 子代理可用的模型与思考强度,并在会话的子代理弹层中查看每个子代理最后使用的模型。
|
|
8
8
|
|
|
9
9
|
## 安装
|
|
10
10
|
|
|
@@ -16,20 +16,17 @@ dsh plugin --profile web add @klarkxy/dsh-model-hub
|
|
|
16
16
|
|
|
17
17
|
## 使用
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
打开「设置 → 子代理」,添加、替换或移除模型,选择思考强度,并填写可选的任务倾向。这些内容供智能体委派时参考,最终选择仍由智能体决定。
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
- **子代理阵容**:开关子代理模型白名单,添加、替换或移除模型。开启且至少有一个模型时,会引导智能体发现当前会话可用的模型,并在派发时显式选择。提示会将提供方与模型名称分开标识,确保提供方前缀只写一次。独立复核和方案对比会优先考虑合适的不同模型,同模型更适合时仍可使用。自填的模型「任务倾向」作为可选参考,默认留空。列表下方实时显示运行中的子代理及其当前模型和思考强度;标注「适配器默认」的强度来自适配器默认设置。
|
|
21
|
+
在会话中点开子代理数量或切换器,可查看每个子代理最后使用的模型与思考强度。此处只读。
|
|
23
22
|
|
|
24
23
|
## 限制
|
|
25
24
|
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
- 运行列表展示当前运行的本地子代理;远程子代理和已结束的子代理省略路由详情。
|
|
32
|
-
- 本插件专注于模型路由与运行状态展示,用量统计不在其范围内。
|
|
25
|
+
- 名单修改对新建会话生效,已有会话沿用原名单。思考强度用于新建子代理,不修改正在运行的子代理。
|
|
26
|
+
- 选模需要宿主工具支持。省略模型时仍继承父代理模型。
|
|
27
|
+
- 模型与强度选项来自宿主目录。读取失败时点「重试」,其他可用提供方不受影响。
|
|
28
|
+
- 弹层依赖宿主私有的树与样式约定,宿主改动可能需要插件适配。外部子代理和未发起模型请求的子代理没有可显示的路由。
|
|
29
|
+
- 别处改动会自动同步;编辑冲突时刷新后重新选择。
|
|
33
30
|
|
|
34
31
|
## 许可证
|
|
35
32
|
|