Preface¶
Running agents in DeepSeek Harness (DSH) typically requires separate configuration of API Keys or Tokens for various model providers. If you have already subscribed to models such as Qwen, DeepSeek, Kimi, GLM, or MiniMax within the Qoder CN desktop App, these capabilities are by default restricted to the Qoder client, with no official entry point provided to connect the same account to DSH.
The community plugin dsh-qoder-connect (maintained by YSwo-fei, GitHub repository YSwo-fei/dsh-qoder-connect, current version 0.5.0, MIT License) aims to solve this. provided that you are already logged into Qoder CN locally, it automatically discovers credentials and renews them, registering gateway models as the qoder provider for DSH, exposing them as an OpenAI Chat Completions compatible interface. It is categorized as a Model Inference plugin.
The following introduces its positioning, capabilities, and installation usage. For parts involving protocols and account risks, please refer to the disclaimer in the repository’s README.
What is this¶
DSH Qoder CN Connect is a “zero-config” bridge: no API Key entry, no separate login, and no PAT required. The plugin reads encrypted credential files from the local Qoder CN desktop client and, combined with WASM signing and WAF encoding, accesses the Qoder gateway. It provides capabilities within DSH such as approximately 14 models, large context window tiers, web search, and image upload.
The project has no affiliation with Qoder, DeepSeek, or DeepSeek Harness. The implementation is based on analysis of the Qoder CN client’s local files and network protocols; upstream changes may cause it to fail. The plugin reads and writes credentials and configurations on your local machine with the permissions of the process running DSH. Please review the source code and license before installing and enabling it.
Core Features¶
The following are derived from the repository README and package.json descriptions.
Credentials & Models¶
- Automatic Credential Discovery: Decrypts
%APPDATA%\com.qodercn.app.stable\auth.v1.dat(DPAPI + AES-256-GCM) and maintains a local copy at<DSH_HOME>/.qoder-auth.json. It selects from dual sources, mirrors on startup, and automatically callsdeviceToken/refreshfor renewal if expiration is less than 5 minutes away. - 14 Models: Fetches the list in real-time from the official directory, using a built-in fallback if it fails. Simply select provider
qoderin DSH to use them. - Context Tiers: The directory supports 200K / 400K / 1M. The default allows the maximum tier (configurable per model via the
contextTiersetting).
Agent Capabilities¶
- Web Search: Can be registered as a web search provider for DSH (default
webSearch: true), using the Qoder search endpoint. - Image Upload: Inline base64 images in conversations can be uploaded to Qoder image storage for OSS URLs, with a fallback on failure (default
imageUpload: true). - Turn Identity: Reconstructs
business.id/stageto facilitate Qoder points panel aggregation by turn. - Reasoning Effort Probing: Tests the actual accepted effort levels for each model.
Account & Interface¶
- Quota / Check-in: Queries remaining points and subscription plans; supports automatically claiming daily rewards (default 30-minute polling,
autoCheckIn: true). - Graphical Interface: The DSH plugin details page provides tabs for Account, Quota, Models, Tiers, Search, Images, etc.
- Command Line:
status,doctor,models,ask,refresh,logout,credits,checkin,search,upload, etc.
Environment Requirements¶
| Item | Requirement |
|---|---|
| OS | Windows (Credential decryption relies on Windows DPAPI) |
| Qoder | Qoder CN (qoder.com.cn) desktop App installed and logged in at least once; the international version qoder.sh is not supported |
| DSH | DeepSeek Harness installed |
| Node.js | ^22.19.0 \|\| >=24.0.0 |
Installation & Activation¶
The repository README provides two mounting methods; the core concept is to depend on the plugin as a local package within the profile.
Method 1: As a profile bundle (Recommended)¶
After placing the plugin source code in a local directory, edit <DSH_HOME>/profiles/<profile>/package.json:
{
"dependencies": {
"dsh-qoder-connect": "file:/Absolute/Path/dsh-qoder-connect"
},
"dsh": {
"profile": {
"bundles": [
"dsh-qoder-connect"
]
}
}
}
Run pnpm install in the profile directory, then restart DSH.
Method 2: Place in plugin directory¶
Copy the entire plugin directory to <DSH_HOME>/.dsh/plugins/dsh-qoder-connect, and reference it in the profile’s dependencies and bundles as shown above.
After restarting, open Settings → Plugins → DSH Qoder CN Connect, where you should see the account and model lists.
Typical Usage¶
Health Check & Trial Run¶
# Healthy only if all four items are green
dsh plugin --profile desktop exec dsh-qoder-connect doctor
# View model directory
dsh plugin --profile desktop exec dsh-qoder-connect models
# Directly initiate an inference
dsh plugin --profile desktop exec dsh-qoder-connect ask qfmodel "Hello"
In a DSH conversation or agent, simply select provider qoder and then choose the specific model.
Common CLI Commands¶
dsh-qoder-connect status # Overview of credentials / models / quota
dsh-qoder-connect doctor [--json] # Item-by-item health check
dsh-qoder-connect models [--json] # Model directory
dsh-qoder-connect ask <model> <content> # Single inference
dsh-qoder-connect refresh # Renew immediately
dsh-qoder-connect logout # Delete local credential copy (does not affect desktop App login)
dsh-qoder-connect credits [--json] # Quota and plan
dsh-qoder-connect checkin # Check in immediately
dsh-qoder-connect search "query" # Web search
dsh-qoder-connect upload ./image.png # Upload image
Optional Configuration¶
Adjustments can be made in the DSH plugin configuration or the profile’s cordis.patch.yml, for example:
| Key | Default | Description |
|---|---|---|
autoCheckIn |
true |
Automatically claim daily rewards |
hideModels |
[] |
Model IDs to hide in DSH |
contextTier |
{} |
Per-model context tiers, e.g., {"qfmodel": 1000000} |
webSearch |
true |
Register Qoder as web search provider |
imageUpload |
true |
Auto-upload inline images to image storage |
accountIntervalMs |
30 minutes | Quota / check-in polling interval |
uid / token should generally be left empty for automatic discovery; manual specification is only for special requirements.
Use Cases & Cautions¶
Who it is for: Developers on Windows who already use a Qoder CN desktop subscription and wish to run agents / tool calls / web searches within DSH using the same account, and who accept the risks associated with unofficial bridging solutions.
Credentials & Compliance: The README explicitly states that the protocol is derived from reverse analysis and may violate Qoder’s Terms of Service; risks regarding account restrictions or point forfeiture are borne by the user. Credentials are decrypted and renewed locally, and requests are sent to the official Qoder domain, but the code is public and requires self-audit. lib/wasm_prelude.mjs comes from the Qoder CN client’s WASM signing module; copyright belongs to Qoder. Those concerned can extract it themselves from the local installation directory as documented.
After deleting the desktop App: The local copy and auto-renewal allow the plugin to continue working even after the desktop App is uninstalled, until the refresh token expires for a long time (approx. one year magnitude), requiring a re-login in the desktop App.
DSH Ecosystem: DSH adopts an “everything is a plugin” philosophy; the SkillHub Directory Page is a community collection and has no official affiliation with DeepSeek / High-Flyer.
Conclusion¶
The value of dsh-qoder-connect lies in connecting desktop subscription models, search, and image hosting capabilities to DSH’s qoder provider with minimal configuration, provided that Windows + Qoder CN is already logged in. Please read the repository disclaimer in full before use and review the code locally before enabling.