Bundle
dsh-model-picker-plus
A grouped, searchable replacement for the DSH composer model selector.
- Source
- objectyan
- License
- MIT
- Updated
- Updated 12 days ago
Readme
# dsh-model-picker-plus <div align="center"> 把 DSH 聊天输入框里的模型选择器替换为更适合多 Provider 场景的模型库。 A grouped, searchable replacement for the DeepSeek Harness composer model selector. <a href="https://github.com/objectyan/dsh-model-picker-plus/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/objectyan/dsh-model-picker-plus/actions/workflows/ci.yml/badge.svg" /></a> <a href="https://github.com/objectyan/dsh-model-picker-plus/releases"><img alt="Release" src="https://img.shields.io/github/v/release/objectyan/dsh-model-picker-plus" /></a> <a href="https://github.com/objectyan/dsh-model-picker-plus/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/objectyan/dsh-model-picker-plus" /></a> <a href="./LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" /></a> <img alt="dsh-model-picker-plus 下拉面板" src="./docs/screenshot.png" width="420" /> </div> ## 功能 - Provider 分组,默认折叠,只展开当前模型所在组 - 搜索 Provider / 模型名 / 模型 ID / 描述 - 收藏模型、最近使用 - 保留 DSH 原生思考强度(reasoning effort)选择 - 显示 Free / Vision / Omni / Reasoning / Tools 能力标签 - 能力过滤:全部 / 免费 / 视觉 / 推理 / 工具 - 完全独立:不读取其他插件(如 dsh-model-hub)的任何数据,只依赖 DSH 自身的目录与会话服务 - 复用 DSH 自己的 `modelDirectories` 和 `sessions.selectModel`,不改任何 Provider 插件 - 容器足迹与原生选择器一致(block 容器、`min-width: 0`),不会挤压聊天输入区右侧的其他插件 ## 安装 ```powershell # 从 npm 安装(推荐;或在 DSH 插件市场搜索 dsh-model-picker-plus) dsh plugin --profile desktop add dsh-model-picker-plus # 指定确切版本 dsh plugin --profile desktop add dsh-model-picker-plus@0.3.0 # 直接从 GitHub 安装(无需下载) dsh plugin --profile desktop add github:objectyan/dsh-model-picker-plus # 指定版本 tag dsh plugin --profile desktop add "github:objectyan/dsh-model-picker-plus#v0.3.0" # 或直接用 Release 的 tgz 链接 dsh plugin --profile desktop add "https://github.com/objectyan/dsh-model-picker-plus/releases/download/v0.3.0/dsh-model-picker-plus-0.3.0.tgz" ``` > 发布流程:推 `v*` tag 后 GitHub Actions 自动测试、发布 npm(含 provenance 证明)并创建带 tgz 附件的 Release,见 `.github/workflows/release.yml`。 ## 回滚 禁用或卸载本插件后,DSH 原生模型选择器会恢复。 ```powershell dsh plugin --profile desktop remove dsh-model-picker-plus ``` ## 开发 ```powershell node --check client.js node tests/client.mjs ``` 纯客户端插件:`client.js` 通过 `__ModuleLoader__.load` 注册,`cordis.patch.yml` 声明 slot 注入点,无构建步骤。 ## License MIT
Install
dsh plugin --profile web add github:objectyan/dsh-model-picker-plus
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-model-picker-plus from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.