在 DSH 原生模型选择器中注册方舟 Agent Plan、Coding Plan 与后付费模型路由。
安装
# npm 包(预构建)
dsh plugin --profile web add @volcengine/ark-plan-api
# Release 预构建包
dsh plugin --profile web add "https://github.com/volcengine/ark-cli/releases/download/dsh-plugins%2Fv0.1.0/ark-plan-api.tgz"
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:volcengine/ark-cli#path:/dsh-plugins/ark-plan-api
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
A DeepSeek Harness (DSH) cordis plugin that registers Volcengine Ark model provider routes on the native llm-pi-ai adapter. After install and an API key, Ark Agent Plan, Coding Plan and postpaid models appear directly in DSH's model picker — no extra configuration beyond pasting the key.
火山方舟模型路由插件。在 DSH 原生模型选择器中注册方舟 Agent Plan、Coding Plan 与后付费模型路由;安装后填入 API Key 即可使用,无需额外配置。
Features / 功能
- Agent Plan —
doubao-seed-evolving,doubao-seed-2.1-pro,deepseek-v4-proand more via the Agent Plan endpoint. - Coding Plan — Coding-optimized models for both cn-beijing and BytePlus regions.
- Postpaid (后付费) — Direct pay-as-you-go access to Ark foundation models.
- Native picker integration — All providers show up alongside built-in ones in Settings → Models, no model IDs to memorize.
- Anthropic Messages wire protocol — Uses the same Messages API shape DSH uses for Anthropic, so tool use, vision and streaming work out of the box.
Install / 安装
From npm (recommended / 推荐)
npx -y @deepseek-ai/dsh plugin --profile web add @volcengine/ark-plan-api
From GitHub Release
npx -y @deepseek-ai/dsh plugin --profile web add https://github.com/volcengine/ark-cli/releases/download/dsh-plugins%2Fv0.1.0/ark-plan-api.tgz
Via awesome-dsh-plugin registry
npx -y @deepseek-ai/dsh plugin --profile web add volcengine/ark-cli#ark-plan-api
From a local clone (development / 开发用)
npx -y @deepseek-ai/dsh plugin --profile web add ./dsh-plugins/ark-plan-api
Restart DSH after install, then open Settings → Models, pick an Ark provider and paste your API key. Each route reads its key from a separate env var (see table below); the Models UI writes the key to the correct name automatically.
安装后重启 DSH,打开 Settings → Models,选择 Ark provider 并粘贴 API Key。每条路由从独立的环境变量读取密钥(见下表),Models 设置页会自动写入对应变量。
Providers / 提供的模型路由
| Route ID | Purpose / 用途 | Base URL | API Key Env |
|---|---|---|---|
ark-agent-plan-cn |
Agent Plan (cn-beijing) | https://ark.cn-beijing.volces.com/api/plan |
ARK_AGENT_PLAN_CN_API_KEY |
ark-coding-plan-cn |
Coding Plan (cn-beijing) | https://ark.cn-beijing.volces.com/api/coding |
ARK_CODING_PLAN_CN_API_KEY |
ark-coding-plan-byteplus |
Coding Plan (BytePlus/海外) | https://ark.ap-southeast.bytepluses.com/api/coding |
ARK_CODING_PLAN_BYTEPLUS_API_KEY |
ark-cn |
Postpaid API 后付费 (cn-beijing) | https://ark.cn-beijing.volces.com/api/v3/compatible |
ARK_CN_API_KEY |
ark-byteplus |
Postpaid API 后付费 (BytePlus/海外) | https://ark.ap-southeast.bytepluses.com/api/v3/compatible |
ARK_BYTEPLUS_API_KEY |
Default wire protocol is the Anthropic Messages API. Base URLs intentionally omit the /v1 suffix — pi-ai hands baseURL straight to the Anthropic SDK, which appends /v1/messages.
默认走 Anthropic Messages 协议。baseURL 已省略 /v1 后缀,pi-ai 会将其直接传给 Anthropic SDK,由 SDK 拼接 /v1/messages。
Requirements / 前置条件
- DSH ≥ 0.1.0
- Node.js ≥ 22.19.0 (ships with DSH)
- A Volcengine Ark API key with access to the corresponding endpoint
License
Apache-2.0 © 2025-2026 Beijing Volcano Engine Technology Co., Ltd.
链接
同类插件
V1ki/dsh-plugin-subscriptions★ 318
把 ChatGPT(Codex)、Claude、Grok 订阅当作 DeepSeek Harness 的 LLM 提供方:设置页登录、模型目录、用量展示,以及 image_generate、video_generate 与 x_search 工具。
Mars-Sea/dsh-commandcode-provider★ 145
非官方 Command Code 模型接入插件:注册 `commandcode` 路由,带实时模型目录与推理强度支持。
Stormycry-cryp/dsh-AuthInOne★ 105
为 DeepSeek Harness 47f 提供账号登录、API 与自定义 Provider 配置、模型切换、纯文本模型图片兜底,以及 Token 与费用归因。
franksong2702/dsh-codex-connect★ 80
通过 ChatGPT OAuth 将 OpenAI Codex 模型接入 DeepSeek Harness,并提供可选的搜索与图片工具。
WSL043/dsh-codex-subscription★ 40
通过 ChatGPT OAuth 在 DSH 中使用 Codex 模型,提供订阅联网搜索、额度与安全重置、图片工具、高速模式和模型感知上下文;无需 API Key 或 Codex CLI。
amlyczz/dsh-agy-link★ 38
将 Google Antigravity (agy CLI) 接入 DSH:无 API Key 使用 Gemini/Claude/GPT-OSS 订阅模型,支持流式对话、原生工具卡片、思考轮次注记及 Web 界面 Google OAuth 扫码登录。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。