@hunghoang3011/minimax-coding-helper 1.0.5 → 1.0.7
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 +8 -8
- package/dist/commands/auth.js +2 -2
- package/dist/utils/config.d.ts +1 -1
- package/dist/utils/config.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
[](https://www.npmjs.com/package/@hunghoang3011/minimax-coding-helper)
|
|
14
14
|
|
|
15
15
|
<!-- Description -->
|
|
16
|
-
**🚀 The ultimate CLI helper for MiniMax Coding Plan users to configure Claude Code with the powerful MiniMax-M2.
|
|
16
|
+
**🚀 The ultimate CLI helper for MiniMax Coding Plan users to configure Claude Code with the powerful MiniMax-M2.5 model**
|
|
17
17
|
|
|
18
18
|
[Features](#-features) • [Quick Start](#-quick-start) • [Commands](#-commands) • [Configuration](#-configuration) • [FAQ](#-faq)
|
|
19
19
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
## ✨ Features
|
|
25
25
|
|
|
26
26
|
- **🎯 Interactive Wizard** - User-friendly onboarding with step-by-step guidance
|
|
27
|
-
- **⚡ MiniMax-M2.
|
|
27
|
+
- **⚡ MiniMax-M2.5 Integration** - Harness the power of MiniMax's advanced coding model in Claude Code
|
|
28
28
|
- **🔌 MCP Support** - Enable MiniMax's native MCP tools (`web_search`, `understand_image`)
|
|
29
29
|
- **🔐 Secure API Key Management** - Your API keys are stored locally and encrypted
|
|
30
30
|
- **🌍 Multi-Region Support** - Choose between International and China regions for optimal performance
|
|
@@ -95,7 +95,7 @@ If Claude Code is running, restart it to apply the changes.
|
|
|
95
95
|
claude
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
That's it! You're now using MiniMax-M2.
|
|
98
|
+
That's it! You're now using MiniMax-M2.5 in Claude Code.
|
|
99
99
|
|
|
100
100
|
---
|
|
101
101
|
|
|
@@ -281,11 +281,11 @@ When you apply MiniMax configuration, these environment variables are set:
|
|
|
281
281
|
"ANTHROPIC_AUTH_TOKEN": "<your-api-key>",
|
|
282
282
|
"API_TIMEOUT_MS": "3000000",
|
|
283
283
|
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
|
|
284
|
-
"ANTHROPIC_MODEL": "MiniMax-M2.
|
|
285
|
-
"ANTHROPIC_SMALL_FAST_MODEL": "MiniMax-M2.
|
|
286
|
-
"ANTHROPIC_DEFAULT_SONNET_MODEL": "MiniMax-M2.
|
|
287
|
-
"ANTHROPIC_DEFAULT_OPUS_MODEL": "MiniMax-M2.
|
|
288
|
-
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "MiniMax-M2.
|
|
284
|
+
"ANTHROPIC_MODEL": "MiniMax-M2.5",
|
|
285
|
+
"ANTHROPIC_SMALL_FAST_MODEL": "MiniMax-M2.5",
|
|
286
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "MiniMax-M2.5",
|
|
287
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "MiniMax-M2.5",
|
|
288
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "MiniMax-M2.5"
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
```
|
package/dist/commands/auth.js
CHANGED
|
@@ -91,7 +91,7 @@ async function authSet(apiKey, region) {
|
|
|
91
91
|
config.base_url = region === 'international'
|
|
92
92
|
? 'https://api.minimax.io/anthropic'
|
|
93
93
|
: 'https://api.minimaxi.com/anthropic';
|
|
94
|
-
config.model = 'MiniMax-M2.
|
|
94
|
+
config.model = 'MiniMax-M2.5';
|
|
95
95
|
config.api_timeout_ms = '3000000';
|
|
96
96
|
await (0, config_js_1.saveConfig)(config);
|
|
97
97
|
logger_js_1.logger.success('API Key saved successfully!');
|
|
@@ -216,7 +216,7 @@ async function authApply() {
|
|
|
216
216
|
logger_js_1.logger.info(` Base URL: ${chalk_1.default.cyan(envConfig.ANTHROPIC_BASE_URL)}`);
|
|
217
217
|
logger_js_1.logger.info(` Model: ${chalk_1.default.cyan(envConfig.ANTHROPIC_MODEL)}`);
|
|
218
218
|
logger_js_1.logger.blank();
|
|
219
|
-
logger_js_1.logger.success('You can now use Claude Code with MiniMax-M2.
|
|
219
|
+
logger_js_1.logger.success('You can now use Claude Code with MiniMax-M2.5!');
|
|
220
220
|
logger_js_1.logger.info('Restart Claude Code if it\'s currently running.');
|
|
221
221
|
}
|
|
222
222
|
catch (error) {
|
package/dist/utils/config.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface MiniMaxConfig {
|
|
|
8
8
|
}
|
|
9
9
|
export declare const DEFAULT_BASE_URL_INTERNATIONAL = "https://api.minimax.io/anthropic";
|
|
10
10
|
export declare const DEFAULT_BASE_URL_CHINA = "https://api.minimaxi.com/anthropic";
|
|
11
|
-
export declare const DEFAULT_MODEL = "MiniMax-M2.
|
|
11
|
+
export declare const DEFAULT_MODEL = "MiniMax-M2.5";
|
|
12
12
|
export declare const DEFAULT_API_TIMEOUT = "3000000";
|
|
13
13
|
export declare function getConfigDir(): string;
|
|
14
14
|
export declare function getConfigFile(): string;
|
package/dist/utils/config.js
CHANGED
|
@@ -63,7 +63,7 @@ const CONFIG_DIR = path.join(os.homedir(), '.minimax-helper');
|
|
|
63
63
|
const CONFIG_FILE = path.join(CONFIG_DIR, 'config.yaml');
|
|
64
64
|
exports.DEFAULT_BASE_URL_INTERNATIONAL = 'https://api.minimax.io/anthropic';
|
|
65
65
|
exports.DEFAULT_BASE_URL_CHINA = 'https://api.minimaxi.com/anthropic';
|
|
66
|
-
exports.DEFAULT_MODEL = 'MiniMax-M2.
|
|
66
|
+
exports.DEFAULT_MODEL = 'MiniMax-M2.5';
|
|
67
67
|
exports.DEFAULT_API_TIMEOUT = '3000000';
|
|
68
68
|
const DEFAULT_CLAUDE_CONFIG_PATH = path.join(os.homedir(), '.claude');
|
|
69
69
|
function getConfigDir() {
|
package/package.json
CHANGED