mmx-cli 1.0.12 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmx-cli",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "CLI for the MiniMax AI Platform",
5
5
  "type": "module",
6
6
  "engines": {
@@ -10,12 +10,21 @@
10
10
  "mmx": "dist/mmx.mjs"
11
11
  },
12
12
  "files": [
13
- "dist/mmx.mjs"
13
+ "dist/mmx.mjs",
14
+ "dist/sdk.mjs",
15
+ "dist/index.d.ts"
14
16
  ],
17
+ "exports": {
18
+ "./sdk": {
19
+ "import": "./dist/sdk.mjs",
20
+ "types": "./dist/index.d.ts"
21
+ },
22
+ "./package.json": "./package.json"
23
+ },
15
24
  "scripts": {
16
25
  "dev": "bun run src/main.ts",
17
26
  "build": "bun run build.ts",
18
- "build:dev": "bun build src/main.ts --outfile dist/mmx.mjs --target node --minify --define \"process.env.CLI_VERSION='1.0.4'\" && printf '#!/usr/bin/env node\\n' | cat - dist/mmx.mjs > dist/tmp && mv dist/tmp dist/mmx.mjs && chmod +x dist/mmx.mjs",
27
+ "build:dev": "bun run build.ts --dev",
19
28
  "prepublishOnly": "bun run build",
20
29
  "lint": "eslint src/ test/",
21
30
  "typecheck": "tsc --noEmit",
@@ -23,7 +32,10 @@
23
32
  "test:watch": "bun test --watch"
24
33
  },
25
34
  "dependencies": {
26
- "@clack/prompts": "^0.7.0"
35
+ "@clack/prompts": "^0.7.0",
36
+ "bun-plugin-dts": "^0.4.0",
37
+ "es-toolkit": "^1.46.1",
38
+ "undici": "^6.21.1"
27
39
  },
28
40
  "devDependencies": {
29
41
  "@eslint/js": "^9.0.0",