minimax-status 1.2.3 → 1.2.4

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/cli/index.js +2 -9
  2. package/package.json +1 -1
package/cli/index.js CHANGED
@@ -45,7 +45,6 @@ program
45
45
  let checks = {
46
46
  config: false,
47
47
  token: false,
48
- groupId: false,
49
48
  api: false,
50
49
  };
51
50
 
@@ -71,16 +70,10 @@ program
71
70
  console.log(chalk.red("✗ Token: ") + chalk.gray("未配置"));
72
71
  }
73
72
 
74
- // 检查GroupID
75
- if (api.groupId) {
76
- checks.groupId = true;
77
- console.log(chalk.green("✓ GroupID: ") + chalk.gray("已配置"));
78
- } else {
79
- console.log(chalk.red("✗ GroupID: ") + chalk.gray("未配置"));
80
- }
73
+ // ⚠ 不再检查 GroupID — 用量接口从 token JWT 自动解析 group_id,不需要手动配置
81
74
 
82
75
  // 测试API连接
83
- if (checks.token && checks.groupId) {
76
+ if (checks.token) {
84
77
  try {
85
78
  await api.getUsageStatus();
86
79
  checks.api = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minimax-status",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "MiniMax Claude Code 使用状态监控工具",
5
5
  "bin": {
6
6
  "minimax-status": "cli/index.js",