在 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.
链接
同类插件
Ebony-Vinyl/dsh-our-free-model★ 25179
为 dsh 接入免费模型车道(含 DeepSeek V4.1 Flash、Kimi K3 等),无需登录、注册或填写 API Key,并提供本地 OpenAI 兼容网关、降级路由与用量看板。
corrinehu/dsh-workbuddy-connect★ 1343
将 WorkBuddy 桌面 App 包含的模型自动接入 DeepSeek Harness,在 DSH 对话窗口里零配置使用。
V1ki/dsh-plugin-subscriptions★ 478
把 ChatGPT(Codex)、Claude、Grok 订阅当作 DeepSeek Harness 的 LLM 提供方:设置页登录、模型目录、用量展示,以及 image_generate、video_generate 与 x_search 工具。
Mars-Sea/dsh-commandcode-provider★ 407
非官方 Command Code 模型接入插件:注册 `commandcode` 路由,带实时模型目录与推理强度支持。
cv-superding/dsh-deepseek-web-login★ 286
新增 deepseek-web provider,把 chat.deepseek.com 网页端模型接入 DSH:浏览器登录抓取、PoW 请求签名、SSE 流式传输与基于提示词的工具调用。
FishBottle7/opencode2dsh★ 270
将 OpenCode Zen 免费模型接入 DeepSeek Harness,无需 API Key。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。