@yakumoryo/minimax-plan-usage 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -10
- package/marketplace.json +1 -1
- package/package.json +1 -1
- package/query.js +2 -2
package/README.md
CHANGED
|
@@ -2,30 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
Query MiniMax Coding Plan usage statistics via CLI.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
### Claude Code Plugin (Recommended)
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
/plugin yakumo96/minimax-plan-usage
|
|
11
|
+
```
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
### npm Package (CLI only)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g @yakumoryo/minimax-plan-usage
|
|
13
17
|
```
|
|
14
18
|
|
|
15
|
-
##
|
|
19
|
+
## Setup
|
|
16
20
|
|
|
17
21
|
```bash
|
|
18
|
-
# Configure API
|
|
22
|
+
# 1. Configure API Key (required)
|
|
23
|
+
npx @yakumoryo/minimax-plan-usage setup <your-token>
|
|
24
|
+
|
|
25
|
+
# 2. Configure API URL (optional, for non-default endpoints)
|
|
19
26
|
npx @yakumoryo/minimax-plan-usage setup-url https://api.minimaxi.com/anthropic
|
|
20
27
|
|
|
21
|
-
# Configure Model (for custom model names)
|
|
28
|
+
# 3. Configure Model (optional, for custom model names)
|
|
22
29
|
npx @yakumoryo/minimax-plan-usage setup-model MiniMax-M2.7
|
|
23
30
|
```
|
|
24
31
|
|
|
25
|
-
##
|
|
32
|
+
## Query Usage
|
|
26
33
|
|
|
27
34
|
```bash
|
|
28
|
-
|
|
35
|
+
npx @yakumoryo/minimax-plan-usage query
|
|
29
36
|
```
|
|
30
37
|
|
|
31
38
|
## Requirements
|
package/marketplace.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
3
3
|
"name": "minimax-plan-usage",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"description": "Query quota and usage statistics for MiniMax Coding Plan service",
|
|
6
6
|
"owner": { "name": "yakumo96" },
|
|
7
7
|
"plugins": [{
|
package/package.json
CHANGED
package/query.js
CHANGED
|
@@ -28,8 +28,8 @@ function saveSettings(settings) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
function setup(token, url) {
|
|
31
|
-
if (!token
|
|
32
|
-
console.error('Error:
|
|
31
|
+
if (!token) {
|
|
32
|
+
console.error('Error: Token required');
|
|
33
33
|
console.error('');
|
|
34
34
|
console.error('Usage: npx @yakumoryo/minimax-plan-usage setup <your-token> [api-url]');
|
|
35
35
|
console.error('');
|