DeepSeek Harness Plugin

MoruTeaven/dsh-model-quickslots

Stars ★ 1 Downloads (30d) 791 Category Models & Providers Added 2026-10-17 npm @moruteaven/dsh-model-quickslots

A row of model preset buttons above the composer: left-click switches the session to that preset's provider, model and reasoning effort, right-click opens an editor for it, and each preset can carry a custom name instead of the model id. The editor reads the session's live model catalog, and presets are stored locally.

Install

# from npm (prebuilt)

dsh plugin --profile web add @moruteaven/dsh-model-quickslots

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:MoruTeaven/dsh-model-quickslots

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

English · 简体中文 · 日本語

A row of one-click model preset buttons for the DeepSeek Harness (DSH) composer. Each button is a saved preset — provider + model + reasoning effort. Left-click switches the current session's model; right-click opens the editor.

Features

  • One-click switching — left-click a preset to switch the current session's model and reasoning effort.
  • Custom labels — every preset can carry its own name, so it does not have to read like a model id. Name one "Fast" and another "Deep thinking".
  • Right-click to edit — right-click any preset to change its provider, model, effort, or label.
  • Live model catalog — the editor's dropdowns are populated from the models actually available to the current session. No hardcoded model list.
  • Active preset highlight — the preset matching the session's current model is outlined.
  • Failure feedback — a preset whose switch fails turns red instead of failing silently.
  • Local persistence — presets are stored in the browser's localStorage; no account or sync service involved.
  • Theme aware — styled with DSH theme variables, so it follows light and dark themes.

Demo

Left-click a preset to switch the current session's model:

One-click model switching

Screenshots

Preset buttons sit right above the composer, aligned with the input card:

Preset buttons above the composer

Right-click a preset to edit it — the dropdowns come from your live model catalog:

Editing a preset

Installation

From npm (recommended)

pnpm add @moruteaven/dsh-model-quickslots

Then add the package to your profile's dsh.profile.bundles list and restart DSH.

Via the DSH plugin manager

Open Settings → Plugins, search for @moruteaven/dsh-model-quickslots, and install it.

From source

Two public mirrors are kept in sync — clone whichever is faster for you:

# GitHub
git clone https://github.com/MoruTeaven/dsh-model-quickslots.git

# Gitee (mirror, faster in mainland China)
git clone https://gitee.com/moruteaven/dsh-model-quickslots.git

cd dsh-model-quickslots
pnpm install
pnpm build

Usage

Action Result
Left-click a preset Switch the session to that preset's model configuration
Right-click a preset Open the editor for that preset
Click + Create a new preset
Press Esc Close the editor
Press Ctrl/Cmd + Enter Save the preset

When you have no presets yet, the row shows a single Model presets entry — click it to create your first one.

The button row sits directly above the composer and lines up with the input card's right edge.

Development

pnpm build   # bundle lib/client.js (browser half) and lib/index.js (host half)
pnpm dev     # rebuild on change
pnpm test    # run the self-test suite

The plugin is a pure client-side Web plugin registered into the conversation.input.dock slot. Model switching goes through DSH's own model-directory service, so it behaves exactly like the built-in model picker — including its availability rules and race handling.

License

MIT

Author

抹露茶柒 (MoruTeaven) — me@MoruTeaven.com — www.MoruTeaven.com

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.