web-agent-bridge 1.1.2 → 1.2.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.
- package/README.md +89 -0
- package/package.json +1 -1
- package/public/index.html +1 -1
- package/script/ai-agent-bridge.js +1 -1
- package/server/routes/discovery.js +1 -1
- package/server/routes/noscript.js +1 -1
- package/server/routes/wab-api.js +1 -1
- package/server/services/fairness.js +1 -1
- package/wab-mcp-adapter/package.json +1 -1
package/README.md
CHANGED
|
@@ -297,6 +297,95 @@ curl -X POST https://yourserver.com/api/discovery/register \
|
|
|
297
297
|
|
|
298
298
|
---
|
|
299
299
|
|
|
300
|
+
## Advanced Premium Features
|
|
301
|
+
|
|
302
|
+
The following capabilities extend WAB with AI-powered intelligence layers. They require a **premium subscription** — see [webagentbridge.com/premium](https://webagentbridge.com/premium) for plans.
|
|
303
|
+
|
|
304
|
+
### Agent Memory System
|
|
305
|
+
|
|
306
|
+
Long-term memory for AI agents using vector embeddings. Agents remember user preferences, past interactions, and successful navigation paths across sessions.
|
|
307
|
+
|
|
308
|
+
| Capability | Description |
|
|
309
|
+
|---|---|
|
|
310
|
+
| **Vector Embeddings** | TF-IDF based similarity search for intelligent recall |
|
|
311
|
+
| **Memory Consolidation** | Auto-merges duplicate memories and decays stale ones |
|
|
312
|
+
| **Session Tracking** | Maintains context across multiple agent sessions |
|
|
313
|
+
| **Preference Management** | Stores and retrieves user preferences for personalized interactions |
|
|
314
|
+
|
|
315
|
+
### Self-Healing Selectors (Premium)
|
|
316
|
+
|
|
317
|
+
Automatic CSS/XPath selector repair when websites change their DOM structure. Goes beyond the built-in 7-strategy resolution with community-powered healing.
|
|
318
|
+
|
|
319
|
+
| Strategy | Description |
|
|
320
|
+
|---|---|
|
|
321
|
+
| **Attribute Match** | Finds elements by matching known attributes |
|
|
322
|
+
| **ID Match** | Resolves elements by ID similarity |
|
|
323
|
+
| **Text Similarity** | Levenshtein-based fuzzy text matching |
|
|
324
|
+
| **Structural Match** | Compares DOM tree position and hierarchy |
|
|
325
|
+
| **Class Match** | Identifies elements by CSS class patterns |
|
|
326
|
+
| **Community Corrections** | Shared selector fixes across the WAB ecosystem |
|
|
327
|
+
|
|
328
|
+
Includes DOM drift detection and element snapshot comparison for proactive repair before selectors break.
|
|
329
|
+
|
|
330
|
+
### Multimodal Vision
|
|
331
|
+
|
|
332
|
+
Integrates local and cloud vision models so AI agents can "see" web pages as images instead of parsing raw DOM.
|
|
333
|
+
|
|
334
|
+
| Model | Type |
|
|
335
|
+
|---|---|
|
|
336
|
+
| **Moondream** | Local (lightweight) |
|
|
337
|
+
| **LLaVA** | Local (high quality) |
|
|
338
|
+
| **GPT-4V** | Cloud (OpenAI) |
|
|
339
|
+
| **Claude Vision** | Cloud (Anthropic) |
|
|
340
|
+
|
|
341
|
+
- Automatic UI element extraction with bounding boxes and suggested selectors
|
|
342
|
+
- Screenshot comparison for visual regression detection
|
|
343
|
+
- Encrypted API key storage (AES-256-GCM)
|
|
344
|
+
|
|
345
|
+
### Agent Swarm
|
|
346
|
+
|
|
347
|
+
Multi-agent orchestration for complex tasks that benefit from parallel or collaborative execution.
|
|
348
|
+
|
|
349
|
+
| Strategy | Description |
|
|
350
|
+
|---|---|
|
|
351
|
+
| **Parallel** | Run multiple agents simultaneously on independent subtasks |
|
|
352
|
+
| **Sequential** | Chain agents in order, passing results forward |
|
|
353
|
+
| **Competitive** | Race agents against each other, take the fastest result |
|
|
354
|
+
| **Collaborative** | Agents share findings and build on each other's work |
|
|
355
|
+
|
|
356
|
+
- Built-in fairness weighting to surface small/indie sites in swarm results
|
|
357
|
+
- Real-time task monitoring and result merging
|
|
358
|
+
- Automatic price/content extraction from target URLs
|
|
359
|
+
- Consensus-based result validation across multiple agents
|
|
360
|
+
|
|
361
|
+
### Plugin Marketplace
|
|
362
|
+
|
|
363
|
+
Extensible hook system with 16 integration points for customizing WAB behavior.
|
|
364
|
+
|
|
365
|
+
| Official Plugin | Description |
|
|
366
|
+
|---|---|
|
|
367
|
+
| `fairness-boost` | Amplifies fairness scoring for indie sites |
|
|
368
|
+
| `security-monitor` | Real-time threat detection and alerts |
|
|
369
|
+
| `analytics-enhanced` | Extended analytics with behavioral classification |
|
|
370
|
+
| `auto-healer` | Proactive selector repair using DOM monitoring |
|
|
371
|
+
| `memory-optimizer` | Memory consolidation and cleanup scheduling |
|
|
372
|
+
|
|
373
|
+
- JSON Schema config validation for all plugins
|
|
374
|
+
- Community plugin ratings and download tracking
|
|
375
|
+
- Sandboxed handler execution via `Function()` constructor
|
|
376
|
+
|
|
377
|
+
### Premium API Endpoints
|
|
378
|
+
|
|
379
|
+
| Route Group | Feature | Endpoints |
|
|
380
|
+
|---|---|---|
|
|
381
|
+
| `/api/premium/memory/*` | Agent Memory | 13 |
|
|
382
|
+
| `/api/premium/healing/*` | Self-Healing | 9 |
|
|
383
|
+
| `/api/premium/vision/*` | Vision Inference | 9 |
|
|
384
|
+
| `/api/premium/swarm/*` | Agent Swarm | 10 |
|
|
385
|
+
| `/api/premium/plugins/*` | Plugin Marketplace | 12 |
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
300
389
|
## Project Structure
|
|
301
390
|
|
|
302
391
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-agent-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Open protocol and runtime for AI agents to interact with websites — standardized discovery, commands, and fairness layer for the Agentic Web",
|
|
5
5
|
"main": "server/index.js",
|
|
6
6
|
"bin": {
|
package/public/index.html
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
(function (global) {
|
|
8
8
|
'use strict';
|
|
9
9
|
|
|
10
|
-
const VERSION = '1.
|
|
10
|
+
const VERSION = '1.2.0';
|
|
11
11
|
const PROTOCOL_VERSION = '1.0';
|
|
12
12
|
const LICENSING_SERVER = 'https://api.webagentbridge.com';
|
|
13
13
|
const DISCOVERY_PATHS = ['/agent-bridge.json', '/.well-known/wab.json'];
|
package/server/routes/wab-api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wab-mcp-adapter",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "MCP adapter for Web Agent Bridge — expose WAB site capabilities as MCP tools",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": ["wab", "mcp", "ai-agent", "model-context-protocol", "web-agent-bridge"],
|