@multiplayer-app/cli 2.0.17-alpha.9 → 2.0.17
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 +4 -2
- package/bin/multiplayer.js +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
# @multiplayer-app/
|
|
1
|
+
# @multiplayer-app/cli
|
|
2
2
|
|
|
3
3
|
AI-powered debugging agent and release management CLI for [Multiplayer](https://multiplayer.app).
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install -g @multiplayer-app/
|
|
8
|
+
npm install -g @multiplayer-app/cli
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
Supports macOS (arm64, x64), Linux (arm64, x64), and Windows (arm64, x64). The correct platform binary is installed automatically.
|
|
12
|
+
|
|
11
13
|
## Commands
|
|
12
14
|
|
|
13
15
|
| Command | Description |
|
package/bin/multiplayer.js
CHANGED
|
@@ -24,7 +24,7 @@ function findBinary() {
|
|
|
24
24
|
|
|
25
25
|
let dir = path.dirname(fileURLToPath(import.meta.url))
|
|
26
26
|
while (true) {
|
|
27
|
-
const candidate = path.join(dir, 'node_modules', pkgName, binName)
|
|
27
|
+
const candidate = path.join(dir, 'node_modules', pkgName, 'src', binName)
|
|
28
28
|
if (existsSync(candidate)) return candidate
|
|
29
29
|
const parent = path.dirname(dir)
|
|
30
30
|
if (parent === dir) break
|
|
@@ -32,7 +32,7 @@ function findBinary() {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// Fallback: sibling dist/ for local dev
|
|
35
|
-
const devBin = path.join(path.dirname(fileURLToPath(import.meta.url)), '..', 'dist', `${platform}-${arch}`, binName)
|
|
35
|
+
const devBin = path.join(path.dirname(fileURLToPath(import.meta.url)), '..', 'dist', `${platform}-${arch}`, 'src', binName)
|
|
36
36
|
if (existsSync(devBin)) return devBin
|
|
37
37
|
|
|
38
38
|
return null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplayer-app/cli",
|
|
3
|
-
"version": "2.0.17
|
|
3
|
+
"version": "2.0.17",
|
|
4
4
|
"description": "Multiplayer CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"lint": "eslint 'src/**/*.ts' --config eslint.config.js"
|
|
15
15
|
},
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"@multiplayer-app/cli-darwin-arm64": "2.0.17
|
|
18
|
-
"@multiplayer-app/cli-darwin-x64": "2.0.17
|
|
19
|
-
"@multiplayer-app/cli-linux-x64": "2.0.17
|
|
20
|
-
"@multiplayer-app/cli-linux-arm64": "2.0.17
|
|
21
|
-
"@multiplayer-app/cli-windows-x64": "2.0.17
|
|
22
|
-
"@multiplayer-app/cli-windows-arm64": "2.0.17
|
|
17
|
+
"@multiplayer-app/cli-darwin-arm64": "2.0.17",
|
|
18
|
+
"@multiplayer-app/cli-darwin-x64": "2.0.17",
|
|
19
|
+
"@multiplayer-app/cli-linux-x64": "2.0.17",
|
|
20
|
+
"@multiplayer-app/cli-linux-arm64": "2.0.17",
|
|
21
|
+
"@multiplayer-app/cli-windows-x64": "2.0.17",
|
|
22
|
+
"@multiplayer-app/cli-windows-arm64": "2.0.17"
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"repository": {
|