@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.
Files changed (2) hide show
  1. package/README.md +14 -20
  2. 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
- ## Installation
5
+ ## Quick Start
6
6
 
7
7
  ```bash
8
- npm install -g @yakumoryo/minimax-plan-usage
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
- ## Usage
15
+ ## Optional Setup
12
16
 
13
17
  ```bash
14
- # Configure API Key (required first time)
15
- minimax-plan-usage setup <your-token>
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
- # Query usage
24
- minimax-plan-usage query
21
+ # Configure Model (for custom model names)
22
+ npx @yakumoryo/minimax-plan-usage setup-model MiniMax-M2.7
25
23
  ```
26
24
 
27
- Or with npx:
25
+ ## Installation
28
26
 
29
27
  ```bash
30
- npx @yakumoryo/minimax-plan-usage setup <your-token>
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
- These are typically already configured in your Claude Code settings.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yakumoryo/minimax-plan-usage",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "description": "MiniMax Coding Plan usage query CLI tool",
5
5
  "type": "module",
6
6
  "keywords": [