dsh-coding-plans

by pengzhou267-ai

0 会话与消息github 检测到 manifest package.json#dsh收录于 08-16

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

Use multiple coding-plan subscriptions (ChatGPT/Codex, Claude, Gemini, …) inside DeepSeek Harness via native OAuth LLM adapters.

安装

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

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

English | 中文

在 DeepSeek Harness 里用 多种 coding plan 订阅,通过 原生 OAuth / Coding 端点 LLM adapter 接入——不依赖 CLIProxyAPI 子进程。

社区插件,与 OpenAI / Anthropic / Google / Moonshot / DeepSeek 均无隶属关系。订阅后端非官方公开 API,可能随时失效,也可能违反厂商 ToS,风险自担。

状态

Provider 状态 认证方式
ChatGPT / Codex 可用 Settings → 使用 ChatGPT 登录(浏览器 OAuth / device code)
Kimi Code 可用 Settings → 使用 Kimi 登录(设备码)或 Advanced API Key
火山方舟 Coding/Agent Plan 可用 Settings → 选套餐 + 粘贴控制台 API Key
智谱 GLM / MiniMax / 百炼 / 腾讯云 占位 欢迎 PR — docs/provider-porting.md
Gemini / Antigravity 占位 欢迎 PR
Claude Max / Pro 压轴(最后) 占位
Copilot / Cursor 后置 —

Codex 已知限制

  • 「已连接」只表示 $DSH_HOME/coding-plans/codex-auth.json 已有凭据。
  • 免费 ChatGPT 账号通常不能跑 Codex 推理;需要付费 coding / Codex 套餐。
  • 额度条依赖访问 chatgpt.com;网络超时不等于未登录。

安装

dsh plugin --profile web add dsh-coding-plans
# 或本地开发:
dsh plugin --profile web add link:/absolute/path/to/dsh-coding-plans
dsh web

或:

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

完整步骤见 INSTALL.md。

怎么用

  1. Settings → Coding Plans
  2. Codex:使用 ChatGPT 登录;Kimi:使用 Kimi 登录;方舟:选 Coding/Agent Plan 并保存 API Key
  3. Models 选 coding-plans-codex / coding-plans-kimi / coding-plans-ark(Agent 为 coding-plans-ark-agent)

CLI:

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

架构

对照成熟开源(pi-ai、CLIProxyAPI kimi/codex、dsh-codex 等)移植协议,用 ctx.llm.registerAdapter 挂到 dsh。详见 docs/design.md。

License

Apache-2.0

原始 README: https://github.com/pengzhou267-ai/dsh-coding-plans/blob/main/README.zh.md ↗