Preface¶
DeepSeek Harness (DSH) makes model providers pluggable routing: choose a model, speak the unified chat protocol, and manage configuration in the Web UI. If you subscribe to Volcano Engine’s Volcano Ark Coding Plan, the endpoint is the OpenAI-compatible https://ark.cn-beijing.volces.com/api/coding/v3, but your account may be CLI SSO, console API Key, or rotating multi-account, and your plan quota lives in the control plane rather than in the chat response — relying solely on environment variables and hand-written model lists makes it hard to keep aligned, over the long run, inside DSH, on “which models you can chat with, how much context they support, and how much quota remains this week.”
The community plugin dsh-ark-coding-provider (maintainer: Akiyuki1130, SkillHub category: model inference) follows a shape similar to dsh-commandcode-provider: it registers the provider ark-coding, places a card on the Models page, opens a “Volcano Ark” section in settings, and consolidates the measured capacities of 12 models, the official catalog mapping, and real plan quota into the same interface. The sections below explain what it does, how to install it, and how to configure keys and accounts.
This is a community integration, not an official Volcano Engine product. You need your own Volcano Ark account and Coding Plan subscription, and must comply with the Volcano Engine terms of service.
What Is This¶
dsh-ark-coding-provider is a DSH LLM provider plugin for the Volcano Ark Coding Plan (current package version 0.5.0, declared compatible with DSH 0.2.0-rc.2). What it solves: calling the Coding Plan chat interface through a fixed route inside the Harness, while exposing multi-account credentials, model facts, and plan usage in the plugin’s own settings page and sidebar — instead of leaving you to maintain an outdated model table yourself.
Core Capabilities¶
Provider Routing and Protocol¶
The plugin registers the route ark-coding; requests are sent to the Coding Plan’s OpenAI-compatible endpoint (/chat/completions, with SSE streaming support). The host side also performs model discovery via createDiscovery(): when “Fetch available models” is triggered on the Models card, it makes a real one-shot call to the endpoint using a one-time key; on success it returns the built-in capacity facts for the 12 models. The key exists only for that request — the host does not store it, and the browser never touches Ark.
Twelve Models and Measured Capacities¶
The context window, max output per request, whether images are accepted, and reasoning_effort tiers in the model catalog are the results of the plugin probing the endpoint item by item (the README marks the measured date as 2026-10-15), covering ids from Doubao, MiniMax, Zhipu GLM, DeepSeek, Moonshot Kimi, and others. The annotations on the model selector are language-neutral short forms (e.g. vendor · 1024K ctx), with data reported by the adapter.
The README also documents several points where the official /models output is inconsistent and requires adapter handling: for example, glm-5.3-flash was measured to accept images while the catalog marks it text-only; glm-5.3 is text-only with thinking tiers of low/medium/high/max; minimax-m3 returns tool_calls[].type as functionfunction from the server, so the adapter writes type: "function" when rebuilding the request to keep multi-turn tool calls working; deepseek-v4-flash / deepseek-v4-pro are treated as plain text to avoid modality declaration errors causing the request to fail only after it has been persisted.
Settings Page and Models Card¶
- Settings → Volcano Ark: account management, CLI login wizard, per-model visibility, connection parameters, context overrides; model cards display side by side the official model catalog pulled by arkcli (for comparison — it does not overwrite the built-in 12 rows of measured facts).
- Provider card on the Models page: read-only display of the current account, quota source, and guidance when not configured; there is no key box and no “Test connection” on the card — keys are filled in on the account rows in the settings page. The host Models page’s own key editor writes to the top-level
ARK_CODING_API_KEY, which is read as a fallback “default account” whenaccountsis empty.
Keys are written through the local credentials service; the page only shows whether a key has been configured and never returns the plaintext.
Built-in arkcli and Quota¶
The settings page can install the official CLI @volcengine/ark-cli@1.0.39 (version-pinned, not latest) into the plugin directory, used to pull the official model catalog and real plan quota (5-hour / weekly / monthly percentages and refresh times). The sidebar card in the lower-left corner defaults to showing the 5-hour and weekly tiers; clicking to expand shows each account’s login status and the three quota tiers. When real quota cannot be queried, no placeholder card is shown; with only an API Key and no CLI or AK/SK, quota cannot be queried from the control plane (this is a division in Volcano’s interfaces, not a plugin-specific limitation).
Account types can be mixed: CLI login (SSO) or API Key; when one account is exhausted, the next one can be rotated in automatically. CLI accounts use an isolated HOME (<DSH_HOME>/ark-coding/accounts/<account id>), avoiding arkcli’s hardcoded writes to $HOME/.arkcli that would cause multi-account overwrites.
Installation and Enabling¶
Follow the README for installation commands: first pack it into a tarball, then install via profile; do not install from a directory path (pnpm symlinks cause the harness package to throw ERR_MODULE_NOT_FOUND). Restart dsh after installation.
# Pack
cd ark-coding-provider && npm pack # produces dsh-ark-coding-provider-<version>.tgz
# Install into the profile (replace the path with the tarball above)
dsh plugin --profile web add /path/to/dsh-ark-coding-provider-<version>.tgz
The plugin runs with the permissions of the current dsh process; review the repository source code and the MIT license before installing.
Configuring Keys and Accounts¶
Settings Page (Recommended)¶
Settings → Volcano Ark → “Accounts”: create a new account of type “API Key”, paste into the key box on that row, and save. Or Add account → CLI login: follow the wizard to complete Volcano SSO in the browser, then paste the full http://127.0.0.1:<port>/… URL you were redirected to back into the settings page (the port is on the server running DSH; the local browser showing “unable to open” is normal). A single CLI login obtains the chat key, plan quota, and the official model catalog at once; credentials have an expiration time, and the settings page shows the exact date (from the arkcli profile’s expires_at).
Environment Variables and Fallback Account¶
export ARK_CODING_API_KEY="ark-..."
When accounts is empty in the configuration, the plugin treats the top-level apiKeyEnv (default ARK_CODING_API_KEY) and the optional literal apiKey as a “default account” with id default, used to pick up the host’s key editor on the Models page. Once accounts is non-empty, the fallback no longer takes effect; to disable the fallback, set apiKeyEnv to an empty string. Single-account resolution order: literal apiKey in the account > credentials service > environment variable / .env.
An API Key alone can chat, but cannot query plan quota or pull the official model catalog; to see usage you need at least one CLI-logged-in account, or configure AK/SK (in Settings → “Usage and display”) without a CLI to sign control-plane requests.
Use Cases and Caveats¶
Suitable for developers who have already activated the Coding Plan on Volcano Ark and want to uniformly select models, manage multiple accounts, compare against the official catalog, and keep an eye on plan percentages inside the DSH Web profile. Not suitable as a substitute for Volcano’s official support channels; billing and quota policies are subject to the Volcano console.
Multi-account behavior, tool calls, and image modality are based on the README’s measurements and the adapter logic; upgrading arkcli or switching to latest may break quota and catalog parsing. For remote DSH deployments, CLI login depends on pasting the authorization callback URL back into the server-side wizard; you may need to set up your own tunnel to 127.0.0.1.
Links¶
- SkillHub catalog page: https://www.skillhub.cn/plugins/Akiyuki1130/dsh-ark-coding-provider
- Source code and full documentation: https://github.com/Akiyuki1130/dsh-ark-coding-provider