Model switching, model capability configuration, fixed compaction models, subagent routing, and input history enhancement.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:qq928820655/changmodel
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
Portable DeepSeek Harness plugin for switching models, managing model capabilities, and optionally enabling input-history recall.
Commands
/cmodel [provider|]model[context][/effort]
Examples:
/cmodel gpt-5.6-sol[1m]
/cmodel {gateway}gpt-5.6-sol[1m]
/cmodel openai|{gateway}gpt-5.6-sol[1m]/high
provider|selects an existing Harness provider route. When omitted, the current session provider is retained.{gateway}remains part of the upstream model id. It is not a Harness provider route.[context]sets the model context window./effortis applied only when the configured model supports that reasoning level; unsupported values fall back to the default effort.- Models.dev lookups remove
{...}and[...]decorations.
Settings
The changModel settings page provides:
- Provider-scoped model search, add, edit, and delete.
- Context window, maximum output tokens, text/image capability, and custom reasoning levels.
- Models.dev capability lookup with editable bulk application to matching saved models.
- A fixed summary model selection for context compaction when the target Harness supports compaction.
- Optional input-history recall patch controls.
- Subagent role policies with exact, alias, keyword, and priority matching.
- Unmatched-role fallback to a configured subagent default, the parent session model, or deny dispatch.
- Role-level provider, model, reasoning effort, context window, maximum output, and image capability settings.
- Provider-default and model-level API protocol selection for OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages.
- Subagent configuration is persisted under
llm-pi-ai.changmodelSubagents; the optional dispatch adapter applies matching rules when the target Harness exposes a pre-dispatch hook.
All model capability changes write to the target Harness's own llm-pi-ai settings. No provider credentials, API keys, sessions, or model configuration are bundled in this plugin.
Optional compatibility features
Input-history recall patches the installed dsh-client-ui-conversation only after semantic anchor validation. The patch manager:
- discovers the target component at runtime;
- creates a versioned local backup;
- refuses to patch when expected Harness structures are missing or ambiguous;
- supports status checks and restoration.
Compaction remains optional. A Harness that does not expose an active compaction service continues to support model switching and settings management.
Model-level protocol overrides are enabled through a managed compatibility patch. The page checks the installed llm-pi-ai structure before applying it, stores a hash-protected backup, refuses incompatible upgrades, and can restore the original file. Enabling or restoring this patch requires a Harness restart. Only protocol adapters provided by the installed Harness are accepted; arbitrary request formats are not inferred.
Installation
Install this package using the DeepSeek Harness plugin mechanism. The package declares a web client bundle and a profile bundle patch.
After installation, restart the Harness. Use the changModel settings page to configure optional features for that specific machine.
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 47046
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★ 721
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.
V1ki/dsh-plugin-subscriptions★ 521
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★ 441
Unofficial Command Code LLM provider: registers a `commandcode` route with a live model catalog and reasoning-effort support.
Alice-Marx/dsh-model-router★ 405
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
FishBottle7/opencode2dsh★ 365
Exposes OpenCode Zen free models to DeepSeek Harness, with no API key.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.