@multiplayer-app/cli 1.3.35 → 2.0.0
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/.turbo/turbo-build.log +20 -0
- package/.turbo/turbo-lint.log +5 -0
- package/README.md +123 -30
- package/dist/highlights-eq9cgrbb.scm +604 -0
- package/dist/highlights-ghv9g403.scm +205 -0
- package/dist/highlights-hk7bwhj4.scm +284 -0
- package/dist/highlights-r812a2qc.scm +150 -0
- package/dist/highlights-x6tmsnaa.scm +115 -0
- package/dist/index.js +177063 -0
- package/dist/injections-73j83es3.scm +27 -0
- package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
- package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
- package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
- package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
- package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
- package/eslint.config.js +135 -0
- package/package.json +30 -34
- package/LICENSE +0 -21
- package/bin/multiplayer-app-cli +0 -114
- package/src/api.js +0 -97
- package/src/commands/deployments/create.js +0 -70
- package/src/commands/releases/create.js +0 -55
- package/src/commands/sourcemaps/upload.js +0 -76
- package/src/helper.js +0 -5
- package/src/index.js +0 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @multiplayer-app/cli@1.3.36 build /Users/dima/Projects/multiplayer-debugger-javascript/packages/cli
|
|
4
|
+
> bun build src/index.tsx --outdir dist --target bun --format esm --sourcemap=none && rm -f dist/index.js.map
|
|
5
|
+
|
|
6
|
+
[32mBundled 905 modules in 160ms[0m
|
|
7
|
+
|
|
8
|
+
[34mindex.js[33m 6.96 MB [2m(entry point)[0m
|
|
9
|
+
[35mhighlights-ghv9g403.scm[0m 2.86 KB [2m(asset)[0m
|
|
10
|
+
[35mtree-sitter-javascript-nd0q4pe9.wasm[0m 0.41 MB [2m(asset)[0m
|
|
11
|
+
[35mhighlights-eq9cgrbb.scm[0m 9.83 KB [2m(asset)[0m
|
|
12
|
+
[35mtree-sitter-typescript-zxjzwt75.wasm[0m 1.41 MB [2m(asset)[0m
|
|
13
|
+
[35mhighlights-r812a2qc.scm[0m 3.44 KB [2m(asset)[0m
|
|
14
|
+
[35mtree-sitter-markdown-411r6y9b.wasm[0m 0.42 MB [2m(asset)[0m
|
|
15
|
+
[35minjections-73j83es3.scm[0m 0.82 KB [2m(asset)[0m
|
|
16
|
+
[35mhighlights-x6tmsnaa.scm[0m 2.15 KB [2m(asset)[0m
|
|
17
|
+
[35mtree-sitter-markdown_inline-j5349f42.wasm[0m 0.43 MB [2m(asset)[0m
|
|
18
|
+
[35mhighlights-hk7bwhj4.scm[0m 3.48 KB [2m(asset)[0m
|
|
19
|
+
[35mtree-sitter-zig-e78zbjpm.wasm[0m 0.69 MB [2m(asset)[0m
|
|
20
|
+
|
package/README.md
CHANGED
|
@@ -1,54 +1,147 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @multiplayer-app/debugging-agent
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Multiplayer CLI — AI-powered debugging agent and release management tool.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```
|
|
8
|
+
npm install -g @multiplayer-app/debugging-agent
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
multiplayer [command] [options]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
If no command is provided, the debugging agent starts in TUI mode.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Debugging Agent
|
|
22
|
+
|
|
23
|
+
Automatically resolves issues using AI. Connects to the Multiplayer backend and processes incoming issues in real time.
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
multiplayer [options]
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Options can be provided as flags, environment variables, or a `.multiplayer/config` profile file.
|
|
30
|
+
|
|
31
|
+
| Flag | Env var | Description |
|
|
32
|
+
|------|---------|-------------|
|
|
33
|
+
| `--api-key <key>` | `MULTIPLAYER_API_KEY` | Multiplayer API key |
|
|
34
|
+
| `--dir <path>` | `MULTIPLAYER_DIR` | Project directory (must be a git repo) |
|
|
35
|
+
| `--model <name>` | `AI_MODEL` | AI model (e.g. `claude-sonnet-4-6`, `gpt-4o`) |
|
|
36
|
+
| `--model-key <key>` | `AI_API_KEY` | API key for the AI provider (not needed for Claude) |
|
|
37
|
+
| `--model-url <url>` | `AI_BASE_URL` | Optional base URL for OpenAI-compatible APIs |
|
|
38
|
+
| `--headless` | `MULTIPLAYER_HEADLESS=true` | Run without TUI, outputs structured JSON logs |
|
|
39
|
+
| `--profile <name>` | `MULTIPLAYER_PROFILE` | Config profile to use (default: `default`) |
|
|
40
|
+
| `--name <name>` | `MULTIPLAYER_AGENT_NAME` | Agent name (defaults to hostname) |
|
|
41
|
+
| `--max-concurrent <n>` | `MULTIPLAYER_MAX_CONCURRENT` | Max parallel issues (default: `2`) |
|
|
42
|
+
| `--no-git-branch` | `MULTIPLAYER_NO_GIT_BRANCH=true` | Work in current branch — no worktree, no push |
|
|
43
|
+
| `--health-port <port>` | `MULTIPLAYER_HEALTH_PORT` | HTTP health check port (headless only) |
|
|
44
|
+
| `--url <url>` | `MULTIPLAYER_URL` | Multiplayer API base URL |
|
|
45
|
+
|
|
46
|
+
### TUI mode (default)
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
multiplayer --api-key <key> --dir /path/to/repo --model claude-sonnet-4-6
|
|
50
|
+
```
|
|
8
51
|
|
|
9
|
-
|
|
52
|
+
### Headless mode
|
|
10
53
|
|
|
11
54
|
```
|
|
12
|
-
|
|
55
|
+
multiplayer --headless --api-key <key> --dir /path/to/repo --model claude-sonnet-4-6
|
|
13
56
|
```
|
|
14
57
|
|
|
15
|
-
###
|
|
58
|
+
### Config profiles
|
|
16
59
|
|
|
17
|
-
|
|
60
|
+
Create a `.multiplayer/config` file in your project or home directory:
|
|
18
61
|
|
|
19
|
-
|
|
62
|
+
```ini
|
|
63
|
+
[default]
|
|
64
|
+
api_key = <your-api-key>
|
|
65
|
+
dir = /path/to/repo
|
|
66
|
+
model = claude-sonnet-4-6
|
|
67
|
+
max_concurrent = 2
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Releases
|
|
20
73
|
|
|
21
74
|
```
|
|
22
|
-
multiplayer
|
|
75
|
+
multiplayer releases create [options]
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
| Flag | Env var | Description |
|
|
79
|
+
|------|---------|-------------|
|
|
80
|
+
| `--api-key <key>` | `MULTIPLAYER_API_KEY` | Multiplayer API key |
|
|
81
|
+
| `--service <name>` | `SERVICE_NAME` | Service name |
|
|
82
|
+
| `--release-version <version>` | `RELEASE` | Release version |
|
|
83
|
+
| `--commit-hash <hash>` | `COMMIT_HASH` | Commit hash |
|
|
84
|
+
| `--repository-url <url>` | `REPOSITORY_URL` | Repository URL |
|
|
85
|
+
| `--release-notes <notes>` | `RELEASE_NOTES` | Release notes (optional) |
|
|
86
|
+
| `--base-url <url>` | `BASE_URL` | API base URL (optional) |
|
|
23
87
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
--
|
|
29
|
-
--
|
|
88
|
+
**Example:**
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
multiplayer releases create \
|
|
92
|
+
--api-key $MULTIPLAYER_API_KEY \
|
|
93
|
+
--service my-service \
|
|
94
|
+
--release-version 1.2.3 \
|
|
95
|
+
--commit-hash abc123 \
|
|
96
|
+
--repository-url https://github.com/org/repo
|
|
30
97
|
```
|
|
31
98
|
|
|
32
|
-
|
|
99
|
+
---
|
|
33
100
|
|
|
101
|
+
## Deployments
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
multiplayer deployments create [options]
|
|
34
105
|
```
|
|
35
|
-
multiplayer-app-cli deployments create --apiKey=[apiKey] --service=[name] --release=[release] --environment=[environment]
|
|
36
106
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
107
|
+
| Flag | Env var | Description |
|
|
108
|
+
|------|---------|-------------|
|
|
109
|
+
| `--api-key <key>` | `MULTIPLAYER_API_KEY` | Multiplayer API key |
|
|
110
|
+
| `--service <name>` | `SERVICE_NAME` | Service name |
|
|
111
|
+
| `--release <version>` | `RELEASE` | Release version |
|
|
112
|
+
| `--environment <name>` | `ENVIRONMENT` | Environment name |
|
|
113
|
+
| `--base-url <url>` | `BASE_URL` | API base URL (optional) |
|
|
114
|
+
|
|
115
|
+
**Example:**
|
|
116
|
+
|
|
42
117
|
```
|
|
118
|
+
multiplayer deployments create \
|
|
119
|
+
--api-key $MULTIPLAYER_API_KEY \
|
|
120
|
+
--service my-service \
|
|
121
|
+
--release 1.2.3 \
|
|
122
|
+
--environment production
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
---
|
|
43
126
|
|
|
44
|
-
|
|
127
|
+
## Sourcemaps
|
|
45
128
|
|
|
46
129
|
```
|
|
47
|
-
multiplayer
|
|
130
|
+
multiplayer sourcemaps upload <directories...> [options]
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
| Flag | Env var | Description |
|
|
134
|
+
|------|---------|-------------|
|
|
135
|
+
| `--api-key <key>` | `MULTIPLAYER_API_KEY` | Multiplayer API key |
|
|
136
|
+
| `--service <name>` | `SERVICE_NAME` | Service name |
|
|
137
|
+
| `--release <version>` | `RELEASE` | Release version |
|
|
138
|
+
| `--base-url <url>` | `BASE_URL` | API base URL (optional) |
|
|
48
139
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
--
|
|
140
|
+
**Example:**
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
multiplayer sourcemaps upload ./dist ./build \
|
|
144
|
+
--api-key $MULTIPLAYER_API_KEY \
|
|
145
|
+
--service my-service \
|
|
146
|
+
--release 1.2.3
|
|
54
147
|
```
|