minglu6/dsh-provider-qoder0

dsh-provider-qoder

Qoder CN adapter plugin for DeepSeek Harness: COSY-signed, WAF-encoded streaming against gateway.qoder.com.cn

AI 분석

核心用途是接入 gateway.qoder.com.cn 接口服务。适合需要使用 Qoder 平台模型、拥有 PAT 凭据的特定企业或开发者用户。

패키지
dsh-provider-qoder
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 21.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:minglu6/dsh-provider-qoder

dsh-provider-qoder

Qoder CN adapter plugin for DeepSeek Harness.

Installs the qoder-cn provider route: COSY-signed, WAF-encoded streaming against gateway.qoder.com.cn. A Qoder PAT (pt-...) is stored through the Models page and exchanged per process for a short-lived job token.

Install

From a machine that already has dsh and pnpm:

dsh plugin --profile web add github:minglu6/dsh-provider-qoder
dsh web

Then Settings → Models → Add provider → qoder-cn. Paste a PAT. Public cloud needs only the PAT; enterprise VPC can be set in settings.yaml (llm-qoder.vpcInstance).

The Models page key field for third-party adapters requires a DeepSeek Harness build that treats unknown adapter families as API-key cards. Until that lands upstream, export QODERCN_PERSONAL_ACCESS_TOKEN.

Remove:

dsh plugin --profile web remove dsh-provider-qoder

From a DeepSeek Harness checkout:

pnpm dsh plugin --profile web add github:minglu6/dsh-provider-qoder
pnpm dsh web

Config

The plugin registers the llm-qoder settings namespace. Connection facts resolve per request. Leave gateway and OpenAPI URLs empty for public cloud.

Unless models is configured, the adapter fetches Qoder's signed live catalog from /algo/api/v2/model/list whenever DSH lists the provider. Newly released wire keys such as gmodel therefore appear without a plugin update; known wire keys retain stable selector ids such as gm51modelglm-5.2. Exact-model resolution reuses the latest successful catalog in the current process.

models remains an optional complete static override for deployments that intentionally pin the selector catalog. It replaces live discovery rather than extending it. Authentication, transport, invalid JSON, and empty-catalog failures surface as discovery errors instead of falling back to an obsolete built-in list.

License

MIT