web-agent-bridge 3.0.0 → 3.3.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.
Files changed (202) hide show
  1. package/LICENSE +72 -21
  2. package/README.ar.md +1286 -1073
  3. package/README.md +1764 -1535
  4. package/bin/agent-runner.js +474 -474
  5. package/bin/cli.js +237 -138
  6. package/bin/wab.js +80 -80
  7. package/examples/bidi-agent.js +119 -119
  8. package/examples/cross-site-agent.js +91 -91
  9. package/examples/mcp-agent.js +94 -94
  10. package/examples/next-app-router/README.md +44 -44
  11. package/examples/puppeteer-agent.js +108 -108
  12. package/examples/saas-dashboard/README.md +55 -55
  13. package/examples/shopify-hydrogen/README.md +74 -74
  14. package/examples/vision-agent.js +171 -171
  15. package/examples/wordpress-elementor/README.md +77 -77
  16. package/package.json +17 -3
  17. package/public/.well-known/agent-tools.json +180 -180
  18. package/public/.well-known/ai-assets.json +59 -59
  19. package/public/.well-known/ai-plugin.json +28 -0
  20. package/public/.well-known/security.txt +8 -0
  21. package/public/agent-workspace.html +349 -347
  22. package/public/ai.html +198 -196
  23. package/public/api.html +413 -0
  24. package/public/browser.html +486 -484
  25. package/public/commander-dashboard.html +243 -243
  26. package/public/cookies.html +210 -208
  27. package/public/css/agent-workspace.css +1713 -1713
  28. package/public/css/premium.css +317 -317
  29. package/public/css/styles.css +1235 -1235
  30. package/public/dashboard.html +706 -704
  31. package/public/demo.html +1770 -1
  32. package/public/dns.html +507 -0
  33. package/public/docs.html +587 -585
  34. package/public/feed.xml +89 -89
  35. package/public/growth.html +463 -0
  36. package/public/index.html +341 -9
  37. package/public/integrations.html +556 -0
  38. package/public/js/agent-workspace.js +1740 -1740
  39. package/public/js/auth-nav.js +31 -31
  40. package/public/js/auth-redirect.js +12 -12
  41. package/public/js/cookie-consent.js +56 -56
  42. package/public/js/wab-demo-page.js +721 -721
  43. package/public/js/ws-client.js +74 -74
  44. package/public/llms-full.txt +360 -309
  45. package/public/llms.txt +125 -86
  46. package/public/login.html +85 -83
  47. package/public/mesh-dashboard.html +328 -328
  48. package/public/openapi.json +580 -580
  49. package/public/phone-shield.html +281 -0
  50. package/public/premium-dashboard.html +2489 -2487
  51. package/public/premium.html +793 -791
  52. package/public/privacy.html +297 -295
  53. package/public/register.html +105 -103
  54. package/public/robots.txt +87 -87
  55. package/public/script/wab-consent.d.ts +36 -36
  56. package/public/script/wab-consent.js +104 -104
  57. package/public/script/wab-schema.js +131 -131
  58. package/public/script/wab.d.ts +108 -108
  59. package/public/script/wab.min.js +580 -580
  60. package/public/security.txt +8 -0
  61. package/public/terms.html +256 -254
  62. package/script/ai-agent-bridge.js +1754 -1754
  63. package/sdk/README.md +99 -99
  64. package/sdk/agent-mesh.js +449 -449
  65. package/sdk/commander.js +262 -262
  66. package/sdk/index.d.ts +464 -464
  67. package/sdk/index.js +18 -1
  68. package/sdk/multi-agent.js +318 -318
  69. package/sdk/package.json +12 -1
  70. package/sdk/safety-shield.js +219 -0
  71. package/sdk/schema-discovery.js +83 -83
  72. package/server/adapters/index.js +520 -520
  73. package/server/config/plans.js +367 -367
  74. package/server/config/secrets.js +102 -102
  75. package/server/control-plane/index.js +301 -301
  76. package/server/data-plane/index.js +354 -354
  77. package/server/index.js +175 -19
  78. package/server/llm/index.js +404 -404
  79. package/server/middleware/adminAuth.js +35 -35
  80. package/server/middleware/auth.js +50 -50
  81. package/server/middleware/featureGate.js +88 -88
  82. package/server/middleware/rateLimits.js +100 -100
  83. package/server/middleware/sensitiveAction.js +157 -0
  84. package/server/migrations/001_add_analytics_indexes.sql +7 -7
  85. package/server/migrations/002_premium_features.sql +418 -418
  86. package/server/migrations/003_ads_integer_cents.sql +33 -33
  87. package/server/migrations/004_agent_os.sql +158 -158
  88. package/server/migrations/005_marketplace_metering.sql +126 -126
  89. package/server/models/adapters/index.js +33 -33
  90. package/server/models/adapters/mysql.js +183 -183
  91. package/server/models/adapters/postgresql.js +172 -172
  92. package/server/models/adapters/sqlite.js +7 -7
  93. package/server/models/db.js +681 -681
  94. package/server/observability/failure-analysis.js +337 -337
  95. package/server/observability/index.js +394 -394
  96. package/server/protocol/capabilities.js +223 -223
  97. package/server/protocol/index.js +243 -243
  98. package/server/protocol/schema.js +584 -584
  99. package/server/registry/certification.js +271 -271
  100. package/server/registry/index.js +326 -326
  101. package/server/routes/admin-premium.js +671 -671
  102. package/server/routes/admin.js +261 -261
  103. package/server/routes/ads.js +130 -130
  104. package/server/routes/agent-workspace.js +540 -378
  105. package/server/routes/api.js +150 -150
  106. package/server/routes/auth.js +71 -71
  107. package/server/routes/billing.js +45 -45
  108. package/server/routes/commander.js +316 -316
  109. package/server/routes/demo-showcase.js +332 -0
  110. package/server/routes/demo-store.js +154 -0
  111. package/server/routes/discovery.js +417 -406
  112. package/server/routes/gateway.js +173 -0
  113. package/server/routes/license.js +251 -240
  114. package/server/routes/mesh.js +469 -469
  115. package/server/routes/noscript.js +543 -543
  116. package/server/routes/premium-v2.js +686 -686
  117. package/server/routes/premium.js +724 -724
  118. package/server/routes/runtime.js +2148 -2147
  119. package/server/routes/sovereign.js +465 -385
  120. package/server/routes/universal.js +200 -177
  121. package/server/routes/wab-api.js +850 -491
  122. package/server/runtime/container-worker.js +111 -111
  123. package/server/runtime/container.js +448 -448
  124. package/server/runtime/distributed-worker.js +362 -362
  125. package/server/runtime/event-bus.js +210 -210
  126. package/server/runtime/index.js +253 -253
  127. package/server/runtime/queue.js +599 -599
  128. package/server/runtime/replay.js +666 -666
  129. package/server/runtime/sandbox.js +266 -266
  130. package/server/runtime/scheduler.js +534 -534
  131. package/server/runtime/session-engine.js +293 -293
  132. package/server/runtime/state-manager.js +188 -188
  133. package/server/security/cross-site-redactor.js +196 -0
  134. package/server/security/dry-run.js +180 -0
  135. package/server/security/human-gate-rate-limit.js +147 -0
  136. package/server/security/human-gate-transports.js +178 -0
  137. package/server/security/human-gate.js +281 -0
  138. package/server/security/index.js +368 -368
  139. package/server/security/intent-engine.js +245 -0
  140. package/server/security/reward-guard.js +171 -0
  141. package/server/security/rollback-store.js +239 -0
  142. package/server/security/token-scope.js +404 -0
  143. package/server/security/url-policy.js +139 -0
  144. package/server/services/agent-chat.js +506 -506
  145. package/server/services/agent-learning.js +601 -575
  146. package/server/services/agent-memory.js +625 -625
  147. package/server/services/agent-mesh.js +555 -539
  148. package/server/services/agent-symphony.js +717 -717
  149. package/server/services/agent-tasks.js +1807 -1807
  150. package/server/services/api-key-engine.js +292 -0
  151. package/server/services/cluster.js +894 -894
  152. package/server/services/commander.js +738 -738
  153. package/server/services/edge-compute.js +440 -440
  154. package/server/services/email.js +204 -204
  155. package/server/services/hosted-runtime.js +205 -205
  156. package/server/services/lfd.js +635 -616
  157. package/server/services/local-ai.js +389 -389
  158. package/server/services/marketplace.js +270 -270
  159. package/server/services/metering.js +182 -182
  160. package/server/services/modules/affiliate-intelligence.js +93 -0
  161. package/server/services/modules/agent-firewall.js +90 -0
  162. package/server/services/modules/bounty.js +89 -0
  163. package/server/services/modules/collective-bargaining.js +92 -0
  164. package/server/services/modules/dark-pattern.js +66 -0
  165. package/server/services/modules/gov-intelligence.js +45 -0
  166. package/server/services/modules/neural.js +55 -0
  167. package/server/services/modules/notary.js +49 -0
  168. package/server/services/modules/price-time-machine.js +86 -0
  169. package/server/services/modules/protocol.js +104 -0
  170. package/server/services/negotiation.js +439 -439
  171. package/server/services/plugins.js +771 -771
  172. package/server/services/premium.js +1 -1
  173. package/server/services/price-intelligence.js +566 -565
  174. package/server/services/price-shield.js +1137 -1137
  175. package/server/services/reputation.js +465 -465
  176. package/server/services/search-engine.js +357 -357
  177. package/server/services/security.js +513 -513
  178. package/server/services/self-healing.js +843 -843
  179. package/server/services/sovereign-shield.js +542 -0
  180. package/server/services/stripe.js +192 -192
  181. package/server/services/swarm.js +788 -788
  182. package/server/services/universal-scraper.js +662 -661
  183. package/server/services/verification.js +481 -481
  184. package/server/services/vision.js +1163 -1163
  185. package/server/utils/cache.js +125 -125
  186. package/server/utils/migrate.js +81 -81
  187. package/server/utils/safe-fetch.js +228 -0
  188. package/server/utils/secureFields.js +50 -50
  189. package/server/ws.js +161 -161
  190. package/templates/artisan-marketplace.yaml +104 -104
  191. package/templates/book-price-scout.yaml +98 -98
  192. package/templates/electronics-price-tracker.yaml +108 -108
  193. package/templates/flight-deal-hunter.yaml +113 -113
  194. package/templates/freelancer-direct.yaml +116 -116
  195. package/templates/grocery-price-compare.yaml +93 -93
  196. package/templates/hotel-direct-booking.yaml +113 -113
  197. package/templates/local-services.yaml +98 -98
  198. package/templates/olive-oil-tunisia.yaml +88 -88
  199. package/templates/organic-farm-fresh.yaml +101 -101
  200. package/templates/restaurant-direct.yaml +97 -97
  201. package/server/services/fairness-engine.js +0 -409
  202. package/server/services/fairness.js +0 -420
package/public/index.html CHANGED
@@ -3,12 +3,14 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Web Agent Bridge — AI Agent Middleware for the Web</title>
7
- <meta name="description" content="Open-source middleware that bridges AI agents and websites. Standardized commands, permissions, and analytics for intelligent automation.">
6
+ <title>Web Agent Bridge — Open AI↔Web Protocol & Agent Platform</title>
7
+ <meta name="description" content="The open AI↔Web protocol & agent platform: standardized command interface, sovereign browser, phone shield, DNS discovery, agent mesh, and unified API gateway.">
8
8
  <link rel="preconnect" href="https://fonts.googleapis.com">
9
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
11
- <link rel="stylesheet" href="/css/styles.css">
10
+ <style>body{background:#0a0e1a;color:#f0f4ff;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0;min-height:100vh}</style>
11
+ <link rel="preload" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
12
+ <noscript><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet"></noscript>
13
+ <link rel="stylesheet" href="/css/styles.css?v=3.0.1">
12
14
  </head>
13
15
  <body>
14
16
 
@@ -28,6 +30,13 @@
28
30
  <li><a href="#v2-features">v2.0</a></li>
29
31
  <li><a href="#agent-mesh">Agent Mesh</a></li>
30
32
  <li><a href="#agent-workspace">Workspace</a></li>
33
+ <li><a href="/demo">Demo</a></li>
34
+ <li><a href="/integrations">Integrations</a></li>
35
+ <li><a href="#latest-additions">What's New</a></li>
36
+ <li><a href="/dns">AI Discovery</a></li>
37
+ <li><a href="/phone-shield">Phone Shield</a></li>
38
+ <li><a href="/growth">Growth Suite</a></li>
39
+ <li><a href="/api">API</a></li>
31
40
  <li><a href="/docs">Docs</a></li>
32
41
  </ul>
33
42
  <div class="navbar-actions">
@@ -51,8 +60,9 @@
51
60
  <span class="gradient-text">AI Agents</span> &amp; <span class="gradient-text-accent">Websites</span>
52
61
  </h1>
53
62
  <p>
54
- An open-source middleware script that gives AI agents a standardized command interface
55
- to interact with any website — with permissions, rate limiting, and full control for site owners.
63
+ The open <strong>AI↔Web protocol & agent platform</strong>. A standardized command interface, sovereign browser,
64
+ phone shield, DNS discovery, agent mesh, and unified API gateway — with permissions, rate limiting,
65
+ and full control for site owners.
56
66
  </p>
57
67
  <div class="hero-actions">
58
68
  <a href="/register" class="btn btn-primary btn-lg">Start Free</a>
@@ -60,6 +70,8 @@
60
70
  <a href="/browser" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#0ea5e9,#10b981);color:#fff;border:none">🌐 Download WAB Browser</a>
61
71
  <a href="/pwa/" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#8b5cf6,#0ea5e9);color:#fff;border:none">📱 Mobile PWA</a>
62
72
  <a href="/workspace" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;border:none">🤖 Agent Workspace</a>
73
+ <a href="/demo" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none">🧪 API Playground</a>
74
+ <a href="/demo" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#06b6d4,#0ea5e9);color:#fff;border:none">🎮 Interactive Demo</a>
63
75
  </div>
64
76
 
65
77
  <div class="hero-code fade-in fade-in-delay-2">
@@ -661,6 +673,321 @@ console.<span class="fn">log</span>(actions);
661
673
  </div>
662
674
  </section>
663
675
 
676
+ <!-- ═══════════ GROWTH SUITE ═══════════ -->
677
+ <section class="section" id="growth-suite" style="background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); color: #fff;">
678
+ <div class="container" style="text-align:center;">
679
+ <div style="display:inline-block; background:rgba(59,130,246,0.15); color:#60a5fa; padding:6px 16px; border-radius:20px; font-size:13px; font-weight:600; margin-bottom:20px;">WAB Growth Suite v2.5</div>
680
+ <h2 style="margin-bottom:16px; color:#fff;">8 Modules to Protect & Power the Web</h2>
681
+ <p style="color:#94a3b8; max-width:600px; margin:0 auto 40px; font-size:1.05rem; line-height:1.6;">
682
+ From link protection widgets to AI safety layers, bounty networks to threat intelligence — everything you need to build a safer, fairer web.
683
+ </p>
684
+ <div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; max-width:960px; margin:0 auto 40px;">
685
+ <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
686
+ <div style="font-size:28px; margin-bottom:8px;">🛡️</div>
687
+ <div style="font-weight:700; font-size:15px;">WAB Widget</div>
688
+ <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Drop-in link protection</div>
689
+ </div>
690
+ <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
691
+ <div style="font-size:28px; margin-bottom:8px;">🤖</div>
692
+ <div style="font-weight:700; font-size:15px;">AI Safety Layer</div>
693
+ <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Security for AI agents</div>
694
+ </div>
695
+ <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
696
+ <div style="font-size:28px; margin-bottom:8px;">📊</div>
697
+ <div style="font-weight:700; font-size:15px;">WAB Score</div>
698
+ <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Platform credit rating</div>
699
+ </div>
700
+ <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
701
+ <div style="font-size:28px; margin-bottom:8px;">💰</div>
702
+ <div style="font-weight:700; font-size:15px;">Bounty Network</div>
703
+ <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Earn by finding scams</div>
704
+ </div>
705
+ </div>
706
+ <a href="/growth" class="btn btn-primary btn-lg">Explore All 8 Modules →</a>
707
+ </div>
708
+ </section>
709
+
710
+ <!-- ═══════════ 1. WAB WIDGET ═══════════ -->
711
+ <section class="wab-widget-section" style="padding: 80px 20px; background: #f8fafc; text-align: center;">
712
+ <div style="max-width: 800px; margin: 0 auto;">
713
+ <h2 style="font-size: 36px; color: #0f172a; margin-bottom: 16px;">One Line of Code. Full Link Protection.</h2>
714
+ <p style="font-size: 18px; color: #64748b; margin-bottom: 32px;">
715
+ Add a <strong>WAB Widget</strong> next to every external link on your site, blocking phishing and scam URLs in real-time for your visitors.
716
+ </p>
717
+ <div style="background: #0f172a; color: #e2e8f0; padding: 24px; border-radius: 12px; font-family: 'JetBrains Mono', monospace; font-size: 14px; text-align: left; margin-bottom: 24px; overflow-x: auto;">
718
+ <span style="color:#f472b6">&lt;script</span> <span style="color:#a78bfa">src</span>=<span style="color:#86efac">"https://webagentbridge.com/script/ai-agent-bridge.js"</span><br>
719
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#a78bfa">data-wab-key</span>=<span style="color:#86efac">"YOUR_API_KEY"</span><span style="color:#f472b6">&gt;&lt;/script&gt;</span>
720
+ </div>
721
+ <div style="display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;">
722
+ <a href="/growth#modules" class="btn btn-primary">See Widget Demo</a>
723
+ <a href="/workspace" class="btn btn-secondary">Get Your API Key →</a>
724
+ </div>
725
+ </div>
726
+ </section>
727
+
728
+ <!-- ═══════════ 2. AI SAFETY LAYER ═══════════ -->
729
+ <section class="ai-safety-section" style="padding: 80px 20px; background: #0f172a; color: #fff;">
730
+ <div style="max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;">
731
+ <div>
732
+ <div style="color: #3b82f6; font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; font-size: 12px;">FOR AI COMPANIES</div>
733
+ <h2 style="font-size: 32px; margin-bottom: 16px;">Mandatory Safety for AI Agents</h2>
734
+ <p style="color: #94a3b8; font-size: 16px; line-height: 1.6; margin-bottom: 24px;">
735
+ Building an AI agent that browses the web? Use <strong>WAB AI Safety Layer</strong> as a mandatory security wrapper. It scans every URL before your agent visits it.
736
+ </p>
737
+ <ul style="list-style: none; padding: 0; color: #cbd5e1; margin-bottom: 32px;">
738
+ <li style="margin-bottom: 12px;">✅ Compatible with OpenAI Operator &amp; Anthropic Computer Use</li>
739
+ <li style="margin-bottom: 12px;">✅ Blocks fraudulent financial transactions automatically</li>
740
+ <li style="margin-bottom: 12px;">✅ Lifts legal liability from your company</li>
741
+ </ul>
742
+ <a href="/docs" class="btn btn-primary">Read AI Safety Docs →</a>
743
+ </div>
744
+ <div style="background: #1e293b; padding: 24px; border-radius: 16px; border: 1px solid #334155; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.7; overflow-x: auto;">
745
+ <span style="color:#c678dd">import</span> { WABAgentWrapper } <span style="color:#c678dd">from</span> <span style="color:#98c379">'@wab/sdk'</span>;<br><br>
746
+ <span style="color:#5c6370">// Wrap your AI Agent with WAB Safety</span><br>
747
+ <span style="color:#c678dd">const</span> safeAgent = <span style="color:#c678dd">new</span> <span style="color:#61afef">WABAgentWrapper</span>(myAgent, {<br>
748
+ &nbsp;&nbsp;<span style="color:#d19a66">blockCritical</span>: <span style="color:#d19a66">true</span>,<br>
749
+ &nbsp;&nbsp;<span style="color:#d19a66">minFairness</span>: <span style="color:#d19a66">60</span>,<br>
750
+ });<br><br>
751
+ <span style="color:#5c6370">// WAB will block this if the site is a scam</span><br>
752
+ <span style="color:#c678dd">await</span> safeAgent.<span style="color:#61afef">browse</span>(<span style="color:#98c379">'https://scam-site.xyz'</span>);<br>
753
+ <span style="color:#e06c75">→ WABBlockedError: Phishing detected</span>
754
+ </div>
755
+ </div>
756
+ </section>
757
+
758
+ <!-- ═══════════ 3. WAB SCORE ═══════════ -->
759
+ <section class="wab-score-section" style="padding: 80px 20px; background: white; text-align: center;">
760
+ <div style="max-width: 800px; margin: 0 auto;">
761
+ <h2 style="font-size: 36px; color: #0f172a; margin-bottom: 16px;">The Digital World's Credit Rating</h2>
762
+ <p style="font-size: 18px; color: #64748b; margin-bottom: 40px;">
763
+ Like credit agencies rate banks, <strong>WAB Score</strong> rates digital platforms. Search any platform and get a transparency score based on 15 fairness signals.
764
+ </p>
765
+ <div style="display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 40px;">
766
+ <div style="border: 2px solid #22c55e; border-radius: 12px; padding: 16px 24px; display: flex; align-items: center; gap: 12px; background: #fff;">
767
+ <div style="font-size: 32px; font-weight: 900; color: #22c55e; line-height: 1;">A-</div>
768
+ <div>
769
+ <div style="font-weight: 700; color: #1e293b;">Very Good</div>
770
+ <div style="font-size: 12px; color: #64748b;">86/100 · amazon.com</div>
771
+ </div>
772
+ </div>
773
+ <div style="border: 2px solid #f59e0b; border-radius: 12px; padding: 16px 24px; display: flex; align-items: center; gap: 12px; background: #fff;">
774
+ <div style="font-size: 32px; font-weight: 900; color: #f59e0b; line-height: 1;">C+</div>
775
+ <div>
776
+ <div style="font-weight: 700; color: #1e293b;">Below Average</div>
777
+ <div style="font-size: 12px; color: #64748b;">68/100 · aliexpress.com</div>
778
+ </div>
779
+ </div>
780
+ </div>
781
+ <form action="/score" method="GET" style="display: flex; max-width: 500px; margin: 0 auto; gap: 8px;">
782
+ <input type="text" name="domain" placeholder="Enter platform domain (e.g. shein.com)" style="flex: 1; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 15px;">
783
+ <button type="submit" style="background: #0f172a; color: white; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer;">Check Score</button>
784
+ </form>
785
+ </div>
786
+ </section>
787
+
788
+ <!-- ═══════════ 4. TRUST LAYER PROTOCOL ═══════════ -->
789
+ <section style="padding: 60px 20px; background: #f1f5f9; border-top: 1px solid #e2e8f0;">
790
+ <div style="max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap;">
791
+ <div style="flex: 1; min-width: 280px;">
792
+ <h3 style="font-size: 24px; color: #0f172a; margin-bottom: 12px;">The Open Trust Protocol</h3>
793
+ <p style="color: #475569; line-height: 1.6; margin-bottom: 20px;">
794
+ Prove to your customers that your store is fair and safe. Add a <code>wab.json</code> file to your site and print a verified trust badge — the SSL padlock for platform fairness.
795
+ </p>
796
+ <a href="/docs" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Learn how to get WAB Certified →</a>
797
+ </div>
798
+ <div style="flex: 1; min-width: 280px; background: white; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;">
799
+ <div style="font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #334155;">
800
+ <span style="color:#94a3b8">// /.well-known/wab.json</span><br>
801
+ {<br>
802
+ &nbsp;&nbsp;"wab_certified": <span style="color:#22c55e">true</span>,<br>
803
+ &nbsp;&nbsp;"fairness_score": <span style="color:#3b82f6">92</span>,<br>
804
+ &nbsp;&nbsp;"last_audit": <span style="color:#a3e635">"2026-04-01"</span><br>
805
+ }
806
+ </div>
807
+ </div>
808
+ </div>
809
+ </section>
810
+
811
+ <!-- ═══════════ 5. BOUNTY NETWORK ═══════════ -->
812
+ <section style="padding: 80px 20px; background: #0f172a; color: white; text-align: center;">
813
+ <div style="max-width: 700px; margin: 0 auto;">
814
+ <div style="font-size: 48px; margin-bottom: 16px;">💰</div>
815
+ <h2 style="font-size: 36px; margin-bottom: 16px;">Earn Money by Discovering Fraud</h2>
816
+ <p style="font-size: 18px; color: #94a3b8; margin-bottom: 32px; line-height: 1.6;">
817
+ Join the <strong>WAB Bounty Network</strong> and report phishing, scams, and malware that automated systems haven't caught yet. Earn credits redeemable for cash.
818
+ </p>
819
+ <div style="display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap;">
820
+ <div style="background: #1e293b; padding: 16px 24px; border-radius: 8px;">
821
+ <div style="font-size: 24px; font-weight: 700; color: #ef4444;">50 Credits</div>
822
+ <div style="font-size: 13px; color: #94a3b8;">Critical Threats</div>
823
+ </div>
824
+ <div style="background: #1e293b; padding: 16px 24px; border-radius: 8px;">
825
+ <div style="font-size: 24px; font-weight: 700; color: #f59e0b;">25 Credits</div>
826
+ <div style="font-size: 13px; color: #94a3b8;">Confirmed Scams</div>
827
+ </div>
828
+ </div>
829
+ <a href="/register" class="btn btn-primary btn-lg">Start Earning →</a>
830
+ </div>
831
+ </section>
832
+
833
+ <!-- ═══════════ 6. DATA MARKETPLACE ═══════════ -->
834
+ <section style="padding: 80px 20px; background: white;">
835
+ <div style="max-width: 1000px; margin: 0 auto; text-align: center;">
836
+ <h2 style="font-size: 32px; color: #0f172a; margin-bottom: 16px;">Threat Intelligence for AI &amp; Security</h2>
837
+ <p style="font-size: 18px; color: #64748b; margin-bottom: 48px; max-width: 700px; margin-left: auto; margin-right: auto;">
838
+ <strong>WAB Data Marketplace</strong> provides curated threat intelligence datasets for cybersecurity companies and AI model training.
839
+ </p>
840
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;">
841
+ <div style="border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; text-align: left;">
842
+ <h4 style="font-size: 18px; margin-bottom: 8px; color: #0f172a;">Threat Intelligence Feed</h4>
843
+ <p style="color: #64748b; font-size: 14px; margin-bottom: 16px;">Real-time phishing, malware, and scam URL data from 47 databases. Updated continuously.</p>
844
+ <a href="/workspace" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Explore Data →</a>
845
+ </div>
846
+ <div style="border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; text-align: left;">
847
+ <h4 style="font-size: 18px; margin-bottom: 8px; color: #0f172a;">Platform Fairness Data</h4>
848
+ <p style="color: #64748b; font-size: 14px; margin-bottom: 16px;">Quarterly transparency scores for 500+ marketplaces — hidden fees, return policies, dark patterns.</p>
849
+ <a href="/workspace" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Explore Data →</a>
850
+ </div>
851
+ <div style="border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; text-align: left;">
852
+ <h4 style="font-size: 18px; margin-bottom: 8px; color: #0f172a;">Affiliate Intelligence</h4>
853
+ <p style="color: #64748b; font-size: 14px; margin-bottom: 16px;">Commission benchmarks, fraud patterns, and network reliability scores across all major affiliate platforms.</p>
854
+ <a href="/workspace" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Explore Data →</a>
855
+ </div>
856
+ </div>
857
+ </div>
858
+ </section>
859
+
860
+ <!-- ═══════════ 7. EMAIL PROTECTION ═══════════ -->
861
+ <section style="padding: 60px 20px; background: #f8fafc;">
862
+ <div style="max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap;">
863
+ <div style="flex: 1; min-width: 280px;">
864
+ <h3 style="font-size: 28px; color: #0f172a; margin-bottom: 16px;">Email Protection</h3>
865
+ <p style="color: #475569; font-size: 16px; line-height: 1.6; margin-bottom: 24px;">
866
+ 94% of cyber breaches start with a phishing email. Install the WAB extension and every link and sender in your inbox gets scanned by WAB automatically.
867
+ </p>
868
+ <div style="display: flex; gap: 12px; flex-wrap: wrap;">
869
+ <a href="/downloads" style="background: #fff; border: 1px solid #cbd5e1; padding: 10px 20px; border-radius: 8px; text-decoration: none; color: #1e293b; font-weight: 600; font-size: 14px;">🌐 Chrome Extension</a>
870
+ <a href="/downloads" style="background: #fff; border: 1px solid #cbd5e1; padding: 10px 20px; border-radius: 8px; text-decoration: none; color: #1e293b; font-weight: 600; font-size: 14px;">🦊 Firefox Add-on</a>
871
+ </div>
872
+ </div>
873
+ <div style="flex: 1; min-width: 280px; background: white; padding: 16px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);">
874
+ <div style="background: #fef2f2; border-left: 4px solid #ef4444; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px;">
875
+ <strong style="color: #991b1b; font-size: 13px;">🚫 WAB Security Alert:</strong>
876
+ <span style="color: #991b1b; font-size: 13px;"> Dangerous link detected</span>
877
+ <div style="color: #b91c1c; font-size: 12px; margin-top: 4px;">PHISHING DETECTED — paypa1-secure-login.xyz scored 95/100 risk</div>
878
+ </div>
879
+ <div style="height: 12px; background: #f1f5f9; width: 60%; margin-bottom: 8px; border-radius: 4px;"></div>
880
+ <div style="height: 12px; background: #f1f5f9; width: 80%; margin-bottom: 8px; border-radius: 4px;"></div>
881
+ <div style="height: 12px; background: #f1f5f9; width: 40%; border-radius: 4px;"></div>
882
+ </div>
883
+ </div>
884
+ </section>
885
+
886
+ <!-- ═══════════ 8. AFFILIATE INTELLIGENCE ═══════════ -->
887
+ <section style="padding: 80px 20px; background: #0f172a; color: white; text-align: center;">
888
+ <div style="max-width: 800px; margin: 0 auto;">
889
+ <h2 style="font-size: 36px; margin-bottom: 16px;">Are Affiliate Networks Stealing Your Commissions?</h2>
890
+ <p style="font-size: 18px; color: #94a3b8; margin-bottom: 32px; line-height: 1.6;">
891
+ <strong>WAB Affiliate Intelligence</strong> analyzes your affiliate data and compares it with industry benchmarks to detect commission shaving, cookie stuffing, and payment delays.
892
+ </p>
893
+ <div style="background: #1e293b; border: 1px solid #334155; border-radius: 16px; padding: 24px; text-align: left; max-width: 600px; margin: 0 auto 32px; font-family: 'JetBrains Mono', monospace;">
894
+ <div style="display: flex; justify-content: space-between; border-bottom: 1px solid #334155; padding-bottom: 12px; margin-bottom: 12px;">
895
+ <div>
896
+ <div style="color: #94a3b8; font-size: 12px; margin-bottom: 4px;">Network</div>
897
+ <div style="font-weight: 700; font-size: 16px;">ClickBank</div>
898
+ </div>
899
+ <div style="text-align: right;">
900
+ <div style="color: #94a3b8; font-size: 12px; margin-bottom: 4px;">Fraud Risk</div>
901
+ <div style="font-weight: 700; font-size: 16px; color: #f59e0b;">MEDIUM</div>
902
+ </div>
903
+ </div>
904
+ <div style="color: #cbd5e1; font-size: 14px; margin-bottom: 8px;">⚠️ <strong>Commission Shaving:</strong> 12% of valid sales cancelled</div>
905
+ <div style="color: #cbd5e1; font-size: 14px;">⚠️ <strong>Payment Delays:</strong> Average 45 days vs industry 30</div>
906
+ </div>
907
+ <a href="/register" class="btn btn-primary btn-lg">Analyze Your Networks →</a>
908
+ </div>
909
+ </section>
910
+
911
+ <!-- ═══════════ LATEST ADDITIONS ═══════════ -->
912
+ <section class="section" id="latest-additions" style="background: var(--bg-secondary);">
913
+ <div class="container">
914
+ <div class="section-header">
915
+ <span class="label">Latest Additions</span>
916
+ <h2>All New Modules, Integrations &amp; Security Layers</h2>
917
+ <p>Everything added recently is listed here with direct links, so teams and users can immediately open what they need.</p>
918
+ </div>
919
+
920
+ <div class="grid-3">
921
+ <div class="card fade-in" style="border-left:3px solid #0ea5e9;">
922
+ <div class="card-icon cyan">📱</div>
923
+ <h3>Sovereign Phone Shield</h3>
924
+ <p>Communication protection stack with behavioral IDS, threat-intel feed, community reporting, and personal vault encryption.</p>
925
+ <ul style="margin-top:10px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
926
+ <li>Connection analysis: allow / warn / block</li>
927
+ <li>Mobile device telemetry endpoints</li>
928
+ <li>AES-256-GCM personal vault</li>
929
+ </ul>
930
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
931
+ <a href="/phone-shield" class="btn btn-primary btn-sm">Open Shield</a>
932
+ <a href="/api/sovereign/shield/stats" class="btn btn-secondary btn-sm">Live Stats API</a>
933
+ </div>
934
+ </div>
935
+
936
+ <div class="card fade-in fade-in-delay-1" style="border-left:3px solid #6366f1;">
937
+ <div class="card-icon purple">🚀</div>
938
+ <h3>One-Click Integrations Hub</h3>
939
+ <p>Ready deploy packs for Vercel, Netlify, Railway, Cloudflare Workers, Docker, Linux installer, and WordPress MU plugin.</p>
940
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
941
+ <a href="/integrations" class="btn btn-primary btn-sm">Open Integrations</a>
942
+ <a href="https://github.com/abokenan444/web-agent-bridge/tree/master/integrations" target="_blank" rel="noopener" class="btn btn-secondary btn-sm">GitHub Templates</a>
943
+ </div>
944
+ </div>
945
+
946
+ <div class="card fade-in fade-in-delay-2" style="border-left:3px solid #10b981;">
947
+ <div class="card-icon green">🧩</div>
948
+ <h3>Shared Hosting PHP Bridge</h3>
949
+ <p>Production-ready PHP bridge for shared hosting environments where Node daemons are not available.</p>
950
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
951
+ <a href="https://github.com/abokenan444/web-agent-bridge/tree/master/integrations/shared-hosting" target="_blank" rel="noopener" class="btn btn-primary btn-sm">Shared Hosting Pack</a>
952
+ <a href="https://github.com/abokenan444/web-agent-bridge/blob/master/integrations/shared-hosting/README.ar.md" target="_blank" rel="noopener" class="btn btn-secondary btn-sm">Arabic Guide</a>
953
+ </div>
954
+ </div>
955
+
956
+ <div class="card fade-in" style="border-left:3px solid #f59e0b;">
957
+ <div class="card-icon orange">🌐</div>
958
+ <h3>Make Your Site AI-Discoverable in 5 Minutes</h3>
959
+ <p>One TXT record at <code>_wab.yourdomain.com</code> and any compatible AI agent finds your <code>wab.json</code> automatically — no HTTP probing, no manual integration. Run <code>npx wab init</code> to scaffold everything in seconds, then paste one line into your DNS panel. Live DoH-based verifier included for Cloudflare, cPanel, GoDaddy, Namecheap, Route 53, and more.</p>
960
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
961
+ <a href="/dns" class="btn btn-primary btn-sm">Make my site AI-discoverable</a>
962
+ <a href="/dns#verifier" class="btn btn-secondary btn-sm">Live Verifier</a>
963
+ <a href="https://github.com/abokenan444/web-agent-bridge/blob/master/DNS-DISCOVERY.md" target="_blank" rel="noopener" class="btn btn-secondary btn-sm">EN Guide</a>
964
+ <a href="https://github.com/abokenan444/web-agent-bridge/blob/master/DNS-DISCOVERY.ar.md" target="_blank" rel="noopener" class="btn btn-secondary btn-sm">AR Guide</a>
965
+ </div>
966
+ </div>
967
+
968
+ <div class="card fade-in fade-in-delay-1" style="border-left:3px solid #06b6d4;">
969
+ <div class="card-icon cyan">🎮</div>
970
+ <h3>New Interactive Demo Store</h3>
971
+ <p>Fully interactive WAB demo at <code>/demo</code> with live product API, agent activity stream, and wab.json discovery.</p>
972
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
973
+ <a href="/demo" class="btn btn-primary btn-sm">Open Demo</a>
974
+ <a href="/demo/.well-known/wab.json" class="btn btn-secondary btn-sm">Demo wab.json</a>
975
+ </div>
976
+ </div>
977
+
978
+ <div class="card fade-in fade-in-delay-2" style="border-left:3px solid #ec4899;">
979
+ <div class="card-icon pink">🔌</div>
980
+ <h3>API Gateway + 10 Modules</h3>
981
+ <p>Unified authenticated gateway for protocol discovery, firewall, bounty, price shield, notary, neural analysis, and more.</p>
982
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
983
+ <a href="/api" class="btn btn-primary btn-sm">Open API Page</a>
984
+ <a href="/api/v1/health" class="btn btn-secondary btn-sm">Gateway Health</a>
985
+ </div>
986
+ </div>
987
+ </div>
988
+ </div>
989
+ </section>
990
+
664
991
  <!-- ═══════════ CTA ═══════════ -->
665
992
  <section class="section" style="text-align:center;">
666
993
  <div class="container">
@@ -685,7 +1012,7 @@ console.<span class="fn">log</span>(actions);
685
1012
  <div class="brand-icon">⚡</div>
686
1013
  <span>Web Agent Bridge</span>
687
1014
  </a>
688
- <p>Open-source middleware for AI agent and website interaction. Built for the future of intelligent automation.</p>
1015
+ <p>The open AI↔Web protocol & agent platform — standardized commands, sovereign browser, phone shield, DNS discovery, agent mesh, and unified API gateway. Built for the future of intelligent automation.</p>
689
1016
  </div>
690
1017
  <div class="footer-col">
691
1018
  <h4>Product</h4>
@@ -695,6 +1022,10 @@ console.<span class="fn">log</span>(actions);
695
1022
  <li><a href="#integrations">Agent Integrations</a></li>
696
1023
  <li><a href="#pricing">Pricing</a></li>
697
1024
  <li><a href="/docs">Documentation</a></li>
1025
+ <li><a href="/api">API Gateway</a></li>
1026
+ <li><a href="/integrations">Integrations</a></li>
1027
+ <li><a href="/dns">AI Discovery</a></li>
1028
+ <li><a href="/phone-shield">Phone Shield</a></li>
698
1029
  <li><a href="/sovereign">Sovereign Dashboard</a></li>
699
1030
  <li><a href="/workspace">Agent Workspace</a></li>
700
1031
  <li data-wab-auth="signed-in" style="display:none"><a href="/dashboard">Dashboard</a></li>
@@ -705,6 +1036,7 @@ console.<span class="fn">log</span>(actions);
705
1036
  <ul>
706
1037
  <li><a href="/docs#quick-start">Quick Start</a></li>
707
1038
  <li><a href="/docs#api-reference">API Reference</a></li>
1039
+ <li><a href="/api">API Modules</a></li>
708
1040
  <li><a href="#examples">Examples</a></li>
709
1041
  <li><a href="https://github.com/abokenan444/web-agent-bridge" target="_blank" rel="noopener">GitHub</a></li>
710
1042
  </ul>
@@ -724,7 +1056,7 @@ console.<span class="fn">log</span>(actions);
724
1056
  </div>
725
1057
  </footer>
726
1058
 
727
- <script src="/js/auth-nav.js"></script>
1059
+ <script src="/js/auth-nav.js?v=3.0.1"></script>
728
1060
  <script>
729
1061
  const navbar = document.getElementById('navbar');
730
1062
  window.addEventListener('scroll', () => {
@@ -733,6 +1065,6 @@ console.<span class="fn">log</span>(actions);
733
1065
  : 'rgba(10, 14, 26, 0.8)';
734
1066
  });
735
1067
  </script>
736
- <script src="/js/cookie-consent.js"></script>
1068
+ <script src="/js/cookie-consent.js?v=3.0.1"></script>
737
1069
  </body>
738
1070
  </html>