dsh-model-quickslots: One-Click Switch Between Model Presets Above the DSH Input Box

Preface

When writing conversations or running agents in DeepSeek Harness (DSH), selecting the model, provider, and reasoning effort often requires navigating through several layers in the built-in selector. With multiple sessions, it’s also not intuitive to tell “which configuration is used this time.” Below we introduce the community plugin @moruteaven/dsh-model-quickslots: it adds a row of preset buttons above the Composer input box. A left click switches the current session’s model; a right click edits the preset, and custom display names are supported.

What is this

@moruteaven/dsh-model-quickslots is maintained by MoruTeaven (抹露茶柒) and categorized as a client plugin. It registers a pure browser-side web plugin into DSH’s conversation.input.dock slot, displaying a row of “model preset” buttons aligned above the input card. Each preset stores provider, model, and reasoning effort; switching uses DSH’s built-in model-directory service, and the behavior matches the built-in model selector (including availability rules and race handling).

Community directory page: dsh-model-quickslots (SkillHub). Source and docs: GitHub — MoruTeaven/dsh-model-quickslots. Licensed under MIT.

Core Features

The capabilities explicitly listed in the documentation are as follows.

  1. One-click switching: Left-click a preset to switch the current session to that preset’s model and reasoning effort.
  2. Custom labels: Each preset can be named individually (e.g., “Fast”, “Deep thinking”), instead of showing the raw model id.
  3. Right-click to edit: Right-click a preset to modify its provider, model, effort, or label; the dropdown options in the edit dialog come from the model directory actually available in the current session, with no hardcoded list.
  4. Current preset highlight: The preset matching the current session’s model is highlighted with an outline.
  5. Failure feedback: On switching failure, the button turns red instead of failing silently.
  6. Local persistence: Presets are stored in the browser’s localStorage, without relying on accounts or sync services.
  7. Theme-aware: Uses DSH theme variables and adapts to light/dark themes.

Installation and Activation

Installing via npm is recommended. Run the following in the environment where your project or Profile resides:

pnpm add @moruteaven/dsh-model-quickslots

Then add this package to the Profile’s dsh.profile.bundles list and restart DSH to enable it.

You can also open Settings → Plugins in DSH, search for @moruteaven/dsh-model-quickslots, and install it.

The plugin runs within the current DSH process and browser context; before installation, review the GitHub repository source and MIT license yourself to confirm it meets your security and compliance requirements. DSH community plugin directories (such as SkillHub) are independent sites and have no official affiliation with DeepSeek / High-Flyer.

Typical Usage

The button row sits right above the Composer, aligned with the right edge of the input card. When there are no presets, the row shows a Model presets entry; clicking it creates the first preset. You can also click + to create one.

Action Effect
Left-click a preset Switches the session to that preset’s model configuration
Right-click a preset Opens the editor for that preset
Click + Creates a new preset
Esc Closes the editor
Ctrl/Cmd + Enter Saves the preset

After setting up several common combinations via the steps above, day-to-day you can simply left-click the buttons to switch between presets like “fast answer” and “deep thinking”; when you need to change the model or notes, use a right click—no need to enter the built-in selector every time.

Use Cases and Notes

Suitable for: Developers who frequently switch between different provider/model/reasoning effort settings within the same DSH session; users who want to differentiate purposes with short labels and reduce click paths.

Notes:

  • Presets exist only in the local browser’s localStorage; switching browsers or clearing site data will lose them, so back up or recreate them yourself.
  • The model list in the editor changes with the models available in the current session; when a model is unavailable or switching fails, rely on the UI feedback (e.g., the button turning red).
  • The package depends on DSH client injection capabilities (such as @deepseek-ai/dsh-api-session-controller, etc.) and must be compatible with the DSH version you are using.

Conclusion

@moruteaven/dsh-model-quickslots packages “provider + model + reasoning effort” into a row of presets above the input box: left-click to switch, right-click to edit, local persistence, and it follows DSH’s theme and model directory. If you frequently change models in the Harness, you can install it via npm or the plugin manager and try it above the Composer.

  • Directory page: https://www.skillhub.cn/plugins/MoruTeaven/dsh-model-quickslots
  • GitHub: https://github.com/MoruTeaven/dsh-model-quickslots
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye