全部插件

DSH / BUNDLE / CLIENT-UI

dsh-model-cascade

v0.1.2jcleener / dsh-model-cascade16b6f23999

可安装组合包UI 与客户端插件社区 · Topic 自动分析Web UI

概览

dsh-model-cascade

Model selection as a three-level cascading menu (Provider -> Series -> Full model) plus thinking-intensity (reasoning effort) selection for the composer model seat.

README / ZH

插件文档

目录摘要

Model selection as a three-level cascading menu (Provider -> Series -> Full model) plus thinking-intensity (reasoning effort) selection for the composer model seat.

dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。

在 GitHub 阅读完整 README

LIMITATIONS

已知限制

- **声明依赖与实际 require 不一致**:`package.json` 的 `dsh.client.inject` 声明了 `@deepseek-ai/dsh-client-locale` 与 `@deepseek-ai/dsh-client-ui-model-selection`; 而 `lib/client.js` 实际 `require` 的是 `react`、`react/jsx-runtime`、 `@deepseek-ai/dsh-client-ui-primitives`(用到 `Toast`、`IconCheckOutline16`、 `IconChevronRightOutline14`、`IconChevronDownOutline14`、`IconChevronLeftOutline14`、 `IconWarningOutline16`)。也就是说:真正被 require 的 `ui-primitives` 未声明, 声明的 `ui-model-selection` 从未被 require(它只作为被遮蔽的服务提供方间接存在)。 - `lib/client.js` 是**预构建产物**(`window.__ModuleLoader__.load` 工厂 + `react/jsx-runtime` 编译后的 `jsx`/`jsxs` 调用),不是可直接阅读的 ESM/JSX 源码;源码形态未随包提供。 - **系列分组是启发式的**:完全按 id 文本切分,不看模型元数据。同一系列命名不统一 (例如带版本号的 `-v4` 前缀差异)会裂成多个系列;这仅是显示层的分组,选择时提交的始终是 供应商分组 id + 完整模型 id。 - **CSS 与锚点硬编码**:样式只注入一次,判重键是 `data-plugin-css="dsh-model-cascade/ModelCascadeSelect.module.css"`;Toast 的 `anchor` 依赖 `[data-composer-card]` 这个属性选择器;宽度/高度用的是 `min(280px, 100vw - 32px)` 与 `min(420px, 100vh - 96px)` 固定值。 - 宿主半**没有任何行为**:无服务、无 model 工具、无命令、无事件监听、无 HTTP 路由、无设置命名空间—— 想通过它暴露能力需要另行扩展 `lib/index.js`。 - `modelDirectories` / `sessions.subagentAddress` / `remote.session` 等都是 DSH 0.1.5-rc.1 服务层的内部契约;服务重命名或签名变化时,本插件会在注册阶段或首次 `directoryFor` 时失败。