Preface¶
DeepSeek Harness (DSH) keeps the conversation loop, compression, and permissions in the host, while model providers are integrated through community plugins. If you already have a Qoder subscription and want to use the same model services as Qoder CLI within DSH, without separately maintaining a CLI workflow, you need a path of “PAT verification → provider registration → appearing in the model selector.”
The following introduces the community plugin dsh-qoder-plugin (maintainer: road-kid, category: model inference). It uses Personal Access Tokens (PAT) to attach Qoder models into DSH. The domestic and international versions each have their own set of credentials and model catalogs, which are not mixed. Streaming output, reasoning content, and tool calls go through the plugin’s built-in transport layer, while conversation and permissions remain controlled by DSH itself.
What is this¶
dsh-qoder-plugin is a community plugin for DSH, with package name dsh-qoder-plugin, and profile line id qoder-plugin. The same installation package serves two Qoder product lines:
| Variant | provider id | PAT generation site |
|---|---|---|
| Domestic version | qoder |
qoder.com.cn |
| International version | qoder-global |
qoder.com |
You only need to configure the variant you need: the variant without a saved PAT will not display model groups, and the other version is unaffected. Repository note: this plugin has been renamed from dsh-connect-qoder-x to dsh-qoder-plugin; starting from 0.6.0, the profile line id changed from llm-qoder-x to qoder-plugin. After reinstalling, you need to re-enter “Configure” in the plugin manager; providers and selected models are generally unaffected.
Common identifiers (used during installation, troubleshooting, and checking data directories):
| Item | Value |
|---|---|
| Data directory | <profile>/.dsh-qoder-plugin/ |
| HTTP route prefix | /plugins/dsh-qoder-plugin/* |
| CLI command | dsh-qoder-plugin |
Core Features¶
PAT and Dual Regions¶
- Paste the PAT in the settings card and click “Save”: the plugin first performs real-time validation against the variant’s region, and only persists it if it passes. Model groups appear immediately, no need to restart DSH.
- Supports “Replace PAT” (the new token is only overwritten after validation passes) and “Clear PAT”.
- Environment variable fallback (only effective when the variant has not previously saved a credentials file): domestic version
QODER_CN_PERSONAL_ACCESS_TOKEN, international versionQODER_PERSONAL_ACCESS_TOKEN; priority is file > env.
Model Catalog and Toggles¶
The model list uses a three-level fallback: live → saved → fallback: the card will indicate whether the list comes from real-time fetching, the last successfully saved catalog, or the built-in fallback list. On failure, you can view the reason and manually “Refresh model list”.
The “Models” card lists all models for the variant in Qoder’s official order, with per-row toggles; disabled models are hidden from the DSH model selector. Each row has a draggable context window slider (snaps to declared tiers like 200K / 400K / 1M on release). Changes are staged first and submitted together with toggles via “Save settings”; an “Unsaved N items” bar appears at the bottom when there are unsaved changes.
Price multipliers from the Qoder catalog (e.g., x0.79) can be displayed next to model names. This is display-only and does not affect requests.
Daily Check-in and Credits¶
- You can claim 100 Credits daily; the claiming window is 10:00 → next day 10:00 (UTC+8). Auto check-in is disabled by default and can be enabled in “Advanced settings”; “Check-in time” controls both the domestic and international windows uniformly.
- International version check-in requires the Qoder desktop client to be installed on the local machine (the international service requires a device risk-control identity generated by the client). If not installed, the plugin will prompt to install the client rather than falsely reporting “no activity today”. The domestic version has no such requirement.
- When using Qoder models, a
Qoder · Remaining creditsreading may appear in the input box toolbar; clicking expands a read-only credits panel (plan, remaining/total, expiration, etc.). Whether to show credits in the conversation is controlled by a local preference toggle in “Advanced settings”.
Installation and Enablement¶
Prerequisites (subject to the plugin’s package.json and README):
- DSH core
>=0.1.7-rc.1 <0.3.0(both 0.1.7 and 0.2.x work; validated againstpeerDependenciesat install time). - Node.js
^22.19.0 || >=24.0.0. - A Qoder account and at least one PAT.
Starting from DSH 0.1.7, plugin configuration is located in the “Installed” group on the “Plugins” page; click into the package details, and the settings body is inline below the description. If you can’t find the entry in the old “Settings”, this is a version difference — on 0.1.5 / 0.1.6 the host capability may still work, but the settings card slot doesn’t exist.
Install from GitHub (replace web / desktop / tui according to your profile):
dsh plugin --profile web add github:road-kid/dsh-qoder-plugin
You can also install from npm:
dsh plugin --profile web add dsh-qoder-plugin
Data is stored in the directory of whichever profile you install it to, independent from each other. It can coexist with other Qoder-type plugins (package name, line id, routes, and data directory are independently named).
Typical Usage¶
1. Generate a PAT¶
- Domestic version: Log in to qoder.com.cn → Account settings → Personal Access Tokens; you can also use the direct link in the documentation qoder.cn/account/integrations.
- International version: Log in to qoder.com → Account settings → Personal Access Tokens; qoder.com/account/integrations.
2. Save and select models in the plugin page¶
- Open the DSH “Plugins” page → Installed → dsh-qoder-plugin → Configure.
- In the “Account” card, switch between domestic/international versions, paste the corresponding PAT, and click “Save” (shows “Verifying and saving…”).
- In the “Models” card, enable the models you need, adjust context windows, and click “Save settings”.
- In a conversation, select a model under
qoderorqoder-globalfrom the DSH model selector to start chatting.
On validation failure: Qoder rejections will indicate the PAT is invalid or expired; network or 5xx errors will indicate connection failure and the token will not be mistakenly saved.
3. Optional: environment variables and server-side scenarios¶
When you can’t fill in the PAT in the UI, you can set the environment variables mentioned above, provided the variant’s credentials file has not yet been written. Data and credentials default to <profile>/.dsh-qoder-plugin/; you can override the data directory with DSH_QODER_DATA_DIR.
Use Cases and Notes¶
Who it’s for: Developers who already subscribe to Qoder models, want to chat in DSH’s unified interface, and need dual domestic/international regions, model toggles, context windows, and check-in/credit overviews.
Runtime: Like other DSH plugins, the code runs with the permissions of the current DSH process; before installing, please review the GitHub repository source code and the MIT license to confirm that the PAT and local data directory (including .qoder-auth.json etc.) meet your security policy.
Ecosystem note: The DSH community plugin directory (such as SkillHub) is an independent listing site with no official affiliation with DeepSeek / High-Flyer; whether a plugin can be found in the marketplace depends on the marketplace index configured in DSH, and simply publishing to npm does not guarantee it will be “discovered” and searchable.
Conclusion¶
dsh-qoder-plugin integrates Qoder subscriptions into DSH via PAT: dual-provider isolation, catalog fallback, model toggles and windows, check-in and input-box credit readings, all completed in the three settings cards on the “Plugins” page. For details, changelog, and issues, see the repository README and CHANGELOG.md.
- Community directory page: skillhub.cn/plugins/road-kid/dsh-connect-qoder-x (the listing name may still be the old repository path; installation follows
dsh-qoder-pluginin the README) - Source code and documentation: github.com/road-kid/dsh-qoder-plugin