English | 简体中文
dsh-provider-qoder integrates your Qoder subscription into DeepSeek Harness (DSH), supporting streaming text, reasoning content, and tool calls, with support for both Global and China Qoder services.
The plugin handles authentication and model communication, while tool execution, workspace operations, and permission management are handled by DSH. This project is a community adapter plugin.
- Configure subscription access via Qoder Personal Access Token (PAT).
- Supports both Global (
global) and China (china) services. - Discovers available models for your account, allows selecting enabled models, and displays pricing multipliers and reasoning effort options when reported by the service.
- Supports streaming responses, reasoning content, tool calls, and multi-turn interactions with text-based tool results.
- View account information, personal quota, organization resource packs, and reset dates in Settings.
You will need a running DSH Web environment, an active Qoder subscription, and a PAT matching the selected service region. The DSH profile running the plugin must provide a managed credentials service; when configuring via the settings page, the credential storage must also be writable.
This package declares peer/dependency ranges of DSH packages >=0.1.2-rc.1 <0.2, Cordis >=4.0.2 <5, and React ^18.2.0. The settings UI also depends on the host providing remote credential endpoints and settings slots—please use a DSH version equipped with these interfaces; the ranges above do not imply that every version has been tested.
Once published to npm, run the following in your terminal:
dsh plugin --profile web add dsh-provider-qoderOpen DSH Web, navigate to Settings → Models, locate the Qoder Credentials card at the bottom of the page, and click Edit.
| Service Region | Account Domain |
|---|---|
| Global (default) | qoder.com |
| China (CN) | qoder.com.cn |
Select the region matching your account, enter your Qoder PAT into the input box labeled API Key, and click Save. Note that a Qoder PAT is required here, not an API key from other model providers.
- After saving the PAT and service region, click Edit again.
- Expand Custom Settings and click Fetch Available Models.
- Select the models you want to enable (keep at least one), then click Save.
- Select a Qoder model in the DSH model picker to start chatting.
Fetching models uses the saved PAT and service region. If you switch accounts or regions, save your changes first before fetching models again. The initial model catalog is only a candidate reference; actual available models are subject to account query results. Model multipliers and reasoning effort options are provided by Qoder and may not be available for all models.
Open Settings → Qoder to view account and quota details, and click Refresh to query again. The absence of quota information does not mean zero quota; displayed content depends on data currently returned by Qoder.
Ensure you have restarted the profile where the plugin was installed, and that the profile provides the DSH managed credentials service. If prompted that the storage is not writable, a writable credential store needs to be configured on the host side. The plugin does not read PATs from environment variables.
Verify that the PAT is valid and matches the saved service region. If modified, save first before fetching models. The save action itself does not validate the token. If your account quota is exhausted, you will need to resolve your subscription quota first.
Switching regions does not automatically update your PAT or refetch models. After saving the PAT for the corresponding region, refetch available models, save your selection, and choose an available Qoder model in your conversation.
Automatic retries are managed by DSH. To enable retries, the running profile should include @deepseek-ai/dsh-llm-retry. The plugin reports empty responses, rate limits, server errors, timeouts, and transport errors using DSH's default retry policy; authentication, invalid requests, cancellations, quota issues, and protocol formatting errors are not retried by default.
Run in an environment with Git, Node.js, and pnpm installed. Node.js must support the --experimental-strip-types and --test-isolation=none flags used by the project's test scripts.
git clone https://github.com/mo-n/dsh-provider-qoder.git
cd dsh-provider-qoder
pnpm install --frozen-lockfile
pnpm run buildInstall the built repository directory into your DSH profile. The path below is a placeholder example; replace it with the actual absolute path:
dsh plugin --profile web add /absolute/path/to/dsh-provider-qoderAfter restarting the profile, follow the configuration steps above. If running the CLI within a DSH source workspace, you can use pnpm dsh from that workspace.
For development, run watch mode in the plugin directory:
pnpm run devBefore committing changes, run:
pnpm run checkThis command runs non-UI mocked tests, builds the ESM package and type declarations, checks build artifacts, and previews the package tarball without sending real Qoder model requests or publishing npm packages.
- pi-provider-qoder - Reference implementation for Qoder authentication, API communication, and protocol handling.
Please report issues via GitHub Issues with the plugin and DSH versions, selected service region, reproduction steps, and sanitized error messages. Do not submit PATs, short-lived tokens, or personal account information.
This project is licensed under the MIT License.