Repository navigation
feat: add Tencent Coding Plan support - #904
Merged
Merged
Conversation
Astro-Han
force-pushed
the
feat/tencent-coding-plan-support
branch
from
July 13, 2026 18:05
da8e75f to
520f030
Compare
57 tasks done
3 tasks done
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
tencent-coding-planaccess path across the shared provider registry, Desktop, interactive CLI, storage, and runtime.Why
Tencent Coding Plan is a separate personal AI Coding subscription with its own
sk-sp-*credentials and OpenAI-compatible endpoint. It must not be conflated with Tencent TokenHub or a future Tencent Token Plan, and Tencent documents this subscription for interactive coding tools rather than benchmark or automation use.Refs #860.
Scope
This PR implements only the persisted provider ID
tencent-coding-plan. It does not add Tencent Token Plan, other expanded providers, or Phase 7 work. Headless deliberately exposes no Tencent Coding Plan credential environment mapping; its coverage uses deterministic fake requests only.Verification
npm run typechecknpm test— scripts 15/15; Core 850/850; Storage 244/244; Runtime 1400 pass / 7 skip; Headless 861/861; CLI 310/310; UI 125/125; Desktop 2417/2417npm run buildnpm run check:stalenpm --workspace @maka/desktop run build:renderer— packagedTHIRD_PARTY_LICENSES.txtchecker passednode --test --test-name-pattern='Tencent Cloud mark for Tencent Coding Plan' apps/desktop/dist/main/__tests__/icon-governance-contract.test.js0563b1dbaa01aff4f20352bc9eb49bec17debeb3901a9ee80b044ac4d792c97dgit diff --checkLocal Desktop E2E was intentionally deferred to CI per the issue delivery boundary. The UI change reuses the existing catalog/detail
ProviderLogoandProviderAssetMaskseams; a Playwright contract covers both rendered locations, stable ID, endpoint, fallback model, and credential field. The byte/hash governance test and renderer build are the substitute evidence for this additive provider-row change, so no static screenshot is attached.Impact
Users can persist and use Tencent Coding Plan from Desktop and the interactive CLI with the exact
tencent-coding-planID and supported model IDs. Existing connections require no migration. Raw models.dev metadata remains auditable, while product fallback excludes retired Hunyuan entries and prevents Kimi vision metadata from leaking into this non-multimodal access path.Reviewer notes
/modelscontract, so model discovery is fallback-only and the UI hides model refresh.reasoning_content, assistant tool-call replay, and the subsequent tool result without real credentials.@lobehub/icons-static-svg@1.91.0, commite4302041fbb3039608d25f9f618bd462783b875e, pathpackages/static-svg/icons/tencentcloud.svg, MIT.Ready for review
Verificationexplains why it is not applicable