@weavetab/mcp 2.5.0-beta.5 → 2.5.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.
@@ -1,50 +1,50 @@
1
- ---
2
- title: "Commands"
3
- description: "Reference for every top-level subcommand."
4
- product: mcp
5
- section: cli
6
- icon: ListTree
7
- slug: cli-commands
8
- ---
9
-
10
- # Commands
11
-
12
- ## Server Commands
13
-
14
- | Command | Description |
15
- |---|---|
16
- | `weavetab` | Start the MCP server (stdio mode — default for MCP clients). When run in a TTY without arguments, launches the interactive UI menu. |
17
- | `weavetab --ws [--port N]` | Start the WebSocket daemon on `127.0.0.1` (default port `3000`). |
18
- | `weavetab --version` | Print version and exit. |
19
- | `weavetab config` | Launch the 6-phase interactive configuration wizard. |
20
- | `weavetab view` | Display the current active configuration report. Press **[R]** to view raw JSON, **[Q]** to quit. |
21
- | `weavetab reset` | Purge browser profiles, lockfiles, mutexes, session registries, and kill orphan browser processes. Accepts `--yes`/`-y` to skip confirmation prompts. |
22
- | `weavetab reload-ext` | Send a reload signal to the Weavetab browser extension via CDP `Runtime.evaluate`. |
23
- | `weavetab plugin <add\|browse\|search\|list\|remove\|verify>` | Manage plugins — see `weavetab plugin --help`. |
24
- | `weavetab skills [options]` | Install or update AI agent skills (passthrough to `@weavetab/skills`). |
25
- | `weavetab help` / `--help` | Show full CLI help message with all commands, flags, and environment variables. |
26
-
27
- ## Secrets Management
28
-
29
- Credentials are stored in `~/.weavetab/secrets.json` (global) or `.weavetab/secrets.json` (project-scoped). Values are never echoed to the terminal.
30
-
31
- | Command | Description |
32
- |---|---|
33
- | `weavetab secrets set <KEY>` | Store a new encrypted secret. Prompts for value (hidden input) and allowed domains (comma-separated). |
34
- | `weavetab secrets list` | List all stored secrets (key names only, values hidden). Shows domains and last-updated timestamps. |
35
- | `weavetab secrets rm <KEY>` | Remove a secret by key name. |
36
- | `weavetab secrets init --project` | Initialize a project-scoped `.weavetab/secrets.json` file. |
37
-
38
- ## Interactive TTY Menu
39
-
40
- When run without arguments in a TTY terminal, Weavetab opens an interactive keyboard-driven menu:
41
-
42
- | Key | Action |
43
- |---|---|
44
- | `[C]` | Launch the configuration wizard |
45
- | `[V]` | View current active configuration |
46
- | `[P]` | List installed Weavetab plugins |
47
- | `[R]` | Purge browser profiles and lockfiles |
48
- | `[H]` | Show help information |
49
- | `[G]` / `[N]` / `[W]` | Open GitHub / npm / website links |
50
- | `[Q]` | Exit Weavetab |
1
+ ---
2
+ title: "Commands"
3
+ description: "Reference for every top-level subcommand."
4
+ product: mcp
5
+ section: cli
6
+ icon: ListTree
7
+ slug: cli-commands
8
+ ---
9
+
10
+ # Commands
11
+
12
+ ## Server Commands
13
+
14
+ | Command | Description |
15
+ |---|---|
16
+ | `weavetab` | Start the MCP server (stdio mode — default for MCP clients). When run in a TTY without arguments, launches the interactive UI menu. |
17
+ | `weavetab --ws [--port N]` | Start the WebSocket daemon on `127.0.0.1` (default port `3000`). |
18
+ | `weavetab --version` | Print version and exit. |
19
+ | `weavetab config` | Launch the 6-phase interactive configuration wizard. |
20
+ | `weavetab view` | Display the current active configuration report. Press **[R]** to view raw JSON, **[Q]** to quit. |
21
+ | `weavetab reset` | Purge browser profiles, lockfiles, mutexes, session registries, and kill orphan browser processes. Accepts `--yes`/`-y` to skip confirmation prompts. |
22
+ | `weavetab reload-ext` | Send a reload signal to the Weavetab browser extension via CDP `Runtime.evaluate`. |
23
+ | `weavetab plugin <add\|browse\|search\|list\|remove\|verify>` | Manage plugins — see `weavetab plugin --help`. |
24
+ | `weavetab skills [options]` | Install or update AI agent skills (passthrough to `@weavetab/skills`). |
25
+ | `weavetab help` / `--help` | Show full CLI help message with all commands, flags, and environment variables. |
26
+
27
+ ## Secrets Management
28
+
29
+ Credentials are stored in `~/.weavetab/secrets.json` (global) or `.weavetab/secrets.json` (project-scoped). Values are never echoed to the terminal.
30
+
31
+ | Command | Description |
32
+ |---|---|
33
+ | `weavetab secrets set <KEY>` | Store a new encrypted secret. Prompts for value (hidden input) and allowed domains (comma-separated). |
34
+ | `weavetab secrets list` | List all stored secrets (key names only, values hidden). Shows domains and last-updated timestamps. |
35
+ | `weavetab secrets rm <KEY>` | Remove a secret by key name. |
36
+ | `weavetab secrets init --project` | Initialize a project-scoped `.weavetab/secrets.json` file. |
37
+
38
+ ## Interactive TTY Menu
39
+
40
+ When run without arguments in a TTY terminal, Weavetab opens an interactive keyboard-driven menu:
41
+
42
+ | Key | Action |
43
+ |---|---|
44
+ | `[C]` | Launch the configuration wizard |
45
+ | `[V]` | View current active configuration |
46
+ | `[P]` | List installed Weavetab plugins |
47
+ | `[R]` | Purge browser profiles and lockfiles |
48
+ | `[H]` | Show help information |
49
+ | `[G]` / `[N]` / `[W]` | Open GitHub / npm / website links |
50
+ | `[Q]` | Exit Weavetab |
@@ -1,28 +1,28 @@
1
- ---
2
- title: "Flags"
3
- description: "Global flags accepted by the CLI."
4
- product: mcp
5
- section: cli
6
- icon: Flag
7
- slug: cli-flags
8
- ---
9
-
10
- # Flags
11
-
12
- Only these flags are parsed by the CLI (`MCP/src/index.ts`). Anything else is ignored.
13
-
14
- | Flag | Type | Description |
15
- |---|---|---|
16
- | `--help` / `-h` | boolean | Show help message and exit |
17
- | `help` | command | Show help message and exit |
18
- | `--version` / `-v` | boolean | Print version and exit |
19
- | `--ws` | boolean | Start the WebSocket daemon instead of stdio |
20
- | `--port <port>` / `--port=<port>` | number | Port for the WebSocket daemon (default `3000`) |
21
- | `--yes` / `-y` | boolean | Skip confirmation prompt when running `weavetab reset` / `reload` |
22
- | `--official` / `-O` | boolean | Prefer the official `@weavetab/plugin-<name>` candidate (`plugin add`) |
23
- | `--community` / `-C` | boolean | Prefer the community package candidate (`plugin add`) |
24
- | `--refresh` | boolean | Invalidate and refresh the verified plugin cache (`plugin`) |
25
- | `--project` | boolean | Project-scoped secrets file (`secrets init --project`) |
26
-
27
- Notes:
28
- - There are no `--headless` / `--role` CLI flags. Browser headless mode and RBAC role come from `~/.weavetab/config.json` (`weavetab config` / `weavetab view`). The wizard offers `admin` / `operator` / `viewer` / `automation`.
1
+ ---
2
+ title: "Flags"
3
+ description: "Global flags accepted by the CLI."
4
+ product: mcp
5
+ section: cli
6
+ icon: Flag
7
+ slug: cli-flags
8
+ ---
9
+
10
+ # Flags
11
+
12
+ Only these flags are parsed by the CLI (`MCP/src/index.ts`). Anything else is ignored.
13
+
14
+ | Flag | Type | Description |
15
+ |---|---|---|
16
+ | `--help` / `-h` | boolean | Show help message and exit |
17
+ | `help` | command | Show help message and exit |
18
+ | `--version` / `-v` | boolean | Print version and exit |
19
+ | `--ws` | boolean | Start the WebSocket daemon instead of stdio |
20
+ | `--port <port>` / `--port=<port>` | number | Port for the WebSocket daemon (default `3000`) |
21
+ | `--yes` / `-y` | boolean | Skip confirmation prompt when running `weavetab reset` / `reload` |
22
+ | `--official` / `-O` | boolean | Prefer the official `@weavetab/plugin-<name>` candidate (`plugin add`) |
23
+ | `--community` / `-C` | boolean | Prefer the community package candidate (`plugin add`) |
24
+ | `--refresh` | boolean | Invalidate and refresh the verified plugin cache (`plugin`) |
25
+ | `--project` | boolean | Project-scoped secrets file (`secrets init --project`) |
26
+
27
+ Notes:
28
+ - There are no `--headless` / `--role` CLI flags. Browser headless mode and RBAC role come from `~/.weavetab/config.json` (`weavetab config` / `weavetab view`). The wizard offers `admin` / `operator` / `viewer` / `automation`.
@@ -1,35 +1,35 @@
1
- ---
2
- title: "Scripting & CI/CD"
3
- description: "Chain CLI calls in shell scripts and CI."
4
- product: mcp
5
- section: cli
6
- icon: FileCode
7
- slug: cli-scripting
8
- ---
9
-
10
- # Scripting & CI/CD
11
-
12
- ## Shell Scripting
13
-
14
- ```bash
15
- # Reset before a fresh test run
16
- weavetab reset --yes
17
-
18
- # List stored secrets
19
- weavetab secrets list
20
-
21
- # List installed plugins
22
- weavetab plugin list
23
-
24
- # Start the MCP server in WebSocket daemon mode for custom scripts
25
- weavetab --ws --port 3000 &
26
- ```
27
-
28
- ## CI/CD Pipeline
29
-
30
- ```bash
31
- # In GitHub Actions or Docker CI
32
- npm install -g @weavetab/mcp
33
- weavetab reset --yes
34
- weavetab --ws --port 3000 &
35
- ```
1
+ ---
2
+ title: "Scripting & CI/CD"
3
+ description: "Chain CLI calls in shell scripts and CI."
4
+ product: mcp
5
+ section: cli
6
+ icon: FileCode
7
+ slug: cli-scripting
8
+ ---
9
+
10
+ # Scripting & CI/CD
11
+
12
+ ## Shell Scripting
13
+
14
+ ```bash
15
+ # Reset before a fresh test run
16
+ weavetab reset --yes
17
+
18
+ # List stored secrets
19
+ weavetab secrets list
20
+
21
+ # List installed plugins
22
+ weavetab plugin list
23
+
24
+ # Start the MCP server in WebSocket daemon mode for custom scripts
25
+ weavetab --ws --port 3000 &
26
+ ```
27
+
28
+ ## CI/CD Pipeline
29
+
30
+ ```bash
31
+ # In GitHub Actions or Docker CI
32
+ npm install -g @weavetab/mcp
33
+ weavetab reset --yes
34
+ weavetab --ws --port 3000 &
35
+ ```
@@ -1,23 +1,23 @@
1
- ---
2
- title: "Locations & Merge"
3
- description: "Two-tier merge: global config → built-in defaults."
4
- product: mcp
5
- section: configuration
6
- icon: FolderTree
7
- slug: config-locations
8
- ---
9
-
10
- # Config Locations & Merge Priority
11
-
12
- ## Priority Tiers
13
-
14
- 1. **Global** — `~/.weavetab/config.json` (the only config file Weavetab reads)
15
- 2. **Built-in defaults** — defined in `DEFAULT_CONFIG`
16
-
17
- ## Live Reload
18
-
19
- A debounced file watcher (150 ms) reloads the in-memory configuration on change. In-flight tool executions complete on the existing configuration; subsequent calls automatically pick up the new values.
20
-
21
- ## Corrupt File Quarantine
22
-
23
- If a configuration file contains invalid JSON, Weavetab automatically quarantines the file to `config.broken.<timestamp>.json` and safely falls back to the next tier without crashing.
1
+ ---
2
+ title: "Locations & Merge"
3
+ description: "Two-tier merge: global config → built-in defaults."
4
+ product: mcp
5
+ section: configuration
6
+ icon: FolderTree
7
+ slug: config-locations
8
+ ---
9
+
10
+ # Config Locations & Merge Priority
11
+
12
+ ## Priority Tiers
13
+
14
+ 1. **Global** — `~/.weavetab/config.json` (the only config file Weavetab reads)
15
+ 2. **Built-in defaults** — defined in `DEFAULT_CONFIG`
16
+
17
+ ## Live Reload
18
+
19
+ A debounced file watcher (150 ms) reloads the in-memory configuration on change. In-flight tool executions complete on the existing configuration; subsequent calls automatically pick up the new values.
20
+
21
+ ## Corrupt File Quarantine
22
+
23
+ If a configuration file contains invalid JSON, Weavetab automatically quarantines the file to `config.broken.<timestamp>.json` and safely falls back to the next tier without crashing.
@@ -1,19 +1,19 @@
1
- ---
2
- title: "Environment Variables"
3
- description: "Runtime environment variables that override config."
4
- product: mcp
5
- section: configuration
6
- icon: Variable
7
- slug: env-variables
8
- ---
9
-
10
- # Environment Variables
11
-
12
- Only these two are read at runtime (`MCP/src/config/loader.ts`). Everything else
13
- (browser path, role, headless, dev mode) lives in `~/.weavetab/config.json`
14
- — run `weavetab config` to change it.
15
-
16
- | Variable | Description |
17
- |---|---|
18
- | `WT_AGENT_ID` | Override the auto-generated agent UUID |
19
- | `WT_PROXY_URL` | Set outbound HTTP/SOCKS proxy server URL |
1
+ ---
2
+ title: "Environment Variables"
3
+ description: "Runtime environment variables that override config."
4
+ product: mcp
5
+ section: configuration
6
+ icon: Variable
7
+ slug: env-variables
8
+ ---
9
+
10
+ # Environment Variables
11
+
12
+ Only these two are read at runtime (`MCP/src/config/loader.ts`). Everything else
13
+ (browser path, role, headless, dev mode) lives in `~/.weavetab/config.json`
14
+ — run `weavetab config` to change it.
15
+
16
+ | Variable | Description |
17
+ |---|---|
18
+ | `WT_AGENT_ID` | Override the auto-generated agent UUID |
19
+ | `WT_PROXY_URL` | Set outbound HTTP/SOCKS proxy server URL |
@@ -1,27 +1,27 @@
1
- ---
2
- title: "Setup Wizard"
3
- description: "Interactive wizard that writes a clean config.json."
4
- product: mcp
5
- section: get-started
6
- icon: Wand2
7
- slug: setup-wizard
8
- ---
9
-
10
- # Setup Wizard
11
-
12
- Run the interactive CLI configuration wizard:
13
-
14
- ```bash
15
- weavetab config
16
- ```
17
-
18
- The wizard walks through every option across 6 interactive phases. Re-run it at any time to update your saved config.
19
-
20
- ## Wizard Phases
21
-
22
- 1. **Phase 1 — Essentials:** Browser path, RBAC role (`admin`, `viewer`, `automation`), headless mode, dev mode, max tabs, actionability timeout, domain block/allow lists.
23
- 2. **Phase 2 — Advanced (optional):** Browser engine selection, timeouts and rate limits, telemetry opt-in, download/proxy directories, domain policy entries.
24
- 3. **Phase 3 — Save Location:** Global (`~/.weavetab/config.json`).
25
- 4. **Phase 4 — MCP Auto-Config:** Auto-detects installed IDEs (Claude Desktop, Cursor, Windsurf) and merges Weavetab into their MCP configuration.
26
- 5. **Phase 5 — Agent Skills:** Optionally installs `@weavetab/skills` for your agent framework.
27
- 6. **Phase 6 — Summary:** Displays full configuration validation report.
1
+ ---
2
+ title: "Setup Wizard"
3
+ description: "Interactive wizard that writes a clean config.json."
4
+ product: mcp
5
+ section: get-started
6
+ icon: Wand2
7
+ slug: setup-wizard
8
+ ---
9
+
10
+ # Setup Wizard
11
+
12
+ Run the interactive CLI configuration wizard:
13
+
14
+ ```bash
15
+ weavetab config
16
+ ```
17
+
18
+ The wizard walks through every option across 6 interactive phases. Re-run it at any time to update your saved config.
19
+
20
+ ## Wizard Phases
21
+
22
+ 1. **Phase 1 — Essentials:** Browser path, RBAC role (`admin`, `viewer`, `automation`), headless mode, dev mode, max tabs, actionability timeout, domain block/allow lists.
23
+ 2. **Phase 2 — Advanced (optional):** Browser engine selection, timeouts and rate limits, telemetry opt-in, download/proxy directories, domain policy entries.
24
+ 3. **Phase 3 — Save Location:** Global (`~/.weavetab/config.json`).
25
+ 4. **Phase 4 — MCP Auto-Config:** Auto-detects installed IDEs (Claude Desktop, Cursor, Windsurf) and merges Weavetab into their MCP configuration.
26
+ 5. **Phase 5 — Agent Skills:** Optionally installs `@weavetab/skills` for your agent framework.
27
+ 6. **Phase 6 — Summary:** Displays full configuration validation report.
@@ -1,27 +1,27 @@
1
- ---
2
- title: "Browser Issues"
3
- description: "CDP connection failures, crashes, and extension problems."
4
- product: mcp
5
- section: troubleshooting
6
- icon: MonitorX
7
- slug: trouble-browser
8
- ---
9
-
10
- # Browser Connection Issues
11
-
12
- ## "CDP connection failed" Error
13
-
14
- **Causes:**
15
- - Port 9222 is occupied by another process
16
- - Chrome was launched without `--remote-debugging-port`
17
-
18
- **Fixes:**
19
- 1. Run `weavetab reset --yes` to terminate orphaned browser processes
20
- 2. Verify port availability: `netstat -an | grep 9222`
21
- 3. Restart Weavetab
22
-
23
- ## Browser Crashes on Launch
24
-
25
- **Fixes:**
26
- 1. Run `weavetab reset` to purge corrupted profiles
27
- 2. Run `weavetab config` and set the browser executable path (or `browserPath: "auto"` to detect)
1
+ ---
2
+ title: "Browser Issues"
3
+ description: "CDP connection failures, crashes, and extension problems."
4
+ product: mcp
5
+ section: troubleshooting
6
+ icon: MonitorX
7
+ slug: trouble-browser
8
+ ---
9
+
10
+ # Browser Connection Issues
11
+
12
+ ## "CDP connection failed" Error
13
+
14
+ **Causes:**
15
+ - Port 9222 is occupied by another process
16
+ - Chrome was launched without `--remote-debugging-port`
17
+
18
+ **Fixes:**
19
+ 1. Run `weavetab reset --yes` to terminate orphaned browser processes
20
+ 2. Verify port availability: `netstat -an | grep 9222`
21
+ 3. Restart Weavetab
22
+
23
+ ## Browser Crashes on Launch
24
+
25
+ **Fixes:**
26
+ 1. Run `weavetab reset` to purge corrupted profiles
27
+ 2. Run `weavetab config` and set the browser executable path (or `browserPath: "auto"` to detect)
package/mcp.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@weavetab/mcp",
3
- "mcpName": "io.github.Weavetab/mcp",
4
- "version": "2.5.0-beta.5",
5
- "description": "Weavetab MCP — Direct Layer 0 interface for AI agents across web and desktop applications. Direct socket transport, zero wrapper overhead, deterministic state execution.",
3
+ "mcpName": "dev.weavetab/mcp",
4
+ "version": "2.5.0",
5
+ "description": "The open automation engine for AI agents. Control live browsers and desktop apps locally with instant execution.",
6
6
  "icon": "icon.png",
7
7
  "author": "fy2ne",
8
8
  "license": "AGPL-3.0-only",