feat: add Volcengine Ark Coding Plan (China) - #912
Merged
Conversation
57 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
volcengine-coding-plan, with its dedicated API-key endpoint and official fallback model allowlist.Why
Volcengine documents Ark Coding Plan as a subscription for interactive AI coding tools, with its own OpenAI-compatible endpoint (
https://ark.cn-beijing.volces.com/api/coding/v3) and Ark-console API key. It is not the Ark direct API, Ark Agent Plan, or BytePlus ModelArk access path. The public personal Plan API does not document a/modelscontract; the publishedListArkCodingPlanModeloperation uses IAM/HMAC authentication instead of the Plan API key, so this integration deliberately uses the documented static model list and disables model refresh.Official contract references: plan overview, quick start, FAQ and usage boundary, subscription terms, and
ListArkCodingPlanModel.Refs #860.
Scope
Verification
npm test— passed before the final upstream rebase with zero failures across all workspaces.npm run typecheck— passed on final SHA after rebasing build(cu): pin cua-driver artifact integrity #894.node ../../worktree-bootstrap.mjs— passed on final SHA, including complete workspace build, Desktop renderer build, public notice check, and stale-dist check.glm-5.2reasoning and two-stage tool-call wire loop.node --test scripts/cua-driver-provenance.test.mjs— 4/4 passed, preserving build(cu): pin cua-driver artifact integrity #894 artifact-integrity coverage.lobehub/lobe-iconscommite4302041fbb3039608d25f9f618bd462783b875e, pathpackages/static-svg/icons/volcengine.svg; both SHA-256 values aref29d0bdc284b33d8664ef221add7fbf06a5b370ef92767fa33f6020c914d3d33.git diff --check origin/main...HEAD— passed; the branch does not modify the SVG orTHIRD_PARTY_LICENSES.txt.No screenshot is attached because this uses the existing registry-driven catalog/detail layout and the existing governed Volcengine mark without introducing new pixels or interaction design. The deterministic Electron journey and asset-mask governance contract are the direct UI evidence.
Impact
Users in China can configure Ark Coding Plan independently from Ark direct API access. Existing persisted providers and credentials are unchanged; there is no migration. The new provider stores its own ID, endpoint, API key, and exact model selection through the existing connection seams.
Reviewer notes
The main review boundary is access-path separation:
/api/coding/v3plus fallback-only discovery and no headless env credential mapping must remain distinct from #909's/api/v3direct provider. Rollback is the four commits in this branch; the shared Volcengine asset remains owned by #909.Ready for review
Verificationexplains why it is not applicable