Introduction¶
DeepSeek Harness (DSH) is a pluggable model inference framework. For users who use both Qoder’s China and international subscriptions, manually managing model lists, quotas, and context windows across the two product lines can be cumbersome. The masknull/dsh-qoder-connect plugin provides a unified integration path, supporting independent configuration for both variants, real-time PAT validation, and immediate saving, so that Qoder’s models can be directly integrated into DSH.
Core Features¶
Independent Configuration for Both Variants¶
The plugin serves both Qoder product lines simultaneously, with a separate settings card, provider, credential set, and model catalog for each, without mixing them.
- China version: The provider ID is qoder; generate the PAT on qoder.com.cn.
- International version: The provider ID is qoder-global; generate the PAT on qoder.com.
The variant without a saved PAT does not display a model group, and the other variant remains completely unaffected.
Real-Time PAT Validation and Immediate Saving¶
After pasting a PAT in the plugin settings card and clicking “Save,” the plugin first performs real-time regional validation for that variant. The PAT is persisted only after it passes validation, after which the model group appears immediately without needing to restart DSH. It supports “Replace PAT” (the new token overwrites the existing one only after passing validation) and “Clear PAT.”
Three-Level Model Catalog Fallback¶
The model list sources have the following priorities:
1. live: fetched in real time.
2. saved: the last successfully fetched catalog for this account (used after a restart or when offline).
3. fallback: a built-in baseline list compiled into the plugin.
If the latest fetch fails, the reason is shown, and manual “Refresh model list” is supported.
One-Click Context Window Toggle¶
The card lists each model’s capacity (default and maximum) and provides an independent “Use the maximum context window declared by the upstream provider” toggle for each model (checked by default).
- Checked: requests use the maximum window (e.g., 1M for Qwen3.8-Max).
- Unchecked: requests use the default window (200K).
The toggle states for both variants are saved independently.
Flexible Model Toggling and Batch Management¶
It provides a “Model Toggles” page where you can freely enable or disable specific models. Disabled models are automatically hidden from the DeepSeek Harness model selector, preventing accidental selection and a bloated list. It supports search by name/ID, select all, and one-click “Enable all” / “Disable all.”
Daily Automatic Check-In and Log Details¶
It supports automatic daily check-in to claim 100 Credits of compute quota. The check-in time can be customized on the card (default: 10:00 UTC+8). It includes dual-side toggles and a startup mechanism to catch up on missed check-ins. A permanent “Check-in Log” panel is displayed on the card, providing an execution history and quick actions.
Sidebar Quota Display and Multiplier Display¶
- Sidebar quota: When enabled, a small quota card for that variant appears at the bottom of the sidebar. Clicking it opens the “Qoder Quota” details in the central panel, where you can view the remaining and total amounts and progress bars for each resource package.
- Multiplier display: The upstream pricing multiplier is appended directly after the model name (e.g.,
Some Model · x0.79), taken from theprice_factorfield in the catalog API.
Installation and Prerequisites¶
Requires DSH core 0.1.7-rc.1 or later, and Node.js ^22.19.0 or >=24.0.0.
Install using the official CLI:
dsh plugin --profile web add github:masknull/dsh-qoder-connect
To specify a profile (such as desktop or tui), replace --profile web with the corresponding profile.
Configuration and Usage¶
- Generate a PAT: Log in to qoder.com.cn (China version) or qoder.com (International version), and generate a Personal Access Token in account settings.
- Save the PAT: In the DSH plugin settings card, paste the PAT into the input field for the corresponding variant and click “Save.”
- Manage models: On the “Model Toggles” page, manage models in bulk, or on the “Context Window” page, adjust the maximum context window toggle.
- Customize check-in: Customize the daily check-in time on the settings card.
Notes¶
- By using it, you assume the risk that your account may be restricted. The plugin is for personal learning and research purposes only.
- The two variant configurations are independent and should not be mixed.
Conclusion¶
With this plugin, DSH users can directly use Qoder’s compute resources for model inference. For more details and the source code, refer to the GitHub repository.