web-agent-bridge 1.1.2 → 2.0.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 (94) hide show
  1. package/LICENSE +21 -21
  2. package/README.ar.md +446 -446
  3. package/README.md +780 -844
  4. package/bin/cli.js +80 -80
  5. package/bin/wab.js +80 -80
  6. package/examples/bidi-agent.js +119 -119
  7. package/examples/mcp-agent.js +94 -94
  8. package/examples/next-app-router/README.md +44 -0
  9. package/examples/puppeteer-agent.js +108 -108
  10. package/examples/saas-dashboard/README.md +55 -0
  11. package/examples/shopify-hydrogen/README.md +74 -0
  12. package/examples/vision-agent.js +171 -171
  13. package/examples/wordpress-elementor/README.md +77 -0
  14. package/package.json +69 -78
  15. package/public/.well-known/ai-assets.json +59 -0
  16. package/public/admin/login.html +84 -84
  17. package/public/ai.html +196 -0
  18. package/public/cookies.html +208 -208
  19. package/public/css/premium.css +317 -0
  20. package/public/css/styles.css +1235 -1235
  21. package/public/dashboard.html +704 -704
  22. package/public/demo.html +259 -0
  23. package/public/docs.html +585 -585
  24. package/public/feed.xml +89 -0
  25. package/public/index.html +495 -332
  26. package/public/js/auth-nav.js +31 -31
  27. package/public/js/auth-redirect.js +12 -12
  28. package/public/js/cookie-consent.js +56 -56
  29. package/public/js/wab-demo-page.js +721 -0
  30. package/public/js/ws-client.js +74 -74
  31. package/public/llms-full.txt +309 -0
  32. package/public/llms.txt +85 -0
  33. package/public/login.html +83 -83
  34. package/public/openapi.json +580 -0
  35. package/public/premium-dashboard.html +2487 -0
  36. package/public/premium.html +791 -0
  37. package/public/privacy.html +295 -295
  38. package/public/register.html +103 -103
  39. package/public/robots.txt +87 -0
  40. package/public/script/wab-consent.d.ts +36 -0
  41. package/public/script/wab-consent.js +104 -0
  42. package/public/script/wab-schema.js +131 -0
  43. package/public/script/wab.d.ts +108 -0
  44. package/public/script/wab.min.js +234 -0
  45. package/public/sitemap.xml +93 -0
  46. package/public/terms.html +254 -254
  47. package/public/video/tutorial.mp4 +0 -0
  48. package/script/ai-agent-bridge.js +1558 -1513
  49. package/sdk/README.md +55 -55
  50. package/sdk/index.d.ts +118 -0
  51. package/sdk/index.js +257 -203
  52. package/sdk/package.json +14 -14
  53. package/sdk/schema-discovery.js +83 -0
  54. package/server/config/secrets.js +94 -92
  55. package/server/index.js +0 -9
  56. package/server/middleware/adminAuth.js +30 -30
  57. package/server/middleware/auth.js +41 -41
  58. package/server/middleware/rateLimits.js +24 -24
  59. package/server/migrations/001_add_analytics_indexes.sql +7 -7
  60. package/server/migrations/002_premium_features.sql +418 -0
  61. package/server/models/adapters/index.js +33 -33
  62. package/server/models/adapters/mysql.js +183 -183
  63. package/server/models/adapters/postgresql.js +172 -172
  64. package/server/models/adapters/sqlite.js +7 -7
  65. package/server/models/db.js +561 -561
  66. package/server/routes/admin-premium.js +671 -0
  67. package/server/routes/admin.js +247 -247
  68. package/server/routes/api.js +131 -138
  69. package/server/routes/auth.js +51 -51
  70. package/server/routes/billing.js +45 -45
  71. package/server/routes/discovery.js +406 -329
  72. package/server/routes/license.js +240 -240
  73. package/server/routes/noscript.js +543 -543
  74. package/server/routes/premium-v2.js +686 -0
  75. package/server/routes/premium.js +724 -0
  76. package/server/routes/wab-api.js +476 -476
  77. package/server/services/agent-memory.js +625 -0
  78. package/server/services/email.js +204 -204
  79. package/server/services/fairness.js +420 -420
  80. package/server/services/plugins.js +747 -0
  81. package/server/services/premium.js +1883 -0
  82. package/server/services/self-healing.js +843 -0
  83. package/server/services/stripe.js +192 -192
  84. package/server/services/swarm.js +788 -0
  85. package/server/services/vision.js +871 -0
  86. package/server/utils/cache.js +125 -125
  87. package/server/utils/migrate.js +81 -81
  88. package/server/utils/secureFields.js +50 -50
  89. package/server/ws.js +101 -101
  90. package/docs/DEPLOY.md +0 -118
  91. package/docs/SPEC.md +0 -1540
  92. package/wab-mcp-adapter/README.md +0 -136
  93. package/wab-mcp-adapter/index.js +0 -555
  94. package/wab-mcp-adapter/package.json +0 -17
@@ -1,295 +1,295 @@
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>Privacy Policy — Web Agent Bridge</title>
7
- <meta name="description" content="Privacy Policy for Web Agent Bridge. GDPR and AVG 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;">Privacy 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="introduction">1. Introduction</h2>
43
- <p>
44
- Web Agent Bridge ("WAB", "we", "us", "our") is an open-source middleware platform operated from the Netherlands.
45
- We are committed to protecting your personal data in accordance with the <strong>General Data Protection Regulation (GDPR — EU 2016/679)</strong>
46
- and the <strong>Dutch Implementation Act (Uitvoeringswet AVG / UAVG)</strong>.
47
- </p>
48
- <p>
49
- This Privacy Policy explains how we collect, use, store, and protect your personal data when you use our website
50
- (<strong>webagentbridge.com</strong>), our services, and our open-source software.
51
- </p>
52
-
53
- <h2 id="controller">2. Data Controller</h2>
54
- <p>The data controller responsible for your personal data is:</p>
55
- <div style="background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; margin: 16px 0;">
56
- <strong>Web Agent Bridge</strong><br>
57
- The Netherlands<br>
58
- Email: <a href="mailto:privacy@webagentbridge.com" style="color: var(--accent-blue);">privacy@webagentbridge.com</a>
59
- </div>
60
-
61
- <h2 id="data-collected">3. What Data We Collect</h2>
62
- <h3>3.1 Account Data</h3>
63
- <p>When you register for an account, we collect:</p>
64
- <ul>
65
- <li><strong>Name</strong> — to personalize your account</li>
66
- <li><strong>Email address</strong> — for authentication and communication</li>
67
- <li><strong>Password</strong> — stored as a bcrypt hash (we never store plain-text passwords)</li>
68
- <li><strong>Company name</strong> (optional) — for billing purposes</li>
69
- </ul>
70
-
71
- <h3>3.2 Site & License Data</h3>
72
- <p>When you add a site to WAB, we collect:</p>
73
- <ul>
74
- <li>Domain name and site name</li>
75
- <li>Configuration preferences (permissions, restrictions)</li>
76
- <li>Generated license keys (unique identifiers)</li>
77
- <li>Subscription tier information</li>
78
- </ul>
79
-
80
- <h3>3.3 Analytics Data</h3>
81
- <p>When the WAB bridge script is active on your website, we collect anonymous interaction data:</p>
82
- <ul>
83
- <li>Action names triggered by AI agents (e.g., "click-signup")</li>
84
- <li>Agent identifiers (if provided by the agent)</li>
85
- <li>Trigger type (click, fill, scroll, etc.)</li>
86
- <li>Success/failure status</li>
87
- <li>Timestamps</li>
88
- </ul>
89
- <p><strong>We do not collect personal data from your website's end users.</strong> Analytics are about AI agent behavior only.</p>
90
-
91
- <h3>3.4 Payment Data</h3>
92
- <p>
93
- Payment processing is handled by <strong>Stripe, Inc.</strong> We do not store your credit card details.
94
- Stripe processes payments in accordance with PCI DSS standards. See
95
- <a href="https://stripe.com/privacy" style="color: var(--accent-blue);" target="_blank" rel="noopener">Stripe's Privacy Policy</a>.
96
- </p>
97
-
98
- <h3>3.5 Technical Data</h3>
99
- <p>Our server automatically collects:</p>
100
- <ul>
101
- <li>IP address (used for rate limiting and security only, not stored long-term)</li>
102
- <li>HTTP request logs (retained for 30 days for security monitoring)</li>
103
- </ul>
104
-
105
- <h2 id="legal-basis">4. Legal Basis for Processing (GDPR Art. 6)</h2>
106
- <table style="width: 100%; border-collapse: collapse; margin: 16px 0;">
107
- <thead>
108
- <tr style="border-bottom: 2px solid var(--border-color);">
109
- <th style="text-align: left; padding: 12px; color: var(--text-primary);">Purpose</th>
110
- <th style="text-align: left; padding: 12px; color: var(--text-primary);">Legal Basis</th>
111
- </tr>
112
- </thead>
113
- <tbody>
114
- <tr style="border-bottom: 1px solid var(--border-color);">
115
- <td style="padding: 12px; color: var(--text-secondary);">Account creation & service delivery</td>
116
- <td style="padding: 12px; color: var(--text-secondary);">Contract performance (Art. 6(1)(b))</td>
117
- </tr>
118
- <tr style="border-bottom: 1px solid var(--border-color);">
119
- <td style="padding: 12px; color: var(--text-secondary);">Payment processing</td>
120
- <td style="padding: 12px; color: var(--text-secondary);">Contract performance (Art. 6(1)(b))</td>
121
- </tr>
122
- <tr style="border-bottom: 1px solid var(--border-color);">
123
- <td style="padding: 12px; color: var(--text-secondary);">Security & abuse prevention</td>
124
- <td style="padding: 12px; color: var(--text-secondary);">Legitimate interest (Art. 6(1)(f))</td>
125
- </tr>
126
- <tr style="border-bottom: 1px solid var(--border-color);">
127
- <td style="padding: 12px; color: var(--text-secondary);">Analytics (AI agent behavior)</td>
128
- <td style="padding: 12px; color: var(--text-secondary);">Legitimate interest (Art. 6(1)(f))</td>
129
- </tr>
130
- <tr style="border-bottom: 1px solid var(--border-color);">
131
- <td style="padding: 12px; color: var(--text-secondary);">Cookies (non-essential)</td>
132
- <td style="padding: 12px; color: var(--text-secondary);">Consent (Art. 6(1)(a))</td>
133
- </tr>
134
- <tr>
135
- <td style="padding: 12px; color: var(--text-secondary);">Legal obligations (Dutch tax law)</td>
136
- <td style="padding: 12px; color: var(--text-secondary);">Legal obligation (Art. 6(1)(c))</td>
137
- </tr>
138
- </tbody>
139
- </table>
140
-
141
- <h2 id="data-sharing">5. Data Sharing & Transfers</h2>
142
- <p>We share personal data only with:</p>
143
- <ul>
144
- <li><strong>Stripe, Inc.</strong> (USA) — Payment processing, with EU Standard Contractual Clauses (SCCs)</li>
145
- <li><strong>Server hosting provider</strong> — Infrastructure only, no access to application data</li>
146
- </ul>
147
- <p>We do not sell, rent, or trade your personal data to third parties.</p>
148
- <p>
149
- Where data is transferred outside the EEA, we ensure appropriate safeguards are in place
150
- (Standard Contractual Clauses or adequacy decisions per GDPR Art. 46).
151
- </p>
152
-
153
- <h2 id="retention">6. Data Retention</h2>
154
- <table style="width: 100%; border-collapse: collapse; margin: 16px 0;">
155
- <thead>
156
- <tr style="border-bottom: 2px solid var(--border-color);">
157
- <th style="text-align: left; padding: 12px; color: var(--text-primary);">Data Type</th>
158
- <th style="text-align: left; padding: 12px; color: var(--text-primary);">Retention Period</th>
159
- </tr>
160
- </thead>
161
- <tbody>
162
- <tr style="border-bottom: 1px solid var(--border-color);">
163
- <td style="padding: 12px; color: var(--text-secondary);">Account data</td>
164
- <td style="padding: 12px; color: var(--text-secondary);">Until account deletion + 30 days</td>
165
- </tr>
166
- <tr style="border-bottom: 1px solid var(--border-color);">
167
- <td style="padding: 12px; color: var(--text-secondary);">Analytics data</td>
168
- <td style="padding: 12px; color: var(--text-secondary);">90 days (auto-purged)</td>
169
- </tr>
170
- <tr style="border-bottom: 1px solid var(--border-color);">
171
- <td style="padding: 12px; color: var(--text-secondary);">Payment records</td>
172
- <td style="padding: 12px; color: var(--text-secondary);">7 years (Dutch fiscal obligation — Belastingdienst)</td>
173
- </tr>
174
- <tr>
175
- <td style="padding: 12px; color: var(--text-secondary);">Server logs</td>
176
- <td style="padding: 12px; color: var(--text-secondary);">30 days</td>
177
- </tr>
178
- </tbody>
179
- </table>
180
-
181
- <h2 id="rights">7. Your Rights (GDPR Art. 15–22)</h2>
182
- <p>As an EU/EEA resident, you have the right to:</p>
183
- <ul>
184
- <li><strong>Access</strong> — Request a copy of your personal data</li>
185
- <li><strong>Rectification</strong> — Correct inaccurate data</li>
186
- <li><strong>Erasure</strong> ("Right to be forgotten") — Request deletion of your data</li>
187
- <li><strong>Restriction</strong> — Restrict processing of your data</li>
188
- <li><strong>Data portability</strong> — Receive your data in a structured, machine-readable format</li>
189
- <li><strong>Object</strong> — Object to processing based on legitimate interest</li>
190
- <li><strong>Withdraw consent</strong> — At any time, without affecting prior processing</li>
191
- </ul>
192
- <p>
193
- To exercise any of these rights, contact us at
194
- <a href="mailto:privacy@webagentbridge.com" style="color: var(--accent-blue);">privacy@webagentbridge.com</a>.
195
- We will respond within <strong>30 days</strong> as required by GDPR.
196
- </p>
197
-
198
- <h2 id="cookies">8. Cookies</h2>
199
- <p>
200
- We use minimal cookies. For full details, see our <a href="/cookies" style="color: var(--accent-blue);">Cookie Policy</a>.
201
- </p>
202
- <ul>
203
- <li><strong>Essential cookies</strong> — Authentication session (JWT token) — no consent required</li>
204
- <li><strong>No tracking cookies</strong> — We do not use Google Analytics, Facebook Pixel, or similar trackers</li>
205
- </ul>
206
-
207
- <h2 id="open-source">9. Open Source & Self-Hosting</h2>
208
- <p>
209
- WAB is open-source software licensed under the <strong>MIT License</strong>. If you self-host WAB,
210
- <strong>you become the data controller</strong> for any personal data processed by your instance.
211
- This privacy policy applies only to the hosted service at <strong>webagentbridge.com</strong>.
212
- </p>
213
-
214
- <h2 id="children">10. Children's Data</h2>
215
- <p>
216
- WAB is not directed at children under 16 years of age (per Dutch UAVG Art. 5).
217
- We do not knowingly collect personal data from children. If we learn we have collected
218
- data from a child, we will delete it promptly.
219
- </p>
220
-
221
- <h2 id="security">11. Security Measures</h2>
222
- <p>We implement appropriate technical and organizational measures including:</p>
223
- <ul>
224
- <li>TLS/SSL encryption for all connections</li>
225
- <li>Bcrypt password hashing</li>
226
- <li>Domain-locked session tokens</li>
227
- <li>Rate limiting and abuse detection</li>
228
- <li>Regular security updates</li>
229
- </ul>
230
-
231
- <h2 id="dpa">12. Supervisory Authority</h2>
232
- <p>
233
- If you believe we have not handled your data correctly, you have the right to lodge a complaint with the
234
- Dutch Data Protection Authority (Autoriteit Persoonsgegevens):
235
- </p>
236
- <div style="background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; margin: 16px 0;">
237
- <strong>Autoriteit Persoonsgegevens</strong><br>
238
- Postbus 93374, 2509 AJ Den Haag<br>
239
- Website: <a href="https://autoriteitpersoonsgegevens.nl" style="color: var(--accent-blue);" target="_blank" rel="noopener">autoriteitpersoonsgegevens.nl</a><br>
240
- Phone: +31 (0)70 888 8500
241
- </div>
242
-
243
- <h2 id="changes">13. Changes to This Policy</h2>
244
- <p>
245
- We may update this Privacy Policy from time to time. Changes will be posted on this page with an updated
246
- "Last updated" date. For significant changes, we will notify registered users via email.
247
- </p>
248
-
249
- <h2 id="contact">14. Contact</h2>
250
- <p>
251
- For privacy-related questions or to exercise your data rights:<br>
252
- Email: <a href="mailto:privacy@webagentbridge.com" style="color: var(--accent-blue);">privacy@webagentbridge.com</a>
253
- </p>
254
- </div>
255
- </div>
256
-
257
- <footer class="footer">
258
- <div class="container">
259
- <div class="footer-grid">
260
- <div class="footer-brand">
261
- <a href="/" class="navbar-brand"><div class="brand-icon">⚡</div><span>Web Agent Bridge</span></a>
262
- <p>Open protocol + runtime for AI agent website interaction.</p>
263
- </div>
264
- <div class="footer-col">
265
- <h4>Product</h4>
266
- <ul>
267
- <li><a href="/#features">Features</a></li>
268
- <li><a href="/#pricing">Pricing</a></li>
269
- <li><a href="/docs">Documentation</a></li>
270
- </ul>
271
- </div>
272
- <div class="footer-col">
273
- <h4>Developers</h4>
274
- <ul>
275
- <li><a href="/docs#quick-start">Quick Start</a></li>
276
- <li><a href="/docs#api-reference">API Reference</a></li>
277
- <li><a href="https://github.com/abokenan444/web-agent-bridge" target="_blank" rel="noopener">GitHub</a></li>
278
- </ul>
279
- </div>
280
- <div class="footer-col">
281
- <h4>Legal</h4>
282
- <ul>
283
- <li><a href="/privacy">Privacy Policy</a></li>
284
- <li><a href="/terms">Terms of Service</a></li>
285
- <li><a href="/cookies">Cookie Policy</a></li>
286
- </ul>
287
- </div>
288
- </div>
289
- <div class="footer-bottom">
290
- <span>&copy; 2026 Web Agent Bridge. MIT License. Operated from the Netherlands.</span>
291
- </div>
292
- </div>
293
- </footer>
294
- </body>
295
- </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>Privacy Policy — Web Agent Bridge</title>
7
+ <meta name="description" content="Privacy Policy for Web Agent Bridge. GDPR and AVG 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;">Privacy 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="introduction">1. Introduction</h2>
43
+ <p>
44
+ Web Agent Bridge ("WAB", "we", "us", "our") is an open-source middleware platform operated from the Netherlands.
45
+ We are committed to protecting your personal data in accordance with the <strong>General Data Protection Regulation (GDPR — EU 2016/679)</strong>
46
+ and the <strong>Dutch Implementation Act (Uitvoeringswet AVG / UAVG)</strong>.
47
+ </p>
48
+ <p>
49
+ This Privacy Policy explains how we collect, use, store, and protect your personal data when you use our website
50
+ (<strong>webagentbridge.com</strong>), our services, and our open-source software.
51
+ </p>
52
+
53
+ <h2 id="controller">2. Data Controller</h2>
54
+ <p>The data controller responsible for your personal data is:</p>
55
+ <div style="background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; margin: 16px 0;">
56
+ <strong>Web Agent Bridge</strong><br>
57
+ The Netherlands<br>
58
+ Email: <a href="mailto:privacy@webagentbridge.com" style="color: var(--accent-blue);">privacy@webagentbridge.com</a>
59
+ </div>
60
+
61
+ <h2 id="data-collected">3. What Data We Collect</h2>
62
+ <h3>3.1 Account Data</h3>
63
+ <p>When you register for an account, we collect:</p>
64
+ <ul>
65
+ <li><strong>Name</strong> — to personalize your account</li>
66
+ <li><strong>Email address</strong> — for authentication and communication</li>
67
+ <li><strong>Password</strong> — stored as a bcrypt hash (we never store plain-text passwords)</li>
68
+ <li><strong>Company name</strong> (optional) — for billing purposes</li>
69
+ </ul>
70
+
71
+ <h3>3.2 Site & License Data</h3>
72
+ <p>When you add a site to WAB, we collect:</p>
73
+ <ul>
74
+ <li>Domain name and site name</li>
75
+ <li>Configuration preferences (permissions, restrictions)</li>
76
+ <li>Generated license keys (unique identifiers)</li>
77
+ <li>Subscription tier information</li>
78
+ </ul>
79
+
80
+ <h3>3.3 Analytics Data</h3>
81
+ <p>When the WAB bridge script is active on your website, we collect anonymous interaction data:</p>
82
+ <ul>
83
+ <li>Action names triggered by AI agents (e.g., "click-signup")</li>
84
+ <li>Agent identifiers (if provided by the agent)</li>
85
+ <li>Trigger type (click, fill, scroll, etc.)</li>
86
+ <li>Success/failure status</li>
87
+ <li>Timestamps</li>
88
+ </ul>
89
+ <p><strong>We do not collect personal data from your website's end users.</strong> Analytics are about AI agent behavior only.</p>
90
+
91
+ <h3>3.4 Payment Data</h3>
92
+ <p>
93
+ Payment processing is handled by <strong>Stripe, Inc.</strong> We do not store your credit card details.
94
+ Stripe processes payments in accordance with PCI DSS standards. See
95
+ <a href="https://stripe.com/privacy" style="color: var(--accent-blue);" target="_blank" rel="noopener">Stripe's Privacy Policy</a>.
96
+ </p>
97
+
98
+ <h3>3.5 Technical Data</h3>
99
+ <p>Our server automatically collects:</p>
100
+ <ul>
101
+ <li>IP address (used for rate limiting and security only, not stored long-term)</li>
102
+ <li>HTTP request logs (retained for 30 days for security monitoring)</li>
103
+ </ul>
104
+
105
+ <h2 id="legal-basis">4. Legal Basis for Processing (GDPR Art. 6)</h2>
106
+ <table style="width: 100%; border-collapse: collapse; margin: 16px 0;">
107
+ <thead>
108
+ <tr style="border-bottom: 2px solid var(--border-color);">
109
+ <th style="text-align: left; padding: 12px; color: var(--text-primary);">Purpose</th>
110
+ <th style="text-align: left; padding: 12px; color: var(--text-primary);">Legal Basis</th>
111
+ </tr>
112
+ </thead>
113
+ <tbody>
114
+ <tr style="border-bottom: 1px solid var(--border-color);">
115
+ <td style="padding: 12px; color: var(--text-secondary);">Account creation & service delivery</td>
116
+ <td style="padding: 12px; color: var(--text-secondary);">Contract performance (Art. 6(1)(b))</td>
117
+ </tr>
118
+ <tr style="border-bottom: 1px solid var(--border-color);">
119
+ <td style="padding: 12px; color: var(--text-secondary);">Payment processing</td>
120
+ <td style="padding: 12px; color: var(--text-secondary);">Contract performance (Art. 6(1)(b))</td>
121
+ </tr>
122
+ <tr style="border-bottom: 1px solid var(--border-color);">
123
+ <td style="padding: 12px; color: var(--text-secondary);">Security & abuse prevention</td>
124
+ <td style="padding: 12px; color: var(--text-secondary);">Legitimate interest (Art. 6(1)(f))</td>
125
+ </tr>
126
+ <tr style="border-bottom: 1px solid var(--border-color);">
127
+ <td style="padding: 12px; color: var(--text-secondary);">Analytics (AI agent behavior)</td>
128
+ <td style="padding: 12px; color: var(--text-secondary);">Legitimate interest (Art. 6(1)(f))</td>
129
+ </tr>
130
+ <tr style="border-bottom: 1px solid var(--border-color);">
131
+ <td style="padding: 12px; color: var(--text-secondary);">Cookies (non-essential)</td>
132
+ <td style="padding: 12px; color: var(--text-secondary);">Consent (Art. 6(1)(a))</td>
133
+ </tr>
134
+ <tr>
135
+ <td style="padding: 12px; color: var(--text-secondary);">Legal obligations (Dutch tax law)</td>
136
+ <td style="padding: 12px; color: var(--text-secondary);">Legal obligation (Art. 6(1)(c))</td>
137
+ </tr>
138
+ </tbody>
139
+ </table>
140
+
141
+ <h2 id="data-sharing">5. Data Sharing & Transfers</h2>
142
+ <p>We share personal data only with:</p>
143
+ <ul>
144
+ <li><strong>Stripe, Inc.</strong> (USA) — Payment processing, with EU Standard Contractual Clauses (SCCs)</li>
145
+ <li><strong>Server hosting provider</strong> — Infrastructure only, no access to application data</li>
146
+ </ul>
147
+ <p>We do not sell, rent, or trade your personal data to third parties.</p>
148
+ <p>
149
+ Where data is transferred outside the EEA, we ensure appropriate safeguards are in place
150
+ (Standard Contractual Clauses or adequacy decisions per GDPR Art. 46).
151
+ </p>
152
+
153
+ <h2 id="retention">6. Data Retention</h2>
154
+ <table style="width: 100%; border-collapse: collapse; margin: 16px 0;">
155
+ <thead>
156
+ <tr style="border-bottom: 2px solid var(--border-color);">
157
+ <th style="text-align: left; padding: 12px; color: var(--text-primary);">Data Type</th>
158
+ <th style="text-align: left; padding: 12px; color: var(--text-primary);">Retention Period</th>
159
+ </tr>
160
+ </thead>
161
+ <tbody>
162
+ <tr style="border-bottom: 1px solid var(--border-color);">
163
+ <td style="padding: 12px; color: var(--text-secondary);">Account data</td>
164
+ <td style="padding: 12px; color: var(--text-secondary);">Until account deletion + 30 days</td>
165
+ </tr>
166
+ <tr style="border-bottom: 1px solid var(--border-color);">
167
+ <td style="padding: 12px; color: var(--text-secondary);">Analytics data</td>
168
+ <td style="padding: 12px; color: var(--text-secondary);">90 days (auto-purged)</td>
169
+ </tr>
170
+ <tr style="border-bottom: 1px solid var(--border-color);">
171
+ <td style="padding: 12px; color: var(--text-secondary);">Payment records</td>
172
+ <td style="padding: 12px; color: var(--text-secondary);">7 years (Dutch fiscal obligation — Belastingdienst)</td>
173
+ </tr>
174
+ <tr>
175
+ <td style="padding: 12px; color: var(--text-secondary);">Server logs</td>
176
+ <td style="padding: 12px; color: var(--text-secondary);">30 days</td>
177
+ </tr>
178
+ </tbody>
179
+ </table>
180
+
181
+ <h2 id="rights">7. Your Rights (GDPR Art. 15–22)</h2>
182
+ <p>As an EU/EEA resident, you have the right to:</p>
183
+ <ul>
184
+ <li><strong>Access</strong> — Request a copy of your personal data</li>
185
+ <li><strong>Rectification</strong> — Correct inaccurate data</li>
186
+ <li><strong>Erasure</strong> ("Right to be forgotten") — Request deletion of your data</li>
187
+ <li><strong>Restriction</strong> — Restrict processing of your data</li>
188
+ <li><strong>Data portability</strong> — Receive your data in a structured, machine-readable format</li>
189
+ <li><strong>Object</strong> — Object to processing based on legitimate interest</li>
190
+ <li><strong>Withdraw consent</strong> — At any time, without affecting prior processing</li>
191
+ </ul>
192
+ <p>
193
+ To exercise any of these rights, contact us at
194
+ <a href="mailto:privacy@webagentbridge.com" style="color: var(--accent-blue);">privacy@webagentbridge.com</a>.
195
+ We will respond within <strong>30 days</strong> as required by GDPR.
196
+ </p>
197
+
198
+ <h2 id="cookies">8. Cookies</h2>
199
+ <p>
200
+ We use minimal cookies. For full details, see our <a href="/cookies" style="color: var(--accent-blue);">Cookie Policy</a>.
201
+ </p>
202
+ <ul>
203
+ <li><strong>Essential cookies</strong> — Authentication session (JWT token) — no consent required</li>
204
+ <li><strong>No tracking cookies</strong> — We do not use Google Analytics, Facebook Pixel, or similar trackers</li>
205
+ </ul>
206
+
207
+ <h2 id="open-source">9. Open Source & Self-Hosting</h2>
208
+ <p>
209
+ WAB is open-source software licensed under the <strong>MIT License</strong>. If you self-host WAB,
210
+ <strong>you become the data controller</strong> for any personal data processed by your instance.
211
+ This privacy policy applies only to the hosted service at <strong>webagentbridge.com</strong>.
212
+ </p>
213
+
214
+ <h2 id="children">10. Children's Data</h2>
215
+ <p>
216
+ WAB is not directed at children under 16 years of age (per Dutch UAVG Art. 5).
217
+ We do not knowingly collect personal data from children. If we learn we have collected
218
+ data from a child, we will delete it promptly.
219
+ </p>
220
+
221
+ <h2 id="security">11. Security Measures</h2>
222
+ <p>We implement appropriate technical and organizational measures including:</p>
223
+ <ul>
224
+ <li>TLS/SSL encryption for all connections</li>
225
+ <li>Bcrypt password hashing</li>
226
+ <li>Domain-locked session tokens</li>
227
+ <li>Rate limiting and abuse detection</li>
228
+ <li>Regular security updates</li>
229
+ </ul>
230
+
231
+ <h2 id="dpa">12. Supervisory Authority</h2>
232
+ <p>
233
+ If you believe we have not handled your data correctly, you have the right to lodge a complaint with the
234
+ Dutch Data Protection Authority (Autoriteit Persoonsgegevens):
235
+ </p>
236
+ <div style="background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; margin: 16px 0;">
237
+ <strong>Autoriteit Persoonsgegevens</strong><br>
238
+ Postbus 93374, 2509 AJ Den Haag<br>
239
+ Website: <a href="https://autoriteitpersoonsgegevens.nl" style="color: var(--accent-blue);" target="_blank" rel="noopener">autoriteitpersoonsgegevens.nl</a><br>
240
+ Phone: +31 (0)70 888 8500
241
+ </div>
242
+
243
+ <h2 id="changes">13. Changes to This Policy</h2>
244
+ <p>
245
+ We may update this Privacy Policy from time to time. Changes will be posted on this page with an updated
246
+ "Last updated" date. For significant changes, we will notify registered users via email.
247
+ </p>
248
+
249
+ <h2 id="contact">14. Contact</h2>
250
+ <p>
251
+ For privacy-related questions or to exercise your data rights:<br>
252
+ Email: <a href="mailto:privacy@webagentbridge.com" style="color: var(--accent-blue);">privacy@webagentbridge.com</a>
253
+ </p>
254
+ </div>
255
+ </div>
256
+
257
+ <footer class="footer">
258
+ <div class="container">
259
+ <div class="footer-grid">
260
+ <div class="footer-brand">
261
+ <a href="/" class="navbar-brand"><div class="brand-icon">⚡</div><span>Web Agent Bridge</span></a>
262
+ <p>Open-source middleware for AI agent and website interaction.</p>
263
+ </div>
264
+ <div class="footer-col">
265
+ <h4>Product</h4>
266
+ <ul>
267
+ <li><a href="/#features">Features</a></li>
268
+ <li><a href="/#pricing">Pricing</a></li>
269
+ <li><a href="/docs">Documentation</a></li>
270
+ </ul>
271
+ </div>
272
+ <div class="footer-col">
273
+ <h4>Developers</h4>
274
+ <ul>
275
+ <li><a href="/docs#quick-start">Quick Start</a></li>
276
+ <li><a href="/docs#api-reference">API Reference</a></li>
277
+ <li><a href="https://github.com/abokenan444/web-agent-bridge" target="_blank" rel="noopener">GitHub</a></li>
278
+ </ul>
279
+ </div>
280
+ <div class="footer-col">
281
+ <h4>Legal</h4>
282
+ <ul>
283
+ <li><a href="/privacy">Privacy Policy</a></li>
284
+ <li><a href="/terms">Terms of Service</a></li>
285
+ <li><a href="/cookies">Cookie Policy</a></li>
286
+ </ul>
287
+ </div>
288
+ </div>
289
+ <div class="footer-bottom">
290
+ <span>&copy; 2026 Web Agent Bridge. MIT License. Operated from the Netherlands.</span>
291
+ </div>
292
+ </div>
293
+ </footer>
294
+ </body>
295
+ </html>