Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ Gemini CLI quota support is deprecated for new installs. Existing v4 configurati
| Alibaba Coding Plan | Automatic | Local estimate | Quota |
| DeepSeek | Automatic | Remote API | Balance and status |
| Kimi Code | Automatic | Remote API | Quota |
| MiniMax Coding Plan | Automatic | Remote API | Quota |
| MiniMax Coding Plan (CN) | Automatic | Remote API | Quota |
| MiniMax Token Plan | Automatic | Remote API | Quota |
| MiniMax Token Plan (CN) | Automatic | Remote API | Quota |
| Qwen Code | [Needs setup](docs/readme/providers.md#qwen-code) | Local estimate | Quota |
| Xiaomi MiMo | [Needs setup](docs/readme/providers.md#xiaomi-mimo) | Dashboard API | Quota and balance |
| Z.ai Coding Plan | Automatic | Remote API | Quota |
Expand All @@ -203,8 +203,8 @@ Gemini CLI quota support is deprecated for new installs. Existing v4 configurati
| Provider | Auth/setup | Data from | Reports |
| ------------------------ | ---------- | ---------- | ------- |
| Kimi Code | Automatic | Remote API | Quota |
| MiniMax Coding Plan | Automatic | Remote API | Quota |
| MiniMax Coding Plan (CN) | Automatic | Remote API | Quota |
| MiniMax Token Plan | Automatic | Remote API | Quota |
| MiniMax Token Plan (CN) | Automatic | Remote API | Quota |
| Zhipu Coding Plan | Automatic | Remote API | Quota |

These vendors offer team or business plans, but the current integrations report only the configured member API key rather than organization-wide usage.
Expand Down
8 changes: 4 additions & 4 deletions docs/readme/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Business placement describes vendor plan availability. Except for configured Cop
| Alibaba Coding Plan | Automatic | Local estimate | Quota |
| DeepSeek | Automatic | Remote API | Balance and status |
| Kimi Code | Automatic | Remote API | Quota |
| MiniMax Coding Plan | Automatic | Remote API | Quota |
| MiniMax Coding Plan (CN) | Automatic | Remote API | Quota |
| MiniMax Token Plan | Automatic | Remote API | Quota |
| MiniMax Token Plan (CN) | Automatic | Remote API | Quota |
| Qwen Code | [Needs setup](#qwen-code) | Local estimate | Quota |
| Xiaomi MiMo | [Needs setup](#xiaomi-mimo) | Dashboard API | Quota and balance |
| Z.ai Coding Plan | Automatic | Remote API | Quota |
Expand All @@ -87,8 +87,8 @@ Business placement describes vendor plan availability. Except for configured Cop
| Provider | Auth/setup | Data from | Reports |
| ------------------------ | ---------- | ---------- | ------- |
| Kimi Code | Automatic | Remote API | Quota |
| MiniMax Coding Plan | Automatic | Remote API | Quota |
| MiniMax Coding Plan (CN) | Automatic | Remote API | Quota |
| MiniMax Token Plan | Automatic | Remote API | Quota |
| MiniMax Token Plan (CN) | Automatic | Remote API | Quota |
| Zhipu Coding Plan | Automatic | Remote API | Quota |

These vendors offer team or business plans, but the current integrations report only the configured member API key rather than organization-wide usage.
Expand Down
4 changes: 2 additions & 2 deletions docs/readme/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ These providers use trusted env vars, trusted user/global OpenCode config, or na

| Provider | Useful checks |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MiniMax Coding Plan | Use `MINIMAX_CODING_PLAN_API_KEY` or `MINIMAX_API_KEY` for the international endpoint. Runtime/config ids like `minimax` and `minimax-coding-plan` use this provider. Repo-local provider secrets are ignored. |
| MiniMax Coding Plan (CN) | Use `MINIMAX_CHINA_CODING_PLAN_API_KEY` or trusted user/global OpenCode config under `minimax-china-coding-plan`, `minimax-cn-coding-plan`, `minimax-cn`, or `minimax-china`. Runtime id `minimax-cn-coding-plan` uses this provider. |
| MiniMax Token Plan | Use `MINIMAX_CODING_PLAN_API_KEY` or `MINIMAX_API_KEY` for the international endpoint. Runtime/config ids like `minimax` and `minimax-coding-plan` use this provider. Repo-local provider secrets are ignored. |
| MiniMax Token Plan (CN) | Use `MINIMAX_CHINA_CODING_PLAN_API_KEY` or trusted user/global OpenCode config under `minimax-china-coding-plan`, `minimax-cn-coding-plan`, `minimax-cn`, or `minimax-china`. Runtime id `minimax-cn-coding-plan` uses this provider. |
| Kimi Code | Use `KIMI_API_KEY` or `KIMI_CODE_API_KEY`; repo-local provider secrets are ignored. |
| Chutes AI | Use `CHUTES_API_KEY`, trusted user/global config, or OpenCode auth. |
| Synthetic | Use `SYNTHETIC_API_KEY`, trusted user/global config, or OpenCode auth. |
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ export type {
GoogleModelQuota,
GoogleQuotaResult,
MaintainerAnnouncementsConfig,
MiniMaxResult,
MiniMaxResultEntry,
PricingSnapshotSource,
QuotaToastConfig,
SessionTokenScope,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/minimax-auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Resolves MiniMax credentials from trusted env vars, trusted user/global
* OpenCode config, and auth.json fallback into the standardized shape used
* by the MiniMax Coding Plan providers.
* by the MiniMax Token Plan providers.
*/

import {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/provider-registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export const QUOTA_PROVIDER_REGISTRATION_SOURCE = [
},
{
id: "minimax-coding-plan",
label: "MiniMax Coding Plan",
label: "MiniMax Token Plan",
runtimeIds: ["minimax-coding-plan", "minimax"],
synonyms: ["minimax"],
shape: {
Expand All @@ -252,7 +252,7 @@ export const QUOTA_PROVIDER_REGISTRATION_SOURCE = [
},
{
id: "minimax-china-coding-plan",
label: "MiniMax Coding Plan (CN)",
label: "MiniMax Token Plan (CN)",
labelAliases: ["minimax-cn-coding-plan"],
runtimeIds: [
"minimax-china-coding-plan",
Expand Down
17 changes: 0 additions & 17 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -817,23 +817,6 @@ export type CopilotResult =
export type GoogleResult = GoogleQuotaResult | QuotaError | null;
export type GeminiCliResult = GeminiCliQuotaResult | QuotaError | null;
export type ZaiResult = ZaiQuotaResult | QuotaError | null;
/** Single entry in a MiniMax quota result */
export interface MiniMaxResultEntry {
window: "five_hour" | "weekly";
name: string;
group?: string;
label?: string;
right?: string;
percentRemaining: number;
resetTimeIso?: string;
}

export type MiniMaxResult =
| {
success: true;
entries: MiniMaxResultEntry[];
}
| QuotaError;
export type ChutesResult =
| {
success: true;
Expand Down
Loading