Introduction¶
When running multiple providers and models in DeepSeek Harness (DSH), the built-in model selector in the input box is often only capable of simple switching. With many providers, it is difficult to simultaneously view the current model, balances, or subscription progress of each provider, and it is also hard to quickly filter by name. The community plugin dsh-model-panel (maintainer poloniumn, category: Model Inference) replaces this position with a table panel: it lists models grouped by provider, supports search and collapse memory, and displays balance, plan, and channel points in the header simultaneously; in some scenarios, additional credentials can be configured to read console usage. Below, the positioning, capabilities, installation, and daily usage are explained; facts are based on the repository README and npm package description.
What is it¶
dsh-model-panel is a DSH Cordis Bundle (Web Plugin), licensed under MIT. It hooks into host-provided slots related to model selection (such as dsh-client-ui-model-selection), replacing the original input box’s model selection UI with a searchable provider/model table. Data refresh uses the host loopback interface GET /dsh-model-panel/state.json (cached for 60 seconds); the initial screen can use localStorage and the last-state.json from the host to avoid long waits during cold starts.
Core Features¶
Model Selection and Browsing¶
- Provider Grouping Tree: Follows the order of the DSH model directory; collapse state is stored in the
localStoragekeydsh-model-panel.collapsed. If groups declare ranking fields likeorder/seq, they can be sorted by rank. - Third-party Channels at Bottom: Service providers powered by third-party channels are placed after standard providers.
- Instant Search: Input filters providers and models;
Enterselects the first item, arrow keys move the highlight. - Focus-to-Expand: On first use, only the provider containing the current model is expanded; subsequent manual collapses/expands are remembered, and the group containing the current model is automatically expanded when opening the panel; the current model row is highlighted in brand color.
- Per-Model Thinking Toggle and Intensity: Each row can individually toggle thinking (
dsh-model-panel.off), adjust reasoning effort (dsh-model-panel.efforts), and supports resetting.
Quota, Plans and Channels¶
- The right side of the provider header displays real-time balance, plan progress, and channel points (synchronized with the number of models); if no channel account is configured, it shows “Remaining 0”; if the query fails, it shows “Query Failed”.
- Optional integration with
dsh-connect(WorkBuddy / Trae / Qoder channel points) or Our Free Model (EAC routing points); installation does not affect panel rendering if not installed. - Discount Hints: During low-price hours, the provider header turns light green (does not display the multiplier number); the multiplier is displayed with precise matching per model row and is constrained by the copywriting of each time slot (README lists rules for DeepSeek idle hours, Qwen Token Plan, Xiaomi Token Plan, etc.).
Subtask Gate¶
The bottom line of the panel provides an “Enable Subtasks” toggle for the current session, defaulting to on. When disabled, host-delegated tools (subagent, subagent_oar) are rejected in the current session and sub-sessions; status is stored in the root session, saved in subagent-gate.json in the host cache directory, installed via tools.guard and fail-open.
Balance Display Settings Page¶
Path: Settings → Plugins → Balance Display. Used to save usage credentials that cannot be read via API keys; credentials are written only to the local DSH credential database. Items supported in README include:
| Provider | Credential Key | Content Read |
|---|---|---|
| Qwen Token Plan | Console Cookie (Required) | Plan tier, monthly usage percentage, cycle end time |
| MiMo Token Plan | Console Cookie (Required) | Wallet balance, plan total / monthly usage, cycle end time |
| OpenDesign | Control Key vela_ctrl_… (Required, can be obtained via “Browser Login” in the panel) |
Wallet balance (USD), Coding Plan 5-hour / 7-day window usage |
| OpenDesign | Workspace ID, Console Cookie | Optional; automatically discovered when saving the control key |
Runtime keys for OpenDesign (sk-amr-…) cannot be used to read quotas and must be configured separately from the control key. Related interfaces: GET /dsh-model-panel/settings.json, POST /dsh-model-panel/secret.json (loopback only, with cross-site validation).
Installation and Enablement¶
Choose any of the following methods to load this plugin into the web profile.
Method 1: npm Install (Recommended)¶
- Execute in the web profile directory:
npm install dsh-model-panel
- Register the bundle in
package.jsonof the same profile:
"dsh": { "profile": { "bundles": ["dsh-model-panel"] } }
- Restart Harness; after upgrading, execute
npm update dsh-model-panelbefore restarting.
Method 2: Plugin Manager¶
- Harness UI:
plugin_manager → install_bundle - Fill
targetwith the absolute path of this repository directory - First install can be activated via HMR; replacing an installed copy requires restarting Harness.
Method 3: Local path dependency¶
Register the package name and local path simultaneously in dependencies and dsh.profile.bundles in package.json; effective after restart (see README examples for details).
Typical Usage¶
After installing and restarting, the original model selection position in the input box becomes the table panel.
- Search Models: Input directly to filter;
Enterselects the first item,↑/↓moves the highlight. - Collapse Providers: Click the header to toggle grouping; state is automatically remembered.
- Adjust Thinking and Intensity: Operate the toggle, slider, and reset on the corresponding model row.
- Check Quota: View balance / plan / channel points on the right side of the header; for providers requiring console or control keys, go to the “Balance Display” page, paste credentials, and click “Save and Test”.
Cookie supports multiple paste formats (plain string, Cookie-Editor JSON, Netscape, etc.); OpenDesign control keys can be obtained via the device authorization process (“Browser Login” in the panel) without manually copying web fields.
Suitable Scenarios and Notes¶
Suitable for: Developers who switch between multiple providers and models in DSH for a long time and wish to complete model selection search, fine-tuning of thinking parameters, and keep balance and plan progress in front of their eyes within the same interface.
Notes:
- The plugin injects UI as a background Web package and accesses the loopback interface and credential database with the current DSH process permissions; please read the GitHub source code and MIT license before installation to confirm compatibility with your environment.
- README Note: The author’s subscription capabilities are limited; some balance numbers relying on console cookies may still have errors; issues or PRs are welcome.
- The DSH ecosystem follows the philosophy of “Everything is a Plugin”; SkillHub Directory Page is community-cataloged and has no official affiliation with DeepSeek / Hypersphere.
Conclusion¶
dsh-model-panel extends the model selection from a single-point dropdown to a searchable grouped table, and brings balance, plans, channel points, and model-based thinking control into the same interactive interface; if the usage cannot be fully seen, the “Balance Display” can be used to complete the credentials. For further understanding and installation:
* Directory Page: https://www.skillhub.cn/plugins/poloniumn/dsh-model-panel
* Repository: https://github.com/poloniumn/dsh-model-panel