feat(provider): add MiMo Free no-auth provider

Bootstrap → JWT → chat flow with auto-retry. Inject the MiMoCode
system marker required to pass the upstream 403 anti-abuse gate,
derive JWT expiry from the exp claim, and use a stable per-machine
fingerprint as the bootstrap client.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Fadjrir Herlambang
2026-06-13 10:14:21 +07:00
committed by decolua
parent 0aaa5ab3c2
commit b40e96d0ef
8 changed files with 429 additions and 0 deletions

View File

@@ -211,6 +211,14 @@ export const PROVIDER_MODELS = {
// { id: "minimax-m2.5-free", name: "MiniMax M2.5", targetFormat: "claude" },
// { id: "trinity-large-preview-free", name: "Trinity Large Preview" },
],
mmf: [ // MiMo Free
{ id: "mimo-auto", name: "MiMo Auto" },
{ id: "mimo-v2.5-pro", name: "MiMo V2.5 Pro" },
{ id: "mimo-v2.5", name: "MiMo V2.5" },
{ id: "mimo-v2-pro", name: "MiMo V2 Pro" },
{ id: "mimo-v2-omni", name: "MiMo V2 Omni" },
{ id: "mimo-v2-flash", name: "MiMo V2 Flash" },
],
cl: [ // Cline
{ id: "anthropic/claude-opus-4.7", name: "Claude Opus 4.7" },
@@ -897,6 +905,7 @@ const OAUTH_ALIASES = {
cline: "cl",
opencode: "oc",
qoder: "qd",
"mimo-free": "mmf",
vertex: "vertex",
"vertex-partner": "vertex-partner",
};