@yakumoryo/minimax-plan-usage 0.2.9 → 0.3.0
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 +14 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,43 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
Query MiniMax Coding Plan usage statistics via CLI.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Quick Start
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
# Configure API Key (required first time)
|
|
9
|
+
npx @yakumoryo/minimax-plan-usage setup <your-token>
|
|
10
|
+
|
|
11
|
+
# Query usage
|
|
12
|
+
npx @yakumoryo/minimax-plan-usage query
|
|
9
13
|
```
|
|
10
14
|
|
|
11
|
-
##
|
|
15
|
+
## Optional Setup
|
|
12
16
|
|
|
13
17
|
```bash
|
|
14
|
-
# Configure API
|
|
15
|
-
minimax-plan-usage setup
|
|
16
|
-
|
|
17
|
-
# Configure API URL (optional, for non-default endpoints)
|
|
18
|
-
minimax-plan-usage setup-url https://api.minimaxi.com/anthropic
|
|
19
|
-
|
|
20
|
-
# Configure Model (optional, for custom model names)
|
|
21
|
-
minimax-plan-usage setup-model MiniMax-M2.7
|
|
18
|
+
# Configure API URL (for non-default endpoints)
|
|
19
|
+
npx @yakumoryo/minimax-plan-usage setup-url https://api.minimaxi.com/anthropic
|
|
22
20
|
|
|
23
|
-
#
|
|
24
|
-
minimax-plan-usage
|
|
21
|
+
# Configure Model (for custom model names)
|
|
22
|
+
npx @yakumoryo/minimax-plan-usage setup-model MiniMax-M2.7
|
|
25
23
|
```
|
|
26
24
|
|
|
27
|
-
|
|
25
|
+
## Installation
|
|
28
26
|
|
|
29
27
|
```bash
|
|
30
|
-
|
|
31
|
-
npx @yakumoryo/minimax-plan-usage setup-url https://api.minimaxi.com/anthropic
|
|
32
|
-
npx @yakumoryo/minimax-plan-usage query
|
|
28
|
+
npm install -g @yakumoryo/minimax-plan-usage
|
|
33
29
|
```
|
|
34
30
|
|
|
35
31
|
## Requirements
|
|
36
32
|
|
|
37
33
|
- Node.js >= 18
|
|
38
|
-
- `ANTHROPIC_AUTH_TOKEN` environment variable set
|
|
39
|
-
- `ANTHROPIC_BASE_URL` environment variable set
|
|
40
34
|
|
|
41
|
-
|
|
35
|
+
The CLI reads settings from `~/.claude/settings.json` and uses the same authentication that Claude Code uses.
|
|
42
36
|
|
|
43
37
|
## How it works
|
|
44
38
|
|