Adds an input-modality selector to custom model settings in the DeepSeek Harness Web UI.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-model-capability
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:WJZ-P/dsh-model-capabilities
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
🎛️ dsh-model-capability
Choose a model's supported input modalities directly in DeepSeek Harness.
简体中文 · English
Features
- Adds an Input modalities selector to native Harness model rows.
- Supports provider defaults, text, image, and text-plus-image declarations.
- Writes the standard model
inputfield used by Harness attachment checks. - Extends
settings.models.model.fieldswithout taking over validation or persistence. - Follows Harness light/dark theme tokens and English/Chinese locale state.
- Uses the standard DSH bundle and Web client discovery contracts without Tauri APIs.
Example
The model editor below explicitly declares Text + image input, allowing Harness to treat image attachments as supported model input:
Modality mapping
| Selection | Stored model value |
|---|---|
| Inherit provider default | input omitted |
| Text | ["text"] |
| Text + image | ["text", "image"] |
| Image | ["image"] |
Install
dsh plugin --profile web add dsh-model-capability
dsh --profile web --dump-config
dsh --profile web
Remove the plugin:
dsh plugin --profile web remove dsh-model-capability
Development
pnpm install
pnpm run build
pnpm test
npm pack --dry-run
The current release targets DeepSeek Harness 0.1.0-rc.5, its standard Web client discovery path, and the settings.models.model.fields extension slot.
Marketplace
The ready-to-copy catalog entry, pull-request checklist, and screenshot naming convention are documented in MARKETPLACE.md. Recommended screenshots show the input-modality field and its expanded option list; the marketplace entry references GitHub-hosted image URLs.
Security
The plugin updates only the current model row's input field through Harness's public settings slot. See SECURITY.md for supported versions, issue scope, and private-reporting guidance.
License
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 77498
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.
dingminhua/dsh-connect-workbuddy★ 1695
Connects locally signed-in WorkBuddy models, CN and international alike, to DSH, reading each model's credit multiplier from the upstream catalog on every refresh, with per-model image input toggles, account switching backed by an auto-failing-over pool, manual daily check-in, and read-only credit overviews shown as compact pills on the card and in the composer.
Alice-Marx/dsh-model-router★ 970
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 619
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.
XDTrees/dsh-workbuddy-xdpool★ 547
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool (multi-account rotation, live credits, and a model catalog showing per-model credit multipliers and free/night-discount tags).
XDTrees/dsh-xdpool★ 547
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool: multi-account rotation, 429 cooldowns, live credits, a model catalog with per-model credit multipliers and free/night-discount tags, QR-code login for 13 vendors, and aggregate free-tier channels. Accounts persist across restarts.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.