minglu6/dsh-provider-qoder

Plugin插件 Native原生 ⭐ 4 MIT Models & Routing模型与路由

Qoder CN adapter plugin for DeepSeek Harness

Project Overview项目介绍

dsh-provider-qoder is a DeepSeek Harness plugin that adds the qoder-cn provider route, converting requests into COSY-signed, WAF-encoded streaming calls against gateway.qoder.com.cn. A Qoder PAT entered on the Models page is exchanged per process for a short-lived job token. Use it to reach Qoder public cloud or an enterprise VPC from any dsh-enabled environment. Caveat: until upstream treats unknown adapter families as API-key cards, the PAT must be supplied via the QODERCN_PERSONAL_ACCESS_TOKEN environment variable instead of the UI field.

dsh-provider-qoder 是 DeepSeek Harness 的 Qoder CN 适配插件,通过 qoder-cn 路由将请求转为 COSY 签名、WAF 编码的流式调用,命中 gateway.qoder.com.cn。Models 页面写入的 PAT 会在进程内换为短期 job token。适用于已部署 dsh 的环境接入 Qoder 公有云或企业 VPC。注意:在上游支持未知适配器为 API Key 卡之前,PAT 需通过 QODERCN_PERSONAL_ACCESS_TOKEN 环境变量注入。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

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

把 minglu6/dsh-provider-qoder 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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 gm51model → glm-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

← 上一个 Prev dsh-safe 下一个 Next dsh-native-playbook →