Repository navigation
feat(providers): add MiniMax coding plan - #872
Merged
Merged
Conversation
Astro-Han
force-pushed
the
feat/minimax-plan-support
branch
from
July 13, 2026 13:55
f89d9e2 to
0143054
Compare
This was referenced Jul 13, 2026
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
ProviderLogothrough the shared provider-detail header seam.Why
MiniMax Coding Plan is a distinct access path from the existing MiniMax direct API. It uses the Coding Plan Anthropic-compatible endpoint and credentials, so merging it into the existing
MiniMaxprovider would conflate persisted identity, authentication, discovery, and runtime behavior.The provider catalog and detail page also need one governed brand source. MiniMax publishes an official SVG asset, so the UI should consume that exact asset rather than maintain a hand-authored approximation.
Refs #860.
Scope
This PR covers only the MiniMax Coding Plan slice of Issue #860 and the generic detail-header
ProviderLogoseam required to render its governed mark. It does not change existing MiniMax direct API identity or behavior, add other provider plans, or implement Phase 7.A real-credential smoke was not run and is intentionally non-blocking. All committed coverage is deterministic and contains no secrets, raw provider responses, or sensitive account data.
Verification
npm run typecheck— passed for all workspacesnpm test— passed for all workspaces; Desktop 2401/2401npm run check:stale— passednpm --workspace @maka/desktop run e2e— 12/14 passed in the combined run; the two failures stopped in Electron fixture startup before product behavior (firstWindowtimeout / missing Playwright artifact). Each failed test then passed independently with the repository workspace script, 1/1 and 1/1.X-Api-Keydiscovery, exact model-ID preservation, snapshot fallback, and an Anthropic-compatible tool call455836c359be6085a1dfa9ad1a4d0f7a4220e9fe— passed with no P0–P3 findingsScreenshots are not included because the change does not introduce a new visual design: it replaces a placeholder with the provider’s exact official mark and routes that same mark through the existing catalog/detail presentation. The substitute evidence is byte-level asset governance plus Playwright assertions that the bundled official SVG is visibly rendered in both catalog and detail states.
Impact
Users can configure MiniMax Coding Plan independently from MiniMax direct API access. Existing persisted provider IDs and direct MiniMax behavior remain unchanged.
Headless users can configure the plan through:
MINIMAX_CODING_PLAN_API_KEYMINIMAX_CODING_PLAN_API_KEY_FILEMINIMAX_CODING_PLAN_BASE_URLNo migration is required. The shared detail-header change is optional and generic: providers with a
providerTypereuse the existingProviderLogo; there is no MiniMax-specific branch.Reviewer notes
MiniMax Coding Plan uses
https://api.minimax.io/anthropic. Runtime requests andGET /anthropic/v1/modelsboth useX-Api-Key, matching the provider’s Anthropic-compatible API-key contract.The fallback catalog is derived from the existing generated MiniMax models.dev snapshot, filtered to tool-capable models, with
MiniMax-M3recommended first. Live discovery remains authoritative and preserves returned model IDs exactly.Brand provenance:
https://platform.minimax.io/docs/faq/contact-us#brand-resourceshttps://file.cdn.minimax.io/public/MiniMax_Logo.zipMiniMax_Logo/svg/logo-only/vertical/minimax_logo-only_vertical_color-bg_white-text.svg386033f6d1cfc5359877b402221a819f272cf6333eae12a95858fdcc226811a5The icon-governance test locks the source URLs, archive member, hash, imported
<img>rendering, and the single shared mark forminimax-coding-plan,MiniMax, andMiniMax-cn.Ready for review
Verificationexplains why it is not applicable