dsh-model-search
Manifest validDSH Plugin: Adds cross-platform search filtering to the model selector, supporting all configured model sources including SenseTime, Bailian, and more.
dsh-model-search 🔍
DSH (DeepSeek Harness) 模型搜索插件 — 为多平台模型选择提供快速搜索过滤功能。
配置了多个模型源(如商汤、百炼、小米、本地等)的用户,在切换模型时经常面对大量模型难以快速定位的问题。本插件在输入框右侧添加搜索按钮,点击后可通过关键词实时过滤所有平台的模型,并一键切换到当前会话。
✨ 功能特性
- 🔍 跨平台搜索:搜索覆盖所有配置的模型源(商汤、百炼、小米、本地等)
- ⚡ 实时过滤:输入关键词即时筛选模型,支持平台名和模型名匹配
- 🚀 一键切换:选中模型后直接应用到当前聊天会话
- 💬 平台-模型显示:列表以
平台 模型名格式单行展示,如商汤 deepseek-v4-flash - 🌙 主题适配:使用 DSH CSS 变量,自动适配亮色/暗色主题
- 📦 即装即用:安装后自动出现在输入框工具条,无需额外配置
📦 安装
通过 GitHub 安装
dsh plugin --profile web add github.com/<你的用户名>/dsh-model-search
通过 dshmarket 安装(发布后)
dsh plugin --profile web add dsh-model-search
安装后重启 DSH:
npx @deepseek-ai/dsh web
🚀 使用方法
- 重启 DSH 后,打开任意聊天会话
- 在输入框右下角(发送按钮左侧)找到 🔍 搜索按钮
- 点击按钮打开搜索面板
- 输入关键词(如
qwen3.8、glm或平台名百炼) - 列表会实时过滤,只显示匹配的
平台 模型名 - 点击目标模型即可切换当前会话的模型
🧩 工作原理
┌─────────────────────────────────────────────────┐
│ 浏览器 (Client) │
│ │
│ ┌─────────────┐ ┌─────────────────────┐ │
│ │ 🔍 搜索按钮 │────▶│ 搜索面板 (React UI) │ │
│ └─────────────┘ └──────────┬──────────┘ │
│ │ │
│ fetch('/model-search/api/') │
└────────────────────────────────┼────────────────┘
▼
┌─────────────────────────────────────────────────┐
│ DSH 后端 (Host) │
│ │
│ ┌─────────────────────────────────────────┐ │
│ │ GET /model-search/api/models │ │
│ │ POST /model-search/api/switch-model │ │
│ └─────────────────────┬───────────────────┘ │
│ │ │
│ ┌─────────────────────▼───────────────────┐ │
│ │ settings 服务 (读取全部模型配置) │ │
│ └─────────────────────────────────────────┘ │
└─────────────────────────────────────────────────┘
- Host 端 (
index.js):注册 HTTP API 端点,从settings服务读取所有模型源(llm-pi-ai.providers)的完整模型列表 - Client 端 (
client.js):通过conversation.input.right插槽注册搜索按钮,渲染搜索面板,调用connection.api.sessions.selectModel切换当前会话模型
🔧 开发
# 克隆仓库
git clone https://github.com/<你的用户名>/dsh-model-search.git
cd dsh-model-search
# 语法检查
npm run check
# 本地安装测试
dsh plugin --profile web add /path/to/dsh-model-search
项目结构
dsh-model-search/
├── index.js # Host 端:HTTP API(模型列表、切换模型)
├── client.js # Client 端:搜索按钮 + 搜索面板 UI
├── cordis.patch.yml # Cordis 插件注册配置
├── package.json # 包元数据
├── README.md # 本文档
└── LICENSE # MIT 许可证
📄 许可证
MIT © 2025
🙏 致谢
- DeepSeek Harness — DSH 平台
Comments
Loading…
From the same category
DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.
★ 41.7k
↓ 156/wk
MIT
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-reactive-resumeby Tencent
Let AI agents use your real, logged-in browser without interrupting your work. CLI + extension for browser automation across any shell-capable AI agent.
★ 8.6k
↓ 6.1k/wk
MIT
TypeScript
Oct 10, 2026
dsh plugin --profile terminal add @wxg-prc-cpg/browser-skill-dsh-pluginby yjh051108
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
★ 7k
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injectorby Q00
Agent OS: the agent gets smarter on its own. We just hold the line: Interview-gated, staged evaluation, budgeted evolution loop. MCP server, 14 runtimes: Claude Code, Codex CLI, Gemini CLI, OpenCode,
★ 6.2k
MIT
Python
Oct 7, 2026
by dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场
★ 6.1k
↓ 105.5k/wk
MIT
TypeScript
Oct 10, 2026
dsh plugin --profile web add dshmarketby superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
★ 5k
NOASSERTION
Python
Oct 10, 2026
dsh plugin --profile web add treg-dsh