web-agent-bridge 1.2.0 → 2.1.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 (111) hide show
  1. package/LICENSE +21 -21
  2. package/README.ar.md +572 -446
  3. package/README.md +968 -933
  4. package/bin/agent-runner.js +465 -0
  5. package/bin/cli.js +138 -80
  6. package/bin/wab.js +80 -80
  7. package/examples/bidi-agent.js +119 -119
  8. package/examples/mcp-agent.js +94 -94
  9. package/examples/next-app-router/README.md +44 -0
  10. package/examples/puppeteer-agent.js +108 -108
  11. package/examples/saas-dashboard/README.md +55 -0
  12. package/examples/shopify-hydrogen/README.md +74 -0
  13. package/examples/vision-agent.js +171 -171
  14. package/examples/wordpress-elementor/README.md +77 -0
  15. package/package.json +71 -78
  16. package/public/.well-known/ai-assets.json +59 -0
  17. package/public/admin/login.html +84 -84
  18. package/public/ai.html +196 -0
  19. package/public/cookies.html +208 -208
  20. package/public/css/premium.css +317 -0
  21. package/public/css/styles.css +1235 -1235
  22. package/public/dashboard.html +704 -704
  23. package/public/demo.html +259 -0
  24. package/public/docs.html +585 -585
  25. package/public/feed.xml +89 -0
  26. package/public/index.html +581 -332
  27. package/public/js/auth-nav.js +31 -31
  28. package/public/js/auth-redirect.js +12 -12
  29. package/public/js/cookie-consent.js +56 -56
  30. package/public/js/wab-demo-page.js +721 -0
  31. package/public/js/ws-client.js +74 -74
  32. package/public/llms-full.txt +309 -0
  33. package/public/llms.txt +85 -0
  34. package/public/login.html +83 -83
  35. package/public/openapi.json +580 -0
  36. package/public/premium-dashboard.html +2487 -0
  37. package/public/premium.html +791 -0
  38. package/public/privacy.html +295 -295
  39. package/public/register.html +103 -103
  40. package/public/robots.txt +87 -0
  41. package/public/script/wab-consent.d.ts +36 -0
  42. package/public/script/wab-consent.js +104 -0
  43. package/public/script/wab-schema.js +131 -0
  44. package/public/script/wab.d.ts +108 -0
  45. package/public/script/wab.min.js +405 -0
  46. package/public/sitemap.xml +93 -0
  47. package/public/sovereign.html +660 -0
  48. package/public/terms.html +254 -254
  49. package/public/video/tutorial.mp4 +0 -0
  50. package/script/ai-agent-bridge.js +1558 -1513
  51. package/sdk/README.md +55 -55
  52. package/sdk/index.d.ts +118 -0
  53. package/sdk/index.js +257 -203
  54. package/sdk/package.json +14 -14
  55. package/sdk/schema-discovery.js +83 -0
  56. package/server/config/secrets.js +94 -92
  57. package/server/index.js +2 -9
  58. package/server/middleware/adminAuth.js +30 -30
  59. package/server/middleware/auth.js +41 -41
  60. package/server/middleware/rateLimits.js +24 -24
  61. package/server/migrations/001_add_analytics_indexes.sql +7 -7
  62. package/server/migrations/002_premium_features.sql +418 -0
  63. package/server/models/adapters/index.js +33 -33
  64. package/server/models/adapters/mysql.js +183 -183
  65. package/server/models/adapters/postgresql.js +172 -172
  66. package/server/models/adapters/sqlite.js +7 -7
  67. package/server/models/db.js +561 -561
  68. package/server/routes/admin-premium.js +671 -0
  69. package/server/routes/admin.js +247 -247
  70. package/server/routes/api.js +131 -138
  71. package/server/routes/auth.js +51 -51
  72. package/server/routes/billing.js +45 -45
  73. package/server/routes/discovery.js +406 -329
  74. package/server/routes/license.js +240 -240
  75. package/server/routes/noscript.js +543 -543
  76. package/server/routes/premium-v2.js +686 -0
  77. package/server/routes/premium.js +724 -0
  78. package/server/routes/sovereign.js +307 -0
  79. package/server/routes/wab-api.js +476 -476
  80. package/server/services/agent-memory.js +625 -0
  81. package/server/services/email.js +204 -204
  82. package/server/services/fairness.js +420 -420
  83. package/server/services/negotiation.js +439 -0
  84. package/server/services/plugins.js +747 -0
  85. package/server/services/premium.js +1883 -0
  86. package/server/services/reputation.js +465 -0
  87. package/server/services/self-healing.js +843 -0
  88. package/server/services/stripe.js +192 -192
  89. package/server/services/swarm.js +788 -0
  90. package/server/services/verification.js +481 -0
  91. package/server/services/vision.js +871 -0
  92. package/server/utils/cache.js +125 -125
  93. package/server/utils/migrate.js +81 -81
  94. package/server/utils/secureFields.js +50 -50
  95. package/server/ws.js +101 -101
  96. package/templates/artisan-marketplace.yaml +104 -0
  97. package/templates/book-price-scout.yaml +98 -0
  98. package/templates/electronics-price-tracker.yaml +108 -0
  99. package/templates/flight-deal-hunter.yaml +113 -0
  100. package/templates/freelancer-direct.yaml +116 -0
  101. package/templates/grocery-price-compare.yaml +93 -0
  102. package/templates/hotel-direct-booking.yaml +113 -0
  103. package/templates/local-services.yaml +98 -0
  104. package/templates/olive-oil-tunisia.yaml +88 -0
  105. package/templates/organic-farm-fresh.yaml +101 -0
  106. package/templates/restaurant-direct.yaml +97 -0
  107. package/docs/DEPLOY.md +0 -118
  108. package/docs/SPEC.md +0 -1540
  109. package/wab-mcp-adapter/README.md +0 -136
  110. package/wab-mcp-adapter/index.js +0 -555
  111. package/wab-mcp-adapter/package.json +0 -17
@@ -1,208 +1,208 @@
1
- <!DOCTYPE html>
2
- <html lang="en" dir="ltr">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Cookie Policy — Web Agent Bridge</title>
7
- <meta name="description" content="Cookie Policy for Web Agent Bridge. ePrivacy and GDPR compliant.">
8
- <link rel="preconnect" href="https://fonts.googleapis.com">
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">
12
- </head>
13
- <body>
14
-
15
- <nav class="navbar" id="navbar">
16
- <div class="container">
17
- <a href="/" class="navbar-brand">
18
- <div class="brand-icon">⚡</div>
19
- <span>WAB</span>
20
- </a>
21
- <ul class="navbar-links">
22
- <li><a href="/#features">Features</a></li>
23
- <li><a href="/#pricing">Pricing</a></li>
24
- <li><a href="/docs">Docs</a></li>
25
- </ul>
26
- <div class="navbar-actions">
27
- <a href="/login" class="btn btn-ghost">Sign In</a>
28
- <a href="/register" class="btn btn-primary btn-sm">Get Started</a>
29
- </div>
30
- </div>
31
- </nav>
32
-
33
- <div class="container" style="padding-top: 120px; padding-bottom: 80px; max-width: 800px;">
34
- <div class="section-header" style="text-align: left;">
35
- <span class="label">Legal</span>
36
- <h1 style="font-size: 2.2rem;">Cookie Policy</h1>
37
- <p style="max-width: 100%;">Last updated: March 22, 2026</p>
38
- </div>
39
-
40
- <div class="docs-content">
41
-
42
- <h2 id="what-are-cookies">1. What Are Cookies</h2>
43
- <p>
44
- Cookies are small text files placed on your device when you visit a website. They are widely
45
- used to make websites work, provide analytics, and remember your preferences.
46
- </p>
47
- <p>
48
- This Cookie Policy complies with the <strong>EU ePrivacy Directive (2002/58/EC)</strong>,
49
- the <strong>GDPR (EU 2016/679)</strong>, and the
50
- <strong>Dutch Telecommunications Act (Telecommunicatiewet, Art. 11.7a)</strong>.
51
- </p>
52
-
53
- <h2 id="cookies-we-use">2. Cookies We Use</h2>
54
- <p>WAB uses a <strong>minimal cookie approach</strong>. We only use what is strictly necessary.</p>
55
-
56
- <h3>2.1 Strictly Necessary Cookies</h3>
57
- <p>These cookies are essential for the Service to function. No consent is required under the ePrivacy Directive.</p>
58
- <table style="width: 100%; border-collapse: collapse; margin: 16px 0;">
59
- <thead>
60
- <tr style="border-bottom: 2px solid var(--border-color);">
61
- <th style="text-align: left; padding: 12px; color: var(--text-primary);">Name</th>
62
- <th style="text-align: left; padding: 12px; color: var(--text-primary);">Purpose</th>
63
- <th style="text-align: left; padding: 12px; color: var(--text-primary);">Duration</th>
64
- <th style="text-align: left; padding: 12px; color: var(--text-primary);">Type</th>
65
- </tr>
66
- </thead>
67
- <tbody>
68
- <tr style="border-bottom: 1px solid var(--border-color);">
69
- <td style="padding: 12px; color: var(--text-secondary);"><code style="font-family: var(--font-mono); background: var(--bg-surface); padding: 2px 6px; border-radius: 4px;">token</code></td>
70
- <td style="padding: 12px; color: var(--text-secondary);">Authentication session (JWT)</td>
71
- <td style="padding: 12px; color: var(--text-secondary);">Session / until logout</td>
72
- <td style="padding: 12px; color: var(--text-secondary);">localStorage</td>
73
- </tr>
74
- <tr style="border-bottom: 1px solid var(--border-color);">
75
- <td style="padding: 12px; color: var(--text-secondary);"><code style="font-family: var(--font-mono); background: var(--bg-surface); padding: 2px 6px; border-radius: 4px;">adminToken</code></td>
76
- <td style="padding: 12px; color: var(--text-secondary);">Admin authentication session</td>
77
- <td style="padding: 12px; color: var(--text-secondary);">Session / until logout</td>
78
- <td style="padding: 12px; color: var(--text-secondary);">localStorage</td>
79
- </tr>
80
- <tr>
81
- <td style="padding: 12px; color: var(--text-secondary);"><code style="font-family: var(--font-mono); background: var(--bg-surface); padding: 2px 6px; border-radius: 4px;">wab_cookie_consent</code></td>
82
- <td style="padding: 12px; color: var(--text-secondary);">Remembers your cookie consent choice</td>
83
- <td style="padding: 12px; color: var(--text-secondary);">365 days</td>
84
- <td style="padding: 12px; color: var(--text-secondary);">localStorage</td>
85
- </tr>
86
- </tbody>
87
- </table>
88
-
89
- <h3>2.2 Analytics Cookies</h3>
90
- <p>
91
- <strong>We do not use any analytics cookies.</strong> We do not use Google Analytics, Facebook Pixel,
92
- Hotjar, or any third-party tracking service. Our analytics system tracks AI agent behavior only
93
- (not human visitors) and does not use cookies.
94
- </p>
95
-
96
- <h3>2.3 Marketing Cookies</h3>
97
- <p><strong>We do not use marketing or advertising cookies.</strong></p>
98
-
99
- <h3>2.4 Third-Party Cookies</h3>
100
- <p>
101
- We load Google Fonts for typography. Google may set cookies when fonts are loaded.
102
- See <a href="https://policies.google.com/privacy" style="color: var(--accent-blue);" target="_blank" rel="noopener">Google's Privacy Policy</a>.
103
- </p>
104
- <p>
105
- When you interact with payment flows, <strong>Stripe</strong> may set cookies for fraud prevention.
106
- See <a href="https://stripe.com/cookie-settings" style="color: var(--accent-blue);" target="_blank" rel="noopener">Stripe's Cookie Policy</a>.
107
- </p>
108
-
109
- <h2 id="consent">3. Cookie Consent</h2>
110
- <p>
111
- Under the Dutch Telecommunicatiewet and the ePrivacy Directive:
112
- </p>
113
- <ul>
114
- <li><strong>Strictly necessary cookies</strong> do not require consent (they are exempt under Art. 11.7a(3) Tw)</li>
115
- <li><strong>Non-essential cookies</strong> require informed, prior consent — we obtain this via our cookie banner</li>
116
- </ul>
117
- <p>
118
- Since WAB currently uses <strong>only strictly necessary storage</strong>, we inform you via the cookie
119
- banner but no opt-in is required for our cookies. Third-party cookies from Google Fonts and Stripe
120
- are noted for transparency.
121
- </p>
122
-
123
- <h2 id="manage">4. How to Manage Cookies</h2>
124
- <p>You can control cookies through your browser settings:</p>
125
- <ul>
126
- <li><strong>Chrome</strong>: Settings → Privacy and security → Cookies</li>
127
- <li><strong>Firefox</strong>: Settings → Privacy & Security → Cookies</li>
128
- <li><strong>Safari</strong>: Preferences → Privacy → Cookies</li>
129
- <li><strong>Edge</strong>: Settings → Cookies and site permissions</li>
130
- </ul>
131
- <p>
132
- Note: Blocking essential cookies (like the authentication token) will prevent you from logging
133
- into your WAB account.
134
- </p>
135
-
136
- <h2 id="local-storage">5. Local Storage</h2>
137
- <p>
138
- WAB uses <strong>localStorage</strong> (not traditional cookies) for authentication tokens.
139
- While localStorage is technically not a "cookie," it serves a similar purpose and is covered
140
- by the ePrivacy Directive's rules on storing information on user devices. We treat it with
141
- the same transparency requirements.
142
- </p>
143
-
144
- <h2 id="bridge-script">6. The WAB Bridge Script</h2>
145
- <p>
146
- The WAB bridge script (<code style="font-family: var(--font-mono); background: var(--bg-surface); padding: 2px 6px; border-radius: 4px;">ai-agent-bridge.js</code>)
147
- that Site Owners embed on their websites:
148
- </p>
149
- <ul>
150
- <li><strong>Does not set any cookies</strong> on website visitors' browsers</li>
151
- <li><strong>Does not use localStorage</strong> on website visitors' browsers</li>
152
- <li><strong>Does not track human visitors</strong> — it only creates an interface for AI agents</li>
153
- <li>Uses temporary in-memory session tokens (not persisted to disk)</li>
154
- </ul>
155
-
156
- <h2 id="changes">7. Changes to This Policy</h2>
157
- <p>
158
- We will update this Cookie Policy if we change our cookie practices. Changes will be posted on
159
- this page with an updated date.
160
- </p>
161
-
162
- <h2 id="contact">8. Contact</h2>
163
- <p>
164
- For questions about our cookie practices:<br>
165
- Email: <a href="mailto:privacy@webagentbridge.com" style="color: var(--accent-blue);">privacy@webagentbridge.com</a>
166
- </p>
167
- </div>
168
- </div>
169
-
170
- <footer class="footer">
171
- <div class="container">
172
- <div class="footer-grid">
173
- <div class="footer-brand">
174
- <a href="/" class="navbar-brand"><div class="brand-icon">⚡</div><span>Web Agent Bridge</span></a>
175
- <p>Open protocol + runtime for AI agent website interaction.</p>
176
- </div>
177
- <div class="footer-col">
178
- <h4>Product</h4>
179
- <ul>
180
- <li><a href="/#features">Features</a></li>
181
- <li><a href="/#pricing">Pricing</a></li>
182
- <li><a href="/docs">Documentation</a></li>
183
- </ul>
184
- </div>
185
- <div class="footer-col">
186
- <h4>Developers</h4>
187
- <ul>
188
- <li><a href="/docs#quick-start">Quick Start</a></li>
189
- <li><a href="/docs#api-reference">API Reference</a></li>
190
- <li><a href="https://github.com/abokenan444/web-agent-bridge" target="_blank" rel="noopener">GitHub</a></li>
191
- </ul>
192
- </div>
193
- <div class="footer-col">
194
- <h4>Legal</h4>
195
- <ul>
196
- <li><a href="/privacy">Privacy Policy</a></li>
197
- <li><a href="/terms">Terms of Service</a></li>
198
- <li><a href="/cookies">Cookie Policy</a></li>
199
- </ul>
200
- </div>
201
- </div>
202
- <div class="footer-bottom">
203
- <span>&copy; 2026 Web Agent Bridge. MIT License. Operated from the Netherlands.</span>
204
- </div>
205
- </div>
206
- </footer>
207
- </body>
208
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en" dir="ltr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Cookie Policy — Web Agent Bridge</title>
7
+ <meta name="description" content="Cookie Policy for Web Agent Bridge. ePrivacy and GDPR compliant.">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
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">
12
+ </head>
13
+ <body>
14
+
15
+ <nav class="navbar" id="navbar">
16
+ <div class="container">
17
+ <a href="/" class="navbar-brand">
18
+ <div class="brand-icon">⚡</div>
19
+ <span>WAB</span>
20
+ </a>
21
+ <ul class="navbar-links">
22
+ <li><a href="/#features">Features</a></li>
23
+ <li><a href="/#pricing">Pricing</a></li>
24
+ <li><a href="/docs">Docs</a></li>
25
+ </ul>
26
+ <div class="navbar-actions">
27
+ <a href="/login" class="btn btn-ghost">Sign In</a>
28
+ <a href="/register" class="btn btn-primary btn-sm">Get Started</a>
29
+ </div>
30
+ </div>
31
+ </nav>
32
+
33
+ <div class="container" style="padding-top: 120px; padding-bottom: 80px; max-width: 800px;">
34
+ <div class="section-header" style="text-align: left;">
35
+ <span class="label">Legal</span>
36
+ <h1 style="font-size: 2.2rem;">Cookie Policy</h1>
37
+ <p style="max-width: 100%;">Last updated: March 22, 2026</p>
38
+ </div>
39
+
40
+ <div class="docs-content">
41
+
42
+ <h2 id="what-are-cookies">1. What Are Cookies</h2>
43
+ <p>
44
+ Cookies are small text files placed on your device when you visit a website. They are widely
45
+ used to make websites work, provide analytics, and remember your preferences.
46
+ </p>
47
+ <p>
48
+ This Cookie Policy complies with the <strong>EU ePrivacy Directive (2002/58/EC)</strong>,
49
+ the <strong>GDPR (EU 2016/679)</strong>, and the
50
+ <strong>Dutch Telecommunications Act (Telecommunicatiewet, Art. 11.7a)</strong>.
51
+ </p>
52
+
53
+ <h2 id="cookies-we-use">2. Cookies We Use</h2>
54
+ <p>WAB uses a <strong>minimal cookie approach</strong>. We only use what is strictly necessary.</p>
55
+
56
+ <h3>2.1 Strictly Necessary Cookies</h3>
57
+ <p>These cookies are essential for the Service to function. No consent is required under the ePrivacy Directive.</p>
58
+ <table style="width: 100%; border-collapse: collapse; margin: 16px 0;">
59
+ <thead>
60
+ <tr style="border-bottom: 2px solid var(--border-color);">
61
+ <th style="text-align: left; padding: 12px; color: var(--text-primary);">Name</th>
62
+ <th style="text-align: left; padding: 12px; color: var(--text-primary);">Purpose</th>
63
+ <th style="text-align: left; padding: 12px; color: var(--text-primary);">Duration</th>
64
+ <th style="text-align: left; padding: 12px; color: var(--text-primary);">Type</th>
65
+ </tr>
66
+ </thead>
67
+ <tbody>
68
+ <tr style="border-bottom: 1px solid var(--border-color);">
69
+ <td style="padding: 12px; color: var(--text-secondary);"><code style="font-family: var(--font-mono); background: var(--bg-surface); padding: 2px 6px; border-radius: 4px;">token</code></td>
70
+ <td style="padding: 12px; color: var(--text-secondary);">Authentication session (JWT)</td>
71
+ <td style="padding: 12px; color: var(--text-secondary);">Session / until logout</td>
72
+ <td style="padding: 12px; color: var(--text-secondary);">localStorage</td>
73
+ </tr>
74
+ <tr style="border-bottom: 1px solid var(--border-color);">
75
+ <td style="padding: 12px; color: var(--text-secondary);"><code style="font-family: var(--font-mono); background: var(--bg-surface); padding: 2px 6px; border-radius: 4px;">adminToken</code></td>
76
+ <td style="padding: 12px; color: var(--text-secondary);">Admin authentication session</td>
77
+ <td style="padding: 12px; color: var(--text-secondary);">Session / until logout</td>
78
+ <td style="padding: 12px; color: var(--text-secondary);">localStorage</td>
79
+ </tr>
80
+ <tr>
81
+ <td style="padding: 12px; color: var(--text-secondary);"><code style="font-family: var(--font-mono); background: var(--bg-surface); padding: 2px 6px; border-radius: 4px;">wab_cookie_consent</code></td>
82
+ <td style="padding: 12px; color: var(--text-secondary);">Remembers your cookie consent choice</td>
83
+ <td style="padding: 12px; color: var(--text-secondary);">365 days</td>
84
+ <td style="padding: 12px; color: var(--text-secondary);">localStorage</td>
85
+ </tr>
86
+ </tbody>
87
+ </table>
88
+
89
+ <h3>2.2 Analytics Cookies</h3>
90
+ <p>
91
+ <strong>We do not use any analytics cookies.</strong> We do not use Google Analytics, Facebook Pixel,
92
+ Hotjar, or any third-party tracking service. Our analytics system tracks AI agent behavior only
93
+ (not human visitors) and does not use cookies.
94
+ </p>
95
+
96
+ <h3>2.3 Marketing Cookies</h3>
97
+ <p><strong>We do not use marketing or advertising cookies.</strong></p>
98
+
99
+ <h3>2.4 Third-Party Cookies</h3>
100
+ <p>
101
+ We load Google Fonts for typography. Google may set cookies when fonts are loaded.
102
+ See <a href="https://policies.google.com/privacy" style="color: var(--accent-blue);" target="_blank" rel="noopener">Google's Privacy Policy</a>.
103
+ </p>
104
+ <p>
105
+ When you interact with payment flows, <strong>Stripe</strong> may set cookies for fraud prevention.
106
+ See <a href="https://stripe.com/cookie-settings" style="color: var(--accent-blue);" target="_blank" rel="noopener">Stripe's Cookie Policy</a>.
107
+ </p>
108
+
109
+ <h2 id="consent">3. Cookie Consent</h2>
110
+ <p>
111
+ Under the Dutch Telecommunicatiewet and the ePrivacy Directive:
112
+ </p>
113
+ <ul>
114
+ <li><strong>Strictly necessary cookies</strong> do not require consent (they are exempt under Art. 11.7a(3) Tw)</li>
115
+ <li><strong>Non-essential cookies</strong> require informed, prior consent — we obtain this via our cookie banner</li>
116
+ </ul>
117
+ <p>
118
+ Since WAB currently uses <strong>only strictly necessary storage</strong>, we inform you via the cookie
119
+ banner but no opt-in is required for our cookies. Third-party cookies from Google Fonts and Stripe
120
+ are noted for transparency.
121
+ </p>
122
+
123
+ <h2 id="manage">4. How to Manage Cookies</h2>
124
+ <p>You can control cookies through your browser settings:</p>
125
+ <ul>
126
+ <li><strong>Chrome</strong>: Settings → Privacy and security → Cookies</li>
127
+ <li><strong>Firefox</strong>: Settings → Privacy & Security → Cookies</li>
128
+ <li><strong>Safari</strong>: Preferences → Privacy → Cookies</li>
129
+ <li><strong>Edge</strong>: Settings → Cookies and site permissions</li>
130
+ </ul>
131
+ <p>
132
+ Note: Blocking essential cookies (like the authentication token) will prevent you from logging
133
+ into your WAB account.
134
+ </p>
135
+
136
+ <h2 id="local-storage">5. Local Storage</h2>
137
+ <p>
138
+ WAB uses <strong>localStorage</strong> (not traditional cookies) for authentication tokens.
139
+ While localStorage is technically not a "cookie," it serves a similar purpose and is covered
140
+ by the ePrivacy Directive's rules on storing information on user devices. We treat it with
141
+ the same transparency requirements.
142
+ </p>
143
+
144
+ <h2 id="bridge-script">6. The WAB Bridge Script</h2>
145
+ <p>
146
+ The WAB bridge script (<code style="font-family: var(--font-mono); background: var(--bg-surface); padding: 2px 6px; border-radius: 4px;">ai-agent-bridge.js</code>)
147
+ that Site Owners embed on their websites:
148
+ </p>
149
+ <ul>
150
+ <li><strong>Does not set any cookies</strong> on website visitors' browsers</li>
151
+ <li><strong>Does not use localStorage</strong> on website visitors' browsers</li>
152
+ <li><strong>Does not track human visitors</strong> — it only creates an interface for AI agents</li>
153
+ <li>Uses temporary in-memory session tokens (not persisted to disk)</li>
154
+ </ul>
155
+
156
+ <h2 id="changes">7. Changes to This Policy</h2>
157
+ <p>
158
+ We will update this Cookie Policy if we change our cookie practices. Changes will be posted on
159
+ this page with an updated date.
160
+ </p>
161
+
162
+ <h2 id="contact">8. Contact</h2>
163
+ <p>
164
+ For questions about our cookie practices:<br>
165
+ Email: <a href="mailto:privacy@webagentbridge.com" style="color: var(--accent-blue);">privacy@webagentbridge.com</a>
166
+ </p>
167
+ </div>
168
+ </div>
169
+
170
+ <footer class="footer">
171
+ <div class="container">
172
+ <div class="footer-grid">
173
+ <div class="footer-brand">
174
+ <a href="/" class="navbar-brand"><div class="brand-icon">⚡</div><span>Web Agent Bridge</span></a>
175
+ <p>Open-source middleware for AI agent and website interaction.</p>
176
+ </div>
177
+ <div class="footer-col">
178
+ <h4>Product</h4>
179
+ <ul>
180
+ <li><a href="/#features">Features</a></li>
181
+ <li><a href="/#pricing">Pricing</a></li>
182
+ <li><a href="/docs">Documentation</a></li>
183
+ </ul>
184
+ </div>
185
+ <div class="footer-col">
186
+ <h4>Developers</h4>
187
+ <ul>
188
+ <li><a href="/docs#quick-start">Quick Start</a></li>
189
+ <li><a href="/docs#api-reference">API Reference</a></li>
190
+ <li><a href="https://github.com/abokenan444/web-agent-bridge" target="_blank" rel="noopener">GitHub</a></li>
191
+ </ul>
192
+ </div>
193
+ <div class="footer-col">
194
+ <h4>Legal</h4>
195
+ <ul>
196
+ <li><a href="/privacy">Privacy Policy</a></li>
197
+ <li><a href="/terms">Terms of Service</a></li>
198
+ <li><a href="/cookies">Cookie Policy</a></li>
199
+ </ul>
200
+ </div>
201
+ </div>
202
+ <div class="footer-bottom">
203
+ <span>&copy; 2026 Web Agent Bridge. MIT License. Operated from the Netherlands.</span>
204
+ </div>
205
+ </div>
206
+ </footer>
207
+ </body>
208
+ </html>