mmx-cli 1.0.17 → 1.0.18
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 +2 -2
- package/dist/mmx.mjs +191 -191
- package/dist/sdk.mjs +12 -3
- package/package.json +9 -1
package/dist/sdk.mjs
CHANGED
|
@@ -496,9 +496,17 @@ function maybeShowStatusBar(config, token, model) {
|
|
|
496
496
|
// package.json
|
|
497
497
|
var package_default = {
|
|
498
498
|
name: "mmx-cli",
|
|
499
|
-
version: "1.0.
|
|
499
|
+
version: "1.0.18",
|
|
500
500
|
description: "CLI for the MiniMax AI Platform",
|
|
501
501
|
type: "module",
|
|
502
|
+
repository: {
|
|
503
|
+
type: "git",
|
|
504
|
+
url: "git+https://github.com/MiniMax-AI/cli.git"
|
|
505
|
+
},
|
|
506
|
+
homepage: "https://github.com/MiniMax-AI/cli#readme",
|
|
507
|
+
bugs: {
|
|
508
|
+
url: "https://github.com/MiniMax-AI/cli/issues"
|
|
509
|
+
},
|
|
502
510
|
engines: {
|
|
503
511
|
node: ">=18"
|
|
504
512
|
},
|
|
@@ -793,7 +801,7 @@ class TextSDK extends Client {
|
|
|
793
801
|
}
|
|
794
802
|
return {
|
|
795
803
|
...params,
|
|
796
|
-
model: params.model ?? "MiniMax-
|
|
804
|
+
model: params.model ?? "MiniMax-M3",
|
|
797
805
|
max_tokens: params.max_tokens ?? 4096
|
|
798
806
|
};
|
|
799
807
|
}
|
|
@@ -1429,6 +1437,7 @@ import { resolve as resolve3, dirname as dirname3 } from "node:path";
|
|
|
1429
1437
|
|
|
1430
1438
|
// src/commands/music/models.ts
|
|
1431
1439
|
var MUSIC_GENERATE_MODELS = [
|
|
1440
|
+
"music-3.0",
|
|
1432
1441
|
"music-2.6",
|
|
1433
1442
|
"music-2.6-free",
|
|
1434
1443
|
"music-2.5+",
|
|
@@ -1442,7 +1451,7 @@ function musicGenerateModel(config) {
|
|
|
1442
1451
|
if (config.defaultMusicModel && includesModel(MUSIC_GENERATE_MODELS, config.defaultMusicModel)) {
|
|
1443
1452
|
return config.defaultMusicModel;
|
|
1444
1453
|
}
|
|
1445
|
-
return "music-
|
|
1454
|
+
return "music-3.0";
|
|
1446
1455
|
}
|
|
1447
1456
|
|
|
1448
1457
|
// src/utils/audio-stream.ts
|
package/package.json
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mmx-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "CLI for the MiniMax AI Platform",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/MiniMax-AI/cli.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/MiniMax-AI/cli#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/MiniMax-AI/cli/issues"
|
|
13
|
+
},
|
|
6
14
|
"engines": {
|
|
7
15
|
"node": ">=18"
|
|
8
16
|
},
|