dsh-model-picker

DSH PLUGIN模型与账号接入

仓库 Findly-qwb/dsh-model-picker

模型与账号接入 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

dsh-model-picker 是 Findly-qwb 维护的 模型与账号接入 类 DSH 可安装插件, 仓库为 Findly-qwb/dsh-model-picker,许可证 MIT。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

dsh-model-picker 是模型与账号接入类的 DSH 可安装插件,验证等级 L5 · 运行验证通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类模型与账号接入 收录类型可安装插件 验证等级L5 · 运行验证通过 安全审查低风险
验证等级 L5 L5 · 运行验证通过
GitHub 星标 2 复刻 0 · 未关闭 issue 0
最近更新 2026-10-28 创建于 2026-10-20
README 10.0 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:Findly-qwb/dsh-model-picker
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注

上游标签

dsh-plugin

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L5:安装和运行都在沙盒里跑通过,装完能直接用的概率高。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在模型与账号接入场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-model-picker当前 L5 · 运行验证通过 低风险 2 未标注 有
archify L4 · 沙盒安装通过 低风险 8.0 万 未标注 有
DeepSeek-Reasonix L4 · 沙盒安装通过 低风险 3.6 万 未标注 有
nocobase L3 · 安装规范通过 低风险 2.5 万 0.1.1-rc.2 无
learn-harness-engineering L4 · 沙盒安装通过 低风险 2.0 万 未标注 有
dsh-our-free-model 未做沙盒验证 未标注 8,064 未标注 无

仓库档案

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方Findly-qwb仓库 dsh-model-picker · 默认分支 main
分类模型与账号接入ai
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue2 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-20 · 2026-10-28最后推送 2026-10-28
本站收录2026-10-30首次进入本站目录的时间

README 全文

10.0 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-model-picker

A two-pane model picker for DeepSeek Harness. It replaces the model menu that the composer opens from the model pill — a long drilled list you have to click through provider by provider — with one dialog: every model searchable on the left, everything known about the selected one on the right.

中文说明见下方 中文。


What it changes

The composer's model seat (conversation.input.model) normally opens the shipped drilled menu: a search field, then one folder per provider that you step into and back out of, one model at a time. This plugin takes that seat over at a lower slot priority and renders its own picker instead:

Before After
A drilled list; you open a provider, pick, and go back for another One dialog with every provider visible at once
Only the model name per row Provider, name, capability tags and favorites together
Nothing about the model itself Capacity, capabilities, reasoning levels and actions on the right
No favorites or recents Both pinned above the provider groups

The trigger keeps its place in the tool row and still shows the current model name; only what it opens changes.

Left pane

  • Search across model names, provider names and capability tags.
  • Grouped list: favorites and recently used sit at the top, open by default; every group — those two included — collapses from its header, and provider groups start closed. Each header carries a model count.
  • Each group header carries a provider mark: a small tile whose hue is derived from the provider id, so the same provider always looks the same. Harness exposes no provider icon, so this is a generated anchor rather than a vendor logo. Rows carry text only — the mark is stated once per group instead of once per model — and row text is indented to line up with the heading label.
  • Keyboard: ↑ / ↓ to move, Enter to apply, Esc to close.

Right pane

  • Model name with a favorite star, and provider · providerId underneath.
  • Capacity: context window and output cap.
  • Capabilities: text / image input, reasoning.
  • Reasoning effort chips, when the model declares levels.
  • Description.
  • Actions: apply to this session, set as deployment default, details, model ID.

Favorites and recents are stored on the Host, so they survive reloads and are shared by every window.

Where the data comes from

Every value is whatever the model's own provider reports through the Harness llm service — llm.listModels() and llm.resolveModelInfo(). Nothing is inferred, and no second source is consulted.

That has one consequence worth stating plainly: no price is shown. Harness's provider interface exposes no cost field at all — its own adapter source says "the harness never reads pi-ai's cost metadata" — so there is nothing truthful to display under "price". Rather than borrow a list price from some other vendor that happens to sell a model with the same name, the detail card explains that the model carries no price data. If you need actual rates, use your provider's invoice.

The same rule applies to capacity. A context window or output cap appears only when the route or its model entry declares one; an undeclared model shows no number instead of a guessed default.

Capability tags follow your configuration. A model declared with input: [text, image] shows visual; a model declared with only id and name shows text, because that is what the schema's DEFAULT_INPUT reports. If a model supports images but shows text, add the declaration to your provider configuration.

Install

Install it into a Harness profile:

dsh plugin --profile web add github:Findly-qwb/dsh-model-picker

The command writes dsh-model-picker to dsh.profile.bundles in your profile's package.json. Reload the page once after installing.

Requirements

  • A DeepSeek Harness install with the Web client.
  • The shipped @deepseek-ai/dsh-client-ui-model-selection package, which provides the modelDirectories Client service this picker reads its model list from. Without it the plugin stays dormant and the stock menu renders.

Configuration

None. The plugin has no options: it reads the provider catalog Harness already resolved, and stores its own preferences under $DSH_HOME/model-picker/ (default ~/.dsh/model-picker/).

File Contents
model-picker-prefs.json Favorites and the last 12 recently used models
client-errors.log Client-side crash reports, written only if the picker throws

Deleting the directory resets favorites and recents.

Hot reload

The UI half (client.js) is hot-reloaded by the shipped dsh-client-hmr transport: save the file and the open page swaps the plugin in about a second, no restart. The Host half (index.js) is a Node plugin and needs an app restart.

Development

The package is plain ES modules — no build step, no bundler, no client package imports. Two entry points:

  • index.js — Host half. Registers the /api/model-picker/* routes (meta, prefs, report, default), all fenced to loopback callers.
  • client.js — Client half. Registers the seat over the conversation.input.model slot and draws the dialog.

The browser half is loaded through window.__ModuleLoader__.load({ id, factory }) and may only require react, react-dom and react/jsx-runtime.


中文

把 DeepSeek Harness 输入框旁的模型菜单换成双栏选择器。原本要逐个供应商点进去再退出来的多层列表,变成一次打开就能看全的对话框:左侧是所有模型,右侧是选中模型的全部已知信息。

改了什么

输入框的模型位置(conversation.input.model)原本打开官方那个多层下拉:一个搜索框,然后是每个供应商一个文件夹,要逐个点进去、再退出来。

本插件以更低的槽位优先级接管该位置,改为渲染自己的选择器:

之前 之后
多层下钻,进一个供应商、选一个、再退出来 一个对话框,所有供应商同时可见
每行只有模型名 供应商、模型名、能力标签、收藏星标同屏
看不到模型本身的任何信息 右栏给出容量、能力、推理档位与操作
没有收藏和最近使用 两者都置顶在供应商分组之前

触发器仍在工具行原位、仍显示当前模型名,只是点开后的内容变了。

左栏

  • 跨模型名、供应商名、能力标签搜索。
  • 分组列表:收藏与最近使用置顶,默认展开;每个分组(包括这两个)都能点头部折叠,供应商分组默认收起。头部显示该组的模型数量。
  • 分组标题带一个供应商徽记:小方块,色相由供应商 id 推导,同一供应商永远同一颜色。Harness 不提供供应商图标,所以这是生成的识别标记,不是厂商 logo——不虚构品牌,也不虚构它的标志。行内不再重复徽记(每个分组只陈述一次),行文字缩进到与分组标题文字对齐。
  • 键盘:↑ / ↓ 移动,Enter 应用,Esc 关闭。

右栏

  • 模型名与收藏星标,下方是 供应商 · 供应商 ID。
  • 容量:上下文窗口、最大输出。
  • 能力:文本 / 图像输入、推理。
  • 模型声明了推理档位时,显示档位按钮。
  • 说明文字。
  • 操作:使用此模型、设为默认、详情、模型 ID。

收藏与最近使用存放在 Host 侧,重载后仍在,多个窗口共享。

数据来自哪里

所有数值都是该模型所属供应商通过 Harness 的 llm 服务(llm.listModels() 与 llm.resolveModelInfo())报告的内容。不做推断,也不读第二个数据源。

由此有一个必须说清的结论:不显示价格。 Harness 的供应商接口根本没有价格字段——它自己的适配器源码里写着 "the harness never reads pi-ai's cost metadata"——所以「价格」一栏没有真实内容可填。与其借用另一家恰好同名模型的价目,详情页直接说明该模型没有价格数据。要看真实费率请查阅供应商账单。

容量同理:只有在路由或模型条目显式声明时才显示上下文和输出上限,未声明就留空,而不是填一个猜测的默认值。

能力标签跟随你的配置。声明了 input: [text, image] 的模型显示「视觉」;只写了 id 和 name 的模型显示「文本」,因为 schema 的 DEFAULT_INPUT 就是如此。若某模型实际支持图像但显示为文本,在供应商配置里补上声明即可。

安装

安装到 Harness profile:

dsh plugin --profile web add github:Findly-qwb/dsh-model-picker

该命令会把 dsh-model-picker 写入 profile package.json 的 dsh.profile.bundles。安装后重载页面一次。

依赖

  • 带 Web 客户端的 DeepSeek Harness。
  • 官方自带包 @deepseek-ai/dsh-client-ui-model-selection,它提供 modelDirectories 客户端服务,本插件的模型列表来自那里。缺少它时插件保持沉默,官方菜单照常显示。

配置

无需配置。插件没有选项:读取 Harness 已解析的供应商目录,自身偏好存放在 $DSH_HOME/model-picker/(默认 ~/.dsh/model-picker/)。

文件 内容
model-picker-prefs.json 收藏与最近 12 个使用过的模型
client-errors.log 客户端崩溃报告,仅在选择器抛错时写入

删除该目录即可重置收藏与最近使用。

热重载

界面部分(client.js)由官方 dsh-client-hmr 支持热替换:保存文件后约一秒内页面自动换新,无需重启。Host 部分(index.js)是 Node 插件,需要重启应用。

License

MIT

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-model-picker 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:Findly-qwb/dsh-model-picker` 即可。

dsh-model-picker 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-model-picker 安全吗?

低风险。

dsh-model-picker 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-model-picker 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

7 条
不同作者的仓库分开列,请确认你要装的是哪一个
模型与账号接入
按星标排序,可作替代方案

archify

archify

从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

L4 · 沙盒安装通过 8.0 万 星

nocobase

nocobase

L3 · 安装规范通过 2.5 万 星

dsh-our-free-model

dsh-our-free-model

为 DeepSeek Harness 挂载免登录、免 API Key 的免费前沿模型通道,装完即用,并附用量看板与 OpenAI 兼容本地转

未标注验证等级 8,064 星

dsh-purge

dsh-purge

dsh-purge 是一款 DeepSeek Harness 设置插件,可修改默认副本、权限策略和工具限制,并添加规则卡片以分组应用补丁,支

L5 · 运行验证通过 4,573 星

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。