Reorder your own models: drag inside a provider card on the Models settings page, or use the Model order section when another plugin already occupies that card. The order is written through the host settings service with a revision check, so the settings page and the model picker stay in sync. The settings left nav can be reordered by drag as well.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:mengge237/dsh-model-priority
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
This plugin publishes its README in Chinese only.
模型顺序 + 原生列表排序。
- 模型顺序:拖动某个提供方内部的模型;写入走官方 settings(
describe+mutate+ revision),一次拖动 = 一个insertBeforemove。 - 入口是兼容的:
settings.models.provider-card的llm-pi-ai格空闲时直接挂卡片格(和 DeepSeek 卡片同一位置、同款样式);被别的插件(如 web-all「模型能力」)占住时才退回原生设置分区「模型顺序」。 - 设置左导航:可拖拽排序,顺序存
~/.dsh/ui-order.json(GET/PUT /dsh-model-priority/ui-order.json),刷新后保持。
安装
dsh plugin --profile web add github:mengge237/dsh-model-priority
本地开发用 dsh plugin --profile web add link:/path/to/dsh-model-priority,装完重启一次 dsh web。
契约
- 模型顺序只改 settings 里
providers.<route>.models的顺序;没有ctx.settings时返回 503,不写文件。 - 左导航顺序是纯展示数据,不碰宿主配置;key 是导航行标签文本。
- 设置分区用原生
settings.section(idmodel-priority,order 55)。
扩展
lib/lists.js:registerList({ id, read, write })。新增可排序列表 = 注册适配器,move 路由与前端拖动复用。
测试
npm test(不启动宿主)。
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 34394
Adds free model lanes to DeepSeek Harness — DeepSeek V4.1 Flash, Kimi K3 and others — with no login, sign-up or API key, plus a local OpenAI-compatible gateway, fallback routing and a usage dashboard.
V1ki/dsh-plugin-subscriptions★ 491
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
Mars-Sea/dsh-commandcode-provider★ 423
Unofficial Command Code LLM provider: registers a `commandcode` route with a live model catalog and reasoning-effort support.
dingminhua/dsh-connect-workbuddy★ 372
Connects locally signed-in WorkBuddy models to DSH, supports per-model image input opt-in, account switching, and a read-only credits overview with daily check-in.
FishBottle7/opencode2dsh★ 319
Exposes OpenCode Zen free models to DeepSeek Harness, with no API key.
cv-superding/dsh-deepseek-web-login★ 294
Adds a deepseek-web provider that uses chat.deepseek.com web models in DSH, with browser login capture, PoW request signing, SSE streaming, and prompting-based tool calls.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.