@weavetab/mcp 2.5.0-beta.2 → 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 +1 -1
- package/ARCHITECTURE.md +6 -6
- package/LICENSE +1 -1
- package/README.md +158 -961
- package/SECURITY.md +33 -22
- package/TROUBLESHOOTING.md +2 -2
- package/dist/cdp/bridge.js +2 -1
- package/dist/cdp/connector.d.ts +2 -0
- package/dist/cdp/connector.js +8 -4
- package/dist/cdp/helpers.d.ts +4 -0
- package/dist/cdp/helpers.js +181 -0
- package/dist/cdp/omni_broker.d.ts +1 -1
- package/dist/cdp/omni_broker.js +1 -1
- package/dist/cdp/walker.d.ts +25 -1
- package/dist/cdp/walker.js +304 -7
- package/dist/cli/plugin.js +24 -17
- package/dist/cli/updater.d.ts +1 -1
- package/dist/cli/updater.js +27 -7
- package/dist/config/loader.d.ts +8 -0
- package/dist/config/loader.js +41 -2
- package/dist/desktop/discovery.d.ts +44 -0
- package/dist/desktop/discovery.js +364 -0
- package/dist/index.js +95 -15
- 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/injector.js +2 -2
- package/dist/plugin/interface.d.ts +76 -2
- package/dist/plugin/loader.d.ts +15 -1
- package/dist/plugin/loader.js +217 -70
- package/dist/plugin/pipeline.d.ts +75 -0
- package/dist/plugin/pipeline.js +183 -0
- package/dist/plugin/registry.js +3 -2
- 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 +428 -156
- 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 +6 -0
- package/dist/state/session.js +27 -0
- package/dist/tools/browser_detect.d.ts +16 -3
- package/dist/tools/browser_detect.js +50 -5
- package/dist/tools/burst.d.ts +17 -8
- package/dist/tools/burst.js +236 -77
- 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 +74 -70
- 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.js +29 -34
- 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.js +14 -6
- 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 +107 -58
- 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 +21 -32
- package/docs/PLUGINS.md +121 -0
- package/docs/TOOLS.md +56 -0
- package/docs/architecture/blind-injection.md +83 -20
- package/docs/architecture/overview.md +49 -49
- package/docs/configuration/folders.md +55 -54
- package/docs/desktop-automation/electron-apps.md +217 -162
- package/docs/get-started/introduction.md +60 -60
- package/docs/intelligence/site-profiles.md +151 -0
- package/docs/tools/tools.md +631 -293
- package/docs/troubleshooting/trouble-loop.md +31 -31
- package/ext-dist/background.js +10 -62
- package/ext-dist/content.js +333 -920
- 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 +101 -67
- package/package.json +5 -6
- package/server.json +3 -3
- package/ext-dist/sidepanel/sidepanel.js +0 -25
- package/ext-dist/sidepanel.html +0 -547
package/AGENTS.md
CHANGED
|
@@ -45,5 +45,5 @@ This document is the universal specification for AI agents (Cursor, Antigravity,
|
|
|
45
45
|
When adding or updating an MCP tool:
|
|
46
46
|
1. Define tool input schema using `zod` in `src/`.
|
|
47
47
|
2. Register the tool handler in the MCP server initialization.
|
|
48
|
-
3. Update
|
|
48
|
+
3. Update tool definitions in `src/server.ts` and test assertions if tool list or capabilities change.
|
|
49
49
|
4. Add unit test coverage under `tests/unit/`.
|
package/ARCHITECTURE.md
CHANGED
|
@@ -136,7 +136,7 @@ Loop Detection Algorithm
|
|
|
136
136
|
- Navigation events
|
|
137
137
|
- Tab switches
|
|
138
138
|
- Burst mode start
|
|
139
|
-
- Manual override via `
|
|
139
|
+
- Manual override via `browser_map({ force: true })` or `browser_wait({ reset_loop: true })`
|
|
140
140
|
|
|
141
141
|
### Knowledge Hints (Rule 16)
|
|
142
142
|
|
|
@@ -227,7 +227,7 @@ The HUD (`src/sensors/thoughts.ts`) provides real-time visual feedback:
|
|
|
227
227
|
- Execution time and token estimates
|
|
228
228
|
- Loop warnings
|
|
229
229
|
- User chat messages
|
|
230
|
-
- Mission progress
|
|
230
|
+
- Mission progress
|
|
231
231
|
|
|
232
232
|
### Audit & Telemetry
|
|
233
233
|
|
|
@@ -475,7 +475,7 @@ Weavetab's architecture is designed for **autonomous AI agents** requiring:
|
|
|
475
475
|
- **Human-like behavior** for authorized automation
|
|
476
476
|
- **Extensibility** for custom workflows
|
|
477
477
|
|
|
478
|
-
The five-layer architecture (Transport → Security → Intelligence → Sensors → CDP) provides a
|
|
478
|
+
The five-layer architecture (Transport → Security → Intelligence → Sensors → CDP) provides a solid foundation for AI-driven browser automation at scale.
|
|
479
479
|
- Loop detection warnings
|
|
480
480
|
- User chat messages
|
|
481
481
|
|
|
@@ -492,7 +492,7 @@ Weavetab's architecture is designed for **autonomous AI agents** requiring:
|
|
|
492
492
|
- **Human-like behavior** for authorized automation
|
|
493
493
|
- **Extensibility** for custom workflows
|
|
494
494
|
|
|
495
|
-
The five-layer architecture (Transport → Security → Intelligence → Sensors → CDP) provides a
|
|
495
|
+
The five-layer architecture (Transport → Security → Intelligence → Sensors → CDP) provides a solid foundation for AI-driven browser automation at scale.
|
|
496
496
|
- Loop detection warnings
|
|
497
497
|
- User chat messages
|
|
498
498
|
|
|
@@ -509,7 +509,7 @@ Weavetab's architecture is designed for **autonomous AI agents** requiring:
|
|
|
509
509
|
- **Human-like behavior** for authorized automation
|
|
510
510
|
- **Extensibility** for custom workflows
|
|
511
511
|
|
|
512
|
-
The five-layer architecture (Transport → Security → Intelligence → Sensors → CDP) provides a
|
|
512
|
+
The five-layer architecture (Transport → Security → Intelligence → Sensors → CDP) provides a solid foundation for AI-driven browser automation at scale.
|
|
513
513
|
description: string;
|
|
514
514
|
handler: (session: CDP.Client, config: Config) => Promise<any>;
|
|
515
515
|
}>;
|
|
@@ -587,4 +587,4 @@ Weavetab's architecture is designed for **autonomous AI agents** requiring:
|
|
|
587
587
|
- **Human-like behavior** for authorized automation
|
|
588
588
|
- **Extensibility** for custom workflows
|
|
589
589
|
|
|
590
|
-
The five-layer architecture (Transport → Security → Intelligence → Sensors → CDP) provides a
|
|
590
|
+
The five-layer architecture (Transport → Security → Intelligence → Sensors → CDP) provides a solid foundation for AI-driven browser automation at scale.
|
package/LICENSE
CHANGED