pengzhou267-ai/dsh-coding-plans

Plugin插件 Native原生 ⭐ 2 Apache-2.0 Models & Routing模型与路由

通过原生OAuth LLM适配器,在DeepSeek Harness中使用多个编码计划订阅(ChatGPT/Codex、Claude、Gemini等)。

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH) that lets DSH connect to multiple third-party coding plan subscriptions via native OAuth and LLM adapters, eliminating the need for a CLIProxyAPI subprocess. To install the plugin, you can run the DSH CLI command dsh plugin --profile web add github:pengzhou267-ai/dsh-coding-plans directly, or clone the repository locally and install it via a local path link. Currently, ChatGPT/Codex, Kimi Code, and Volcengine Ark Coding/Agent Plan are fully supported, while other providers are only implemented as stubs that welcome community pull requests to add new provider support.

This plugin is built for DSH users who want to access multiple third-party coding LLMs directly from their DSH instance without setting up separate proxy tools. After installation, users can navigate to the Settings > Coding Plans menu, complete authentication via browser OAuth, device code flow, or pasting an API key depending on the provider they choose. Once authenticated, they can select the registered coding model from DSH’s model list to start using it, or use the provided CLI commands to check login status and list different available plans.

This project is released under the open-source Apache-2.0 license, and it is a community-maintained plugin that is not affiliated with any of the supported LLM providers. Users should note that all upstream API integrations here are unofficial, and may break or violate the provider’s terms of service, so use of the plugin is at your own risk. Specifically for Codex, free ChatGPT accounts do not have access to Codex inference capability, so a paid ChatGPT subscription is absolutely required to use the Codex adapter.

这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,核心功能是让 DSH 通过原生 OAuth 或 LLM 适配器接入多个第三方编码计划订阅服务,不需要通过 CLIProxyAPI 子进程调用。目前已完成 ChatGPT/Codex、Kimi Code、字节跳动火山引擎 Ark 编码/智能体计划的适配,其余服务商的接入仍为占位桩状态,项目开放接受开发者提交 PR 贡献新适配。

对于需要使用不同第三方编码大模型服务的 DSH 用户,该插件简化了多服务商模型接入流程。用户完成安装后,可以进入插件设置页面,按对应服务商的要求完成 OAuth 授权或者填入 API 密钥,之后就可以在模型列表里选择对应编码模型使用,也可以通过 CLI 命令完成登录、状态查询等操作。

该插件采用 Apache-2.0 许可证开源,属于社区开发的非官方插件,不与 OpenAI、DeepSeek 等任何上游厂商关联。需要注意的是,项目内的上游 API 都属于非官方实现,可能违反对应厂商的服务条款,使用需要自行承担风险,且免费 ChatGPT 账号无法使用 Codex,需付费订阅才能推理。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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 dsh-coding-plans

把 pengzhou267-ai/dsh-coding-plans 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-coding-plans

中文 | English

Use multiple coding-plan subscriptions inside DeepSeek Harness via native OAuth / coding-endpoint LLM adapters — no CLIProxyAPI subprocess.

Community plugin; not affiliated with OpenAI, Anthropic, Google, Moonshot, or DeepSeek. Upstream APIs are unofficial and may break or violate vendor ToS — use at your own risk.

Status

Provider Status Auth
ChatGPT / Codex Ready Settings → Sign in with ChatGPT (browser OAuth / device code)
Kimi Code Ready Settings → Sign in with Kimi (device flow) or Advanced API key
Volcengine Ark Coding/Agent Plan Ready Settings → pick plan + paste console API key
Zhipu GLM / MiniMax / Bailian / Tencent Stub PRs welcome — docs/provider-porting.md
Gemini / Antigravity Stub PRs welcome
Claude Max / Pro Deferred (last) Stub
Copilot / Cursor Later —

Codex caveats

  • Connected only means credentials exist under $DSH_HOME/coding-plans/codex-auth.json.
  • Free ChatGPT accounts usually cannot run Codex; a paid plan is required for inference.
  • Quota UI needs reachability to chatgpt.com; a network timeout does not mean you are signed out.

Install

dsh plugin --profile web add dsh-coding-plans
# local checkout:
dsh plugin --profile web add link:/absolute/path/to/dsh-coding-plans
dsh web

or:

dsh plugin --profile web add github:pengzhou267-ai/dsh-coding-plans

See INSTALL.md.

Usage

  1. Settings → Coding Plans
  2. Codex: Sign in with ChatGPT; Kimi: Sign in with Kimi; Ark: pick Coding/Agent Plan and save API key
  3. Models → coding-plans-codex / coding-plans-kimi / coding-plans-ark (Agent: coding-plans-ark-agent)
dsh-coding-plans login codex
dsh-coding-plans login kimi
dsh-coding-plans login ark --api-key <key> --plan coding
dsh-coding-plans login ark --api-key <key> --plan agent
dsh-coding-plans status ark
dsh-coding-plans list

Architecture

TypeScript ports of mature OAuth/protocol implementations (pi-ai openai-codex, CLIProxyAPI kimi/codex patterns, dsh-codex), registered with ctx.llm.registerAdapter. See docs/design.md.

License

Apache-2.0

← 上一个 Prev dsh-companion-enterprise 下一个 Next DSH-shutdown →