Replaces the chat input model picker with a provider-grouped, collapsible list: groups models by provider, folds vision-bridge mirror providers back into their upstream, and carries the reasoning-effort options each model declares in settings. Tested on DSH Desktop only; the DSH web build is untested.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:ZZJQ678/dsh-model-picker
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
A collapsible, provider-grouped model picker for DSH.
Scope: tested only on DSH Desktop (whose profile is named
web). The web build of DSH has not been tested and is not guaranteed to work.Origin: this plugin — code, tests and docs — was written entirely by DSH's
deepseek-4.1-flashmodel.
It replaces the native model picker at the bottom-right of the chat input with a list grouped by provider: collapsible per group, searchable, and carrying each model's own reasoning-effort options as declared in settings.
Features
- Grouped by provider, with the model count on each group header
- Collapsible: only the group holding the current model starts expanded
- Merges mirror providers:
(modlens vision)style vision-bridge mirrors are folded back into their upstream provider, so no provider is listed twice - Two vision badges, both inherited from settings:
- "Vision" — the model declares image input in settings
- "Vision bridge" — the model declares no vision, but a bridge covers it
- Mutually exclusive; neither is shown when settings declare nothing
- Search over provider name/ID and model name/ID, auto-expanding matches
- Per-model reasoning effort, inherited from settings; switching models carries that model's default effort
- Failures are visible: when the provider catalog cannot be loaded, the reason is shown with a retry button
Install
dsh plugin --profile web add "github:ZZJQ678/dsh-model-picker"
Then restart DSH Desktop (or use "Restart Harness" in the app). The patch layer hot-reloads, but the bundle list is fixed at startup — adding a bundle only enters the front-end boot graph after a restart; pressing F5 is not enough.
The desktop profile is named web (not desktop); its directory is
%APPDATA%\dsh-desktop\harness\profiles\web.
Uninstall
dsh plugin --profile web remove dsh-model-picker
The native model picker returns automatically.
Design notes
- View only, never data: the catalog, selection and reasoning effort all
reuse the official
ctx.modelDirectoriesservice, so this plugin shares one session-level catalog with the native picker and modifies no provider plugin. - Never disabled while loading: only the
lockedstate disables the trigger, matching the native picker. - Throws instead of rendering a dead shell: registered at
priority: -1over the native entry, so a failure abdicates the slot and the native picker takes over. - Official component library (
@deepseek-ai/dsh-client-ui-primitives) and DSH CSS variables, so it follows light/dark themes.
See README.md (Chinese) for the full engineering notes, including the real-browser pitfalls that shaped this implementation.
License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 7809
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 7809
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
omdsh-dev/DSH-better-sidebar★ 3680
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
ccch1mneyyy/dsh-TUI★ 3110
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 2750
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1359
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.