execbro 1.10.16 → 1.10.18
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 +60 -360
- package/build/__tests__/unit/flowpoints.test.d.ts +2 -0
- package/build/__tests__/unit/flowpoints.test.d.ts.map +1 -0
- package/build/__tests__/unit/flowpoints.test.js +126 -0
- package/build/__tests__/unit/flowpoints.test.js.map +1 -0
- package/build/__tests__/unit/flowpointsQuery.test.d.ts +2 -0
- package/build/__tests__/unit/flowpointsQuery.test.d.ts.map +1 -0
- package/build/__tests__/unit/flowpointsQuery.test.js +91 -0
- package/build/__tests__/unit/flowpointsQuery.test.js.map +1 -0
- package/build/__tests__/unit/licenseGrace.test.d.ts +2 -0
- package/build/__tests__/unit/licenseGrace.test.d.ts.map +1 -0
- package/build/__tests__/unit/licenseGrace.test.js +62 -0
- package/build/__tests__/unit/licenseGrace.test.js.map +1 -0
- package/build/__tests__/unit/telemetryModes.test.d.ts +2 -0
- package/build/__tests__/unit/telemetryModes.test.d.ts.map +1 -0
- package/build/__tests__/unit/telemetryModes.test.js +29 -0
- package/build/__tests__/unit/telemetryModes.test.js.map +1 -0
- package/build/__tests__/unit/usageGate.test.d.ts +2 -0
- package/build/__tests__/unit/usageGate.test.d.ts.map +1 -0
- package/build/__tests__/unit/usageGate.test.js +78 -0
- package/build/__tests__/unit/usageGate.test.js.map +1 -0
- package/build/__tests__/unit/usageNotifications.test.d.ts +2 -0
- package/build/__tests__/unit/usageNotifications.test.d.ts.map +1 -0
- package/build/__tests__/unit/usageNotifications.test.js +27 -0
- package/build/__tests__/unit/usageNotifications.test.js.map +1 -0
- package/build/__tests__/unit/verifyFlow.test.d.ts +2 -0
- package/build/__tests__/unit/verifyFlow.test.d.ts.map +1 -0
- package/build/__tests__/unit/verifyFlow.test.js +45 -0
- package/build/__tests__/unit/verifyFlow.test.js.map +1 -0
- package/build/core/guides.d.ts.map +1 -1
- package/build/core/guides.js +54 -10
- package/build/core/guides.js.map +1 -1
- package/build/core/license.d.ts +8 -0
- package/build/core/license.d.ts.map +1 -1
- package/build/core/license.js +60 -4
- package/build/core/license.js.map +1 -1
- package/build/core/register.d.ts.map +1 -1
- package/build/core/register.js +19 -3
- package/build/core/register.js.map +1 -1
- package/build/core/telemetry.d.ts +22 -0
- package/build/core/telemetry.d.ts.map +1 -1
- package/build/core/telemetry.js +122 -73
- package/build/core/telemetry.js.map +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -0
- package/build/index.js.map +1 -1
- package/build/pro/flowpointTools.d.ts +4 -0
- package/build/pro/flowpointTools.d.ts.map +1 -0
- package/build/pro/flowpointTools.js +266 -0
- package/build/pro/flowpointTools.js.map +1 -0
- package/build/pro/flowpoints.d.ts +86 -0
- package/build/pro/flowpoints.d.ts.map +1 -0
- package/build/pro/flowpoints.js +283 -0
- package/build/pro/flowpoints.js.map +1 -0
- package/build/pro/usageGate.d.ts +10 -0
- package/build/pro/usageGate.d.ts.map +1 -0
- package/build/pro/usageGate.js +72 -0
- package/build/pro/usageGate.js.map +1 -0
- package/build/pro/usageNotifications.d.ts +5 -0
- package/build/pro/usageNotifications.d.ts.map +1 -0
- package/build/pro/usageNotifications.js +88 -0
- package/build/pro/usageNotifications.js.map +1 -0
- package/build/tools/accountTools.d.ts.map +1 -1
- package/build/tools/accountTools.js +12 -1
- package/build/tools/accountTools.js.map +1 -1
- package/build/tools/metaTools.d.ts.map +1 -1
- package/build/tools/metaTools.js +23 -8
- package/build/tools/metaTools.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
# ExecBro
|
|
2
2
|
|
|
3
|
-
> [!IMPORTANT]
|
|
4
|
-
> **Already using ExecBro?** `npx` caches packages indefinitely, so you may be stuck on an old version without realizing it. Update your MCP config to use `npx -y execbro@latest` (see [Setup](#setup)) so every session pulls the latest release with new tools and bug fixes. New installs after this change auto-update automatically.
|
|
5
|
-
|
|
6
|
-
> Ships as the npm package `execbro`. Legacy `react-native-ai-devtools` and `react-native-ai-debugger` packages keep receiving identical builds via mirror-publish.
|
|
7
|
-
|
|
8
3
|
**Give your AI assistant eyes and hands into your running React Native app.** Like Chrome DevTools — but for AI agents.
|
|
9
4
|
|
|
10
5
|
Build, debug, and verify features end-to-end — without leaving the chat.
|
|
@@ -18,20 +13,17 @@ ExecBro is the runtime bridge between your AI coding assistant and your running
|
|
|
18
13
|
## Get started
|
|
19
14
|
|
|
20
15
|
1. [Setup ExecBro as an MCP server for your agent of choice](#setup)
|
|
21
|
-
2. [Setup UI automation helpers](#ios-simulator--ui-automation-setup)
|
|
22
|
-
3. [Install the SDK
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
2. [Setup UI automation helpers](docs/setup.md#ios-simulator--ui-automation-setup)
|
|
17
|
+
3. [Install the SDK in your React Native app](#install-the-sdk-recommended) — optional, but recommended for the most robust log, network, and state experience
|
|
18
|
+
4. [Authorize and link to the web dashboard](#see-your-usage--execbrocom) — optional for usage stats and session history, **required to unlock unlimited usage via ExecBro Pro**
|
|
19
|
+
5. Start your React Native app (`npm start` / `expo start`)
|
|
20
|
+
6. [Ask your AI assistant](#usage) in plain language — e.g. "Connect to the simulator and investigate what caused the error on the screen"
|
|
25
21
|
|
|
26
|
-
|
|
22
|
+
## See your usage — [execbro.com](https://execbro.com)
|
|
27
23
|
|
|
28
|
-
|
|
24
|
+
Log in at **[execbro.com](https://execbro.com)** to see your ExecBro activity rendered back to you: which tools you use most, tool **error rates**, and your **session history** — so you can spot flaky tools, track usage over time, and understand how your agent drives the app across sessions. It's built from the same anonymous telemetry described in [Telemetry & Privacy](#telemetry--privacy), tied to your installation ID.
|
|
29
25
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## Pricing
|
|
33
|
-
|
|
34
|
-
ExecBro is **free and open** — every feature, no usage limits, no account required. Use it as much as you like. The tools you run locally stay free; that's the model.
|
|
26
|
+
Linking your installation here is also **required to unlock [ExecBro Pro](#pricing)** — signing in and authorizing your installation is what lets the unlimited-usage plan take effect; without it, the free tier's monthly cap applies even after subscribing.
|
|
35
27
|
|
|
36
28
|
## Features
|
|
37
29
|
|
|
@@ -70,222 +62,20 @@ ExecBro is **free and open** — every feature, no usage limits, no account requ
|
|
|
70
62
|
|
|
71
63
|
## Setup
|
|
72
64
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
- [Claude Code](#claude-code) · [Claude Desktop](#claude-desktop) · [Codex CLI](#codex-cli-openai) · [Cursor](#cursor) · [VS Code Copilot](#vs-code-copilot) · [Windsurf](#windsurf) · [Zed](#zed) · [Gemini CLI](#gemini-cli)
|
|
76
|
-
|
|
77
|
-
After adding the server, fully restart the client (quit and relaunch, not just reload) so it picks up the new configuration.
|
|
78
|
-
|
|
79
|
-
### Legacy package names
|
|
80
|
-
|
|
81
|
-
The npm package was previously published as `react-native-ai-devtools` and before that as `react-native-ai-debugger`. Both legacy names continue to receive identical builds via mirror-publish — existing installations and MCP configs keep working unchanged. New installs should use `execbro`.
|
|
82
|
-
|
|
83
|
-
### Claude Code
|
|
65
|
+
Add ExecBro to Claude Code in one command — no installation, `npx` fetches the latest version on demand:
|
|
84
66
|
|
|
85
67
|
```bash
|
|
86
|
-
# Global (all projects)
|
|
87
68
|
claude mcp add execbro --scope user -- npx -y execbro@latest
|
|
88
|
-
|
|
89
|
-
# Project-specific
|
|
90
|
-
claude mcp add execbro --scope project -- npx -y execbro@latest
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
Or edit `~/.claude.json` (user) / `.mcp.json` (project) manually:
|
|
94
|
-
|
|
95
|
-
```json
|
|
96
|
-
{
|
|
97
|
-
"mcpServers": {
|
|
98
|
-
"execbro": {
|
|
99
|
-
"type": "stdio",
|
|
100
|
-
"command": "npx",
|
|
101
|
-
"args": ["-y", "execbro@latest"]
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
### Claude Desktop
|
|
108
|
-
|
|
109
|
-
Edit the config at:
|
|
110
|
-
|
|
111
|
-
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
112
|
-
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
113
|
-
|
|
114
|
-
```json
|
|
115
|
-
{
|
|
116
|
-
"mcpServers": {
|
|
117
|
-
"execbro": {
|
|
118
|
-
"command": "npx",
|
|
119
|
-
"args": ["-y", "execbro@latest"]
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
You can also open this file from **Settings → Developer → Edit Config**. Fully quit and relaunch Claude Desktop after saving.
|
|
126
|
-
|
|
127
|
-
### Codex CLI (OpenAI)
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
codex mcp add execbro -- npx -y execbro@latest
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
Or edit `~/.codex/config.toml` directly:
|
|
134
|
-
|
|
135
|
-
```toml
|
|
136
|
-
[mcp_servers.execbro]
|
|
137
|
-
command = "npx"
|
|
138
|
-
args = ["-y", "execbro@latest"]
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Cursor
|
|
142
|
-
|
|
143
|
-
[Docs](https://docs.cursor.com/context/model-context-protocol). Add via `Cmd+Shift+P` → "View: Open MCP Settings", or edit `.cursor/mcp.json` (project) / `~/.cursor/mcp.json` (global):
|
|
144
|
-
|
|
145
|
-
```json
|
|
146
|
-
{
|
|
147
|
-
"mcpServers": {
|
|
148
|
-
"execbro": {
|
|
149
|
-
"command": "npx",
|
|
150
|
-
"args": ["-y", "execbro@latest"]
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
### VS Code Copilot
|
|
157
|
-
|
|
158
|
-
Requires VS Code 1.102+ with Copilot ([docs](https://code.visualstudio.com/docs/copilot/customization/mcp-servers)). Add via `Cmd+Shift+P` → "MCP: Add Server", or edit `.vscode/mcp.json`:
|
|
159
|
-
|
|
160
|
-
```json
|
|
161
|
-
{
|
|
162
|
-
"servers": {
|
|
163
|
-
"execbro": {
|
|
164
|
-
"type": "stdio",
|
|
165
|
-
"command": "npx",
|
|
166
|
-
"args": ["-y", "execbro@latest"]
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
### Windsurf
|
|
173
|
-
|
|
174
|
-
[Docs](https://docs.windsurf.com/windsurf/cascade/mcp). Edit `~/.codeium/windsurf/mcp_config.json`:
|
|
175
|
-
|
|
176
|
-
```json
|
|
177
|
-
{
|
|
178
|
-
"mcpServers": {
|
|
179
|
-
"execbro": {
|
|
180
|
-
"command": "npx",
|
|
181
|
-
"args": ["-y", "execbro@latest"]
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
### Zed
|
|
188
|
-
|
|
189
|
-
[Docs](https://zed.dev/docs/ai/mcp). Open the Agent Panel settings → "Add Custom Server", or add to `settings.json`:
|
|
190
|
-
|
|
191
|
-
```json
|
|
192
|
-
{
|
|
193
|
-
"context_servers": {
|
|
194
|
-
"execbro": {
|
|
195
|
-
"command": "npx",
|
|
196
|
-
"args": ["-y", "execbro@latest"],
|
|
197
|
-
"env": {}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
### Gemini CLI
|
|
204
|
-
|
|
205
|
-
Edit `~/.gemini/settings.json` (user) or `.gemini/settings.json` (project):
|
|
206
|
-
|
|
207
|
-
```json
|
|
208
|
-
{
|
|
209
|
-
"mcpServers": {
|
|
210
|
-
"execbro": {
|
|
211
|
-
"command": "npx",
|
|
212
|
-
"args": ["-y", "execbro@latest"]
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
### Android
|
|
219
|
-
|
|
220
|
-
Android works out of the box — all device control tools use ADB, which ships with Android Studio. Verify it's available:
|
|
221
|
-
|
|
222
|
-
```bash
|
|
223
|
-
adb devices
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
### iOS Simulator — UI Automation Setup
|
|
227
|
-
|
|
228
|
-
iOS UI automation tools (tap, swipe, text input, accessibility queries) require a UI driver. Install one of the following:
|
|
229
|
-
|
|
230
|
-
**Option A: AXe CLI (default)**
|
|
231
|
-
|
|
232
|
-
[AXe](https://github.com/cameroncooke/AXe) is a standalone CLI for iOS simulator automation. No daemon required — single binary, simple setup. Used by default; no `IOS_DRIVER` env var needed.
|
|
233
|
-
|
|
234
|
-
```bash
|
|
235
|
-
brew install cameroncooke/axe/axe
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
Verify: `axe --version`
|
|
239
|
-
|
|
240
|
-
> **Note:** AXe text input only supports US keyboard layout characters.
|
|
241
|
-
|
|
242
|
-
**Option B: IDB (alternative)**
|
|
243
|
-
|
|
244
|
-
[IDB (iOS Development Bridge)](https://github.com/facebook/idb) is a tool built by Meta for automating iOS Simulators. Requires a background daemon. Use this if you prefer IDB or hit AXe limitations.
|
|
245
|
-
|
|
246
|
-
```bash
|
|
247
|
-
brew install idb-companion
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
Verify: `idb_companion --list 1`
|
|
251
|
-
|
|
252
|
-
Opt in by setting `IOS_DRIVER=idb` in your MCP server configuration:
|
|
253
|
-
|
|
254
|
-
```json
|
|
255
|
-
{
|
|
256
|
-
"mcpServers": {
|
|
257
|
-
"execbro": {
|
|
258
|
-
"type": "stdio",
|
|
259
|
-
"command": "npx",
|
|
260
|
-
"args": ["-y", "execbro@latest"],
|
|
261
|
-
"env": { "IOS_DRIVER": "idb" }
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
69
|
```
|
|
266
70
|
|
|
267
|
-
|
|
71
|
+
Then fully restart the client (quit and relaunch) so it picks up the new server.
|
|
268
72
|
|
|
269
|
-
|
|
270
|
-
| --------------------------------- | --------------- | ------------ |
|
|
271
|
-
| Screenshots | Yes (simctl) | Yes |
|
|
272
|
-
| App install/launch/terminate | Yes (simctl) | Yes |
|
|
273
|
-
| URL opening | Yes (simctl) | Yes |
|
|
274
|
-
| Boot simulator | Yes (simctl) | Yes |
|
|
275
|
-
| **Tap / swipe / gestures** | **No** | Yes |
|
|
276
|
-
| **Text input** | **No** | Yes |
|
|
277
|
-
| **Accessibility tree queries** | **No** | Yes |
|
|
278
|
-
| **Element finding / waiting** | **No** | Yes |
|
|
279
|
-
| **Hardware buttons (Home, Lock)** | **No** | Yes |
|
|
280
|
-
|
|
281
|
-
> **Troubleshooting**: If you see errors like `"IDB is not installed"` or `"AXe is not installed"` in tap results, install the appropriate driver with the commands above and retry.
|
|
73
|
+
**Using a different client or need platform setup?** The [full setup guide](docs/setup.md) covers Claude Desktop, Codex CLI, Cursor, VS Code Copilot, Windsurf, Zed, and Gemini CLI, plus [Android](docs/setup.md#android) and [iOS simulator UI automation](docs/setup.md#ios-simulator--ui-automation-setup) requirements.
|
|
282
74
|
|
|
283
75
|
## Install the SDK (recommended)
|
|
284
76
|
|
|
285
77
|
ExecBro works with zero app changes, but installing the companion [`execbro-sdk`](https://www.npmjs.com/package/execbro-sdk) package is the single biggest upgrade to debugging quality. It lets you **wire up the important parts of your app — your state stores and your network layer — directly into the agent's reach**, so the AI inspects real Redux/TanStack Query state and full request/response bodies instead of guessing from the outside.
|
|
286
78
|
|
|
287
|
-
Under the hood, the MCP server connects over Chrome DevTools Protocol (CDP), which misses events that fire before it attaches and can't read request/response bodies on newer architectures. The SDK patches `fetch` and `console` at import time and buffers everything in-app from the very first line — the MCP server auto-detects it and reads from it, no extra config.
|
|
288
|
-
|
|
289
79
|
| | Without SDK | With SDK |
|
|
290
80
|
| ---------------------------------------- | ----------------------- | ------------------------------ |
|
|
291
81
|
| State stores (Redux, TanStack Query, …) | Manual via `execute_in_app` | **Wired up — direct references** |
|
|
@@ -294,31 +84,7 @@ Under the hood, the MCP server connects over Chrome DevTools Protocol (CDP), whi
|
|
|
294
84
|
| Console logs from startup | May miss early logs | Captured from first log |
|
|
295
85
|
| Works on Bridgeless (Expo SDK 52+) | Partial | Full |
|
|
296
86
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
```bash
|
|
300
|
-
npm install execbro-sdk
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
**Initialize** — add to your app's entry file (`index.js`, `App.tsx`, or `app/_layout.tsx` for Expo Router) as the **first import**, and pass in the stores and references you want the agent to reach:
|
|
304
|
-
|
|
305
|
-
```js
|
|
306
|
-
import { init } from 'execbro-sdk';
|
|
307
|
-
import { store } from './store'; // Redux store
|
|
308
|
-
import { queryClient } from './queryClient'; // TanStack Query
|
|
309
|
-
import { navigationRef } from './navigation';
|
|
310
|
-
|
|
311
|
-
if (__DEV__) {
|
|
312
|
-
init({
|
|
313
|
-
stores: { redux: store, queryClient },
|
|
314
|
-
navigation: navigationRef,
|
|
315
|
-
});
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
// ... rest of your imports
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
`init()` alone (no arguments) already unlocks full log and network capture. Wiring `stores`, `navigation`, or `custom` references is what makes the agent able to read and reason about your app's state directly. See the [SDK README](https://github.com/igorzheludkov/execbro-sdk#readme) for every config option.
|
|
87
|
+
It's one `npm install` plus a single `init()` call in your app's entry file. See the [SDK guide](docs/sdk.md) for install, initialization, and every config option.
|
|
322
88
|
|
|
323
89
|
## Requirements
|
|
324
90
|
|
|
@@ -326,7 +92,7 @@ if (__DEV__) {
|
|
|
326
92
|
- React Native app running with Metro bundler
|
|
327
93
|
- **Recommended**: [`execbro-sdk`](#install-the-sdk-recommended) in your app — wires stores and the network layer into the agent for dramatically better debugging (optional; ExecBro works without it)
|
|
328
94
|
- **iOS UI automation**: [AXe CLI](https://github.com/cameroncooke/AXe) (`brew install cameroncooke/axe/axe`, default) or [Facebook IDB](https://fbidb.io/) (`brew install idb-companion`, opt in via `IOS_DRIVER=idb`) — required for tap, swipe, text input, accessibility on iOS Simulator
|
|
329
|
-
- **Optional for offline OCR fallback**: Python 3.6+ (only needed when cloud OCR is unavailable, see [OCR
|
|
95
|
+
- **Optional for offline OCR fallback**: Python 3.6+ (only needed when cloud OCR is unavailable, see [OCR guide](docs/ocr.md))
|
|
330
96
|
|
|
331
97
|
## Claude Code Skills
|
|
332
98
|
|
|
@@ -341,6 +107,7 @@ See the [full tool reference](docs/tools.md) for all tools with descriptions. Ke
|
|
|
341
107
|
| `scan_metro` | **Start here** — scan for Metro servers and auto-connect |
|
|
342
108
|
| `get_logs` / `search_logs` | Capture and search console logs with filtering and summaries |
|
|
343
109
|
| `get_network_requests` | Monitor HTTP requests with method/status filtering |
|
|
110
|
+
| `get_flowpoints` / `verify_flow` | Flow tracing + factual verification: query, wait on, and assert `flowpoint()` breadcrumbs (SDK) |
|
|
344
111
|
| `get_screen_layout` | Screen map of visible components with positions, sizes, and text content |
|
|
345
112
|
| `tap` | **Unified tap** — auto-detects platform, tries fiber → accessibility → OCR → coordinates |
|
|
346
113
|
| `ios_input_text` / `android_input_text` | Type text into the focused field. `replace:true` clears pre-filled values first (Fabric) |
|
|
@@ -359,21 +126,35 @@ See the [full tool reference](docs/tools.md) for all tools with descriptions. Ke
|
|
|
359
126
|
expo start
|
|
360
127
|
```
|
|
361
128
|
|
|
362
|
-
2.
|
|
129
|
+
2. Just describe what you want in plain language — the agent picks the right tools. You don't need to know tool names or ask for a specific one. For example:
|
|
363
130
|
|
|
364
131
|
```
|
|
365
|
-
|
|
132
|
+
Connect to the simulator and investigate what caused the error on the screen
|
|
366
133
|
```
|
|
367
|
-
|
|
368
|
-
3. Get logs:
|
|
369
134
|
```
|
|
370
|
-
|
|
135
|
+
Check the network logs and investigate why this error is happening
|
|
136
|
+
```
|
|
137
|
+
```
|
|
138
|
+
Why is the current screen empty? Take a look and figure it out
|
|
139
|
+
```
|
|
140
|
+
```
|
|
141
|
+
Tap the "Sign in" button and tell me what happens
|
|
142
|
+
```
|
|
143
|
+
```
|
|
144
|
+
The list won't scroll — scroll it down and check what's going on
|
|
145
|
+
```
|
|
371
146
|
```
|
|
147
|
+
Instrument the checkout flow with flowpoints, run it, and verify the steps fire in order
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
The agent connects to Metro, reads logs and network, inspects the screen, and drives the UI as needed to answer.
|
|
372
151
|
|
|
373
152
|
## Detailed Guides
|
|
374
153
|
|
|
375
154
|
| Guide | Description |
|
|
376
155
|
| ---------------------------------------------------------- | ------------------------------------------------------------------------------- |
|
|
156
|
+
| [Setup](docs/setup.md) | Per-client MCP config (Claude, Codex, Cursor, VS Code, …), Android & iOS setup |
|
|
157
|
+
| [SDK Setup](docs/sdk.md) | Install & `init()` the in-app SDK to wire stores + network layer into the agent |
|
|
377
158
|
| [Console Logging](docs/logging.md) | `get_logs` parameters, filtering, summary mode, TONL format, token optimization |
|
|
378
159
|
| [Network Tracking](docs/network.md) | SDK setup for full capture, filtering, request details, statistics |
|
|
379
160
|
| [App Inspection](docs/app-inspection.md) | Debug globals (Apollo, Redux, Expo Router), `execute_in_app`, limitations |
|
|
@@ -383,16 +164,6 @@ See the [full tool reference](docs/tools.md) for all tools with descriptions. Ke
|
|
|
383
164
|
| [Claude Code Skills](docs/skills.md) | Pre-built skills for session setup, debugging, and automation |
|
|
384
165
|
| [Full Tool Reference](docs/tools.md) | Complete list of all 40+ tools with descriptions |
|
|
385
166
|
|
|
386
|
-
## Supported React Native Versions
|
|
387
|
-
|
|
388
|
-
| Version | Architecture | Engine | Status |
|
|
389
|
-
| -------------- | --------------------- | ------------ | ------------------------------------------------ |
|
|
390
|
-
| Expo SDK 54+ | Bridgeless (New Arch) | Hermes | ✓ Fully supported |
|
|
391
|
-
| RN 0.76+ | Bridgeless (New Arch) | Hermes | ✓ Fully supported |
|
|
392
|
-
| RN 0.73 - 0.75 | Bridge (Old Arch) | Hermes | ✓ Fully supported (best network capture via CDP) |
|
|
393
|
-
| RN 0.70 - 0.72 | Bridge (Old Arch) | Hermes / JSC | ✓ Supported |
|
|
394
|
-
| RN < 0.70 | Bridge | JSC | Not tested |
|
|
395
|
-
|
|
396
167
|
## How It Works
|
|
397
168
|
|
|
398
169
|
1. Fetches device list from Metro's `/json` endpoint
|
|
@@ -405,45 +176,10 @@ See the [full tool reference](docs/tools.md) for all tools with descriptions. Ke
|
|
|
405
176
|
|
|
406
177
|
## Connection Management
|
|
407
178
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
### Graceful Shutdown
|
|
413
|
-
|
|
414
|
-
When the MCP server process is terminated (`SIGINT`/`SIGTERM`), it closes all CDP WebSocket connections and cancels reconnection timers, freeing the CDP slot immediately for other sessions.
|
|
415
|
-
|
|
416
|
-
### Reconnection on Disconnect
|
|
417
|
-
|
|
418
|
-
When the connection to Metro is lost (e.g., app restart, Metro restart, or network issues):
|
|
419
|
-
|
|
420
|
-
1. The server automatically attempts to reconnect
|
|
421
|
-
2. Uses exponential backoff: 500ms, 1s, 2s, 4s, 8s (up to 8 attempts)
|
|
422
|
-
3. Re-fetches device list to handle new WebSocket URLs
|
|
423
|
-
4. Preserves existing log and network buffers
|
|
424
|
-
|
|
425
|
-
### Connection Gap Warnings
|
|
426
|
-
|
|
427
|
-
If there was a recent disconnect, `get_logs` and `get_network_requests` will include a warning:
|
|
428
|
-
|
|
429
|
-
```
|
|
430
|
-
[WARNING] Connection was restored 5s ago. Some logs may have been missed during the 3s gap.
|
|
431
|
-
```
|
|
432
|
-
|
|
433
|
-
### Monitor Connection Health
|
|
434
|
-
|
|
435
|
-
Use `get_connection_status` to see detailed connection information:
|
|
436
|
-
|
|
437
|
-
```
|
|
438
|
-
=== Connection Status ===
|
|
439
|
-
|
|
440
|
-
--- React Native (Port 8081) ---
|
|
441
|
-
Status: CONNECTED
|
|
442
|
-
Connected since: 2:45:30 PM
|
|
443
|
-
Uptime: 5m 23s
|
|
444
|
-
Recent gaps: 1
|
|
445
|
-
- 2:43:15 PM (2s): Connection closed
|
|
446
|
-
```
|
|
179
|
+
- **One server per session** — each agent session (each terminal or IDE window) runs its own ExecBro MCP server instance.
|
|
180
|
+
- **Connects on request, not on startup** — the server never auto-connects. It only attaches to your running React Native app when you ask it to (e.g. `scan_metro`), so it stays out of the way until you actually need a device.
|
|
181
|
+
- **One driver per device** — if two or more sessions in the same project point at the same Metro/device, they'll compete to control it, like a car with two steering wheels. Keep interaction to a single session per device.
|
|
182
|
+
- **Want parallel sessions? Give each its own device + port** — run separate work in a [git worktree](https://git-scm.com/docs/git-worktree) with its own Metro instance on a different port, and connect a second device (simulator/emulator) to it. For example, keep `main` on the default `8081` and start the worktree's Metro on `8082` (`npx react-native start --port 8082`, or `npx expo start --port 8082`), then launch that worktree's app pointed at `8082`. Each agent session then `scan_metro`s and drives its own device, so the two never fight over the connection.
|
|
447
183
|
|
|
448
184
|
## Troubleshooting
|
|
449
185
|
|
|
@@ -452,14 +188,6 @@ Use `get_connection_status` to see detailed connection information:
|
|
|
452
188
|
- Make sure the app is running on a simulator/device
|
|
453
189
|
- Check that Metro bundler is running (`npm start`)
|
|
454
190
|
|
|
455
|
-
### Wrong device connected
|
|
456
|
-
|
|
457
|
-
The server prioritizes devices in this order:
|
|
458
|
-
|
|
459
|
-
1. React Native Bridgeless (SDK 54+)
|
|
460
|
-
2. Hermes React Native
|
|
461
|
-
3. Any React Native (excluding Reanimated/Experimental)
|
|
462
|
-
|
|
463
191
|
### Logs not appearing
|
|
464
192
|
|
|
465
193
|
- Ensure the app is actively running (not just Metro)
|
|
@@ -467,71 +195,43 @@ The server prioritizes devices in this order:
|
|
|
467
195
|
- Check `get_apps` to verify connection status
|
|
468
196
|
- **On cold start (first launch):** The CDP connection is established after the app's early initialization code has already run, so startup logs and network requests are missed. Once connected, use `reload_app` — the subsequent reload captures everything from the beginning because the connection is already in place. To capture startup events on every launch, install the optional [SDK](https://www.npmjs.com/package/execbro-sdk)
|
|
469
197
|
|
|
470
|
-
## Telemetry &
|
|
471
|
-
|
|
472
|
-
This package collects anonymous usage telemetry to help improve the product. No personal information is collected.
|
|
473
|
-
|
|
474
|
-
### What is collected
|
|
475
|
-
|
|
476
|
-
| Data | Purpose |
|
|
477
|
-
| ----------------- | ---------------------------------------- |
|
|
478
|
-
| Tool names | Which MCP tools are used most |
|
|
479
|
-
| Success/failure | Error rates for reliability improvements |
|
|
480
|
-
| Duration (ms) | Performance monitoring |
|
|
481
|
-
| Session start/end | Retention analysis |
|
|
482
|
-
| Platform | macOS/Linux/Windows distribution |
|
|
483
|
-
| Server version | Adoption of new versions |
|
|
484
|
-
|
|
485
|
-
**Not collected**: No file paths, code content, network data, or personally identifiable information.
|
|
486
|
-
|
|
487
|
-
### Auto-registration
|
|
488
|
-
|
|
489
|
-
On first tool use, the package automatically registers your installation with our backend. No account or login is required — the Tool works fully out of the box.
|
|
198
|
+
## Telemetry & Privacy
|
|
490
199
|
|
|
491
|
-
|
|
200
|
+
ExecBro sends two separate signals, not one:
|
|
492
201
|
|
|
493
|
-
**
|
|
202
|
+
- **Usage metering** (required, always on) — a counted tool-call signal that powers the free tier and enforces its monthly cap. This stays on whenever you're using the free tier; it cannot be disabled and still use ExecBro's free tools.
|
|
203
|
+
- **Product analytics** (optional) — tool names, success/failure, and durations, used to improve the product. **No source code, file paths, or app content is ever sent.** This is what powers your [usage dashboard](#see-your-usage--execbrocom). Disable it with `EXECBRO_TELEMETRY=false` in your MCP server config. Doing so turns off analytics only — it does **not** disable usage metering, which keeps counting tool calls against the free-tier cap regardless.
|
|
494
204
|
|
|
495
|
-
-
|
|
496
|
-
- A device fingerprint (one-way SHA-256 hash — cannot be reversed to recover its components)
|
|
497
|
-
- Platform, hostname, OS version, and server version
|
|
205
|
+
See the [Telemetry & Data Collection guide](docs/telemetry.md) for the full breakdown of what's collected, auto-registration, and how to opt out, and [PRIVACY.md](./PRIVACY.md) for the complete privacy policy.
|
|
498
206
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
Registration is fire-and-forget — it never blocks your work, fails silently if the network is unavailable, and can be disabled entirely (see Opt-out below). See [PRIVACY.md](./PRIVACY.md) for full details on data handling, storage, and your rights.
|
|
207
|
+
## Supported React Native Versions
|
|
502
208
|
|
|
503
|
-
|
|
209
|
+
| Version | Architecture | Engine | Status |
|
|
210
|
+
| -------------- | --------------------- | ------------ | ------------------------------------------------ |
|
|
211
|
+
| Expo SDK 54+ | Bridgeless (New Arch) | Hermes | ✓ Fully supported |
|
|
212
|
+
| RN 0.76+ | Bridgeless (New Arch) | Hermes | ✓ Fully supported |
|
|
213
|
+
| RN 0.73 - 0.75 | Bridge (Old Arch) | Hermes | ✓ Fully supported (best network capture via CDP) |
|
|
214
|
+
| RN 0.70 - 0.72 | Bridge (Old Arch) | Hermes / JSC | ✓ Supported |
|
|
215
|
+
| RN < 0.70 | Bridge | JSC | Not tested |
|
|
504
216
|
|
|
505
|
-
|
|
217
|
+
## Pricing
|
|
506
218
|
|
|
507
|
-
|
|
508
|
-
{
|
|
509
|
-
"mcpServers": {
|
|
510
|
-
"execbro": {
|
|
511
|
-
"type": "stdio",
|
|
512
|
-
"command": "npx",
|
|
513
|
-
"args": ["-y", "execbro@latest"],
|
|
514
|
-
"env": { "RN_DEBUGGER_TELEMETRY": "false" }
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
```
|
|
219
|
+
ExecBro is **free to use** — every feature, fully intelligent — up to **600 tool calls per month**. That covers evaluation and everyday debugging. Heavy users can remove the cap with **ExecBro Pro** ($9/mo) for unlimited calls and every future hosted feature. See [execbro.com/pricing](https://execbro.com/pricing). Existing users get an extra month before the cap applies, with in-app notice.
|
|
519
220
|
|
|
520
|
-
|
|
221
|
+
## Feedback & Feature Requests
|
|
521
222
|
|
|
522
|
-
|
|
223
|
+
**Please run this at the end of your session to help me make the tools better.** ExecBro is built for AI agents, so the most valuable feedback comes from the agent itself — paste this prompt to your agent:
|
|
523
224
|
|
|
524
|
-
|
|
225
|
+
> Write a report about your experience with the ExecBro tools — where you were struggling and what could be improved. Save it as a Markdown file for me, then submit it using the `send_feedback` tool (type `"feedback"`) so it becomes a GitHub issue.
|
|
525
226
|
|
|
526
|
-
|
|
227
|
+
It takes 30 seconds: your agent runs `send_feedback`, hands you a pre-filled GitHub issue URL (environment info already attached), and you click submit — no GitHub setup, no copy-pasting. Real friction logs from real sessions are what shape the roadmap and get fixed first, so please send one. 🙏 And if you just have a quick idea or question, drop into [GitHub Discussions](https://github.com/igorzheludkov/execbro/discussions) to share feedback, request features, and vote on what gets built next.
|
|
527
228
|
|
|
528
|
-
|
|
529
|
-
"env": { "RN_AI_DEVTOOLS_DISABLE_FAILURE_ARTIFACTS": "1" }
|
|
530
|
-
```
|
|
229
|
+
## Package names & staying up to date
|
|
531
230
|
|
|
532
|
-
|
|
231
|
+
Ships as the npm package `execbro`. The package was previously published as `react-native-ai-devtools` and before that as `react-native-ai-debugger` — both legacy names keep receiving identical builds via mirror-publish, so existing installations and MCP configs keep working unchanged. New installs should use `execbro`.
|
|
533
232
|
|
|
534
|
-
|
|
233
|
+
> [!IMPORTANT]
|
|
234
|
+
> **Already using ExecBro?** `npx` caches packages indefinitely, so you may be stuck on an old version without realizing it. Update your MCP config to use `npx -y execbro@latest` (see [Setup](#setup)) so every session pulls the latest release with new tools and bug fixes. New installs after this change auto-update automatically.
|
|
535
235
|
|
|
536
236
|
## License
|
|
537
237
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flowpoints.test.d.ts","sourceRoot":"","sources":["../../../src/__tests__/unit/flowpoints.test.ts"],"names":[],"mappings":""}
|