dsh-expert-group 0.1.4 → 0.1.6

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
@@ -24,33 +24,27 @@
24
24
  - **无内置默认模型**:新安装后所有角色均为空,需在“dsh-expert-group”设置页从 DSH
25
25
  已配置的模型中自行选择并保存;未配置模型的角色在调用时会给出明确提示。
26
26
  - 模型与思考深度通过 `llm.listProviders/listModels` + `resolveCallConfig` 校验,只接受设置中已添加的模型。
27
- - **动态 settings 保存能力**:插件不在模块加载期 import `@deepseek-ai/dsh-settings`,package 也不声明该 peer,因此默认安装不会额外下载 settings 包。目标运行时为 `0.2.0-rc.2`;插件通过宿主 settings 服务的 describe/update/mutate 面读写 profile 条目,并由 DEG 自有的 settings-commit 端点完成语义校验与 revision 冲突检测(宿主不再提供 owner validate 钩子)。
27
+ - **动态 settings 保存能力**:插件不在模块加载期 import `@deepseek-ai/dsh-settings`(package 声明的是 `>=0.2.1-rc.1` peer,宿主应提供兼容版本,插件自身不额外加载该包)。目标运行时为 `0.2.1-rc.1` / `0.2.1-rc.2`(即 `>0.2.1-rc.1` 的 RC2 契约宿主线);插件通过宿主 settings 服务的 describe/update/mutate 面读写 profile 条目,并由 DEG 自有的 settings-commit 端点完成语义校验与 revision 冲突检测(宿主不再提供 owner validate 钩子)。
28
28
  - 子代理的 `reasoningEffort` 通过子代理 `agent/request` waterfall 注入,绕开 `dsh-tool-subagent`
29
29
  `AgentOptions` 尚未公开该字段的限制。
30
30
 
31
31
  ## 安装
32
32
 
33
- 本插件发布到 npm 公共源,用 DSH 官方 `dsh plugin` CLI 按包名安装(`--profile` 为必填参数,一般填 `web`):
34
-
35
- ```powershell
36
- dsh plugin --profile web add dsh-expert-group
37
- ```
38
-
39
- 也可以直接用 npm 安装:
33
+ 本插件发布到 npm 公共源,可直接用 npm 安装:
40
34
 
41
35
  ```bash
42
36
  npm i dsh-expert-group
43
37
  ```
44
38
 
45
- 前置条件:DSH Web 可正常运行(`dsh web`)、Node.js ≥ 22,且 PATH 上有 `pnpm`。安装后重启 `dsh web` 使插件生效。
39
+ 也可以在 DSH 的「添加插件」页面按包名安装:在输入框中填入 `dsh-expert-group`,按需在右侧切换安装源,然后点击「安装」。
46
40
 
47
- 桌面版(Electron 客户端)的 `desktop` profile 由客户端独占管理,PATH 上的 `dsh` CLI 改不动它:先打开 Desktop 完成初始化再完全退出,用安装目录自带的 CLI 执行同一命令。
41
+ ![DSH「添加插件」对话框截图:输入框中填写的是 dsh-expert-group,右侧可切换安装源](docs/assets/dsh-plugin-add-dialog.png)
48
42
 
49
- ```powershell
50
- & '<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd' plugin --profile desktop add dsh-expert-group
51
- ```
43
+ > 该截图存放在仓库的 `docs/assets/` 下;npm 安装包按 `package.json` 的 `files` 白名单发布、**不包含 `docs/`**,因此从 npm 安装的副本里这张图不会显示,在仓库中阅读一切正常。
44
+
45
+ 前置条件:DSH 版本 ≥ `0.2.1-rc.1`、DSH Web 可正常运行(`dsh web`)、Node.js ≥ 22,且 PATH 上有 `pnpm`。安装后重启 `dsh web` 使插件生效。
52
46
 
53
- 安装后重新打开 Desktop 使插件生效。本插件不内置角色默认模型:先在 DSH「设置 → 模型」配置模型,再到「设置 → dsh-expert-group」为各角色选择模型并保存。
47
+ 本插件不内置角色默认模型:先在 DSH「设置 → 模型」配置模型,再到「设置 → dsh-expert-group」为各角色选择模型并保存。
54
48
 
55
49
  ## 界面总览
56
50