@multiplayer-app/cli 2.0.6 → 2.0.17-alpha.10

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 CHANGED
@@ -1,13 +1,15 @@
1
- # @multiplayer-app/debugging-agent
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/debugging-agent
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 |
@@ -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/eslint.config.js CHANGED
@@ -1,5 +1,5 @@
1
- const tsPlugin = require('@typescript-eslint/eslint-plugin')
2
- const tsParser = require('@typescript-eslint/parser')
1
+ import tsPlugin from '@typescript-eslint/eslint-plugin'
2
+ import tsParser from '@typescript-eslint/parser'
3
3
 
4
4
  // Equivalent to env: { es6: true, node: true, jest: true, mocha: true }
5
5
  const envGlobals = {
@@ -49,7 +49,7 @@ const envGlobals = {
49
49
  xspecify: 'readonly',
50
50
  }
51
51
 
52
- module.exports = [
52
+ export default [
53
53
  {
54
54
  ignores: [
55
55
  'package.json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplayer-app/cli",
3
- "version": "2.0.6",
3
+ "version": "2.0.17-alpha.10",
4
4
  "description": "Multiplayer CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,17 +11,21 @@
11
11
  "publish": "bun run scripts/publish.ts",
12
12
  "dev": "bun src/index.tsx",
13
13
  "typecheck": "tsc --noEmit",
14
- "lint": "eslint src/**/*.ts --config eslint.config.js"
14
+ "lint": "eslint 'src/**/*.ts' --config eslint.config.js"
15
15
  },
16
16
  "optionalDependencies": {
17
- "@multiplayer-app/cli-darwin-arm64": "2.0.5",
18
- "@multiplayer-app/cli-darwin-x64": "2.0.5",
19
- "@multiplayer-app/cli-linux-x64": "2.0.5",
20
- "@multiplayer-app/cli-linux-arm64": "2.0.5",
21
- "@multiplayer-app/cli-windows-x64": "2.0.5",
22
- "@multiplayer-app/cli-windows-arm64": "2.0.5"
17
+ "@multiplayer-app/cli-darwin-arm64": "2.0.17-alpha.10",
18
+ "@multiplayer-app/cli-darwin-x64": "2.0.17-alpha.10",
19
+ "@multiplayer-app/cli-linux-x64": "2.0.17-alpha.10",
20
+ "@multiplayer-app/cli-linux-arm64": "2.0.17-alpha.10",
21
+ "@multiplayer-app/cli-windows-x64": "2.0.17-alpha.10",
22
+ "@multiplayer-app/cli-windows-arm64": "2.0.17-alpha.10"
23
23
  },
24
24
  "license": "MIT",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/multiplayer-app/multiplayer-session-recorder-javascript.git"
28
+ },
25
29
  "devDependencies": {
26
30
  "@anthropic-ai/claude-agent-sdk": "0.2.89",
27
31
  "@anthropic-ai/sdk": "^0.78.0",
@@ -38,6 +42,7 @@
38
42
  "@types/node": "25.5.0",
39
43
  "@types/react": "19.2.14",
40
44
  "@types/superagent": "8.1.9",
45
+ "bun": "1.3.11",
41
46
  "commander": "14.0.3",
42
47
  "dotenv": "16.0.0",
43
48
  "eslint": "10.1.0",
@@ -1,7 +0,0 @@
1
-
2
- 
3
- > @multiplayer-app/cli@2.0.5 build /Users/dima/Projects/multiplayer-debugger-javascript/packages/cli
4
- > bun build src/index.tsx --compile --outfile dist/multiplayer-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/x64/') --sourcemap=none
5
-
6
- [219ms] bundle 908 modules
7
- [319ms] compile dist/multiplayer-darwin-arm64