@weavetab/mcp 2.5.0-beta.1 → 2.5.0-beta.4
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/AGENTS.md +2 -1
- package/ARCHITECTURE.md +6 -6
- package/LICENSE +1 -1
- package/README.md +164 -802
- package/SECURITY.md +33 -22
- package/TROUBLESHOOTING.md +3 -3
- package/dist/cdp/bridge.d.ts +10 -0
- package/dist/cdp/bridge.js +285 -78
- package/dist/cdp/connector.d.ts +7 -3
- package/dist/cdp/connector.js +196 -75
- package/dist/cdp/helpers.d.ts +4 -0
- package/dist/cdp/helpers.js +181 -0
- package/dist/cdp/lock.d.ts +9 -6
- package/dist/cdp/lock.js +72 -59
- package/dist/cdp/omni_broker.d.ts +2 -1
- package/dist/cdp/omni_broker.js +13 -7
- package/dist/cdp/profiles.d.ts +10 -0
- package/dist/cdp/profiles.js +65 -0
- package/dist/cdp/walker.d.ts +25 -1
- package/dist/cdp/walker.js +354 -7
- package/dist/cli/plugin.d.ts +0 -2
- package/dist/cli/plugin.js +51 -696
- package/dist/cli/updater.d.ts +1 -1
- package/dist/cli/updater.js +27 -7
- package/dist/config/loader.d.ts +33 -6
- package/dist/config/loader.js +174 -22
- package/dist/desktop/discovery.d.ts +44 -0
- package/dist/desktop/discovery.js +364 -0
- package/dist/index.js +140 -64
- package/dist/intelligence/marks.d.ts +36 -0
- package/dist/intelligence/marks.js +30 -0
- package/dist/intelligence/patternCompiler.d.ts +118 -0
- package/dist/intelligence/patternCompiler.js +259 -0
- package/dist/intelligence/sessionMemory.d.ts +2 -0
- package/dist/intelligence/sessionMemory.js +18 -8
- package/dist/overlay/ghost.js +2 -2
- package/dist/overlay/injector.js +3 -5
- package/dist/plugin/extension_bridge.d.ts +40 -0
- package/dist/plugin/extension_bridge.js +158 -0
- package/dist/plugin/interface.d.ts +151 -15
- package/dist/plugin/loader.d.ts +19 -1
- package/dist/plugin/loader.js +331 -63
- package/dist/plugin/pipeline.d.ts +75 -0
- package/dist/plugin/pipeline.js +183 -0
- package/dist/plugin/registry.js +12 -1
- package/dist/plugin/storage.d.ts +51 -0
- package/dist/plugin/storage.js +164 -0
- package/dist/security/secrets.d.ts +1 -0
- package/dist/security/secrets.js +13 -0
- package/dist/sensors/actionability.js +1 -2
- package/dist/sensors/guard.js +4 -10
- package/dist/sensors/mutations.js +12 -0
- package/dist/sensors/operation_monitor.js +1 -0
- package/dist/server.d.ts +1 -1
- package/dist/server.js +600 -236
- package/dist/state/agent.d.ts +1 -0
- package/dist/state/agent.js +3 -0
- package/dist/state/delta.d.ts +12 -4
- package/dist/state/delta.js +67 -14
- package/dist/state/session.d.ts +8 -2
- package/dist/state/session.js +60 -13
- package/dist/tools/browser_detect.d.ts +16 -2
- package/dist/tools/browser_detect.js +54 -6
- package/dist/tools/burst.d.ts +17 -7
- package/dist/tools/burst.js +240 -83
- package/dist/tools/checkpoint.d.ts +38 -0
- package/dist/tools/checkpoint.js +271 -0
- package/dist/tools/click.d.ts +1 -0
- package/dist/tools/click.js +97 -98
- package/dist/tools/clipboard.js +31 -24
- package/dist/tools/design_extract.js +1 -1
- package/dist/tools/eval.js +1 -1
- package/dist/tools/fill.d.ts +20 -1
- package/dist/tools/fill.js +199 -40
- package/dist/tools/find.d.ts +16 -0
- package/dist/tools/find.js +67 -44
- package/dist/tools/github/index.d.ts +19 -4
- package/dist/tools/github/index.js +40 -4
- package/dist/tools/highlight.d.ts +6 -2
- package/dist/tools/highlight.js +158 -72
- package/dist/tools/inspect.js +1 -1
- package/dist/tools/key.js +65 -56
- package/dist/tools/navigate.d.ts +1 -1
- package/dist/tools/navigate.js +57 -44
- package/dist/tools/pdf.js +21 -13
- package/dist/tools/pointer.d.ts +18 -3
- package/dist/tools/pointer.js +89 -1
- package/dist/tools/read.d.ts +28 -8
- package/dist/tools/read.js +230 -56
- package/dist/tools/scrape.js +67 -13
- package/dist/tools/screenshot.js +21 -16
- package/dist/tools/scroll.js +6 -11
- package/dist/tools/select.js +8 -2
- package/dist/tools/snapshot.js +3 -34
- package/dist/tools/tabs.d.ts +10 -10
- package/dist/tools/tabs.js +55 -39
- package/dist/tools/thought.d.ts +2 -0
- package/dist/tools/thought.js +13 -14
- package/dist/tools/type.d.ts +2 -0
- package/dist/tools/type.js +109 -60
- package/dist/tools/type_secret.js +42 -76
- package/dist/tools/upload.js +1 -1
- package/dist/tools/video_compiler.d.ts +1 -1
- package/dist/tools/video_compiler.js +11 -12
- package/dist/version.d.ts +5 -0
- package/dist/version.js +5 -0
- package/docs/DOCUMENTATION.md +82 -36
- package/docs/PLUGINS.md +82 -499
- package/docs/TOOLS.md +51 -99
- package/docs/architecture/blind-injection.md +83 -0
- package/docs/architecture/dual-injection.md +32 -0
- package/docs/architecture/overview.md +49 -0
- package/docs/architecture/security.md +35 -0
- package/docs/architecture/transport.md +37 -0
- package/docs/captcha-stealth/captcha-solver.md +75 -0
- package/docs/captcha-stealth/stealth-physics.md +60 -0
- package/docs/cli/cli-commands.md +44 -0
- package/docs/cli/cli-flags.md +20 -0
- package/docs/cli/cli-introduction.md +20 -0
- package/docs/cli/cli-scripting.md +32 -0
- package/docs/cli/g-ide/ide-antigravity.md +24 -0
- package/docs/cli/g-ide/ide-claude-code.md +24 -0
- package/docs/cli/g-ide/ide-claude-desktop.md +32 -0
- package/docs/cli/g-ide/ide-cursor.md +31 -0
- package/docs/cli/g-ide/ide-generic.md +34 -0
- package/docs/cli/g-ide/ide-opencode.md +24 -0
- package/docs/cli/g-ide/ide-vscode-copilot.md +24 -0
- package/docs/cli/g-ide/ide-windsurf.md +24 -0
- package/docs/configuration/config-locations.md +24 -0
- package/docs/configuration/configuration.md +73 -0
- package/docs/configuration/env-variables.md +19 -0
- package/docs/configuration/folders.md +55 -0
- package/docs/desktop-automation/electron-apps.md +217 -0
- package/docs/get-started/installation.md +47 -0
- package/docs/get-started/introduction.md +60 -0
- package/docs/get-started/quickstart.md +54 -0
- package/docs/get-started/setup-wizard.md +26 -0
- package/docs/intelligence/site-profiles.md +151 -0
- package/docs/skills-ecosystem/skills-overview.md +35 -0
- package/docs/skills-ecosystem/skills-recipes.md +36 -0
- package/docs/tools/tools.md +631 -0
- package/docs/troubleshooting/trouble-browser.md +27 -0
- package/docs/troubleshooting/trouble-config.md +20 -0
- package/docs/troubleshooting/trouble-loop.md +31 -0
- package/ext-dist/background.js +10 -62
- package/ext-dist/content.js +333 -921
- package/ext-dist/hud/hud.js +9 -9
- package/ext-dist/manifest.json +2 -6
- package/ext-dist/styles.css +6 -1
- package/mcp.json +108 -72
- package/package.json +14 -9
- package/server.json +3 -3
- package/docs/DEV_MODE.md +0 -68
- package/docs/dev_plugin.md +0 -310
- package/ext-dist/sidepanel/sidepanel.js +0 -25
- package/ext-dist/sidepanel.html +0 -547
package/docs/DOCUMENTATION.md
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
## Overview
|
|
8
8
|
|
|
9
|
-
Weavetab is a production-grade, in-process MCP (Model Context Protocol) server
|
|
9
|
+
Weavetab is a production-grade, in-process MCP (Model Context Protocol) server providing AI agents with direct, physical Layer 0 control across Chromium browsers and Electron desktop applications. It communicates directly over the Chrome DevTools Protocol (CDP) WebSocket at Layer 0 — no WebDriver process, no browser binary download, no cloud middleware.
|
|
10
10
|
|
|
11
11
|
### Core Capabilities
|
|
12
12
|
|
|
13
|
-
- **
|
|
13
|
+
- **44 Built-in MCP Tools** across functional categories (Vision, Navigation, Input, Tabs, Mission Execution, Dialog, Wait, Storage, Device, Network, Canvas, Output, Evaluation, GitHub, Office Documents)
|
|
14
14
|
- **Direct CDP WebSocket** — 3-8ms mean latency, zero process overhead
|
|
15
15
|
- **Semantic Delta Engine** — 5-10x token reduction via per-tab snapshot diffing
|
|
16
16
|
- **Ghost Cursor** — Bézier curve click engine with human acceleration and jitter
|
|
@@ -20,7 +20,7 @@ Weavetab is a production-grade, in-process MCP (Model Context Protocol) server t
|
|
|
20
20
|
- **Security Stack** — domain blacklist, RBAC (4 roles), rate limiter, loop detection, input filter, root guard
|
|
21
21
|
- **Burst Mode** — chain N actions in 1 MCP call via `browser_burst`
|
|
22
22
|
- **Plugin System** — Extensible plugin ecosystem supporting tool additions, overrides (with originalHandler wrapping), and tool removals across 3 trust tiers (Official, Verified, Unverified)
|
|
23
|
-
- **GitHub Integration** —
|
|
23
|
+
- **GitHub Integration** — Unified `browser_github` tool for repo analysis, file reading, issues, and PRs
|
|
24
24
|
|
|
25
25
|
### Weavetab Skills
|
|
26
26
|
|
|
@@ -61,7 +61,7 @@ MCP Client → stdio/WebSocket → WithSecurity Pipeline → CDP WebSocket → C
|
|
|
61
61
|
|
|
62
62
|
---
|
|
63
63
|
|
|
64
|
-
## Tool Reference (44
|
|
64
|
+
## Tool Reference (44 Tools)
|
|
65
65
|
|
|
66
66
|
All tools share: Zod schema validation, `withSecurity()` pipeline (rate limiting + domain policy + RBAC), structured audit logging.
|
|
67
67
|
|
|
@@ -69,8 +69,8 @@ All tools share: Zod schema validation, `withSecurity()` pipeline (rate limiting
|
|
|
69
69
|
|
|
70
70
|
| Tool | Description |
|
|
71
71
|
|------|-------------|
|
|
72
|
-
| `browser_map` | DOM enumeration with
|
|
73
|
-
| `browser_find` | Native CDP text search — ~10x cheaper than map
|
|
72
|
+
| `browser_map` | DOM enumeration (v3.0) with volatile `w:NN` ref IDs, Set-of-Marks visual grounding (`visual: true` / `"auto"`), entity & card container binding (`┌ Heading`), active modal hoisting (`╔═ ACTIVE DIALOG ═╗`), nav cluster collapsing, delta diffing, and scope filtering (`modal`, `form`, `main`). |
|
|
73
|
+
| `browser_find` | Native CDP text search with single and multi-match (`all: true`, `limit: N`) returning bounding rects and selectors — ~10x cheaper than map |
|
|
74
74
|
| `browser_scrape` | CSS/XPath structured data extraction in 1 CDP call |
|
|
75
75
|
| `browser_inspect` | Computed CSS styles + inline styles + event listener types |
|
|
76
76
|
| `browser_snapshot` | MHTML capture/restore of DOM state + resources |
|
|
@@ -81,21 +81,21 @@ All tools share: Zod schema validation, `withSecurity()` pipeline (rate limiting
|
|
|
81
81
|
|
|
82
82
|
| Tool | Description |
|
|
83
83
|
|------|-------------|
|
|
84
|
-
| `browser_navigate` |
|
|
84
|
+
| `browser_navigate` | Ultra-low latency navigation (~150-300ms) with non-blocking readyState polling, parallelized metadata, domain blocklist enforcement, and `weavetab://` protocol |
|
|
85
85
|
|
|
86
86
|
### Input (9 tools)
|
|
87
87
|
|
|
88
88
|
| Tool | Description |
|
|
89
89
|
|------|-------------|
|
|
90
|
-
| `browser_click` | Ghost Cursor (Bézier) click with intent memory, occlusion detection, stuck-loop detection |
|
|
91
|
-
| `browser_type` | Human keystroke engine with
|
|
90
|
+
| `browser_click` | Ghost Cursor (Bézier) click with direct visual mark targeting (`mark: N`), intent memory, occlusion detection, and stuck-loop detection |
|
|
91
|
+
| `browser_type` | Human keystroke engine with zero-target `document.activeElement` typing, anti-unfocus click avoidance, jitter, and burst patterns |
|
|
92
92
|
| `browser_type_secret` | Blind Injection from `secrets.json` — domain check before value load, Shadow DOM isolation, JS property hardening |
|
|
93
|
-
| `browser_key` | Native keyboard dispatch with
|
|
94
|
-
| `browser_pointer` | Hover, double-click, drag-and-drop via
|
|
93
|
+
| `browser_key` | Native keyboard dispatch with combo hotkeys (`"Ctrl+A"`, `"Cmd+K"`, `"Alt+Tab"`) and zero arbitrary delay |
|
|
94
|
+
| `browser_pointer` | Hover, double-click, drag-and-drop, and multi-level flyout menu traversal via `hover_chain: ["File", "Export As", "PNG"]` |
|
|
95
95
|
| `browser_select` | Native `<select>` dropdown selection — React/Vue safe (prototype setter + events) |
|
|
96
|
-
| `browser_fill` | Smart multi-field form
|
|
96
|
+
| `browser_fill` | Smart multi-field form batch completion with input discovery scanner (`scan: true`), flexible field selectors, and Google Sheets `grid_data` |
|
|
97
97
|
| `browser_upload` | Bypass file dialogs via CDP `DOM.setFileInputFiles` |
|
|
98
|
-
| `browser_scroll` |
|
|
98
|
+
| `browser_scroll` | Fast non-blocking directional + element-relative scroll without redundant action map rebuilds |
|
|
99
99
|
|
|
100
100
|
### Tabs & Windows (2 tools)
|
|
101
101
|
|
|
@@ -104,12 +104,11 @@ All tools share: Zod schema validation, `withSecurity()` pipeline (rate limiting
|
|
|
104
104
|
| `browser_tabs` | Open/switch/close/list/consolidate (dedup)/heal (recover crash). Also list/focus windows |
|
|
105
105
|
| `browser_detect` | Detect installed browsers + CDP feature coverage per engine (Chromium, Firefox, WebKit) |
|
|
106
106
|
|
|
107
|
-
### Mission Execution (
|
|
107
|
+
### Mission Execution (2 tools)
|
|
108
108
|
|
|
109
109
|
| Tool | Description |
|
|
110
110
|
|------|-------------|
|
|
111
111
|
| `browser_burst` | Chain N actions in 1 MCP call. Supports 4 macro steps: `type_and_send`, `navigate_and_read`, `click_and_wait`, `scroll_and_read` |
|
|
112
|
-
| `browser_plan` | Live task dashboard in browser Shadow DOM overlay. User sees progress, can comment |
|
|
113
112
|
| `browser_automation` | Inject persistent self-running scripts — monitoring, polling, background extraction |
|
|
114
113
|
|
|
115
114
|
### Dialog & User Interaction (3 tools)
|
|
@@ -120,12 +119,11 @@ All tools share: Zod schema validation, `withSecurity()` pipeline (rate limiting
|
|
|
120
119
|
| `browser_thought` | Green thought bubbles: feedback (one-way) or question with input (sentence/paragraph modes) |
|
|
121
120
|
| `browser_clipboard` | System clipboard R/W (text + images) |
|
|
122
121
|
|
|
123
|
-
### Wait & Timing (
|
|
122
|
+
### Wait & Timing (1 tool)
|
|
124
123
|
|
|
125
124
|
| Tool | Description |
|
|
126
125
|
|------|-------------|
|
|
127
|
-
| `browser_wait` | Wait for element/text/URL/stable/network/auto — timeout configurable |
|
|
128
|
-
| `browser_reset_loop_counter` | Manual loop detection override |
|
|
126
|
+
| `browser_wait` | Wait for element/text/URL/stable/network/auto — timeout configurable, optional loop counter reset (`reset_loop: true`) |
|
|
129
127
|
|
|
130
128
|
### Storage & Cookies (2 tools)
|
|
131
129
|
|
|
@@ -172,20 +170,11 @@ All tools share: Zod schema validation, `withSecurity()` pipeline (rate limiting
|
|
|
172
170
|
|------|-------------|
|
|
173
171
|
| `browser_performance` | FCP, LCP, TTI metrics, resource timings |
|
|
174
172
|
|
|
175
|
-
###
|
|
173
|
+
### GitHub (1 tool)
|
|
176
174
|
|
|
177
175
|
| Tool | Description |
|
|
178
176
|
|------|-------------|
|
|
179
|
-
| `
|
|
180
|
-
|
|
181
|
-
### GitHub (4 tools)
|
|
182
|
-
|
|
183
|
-
| Tool | Description |
|
|
184
|
-
|------|-------------|
|
|
185
|
-
| `github_analyze` | Repo metadata, file tree, README snippet |
|
|
186
|
-
| `github_read` | Read file contents via raw.githubusercontent.com (no API limit cost) |
|
|
187
|
-
| `github_issues` | List/search/fetch issues with comments |
|
|
188
|
-
| `github_get_pr` | PR details + changed files + comments |
|
|
177
|
+
| `browser_github` | Action-based repo metadata analysis, raw source file reading, issue triage, and PR inspection |
|
|
189
178
|
|
|
190
179
|
### Utility (2 tools)
|
|
191
180
|
|
|
@@ -261,10 +250,15 @@ The value is permanently masked as `[REDACTED]` in all subsequent DOM reads and
|
|
|
261
250
|
"role": "admin",
|
|
262
251
|
"telemetry": false,
|
|
263
252
|
"attachPort": 0,
|
|
264
|
-
"
|
|
253
|
+
"extension": true,
|
|
265
254
|
"cookies": false,
|
|
266
255
|
"browserFlags": [],
|
|
267
|
-
"policies": []
|
|
256
|
+
"policies": [],
|
|
257
|
+
"electron": {
|
|
258
|
+
"discord": "C:\\Users\\<user>\\AppData\\Local\\Discord\\app-<version>\\Discord.exe",
|
|
259
|
+
"antigravity": "C:\\Users\\<user>\\AppData\\Local\\Programs\\antigravity\\Antigravity.exe",
|
|
260
|
+
"vscode": "C:\\Users\\<user>\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
|
|
261
|
+
}
|
|
268
262
|
}
|
|
269
263
|
```
|
|
270
264
|
|
|
@@ -279,10 +273,11 @@ The value is permanently masked as `[REDACTED]` in all subsequent DOM reads and
|
|
|
279
273
|
| `role` | string | "admin" | RBAC role (admin, system, viewer, automation) |
|
|
280
274
|
| `telemetry` | boolean | false | Enable anonymous usage telemetry |
|
|
281
275
|
| `attachPort` | number | 0 | Chrome DevTools Protocol port |
|
|
282
|
-
| `
|
|
276
|
+
| `extension` | boolean | true | Enable Weavetab extension integration |
|
|
283
277
|
| `cookies` | boolean | false | Persist cookies/storage across sessions. When `false`, `document.cookie`, `localStorage`, and `sessionStorage` are all neutered at the browser level (returns empty/null for everything) + a fresh isolated profile is used each session. When `true`, cookies/storage work normally and persist via the profile directory. |
|
|
284
278
|
| `browserFlags` | string[] | `[]` | Extra Chromium command-line flags to append on launch (e.g., `["--disable-web-security"]`). The `--disable-sync` flag is mandatory and cannot be overridden — any conflicting flag is automatically dropped. |
|
|
285
279
|
| `policies` | PolicyEntry[] | `[]` | Domain-level access control policies (see [Domain Policy](#domain-policy) below). Supersedes the legacy `block`/`allow` lists. |
|
|
280
|
+
| `electron` | Record<string, string> | `{}` | Map of registered Electron desktop applications (e.g. Discord, VS Code, Figma, Antigravity, local dev apps) to executable paths or startup commands. |
|
|
286
281
|
|
|
287
282
|
---
|
|
288
283
|
|
|
@@ -448,10 +443,10 @@ export default plugin;
|
|
|
448
443
|
|
|
449
444
|
```bash
|
|
450
445
|
# Official plugins
|
|
451
|
-
|
|
446
|
+
weavetab plugin add @weavetab/plugin-sample
|
|
452
447
|
|
|
453
448
|
# Community plugins (any npm name)
|
|
454
|
-
|
|
449
|
+
weavetab plugin add wt-my-tool
|
|
455
450
|
# or via npm
|
|
456
451
|
npm install wt-my-tool
|
|
457
452
|
```
|
|
@@ -489,6 +484,57 @@ Skills are automatically discovered by MCP clients and provide:
|
|
|
489
484
|
|
|
490
485
|
---
|
|
491
486
|
|
|
487
|
+
## Electron & Desktop Application Automation
|
|
488
|
+
|
|
489
|
+
Weavetab natively supports **generic automation of any Electron or Chromium-based desktop application** (e.g. Discord, Slack, VS Code, Antigravity IDE, Figma, Obsidian, Postman, or local developer applications running from source).
|
|
490
|
+
|
|
491
|
+
### Why It Works at Layer 0
|
|
492
|
+
Electron desktop applications run a bundled Chromium/Blink engine under the hood. When started with Chrome DevTools Protocol debugging enabled (either automatically via Weavetab or via `--remote-debugging-port`), Weavetab connects directly to the desktop app's internal WebSockets and exposes all 50 MCP tools without requiring external drivers or wrappers.
|
|
493
|
+
|
|
494
|
+
### Registering Applications
|
|
495
|
+
In `~/.weavetab/config.json` or project-scoped `.weavetab/config.json`:
|
|
496
|
+
|
|
497
|
+
```json
|
|
498
|
+
{
|
|
499
|
+
"electron": {
|
|
500
|
+
"discord": "C:\\Users\\<user>\\AppData\\Local\\Discord\\app-1.0.9183\\Discord.exe",
|
|
501
|
+
"antigravity": "C:\\Users\\<user>\\AppData\\Local\\Programs\\antigravity\\Antigravity.exe",
|
|
502
|
+
"vscode": "C:\\Users\\<user>\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",
|
|
503
|
+
"figma": "C:\\Users\\<user>\\AppData\\Local\\Figma\\Figma.exe",
|
|
504
|
+
"obsidian": "C:\\Users\\<user>\\AppData\\Local\\Obsidian\\Obsidian.exe",
|
|
505
|
+
"my-app": "C:\\path\\to\\my-project\\node_modules\\electron\\dist\\electron.exe"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
### Automating Local / Source-Hosted Projects
|
|
511
|
+
When developing an Electron app locally (e.g. `localhost:3000` or running via Vite/Webpack/Electron forge):
|
|
512
|
+
|
|
513
|
+
1. **Launch with remote debugging enabled:**
|
|
514
|
+
```bash
|
|
515
|
+
npx electron . --remote-debugging-port=9222
|
|
516
|
+
# or with npm scripts:
|
|
517
|
+
npm run dev -- --remote-debugging-port=9222
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
2. **Automate via MCP tools:**
|
|
521
|
+
Set `"attachPort": 9222` or register the dev script in `"electron"` config.
|
|
522
|
+
|
|
523
|
+
### Tool Execution Flow with Desktop Apps
|
|
524
|
+
Every Weavetab tool supports the optional `app` parameter:
|
|
525
|
+
|
|
526
|
+
| Tool Call | Desktop Behavior |
|
|
527
|
+
| :--- | :--- |
|
|
528
|
+
| `browser_navigate({ app: "antigravity" })` | Launches or connects to Antigravity's CDP session |
|
|
529
|
+
| `browser_tabs({ action: "list", app: "antigravity" })` | Lists all windows, webviews, and workbench tabs in the app |
|
|
530
|
+
| `browser_tabs({ action: "switch", tabId: "<id>", app: "antigravity" })` | Switches active focus to the specified workbench or window |
|
|
531
|
+
| `browser_map({ app: "antigravity" })` | Generates semantic Ref IDs (`w:NN`) for the desktop app's active window |
|
|
532
|
+
| `browser_click({ ref: "w:12", app: "antigravity" })` | Sends Ghost Cursor click to the desktop app element |
|
|
533
|
+
| `browser_type({ ref: "w:15", text: "...", app: "discord" })` | Types text directly into the desktop app input field |
|
|
534
|
+
| `browser_eval({ expression: "...", app: "vscode" })` | Evaluates JavaScript inside the desktop app frame context |
|
|
535
|
+
|
|
536
|
+
---
|
|
537
|
+
|
|
492
538
|
## Troubleshooting
|
|
493
539
|
|
|
494
540
|
### Common Issues
|
|
@@ -523,10 +569,10 @@ For detailed troubleshooting, see [TROUBLESHOOTING.md](../TROUBLESHOOTING.md).
|
|
|
523
569
|
|
|
524
570
|
## Additional Resources
|
|
525
571
|
|
|
572
|
+
- [Tool Reference](tools/tools.md)
|
|
526
573
|
- [Plugin System Guide](PLUGINS.md)
|
|
527
574
|
- [Architecture Documentation](../ARCHITECTURE.md)
|
|
528
|
-
- [
|
|
575
|
+
- [Support & Community](../SUPPORT.md)
|
|
529
576
|
- [Security Policy](../SECURITY.md)
|
|
530
577
|
- [Contributing Guidelines](../CONTRIBUTING.md)
|
|
531
578
|
- [Troubleshooting Guide](../TROUBLESHOOTING.md)
|
|
532
|
-
- [Comparison with Other Tools](../.upgrade/compare.md)
|