@multiplayer-app/cli 1.3.36 → 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.
@@ -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
+ Bundled 905 modules in 160ms
7
+
8
+ index.js 6.96 MB (entry point)
9
+ highlights-ghv9g403.scm 2.86 KB (asset)
10
+ tree-sitter-javascript-nd0q4pe9.wasm 0.41 MB (asset)
11
+ highlights-eq9cgrbb.scm 9.83 KB (asset)
12
+ tree-sitter-typescript-zxjzwt75.wasm 1.41 MB (asset)
13
+ highlights-r812a2qc.scm 3.44 KB (asset)
14
+ tree-sitter-markdown-411r6y9b.wasm 0.42 MB (asset)
15
+ injections-73j83es3.scm 0.82 KB (asset)
16
+ highlights-x6tmsnaa.scm 2.15 KB (asset)
17
+ tree-sitter-markdown_inline-j5349f42.wasm 0.43 MB (asset)
18
+ highlights-hk7bwhj4.scm 3.48 KB (asset)
19
+ tree-sitter-zig-e78zbjpm.wasm 0.69 MB (asset)
20
+
@@ -0,0 +1,5 @@
1
+
2
+ 
3
+ > @multiplayer-app/cli@1.3.36 lint /Users/dima/Projects/multiplayer-debugger-javascript/packages/cli
4
+ > eslint src/**/*.ts --config eslint.config.js
5
+
package/README.md CHANGED
@@ -1,54 +1,147 @@
1
- # Overview
1
+ # @multiplayer-app/debugging-agent
2
2
 
3
- This module is for creating release and deployment. It can be used from the command line or programatically from a node script.
3
+ Multiplayer CLI AI-powered debugging agent and release management tool.
4
4
 
5
- ## Command Line
5
+ ## Install
6
6
 
7
- ### Install
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
- In order to create release or deployment from the command line, install the library globally.
52
+ ### Headless mode
10
53
 
11
54
  ```
12
- npm install -g @multiplayer-app/cli
55
+ multiplayer --headless --api-key <key> --dir /path/to/repo --model claude-sonnet-4-6
13
56
  ```
14
57
 
15
- ### Usage
58
+ ### Config profiles
16
59
 
17
- Options can be provided on the command line or as environment variables.
60
+ Create a `.multiplayer/config` file in your project or home directory:
18
61
 
19
- ##### Create release:
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-app-cli releases create --apiKey=[apiKey] --service=[name] --release=[release] --releaseNotes=[releaseNotes]
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
- Options:
25
- --apiKey Multiplayer personal user API key (MULTIPLAYER_API_KEY)
26
- --service Service name (SERVICE_NAME)
27
- --release Service release (RELEASE)
28
- --commitHash [Optional] Repository URL (REPOSITORY_URL)
29
- --releaseNotes [Optional] Release notes (RELEASE_NOTES)
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
- ##### To create deployment:
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
- Options:
38
- --apiKey Multiplayer personal user API key (MULTIPLAYER_API_KEY)
39
- --service Service name (SERVICE_NAME)
40
- --release Service release (RELEASE)
41
- --environment [Optional] Environment name (ENVIRONMENT)
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
- ### Upload sourcemap
127
+ ## Sourcemaps
45
128
 
46
129
  ```
47
- multiplayer-app-cli sourcemap upload /path/to/directory --apiKey=[apiKey] --service=[name] --release=[release] --environment=[environment]
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
- Options:
50
- --apiKey Multiplayer personal user API key (MULTIPLAYER_API_KEY)
51
- --service Service name (SERVICE_NAME)
52
- --release Service release (RELEASE)
53
- --environment [Optional] Environment name (ENVIRONMENT)
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
  ```