dsh-advanced-model-editor
Manifest validDSH WebUI plugin for managing custom LLM providers, model parameters, thinking budgets, and request settings.
dsh-advanced-model-editor
A DeepSeek Harness WebUI plugin that adds an Advanced Model Settings section to the
Settings page. It manages LLM provider profiles across the settings namespaces — the
custom provider namespace (llm-pi-ai) and the official provider namespace
(llm-deepseek) — including built-in and custom providers, model lists,
reasoning/thinking options, headers, retry policy and more, with the same validation
and conflict rules as the official settings UI.

Requirements
- DSH
>= 0.1.7-rc.2— only the current release is supported. There is no backward-compatibility layer for older DSH versions. - Node.js
^22.19 || >=24.
Quick Install (Recommended / One-Line)
Install directly from the GitHub dist branch (pre-built by CI, no manual clone or compilation required):
dsh plugin --profile web add github:u9521/dsh-advanced-model-editor#dist
Then restart web (dsh web) and hard-refresh your browser (Cmd+Shift+R). The plugin appears as Advanced Model Settings in Settings.
Upgrade (Remote Install)
Use the dsh plugin update command to pull the latest dist release:
# upgrade to the latest dist release
dsh plugin --profile web update @local/dsh-advanced-model-editor
# or re-add the dist branch
dsh plugin --profile web add github:u9521/dsh-advanced-model-editor#dist
Then restart web and hard-refresh your browser.
Local Development & Manual Build
Prerequisites
- pnpm installed —
npx get-pnpm(see https://pnpm.io/installation; alternatives:corepack enableornpm install -g pnpm). Required both for building and becausedsh plugin --profile web addforwards to pnpm internally. - Node.js
^22.19 || >=24.
1. Clone
Clone the repository into the recommended location:
git clone https://github.com/u9521/dsh-advanced-model-editor.git ~/.dsh/plugins/dsh-advanced-model-editor
cd ~/.dsh/plugins/dsh-advanced-model-editor
2. Build
The build output (lib/) is not committed to the source branch — build it yourself for local development:
pnpm install
pnpm run build
pnpm run build runs tsc (type check + emit lib/types/) and tsdown (bundle
lib/index.js + lib/client.js) with the project's own dependencies — no DSH source
checkout is needed. The browser half is a self-contained closure factory for the DSH
client module table; the whole platform-module contract lives in tsdown.config.mjs.
Verify the build with:
pnpm test
3. Local Install
dsh plugin --profile web add ~/.dsh/plugins/dsh-advanced-model-editor
Then restart web (dsh web) and hard-refresh the browser (Cmd+Shift+R).
Development & Maintenance Commands
| Command | Description |
|---|---|
pnpm run build | Full build (runs tsc type check + generates lib/ bundles) |
pnpm run check | Type check only (tsc --noEmit) without emitting files |
pnpm test | Full build, then run the test suite (node --test) |
pnpm run fmt | Format source and config files with Prettier |
pnpm run fmt:check | Check code formatting compliance |
Local Source Upgrade
When installed locally, the plugin is linked via link: into the profile. Upgrading local sources only requires pulling the latest commit and rebuilding — no need to re-run dsh plugin add:
cd ~/.dsh/plugins/dsh-advanced-model-editor
git pull
pnpm run build
(If dependencies changed, run pnpm install before building)
Then restart web (dsh web) and hard-refresh the browser (Cmd+Shift+R).
Uninstall
Whether installed from GitHub or linked from local sources, uninstall with:
dsh plugin --profile web remove @local/dsh-advanced-model-editor
Restart web and hard-refresh the browser afterwards. If local sources are no longer needed, you can delete the cloned directory:
rm -rf ~/.dsh/plugins/dsh-advanced-model-editor
License
Comments
Loading…
Similar plugins
by Asuta
DSH web plugin: schema-driven advanced model settings page (settings.section 'model-advanced')
★ 0
TypeScript
Aug 16, 2026
dsh plugin --profile web add @dsh-external/dsh-client-ui-settings-model-advancedDSH plugin: matches a model you declared on a custom gateway to the capability metadata it should have — context window, output cap, reasoning levels and image support — by looking the bare model name
★ 0
dsh plugin --profile web add dsh-model-metadataby HiSeax
DSH plugin: replaces official Models settings page with provider management, per-model reasoning effort, retry overrides, drag reorder, add official DeepSeek, credential status
★ 0
TypeScript
Aug 29, 2026
dsh plugin --profile web add dsh-better-model-settingby EmotionG
为解决dsh导入订阅后配置模型的思考强度等问题而创建的插件
★ 0
TypeScript
Sep 16, 2026
dsh plugin --profile web add dsh-llm-configby Toukaiteio
A DeepSeek Harness plugin that allows you to change the reasoning effort of custom models in WebUI.
★ 4
MIT
TypeScript
Aug 13, 2026
dsh plugin --profile web add dsh-effort-tweakby QJAG1024
DSH plugin: auto-fill metadata (context window, output cap, display name, input modalities) for custom-provider models from the Model Metadata Registry (models.dev)
★ 6
↓ 95/wk
MIT
TypeScript
Aug 16, 2026
dsh plugin --profile web add dsh-model-meta-autofill