web-agent-bridge 3.2.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +84 -72
- package/README.ar.md +1304 -1152
- package/README.md +298 -1635
- package/bin/agent-runner.js +474 -474
- package/bin/cli.js +237 -138
- package/bin/wab-init.js +223 -0
- package/bin/wab.js +80 -80
- package/examples/azure-dns-wab.js +83 -0
- package/examples/bidi-agent.js +119 -119
- package/examples/cloudflare-wab-dns.js +121 -0
- package/examples/cpanel-wab-dns.js +114 -0
- package/examples/cross-site-agent.js +91 -91
- package/examples/dns-discovery-agent.js +166 -0
- package/examples/gcp-dns-wab.js +76 -0
- package/examples/governance-agent.js +169 -0
- package/examples/mcp-agent.js +94 -94
- package/examples/next-app-router/README.md +44 -44
- package/examples/plesk-wab-dns.js +103 -0
- package/examples/puppeteer-agent.js +108 -108
- package/examples/route53-wab-dns.js +144 -0
- package/examples/saas-dashboard/README.md +55 -55
- package/examples/safe-mode-agent.js +96 -0
- package/examples/shopify-hydrogen/README.md +74 -74
- package/examples/vision-agent.js +171 -171
- package/examples/wab-sign.js +74 -0
- package/examples/wab-verify.js +60 -0
- package/examples/wordpress-elementor/README.md +77 -77
- package/package.json +19 -6
- package/public/.well-known/agent-tools.json +180 -180
- package/public/.well-known/ai-assets.json +59 -59
- package/public/.well-known/security.txt +8 -0
- package/public/.well-known/wab.json +28 -0
- package/public/activate.html +368 -0
- package/public/adoption-metrics.html +188 -0
- package/public/agent-workspace.html +349 -349
- package/public/ai.html +198 -198
- package/public/api.html +413 -412
- package/public/azure-dns-integration.html +289 -0
- package/public/browser.html +486 -486
- package/public/cloudflare-integration.html +380 -0
- package/public/commander-dashboard.html +243 -243
- package/public/cookies.html +210 -210
- package/public/cpanel-integration.html +398 -0
- package/public/css/agent-workspace.css +1713 -1713
- package/public/css/premium.css +317 -317
- package/public/css/styles.css +1263 -1235
- package/public/dashboard.html +707 -706
- package/public/dns.html +436 -0
- package/public/docs.html +588 -587
- package/public/feed.xml +89 -89
- package/public/gcp-dns-integration.html +318 -0
- package/public/growth.html +465 -463
- package/public/index.html +1266 -982
- package/public/integrations.html +556 -0
- package/public/js/activate.js +145 -0
- package/public/js/agent-workspace.js +1740 -1740
- package/public/js/auth-nav.js +65 -31
- package/public/js/auth-redirect.js +12 -12
- package/public/js/cookie-consent.js +56 -56
- package/public/js/dns.js +438 -0
- package/public/js/wab-demo-page.js +721 -721
- package/public/js/ws-client.js +74 -74
- package/public/llms-full.txt +360 -360
- package/public/llms.txt +125 -125
- package/public/login.html +85 -85
- package/public/mesh-dashboard.html +328 -328
- package/public/openapi.json +669 -580
- package/public/phone-shield.html +281 -0
- package/public/plesk-integration.html +375 -0
- package/public/premium-dashboard.html +2489 -2489
- package/public/premium.html +793 -793
- package/public/privacy.html +297 -297
- package/public/provider-onboarding.html +172 -0
- package/public/provider-sandbox.html +134 -0
- package/public/providers.html +359 -0
- package/public/register.html +105 -105
- package/public/registrar-integrations.html +141 -0
- package/public/robots.txt +99 -87
- package/public/route53-integration.html +531 -0
- package/public/script/wab-consent.d.ts +36 -36
- package/public/script/wab-consent.js +104 -104
- package/public/script/wab-schema.js +131 -131
- package/public/script/wab.d.ts +108 -108
- package/public/script/wab.min.js +580 -580
- package/public/security.txt +8 -0
- package/public/shieldqr.html +231 -0
- package/public/sitemap.xml +6 -0
- package/public/terms.html +256 -256
- package/public/wab-trust.html +200 -0
- package/public/wab-vs-protocols.html +210 -0
- package/public/whitepaper.html +449 -0
- package/script/ai-agent-bridge.js +1754 -1754
- package/sdk/README.md +99 -99
- package/sdk/agent-mesh.js +449 -449
- package/sdk/auto-discovery.js +288 -0
- package/sdk/commander.js +262 -262
- package/sdk/governance.js +262 -0
- package/sdk/index.d.ts +464 -464
- package/sdk/index.js +25 -1
- package/sdk/multi-agent.js +318 -318
- package/sdk/package.json +2 -2
- package/sdk/safe-mode.js +221 -0
- package/sdk/safety-shield.js +219 -0
- package/sdk/schema-discovery.js +83 -83
- package/server/adapters/index.js +520 -520
- package/server/config/plans.js +367 -367
- package/server/config/secrets.js +102 -102
- package/server/control-plane/index.js +301 -301
- package/server/data-plane/index.js +354 -354
- package/server/index.js +670 -427
- package/server/llm/index.js +404 -404
- package/server/middleware/adminAuth.js +35 -35
- package/server/middleware/auth.js +50 -50
- package/server/middleware/featureGate.js +88 -88
- package/server/middleware/rateLimits.js +100 -100
- package/server/middleware/sensitiveAction.js +157 -0
- package/server/migrations/001_add_analytics_indexes.sql +7 -7
- package/server/migrations/002_premium_features.sql +418 -418
- package/server/migrations/003_ads_integer_cents.sql +33 -33
- package/server/migrations/004_agent_os.sql +158 -158
- package/server/migrations/005_marketplace_metering.sql +126 -126
- package/server/migrations/007_governance.sql +106 -0
- package/server/migrations/008_plans.sql +144 -0
- package/server/migrations/009_shieldqr.sql +30 -0
- package/server/migrations/010_extended_trust.sql +33 -0
- package/server/models/adapters/index.js +33 -33
- package/server/models/adapters/mysql.js +183 -183
- package/server/models/adapters/postgresql.js +172 -172
- package/server/models/adapters/sqlite.js +7 -7
- package/server/models/db.js +740 -681
- package/server/observability/failure-analysis.js +337 -337
- package/server/observability/index.js +394 -394
- package/server/protocol/capabilities.js +223 -223
- package/server/protocol/index.js +243 -243
- package/server/protocol/schema.js +584 -584
- package/server/registry/certification.js +271 -271
- package/server/registry/index.js +326 -326
- package/server/routes/admin-plans.js +76 -0
- package/server/routes/admin-premium.js +673 -671
- package/server/routes/admin-shieldqr.js +90 -0
- package/server/routes/admin-trust-monitor.js +83 -0
- package/server/routes/admin.js +549 -261
- package/server/routes/ads.js +130 -130
- package/server/routes/agent-workspace.js +540 -540
- package/server/routes/api.js +150 -150
- package/server/routes/auth.js +71 -71
- package/server/routes/billing.js +57 -45
- package/server/routes/commander.js +316 -316
- package/server/routes/demo-showcase.js +332 -332
- package/server/routes/demo-store.js +154 -0
- package/server/routes/discovery.js +2348 -417
- package/server/routes/gateway.js +173 -157
- package/server/routes/governance.js +208 -0
- package/server/routes/license.js +251 -240
- package/server/routes/mesh.js +469 -469
- package/server/routes/noscript.js +543 -543
- package/server/routes/plans.js +33 -0
- package/server/routes/premium-v2.js +686 -686
- package/server/routes/premium.js +724 -724
- package/server/routes/providers.js +650 -0
- package/server/routes/runtime.js +2148 -2147
- package/server/routes/shieldqr.js +88 -0
- package/server/routes/sovereign.js +465 -385
- package/server/routes/universal.js +200 -185
- package/server/routes/wab-api.js +850 -501
- package/server/runtime/container-worker.js +111 -111
- package/server/runtime/container.js +448 -448
- package/server/runtime/distributed-worker.js +362 -362
- package/server/runtime/event-bus.js +210 -210
- package/server/runtime/index.js +253 -253
- package/server/runtime/queue.js +599 -599
- package/server/runtime/replay.js +666 -666
- package/server/runtime/sandbox.js +266 -266
- package/server/runtime/scheduler.js +534 -534
- package/server/runtime/session-engine.js +293 -293
- package/server/runtime/state-manager.js +188 -188
- package/server/security/cross-site-redactor.js +196 -0
- package/server/security/dry-run.js +180 -0
- package/server/security/human-gate-rate-limit.js +147 -0
- package/server/security/human-gate-transports.js +178 -0
- package/server/security/human-gate.js +281 -0
- package/server/security/index.js +368 -368
- package/server/security/intent-engine.js +245 -0
- package/server/security/reward-guard.js +171 -0
- package/server/security/rollback-store.js +239 -0
- package/server/security/token-scope.js +404 -0
- package/server/security/url-policy.js +139 -0
- package/server/services/agent-chat.js +506 -506
- package/server/services/agent-learning.js +601 -575
- package/server/services/agent-memory.js +625 -625
- package/server/services/agent-mesh.js +555 -539
- package/server/services/agent-symphony.js +717 -717
- package/server/services/agent-tasks.js +1807 -1807
- package/server/services/api-key-engine.js +292 -261
- package/server/services/cluster.js +894 -894
- package/server/services/commander.js +738 -738
- package/server/services/edge-compute.js +440 -440
- package/server/services/email.js +233 -204
- package/server/services/governance.js +466 -0
- package/server/services/hosted-runtime.js +205 -205
- package/server/services/lfd.js +635 -635
- package/server/services/local-ai.js +389 -389
- package/server/services/marketplace.js +270 -270
- package/server/services/metering.js +182 -182
- package/server/services/modules/affiliate-intelligence.js +93 -93
- package/server/services/modules/agent-firewall.js +90 -90
- package/server/services/modules/bounty.js +89 -89
- package/server/services/modules/collective-bargaining.js +92 -92
- package/server/services/modules/dark-pattern.js +66 -66
- package/server/services/modules/gov-intelligence.js +45 -45
- package/server/services/modules/neural.js +55 -55
- package/server/services/modules/notary.js +49 -49
- package/server/services/modules/price-time-machine.js +86 -86
- package/server/services/modules/protocol.js +104 -104
- package/server/services/negotiation.js +439 -439
- package/server/services/plans.js +214 -0
- package/server/services/plugins.js +771 -771
- package/server/services/premium.js +1 -1
- package/server/services/price-intelligence.js +566 -566
- package/server/services/price-shield.js +1137 -1137
- package/server/services/provider-clients.js +740 -0
- package/server/services/reputation.js +465 -465
- package/server/services/search-engine.js +357 -357
- package/server/services/security.js +513 -513
- package/server/services/self-healing.js +843 -843
- package/server/services/shieldqr.js +322 -0
- package/server/services/sovereign-shield.js +542 -0
- package/server/services/ssl-inspector.js +42 -0
- package/server/services/ssl-monitor.js +167 -0
- package/server/services/stripe.js +205 -192
- package/server/services/swarm.js +788 -788
- package/server/services/universal-scraper.js +662 -661
- package/server/services/verification.js +481 -481
- package/server/services/vision.js +1163 -1163
- package/server/services/wab-crypto.js +178 -0
- package/server/utils/cache.js +125 -125
- package/server/utils/migrate.js +81 -81
- package/server/utils/safe-fetch.js +228 -0
- package/server/utils/secureFields.js +50 -50
- package/server/ws.js +161 -161
- package/templates/artisan-marketplace.yaml +104 -104
- package/templates/book-price-scout.yaml +98 -98
- package/templates/electronics-price-tracker.yaml +108 -108
- package/templates/flight-deal-hunter.yaml +113 -113
- package/templates/freelancer-direct.yaml +116 -116
- package/templates/grocery-price-compare.yaml +93 -93
- package/templates/hotel-direct-booking.yaml +113 -113
- package/templates/local-services.yaml +98 -98
- package/templates/olive-oil-tunisia.yaml +88 -88
- package/templates/organic-farm-fresh.yaml +101 -101
- package/templates/restaurant-direct.yaml +97 -97
- package/public/score.html +0 -263
- package/server/migrations/006_growth_suite.sql +0 -138
- package/server/routes/growth.js +0 -962
- package/server/services/fairness-engine.js +0 -409
- package/server/services/fairness.js +0 -420
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema_version": "1.0",
|
|
3
|
-
"project": {
|
|
4
|
-
"name": "Web Agent Bridge",
|
|
5
|
-
"short_name": "WAB",
|
|
6
|
-
"description": "Open protocol and runtime for AI agent ↔ website interaction",
|
|
7
|
-
"url": "https://webagentbridge.com",
|
|
8
|
-
"repository": "https://github.com/abokenan444/web-agent-bridge",
|
|
9
|
-
"license": "MIT",
|
|
10
|
-
"version": "1.2.0",
|
|
11
|
-
"category": "developer-tools",
|
|
12
|
-
"tags": [
|
|
13
|
-
"ai-agent",
|
|
14
|
-
"web-protocol",
|
|
15
|
-
"automation",
|
|
16
|
-
"browser-bridge",
|
|
17
|
-
"mcp",
|
|
18
|
-
"fairness",
|
|
19
|
-
"discovery-protocol",
|
|
20
|
-
"open-standard",
|
|
21
|
-
"agentic-web"
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"ai_resources": {
|
|
25
|
-
"llms_txt": "https://webagentbridge.com/llms.txt",
|
|
26
|
-
"llms_full_txt": "https://webagentbridge.com/llms-full.txt",
|
|
27
|
-
"openapi_spec": "https://webagentbridge.com/openapi.json",
|
|
28
|
-
"discovery_document": "https://webagentbridge.com/agent-bridge.json",
|
|
29
|
-
"well_known_discovery": "https://webagentbridge.com/.well-known/wab.json",
|
|
30
|
-
"protocol_spec": "https://github.com/abokenan444/web-agent-bridge/blob/master/docs/SPEC.md",
|
|
31
|
-
"mcp_adapter": "https://www.npmjs.com/package/wab-mcp-adapter",
|
|
32
|
-
"ai_resources_page": "https://webagentbridge.com/ai"
|
|
33
|
-
},
|
|
34
|
-
"feeds": {
|
|
35
|
-
"atom": "https://webagentbridge.com/feed.xml",
|
|
36
|
-
"sitemap": "https://webagentbridge.com/sitemap.xml"
|
|
37
|
-
},
|
|
38
|
-
"integration": {
|
|
39
|
-
"npm_package": "web-agent-bridge",
|
|
40
|
-
"npm_url": "https://www.npmjs.com/package/web-agent-bridge",
|
|
41
|
-
"docker": "webagentbridge/wab",
|
|
42
|
-
"wordpress_plugin": "https://github.com/abokenan444/web-agent-bridge/tree/master/web-agent-bridge-wordpress",
|
|
43
|
-
"mcp_adapter_npm": "wab-mcp-adapter"
|
|
44
|
-
},
|
|
45
|
-
"endpoints": {
|
|
46
|
-
"discovery": "/api/wab/discover",
|
|
47
|
-
"actions": "/api/wab/actions",
|
|
48
|
-
"execute": "/api/wab/execute",
|
|
49
|
-
"ping": "/api/wab/ping",
|
|
50
|
-
"plans": "/api/plans",
|
|
51
|
-
"registry": "/api/discovery/registry",
|
|
52
|
-
"search": "/api/discovery/search"
|
|
53
|
-
},
|
|
54
|
-
"contact": {
|
|
55
|
-
"support": "support@webagentbridge.com",
|
|
56
|
-
"sales": "sales@webagentbridge.com",
|
|
57
|
-
"issues": "https://github.com/abokenan444/web-agent-bridge/issues"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0",
|
|
3
|
+
"project": {
|
|
4
|
+
"name": "Web Agent Bridge",
|
|
5
|
+
"short_name": "WAB",
|
|
6
|
+
"description": "Open protocol and runtime for AI agent ↔ website interaction",
|
|
7
|
+
"url": "https://webagentbridge.com",
|
|
8
|
+
"repository": "https://github.com/abokenan444/web-agent-bridge",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"version": "1.2.0",
|
|
11
|
+
"category": "developer-tools",
|
|
12
|
+
"tags": [
|
|
13
|
+
"ai-agent",
|
|
14
|
+
"web-protocol",
|
|
15
|
+
"automation",
|
|
16
|
+
"browser-bridge",
|
|
17
|
+
"mcp",
|
|
18
|
+
"fairness",
|
|
19
|
+
"discovery-protocol",
|
|
20
|
+
"open-standard",
|
|
21
|
+
"agentic-web"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"ai_resources": {
|
|
25
|
+
"llms_txt": "https://webagentbridge.com/llms.txt",
|
|
26
|
+
"llms_full_txt": "https://webagentbridge.com/llms-full.txt",
|
|
27
|
+
"openapi_spec": "https://webagentbridge.com/openapi.json",
|
|
28
|
+
"discovery_document": "https://webagentbridge.com/agent-bridge.json",
|
|
29
|
+
"well_known_discovery": "https://webagentbridge.com/.well-known/wab.json",
|
|
30
|
+
"protocol_spec": "https://github.com/abokenan444/web-agent-bridge/blob/master/docs/SPEC.md",
|
|
31
|
+
"mcp_adapter": "https://www.npmjs.com/package/wab-mcp-adapter",
|
|
32
|
+
"ai_resources_page": "https://webagentbridge.com/ai"
|
|
33
|
+
},
|
|
34
|
+
"feeds": {
|
|
35
|
+
"atom": "https://webagentbridge.com/feed.xml",
|
|
36
|
+
"sitemap": "https://webagentbridge.com/sitemap.xml"
|
|
37
|
+
},
|
|
38
|
+
"integration": {
|
|
39
|
+
"npm_package": "web-agent-bridge",
|
|
40
|
+
"npm_url": "https://www.npmjs.com/package/web-agent-bridge",
|
|
41
|
+
"docker": "webagentbridge/wab",
|
|
42
|
+
"wordpress_plugin": "https://github.com/abokenan444/web-agent-bridge/tree/master/web-agent-bridge-wordpress",
|
|
43
|
+
"mcp_adapter_npm": "wab-mcp-adapter"
|
|
44
|
+
},
|
|
45
|
+
"endpoints": {
|
|
46
|
+
"discovery": "/api/wab/discover",
|
|
47
|
+
"actions": "/api/wab/actions",
|
|
48
|
+
"execute": "/api/wab/execute",
|
|
49
|
+
"ping": "/api/wab/ping",
|
|
50
|
+
"plans": "/api/plans",
|
|
51
|
+
"registry": "/api/discovery/registry",
|
|
52
|
+
"search": "/api/discovery/search"
|
|
53
|
+
},
|
|
54
|
+
"contact": {
|
|
55
|
+
"support": "support@webagentbridge.com",
|
|
56
|
+
"sales": "sales@webagentbridge.com",
|
|
57
|
+
"issues": "https://github.com/abokenan444/web-agent-bridge/issues"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Contact: mailto:security@webagentbridge.com
|
|
2
|
+
Expires: 2027-04-26T00:00:00.000Z
|
|
3
|
+
Encryption: https://www.webagentbridge.com/.well-known/pgp-key.txt
|
|
4
|
+
Acknowledgments: https://www.webagentbridge.com/security#hall-of-fame
|
|
5
|
+
Preferred-Languages: en, ar
|
|
6
|
+
Canonical: https://www.webagentbridge.com/.well-known/security.txt
|
|
7
|
+
Policy: https://www.webagentbridge.com/security
|
|
8
|
+
Hiring: https://www.webagentbridge.com/security#bug-bounty
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"payload": {
|
|
3
|
+
"version": "wab1",
|
|
4
|
+
"type": "wab.trust",
|
|
5
|
+
"host": "www.webagentbridge.com",
|
|
6
|
+
"endpoint": "https://www.webagentbridge.com",
|
|
7
|
+
"issued_at": "2026-05-07T15:39:11.684Z",
|
|
8
|
+
"expires_at": "2027-05-07T15:39:11.684Z",
|
|
9
|
+
"capabilities": {
|
|
10
|
+
"discovery": true,
|
|
11
|
+
"shieldqr": true,
|
|
12
|
+
"governance": true,
|
|
13
|
+
"plans_api": "/api/plans",
|
|
14
|
+
"scan_api": "/api/shieldqr/scan"
|
|
15
|
+
},
|
|
16
|
+
"trust": {
|
|
17
|
+
"pk": "ed25519:sjxdiyuM+fnu2N6aLyk1VrDPkYgE5p0+pGb2sl3Y6hg=",
|
|
18
|
+
"ssl": {
|
|
19
|
+
"thumbprint": "420c036a9bc9ecf11292042e5bce9b82595497b81cbf051787e97318ed36d9da",
|
|
20
|
+
"expires": "2026-06-19T14:10:20.000Z",
|
|
21
|
+
"days_until_expiry": 42,
|
|
22
|
+
"issuer": "Let's Encrypt",
|
|
23
|
+
"status": "active"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"signature": "ed25519:S4GLDJCRNe1HR6lIYm0lUQqK1izP8BjbzU1n83pE/E+k6Zc6g/doOhd6OZNElhdAzwfczhut7LRuEgzn1oAxDw=="
|
|
28
|
+
}
|
|
@@ -0,0 +1,368 @@
|
|
|
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>Activate WAB Discovery in One Click — Web Agent Bridge</title>
|
|
7
|
+
<meta name="description" content="Add one DNS TXT record and make your website instantly discoverable by AI agents. Step-by-step guide for Cloudflare, cPanel, GoDaddy, Namecheap and more.">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
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.2.0">
|
|
14
|
+
<style>
|
|
15
|
+
/* ─── Page-specific styles ─── */
|
|
16
|
+
.activate-hero {
|
|
17
|
+
padding: 120px 24px 60px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,0.18) 0%, transparent 70%);
|
|
20
|
+
}
|
|
21
|
+
.activate-hero h1 {
|
|
22
|
+
font-size: clamp(2rem, 5vw, 3.5rem);
|
|
23
|
+
font-weight: 900;
|
|
24
|
+
line-height: 1.1;
|
|
25
|
+
margin-bottom: 1.2rem;
|
|
26
|
+
}
|
|
27
|
+
.activate-hero .subtitle {
|
|
28
|
+
font-size: 1.2rem;
|
|
29
|
+
color: #94a3b8;
|
|
30
|
+
max-width: 640px;
|
|
31
|
+
margin: 0 auto 2rem;
|
|
32
|
+
}
|
|
33
|
+
.lang-toggle {
|
|
34
|
+
display: flex;
|
|
35
|
+
gap: 8px;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
margin-bottom: 2.5rem;
|
|
38
|
+
}
|
|
39
|
+
.lang-toggle button {
|
|
40
|
+
padding: 8px 20px;
|
|
41
|
+
border-radius: 20px;
|
|
42
|
+
border: 1.5px solid #334155;
|
|
43
|
+
background: transparent;
|
|
44
|
+
color: #94a3b8;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
font-size: 0.9rem;
|
|
47
|
+
transition: all 0.2s;
|
|
48
|
+
}
|
|
49
|
+
.lang-toggle button.active {
|
|
50
|
+
background: linear-gradient(135deg, #6366f1, #8b5cf6);
|
|
51
|
+
border-color: transparent;
|
|
52
|
+
color: #fff;
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
}
|
|
55
|
+
/* Steps */
|
|
56
|
+
.steps-section {
|
|
57
|
+
max-width: 860px;
|
|
58
|
+
margin: 0 auto;
|
|
59
|
+
padding: 0 24px 80px;
|
|
60
|
+
}
|
|
61
|
+
.steps-section h2 {
|
|
62
|
+
font-size: 1.8rem;
|
|
63
|
+
font-weight: 700;
|
|
64
|
+
margin-bottom: 2rem;
|
|
65
|
+
color: #e2e8f0;
|
|
66
|
+
}
|
|
67
|
+
.step-card {
|
|
68
|
+
background: rgba(30,41,59,0.7);
|
|
69
|
+
border: 1px solid rgba(99,102,241,0.2);
|
|
70
|
+
border-radius: 16px;
|
|
71
|
+
padding: 28px 32px;
|
|
72
|
+
margin-bottom: 24px;
|
|
73
|
+
position: relative;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
}
|
|
76
|
+
.step-card::before {
|
|
77
|
+
content: '';
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: 0; left: 0;
|
|
80
|
+
width: 4px; height: 100%;
|
|
81
|
+
background: linear-gradient(180deg, #6366f1, #8b5cf6);
|
|
82
|
+
border-radius: 4px 0 0 4px;
|
|
83
|
+
}
|
|
84
|
+
.step-number {
|
|
85
|
+
display: inline-flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
width: 36px; height: 36px;
|
|
89
|
+
background: linear-gradient(135deg, #6366f1, #8b5cf6);
|
|
90
|
+
border-radius: 50%;
|
|
91
|
+
font-weight: 700;
|
|
92
|
+
font-size: 0.95rem;
|
|
93
|
+
margin-bottom: 12px;
|
|
94
|
+
}
|
|
95
|
+
.step-card h3 {
|
|
96
|
+
font-size: 1.15rem;
|
|
97
|
+
font-weight: 700;
|
|
98
|
+
margin: 0 0 10px;
|
|
99
|
+
color: #e2e8f0;
|
|
100
|
+
}
|
|
101
|
+
.step-card p {
|
|
102
|
+
color: #94a3b8;
|
|
103
|
+
margin: 0 0 16px;
|
|
104
|
+
line-height: 1.7;
|
|
105
|
+
}
|
|
106
|
+
.step-card .code-block {
|
|
107
|
+
background: #0f172a;
|
|
108
|
+
border: 1px solid #1e293b;
|
|
109
|
+
border-radius: 10px;
|
|
110
|
+
padding: 16px 20px;
|
|
111
|
+
font-family: 'JetBrains Mono', monospace;
|
|
112
|
+
font-size: 0.85rem;
|
|
113
|
+
color: #a5f3fc;
|
|
114
|
+
overflow-x: auto;
|
|
115
|
+
margin-top: 12px;
|
|
116
|
+
}
|
|
117
|
+
.step-card .code-block .label {
|
|
118
|
+
color: #64748b;
|
|
119
|
+
font-size: 0.78rem;
|
|
120
|
+
display: block;
|
|
121
|
+
margin-bottom: 6px;
|
|
122
|
+
}
|
|
123
|
+
.step-card .code-block .key { color: #f472b6; }
|
|
124
|
+
.step-card .code-block .val { color: #34d399; }
|
|
125
|
+
/* Screenshot */
|
|
126
|
+
.step-screenshot {
|
|
127
|
+
width: 100%;
|
|
128
|
+
border-radius: 10px;
|
|
129
|
+
border: 1px solid rgba(99,102,241,0.25);
|
|
130
|
+
margin-top: 16px;
|
|
131
|
+
}
|
|
132
|
+
/* Provider tabs */
|
|
133
|
+
.provider-tabs {
|
|
134
|
+
display: flex;
|
|
135
|
+
gap: 8px;
|
|
136
|
+
flex-wrap: wrap;
|
|
137
|
+
margin-bottom: 20px;
|
|
138
|
+
}
|
|
139
|
+
.provider-tab {
|
|
140
|
+
padding: 8px 16px;
|
|
141
|
+
border-radius: 8px;
|
|
142
|
+
border: 1px solid #334155;
|
|
143
|
+
background: transparent;
|
|
144
|
+
color: #94a3b8;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
font-size: 0.85rem;
|
|
147
|
+
transition: all 0.2s;
|
|
148
|
+
}
|
|
149
|
+
.provider-tab.active {
|
|
150
|
+
background: rgba(99,102,241,0.2);
|
|
151
|
+
border-color: #6366f1;
|
|
152
|
+
color: #a5b4fc;
|
|
153
|
+
}
|
|
154
|
+
.provider-content { display: none; }
|
|
155
|
+
.provider-content.active { display: block; }
|
|
156
|
+
/* Video section */
|
|
157
|
+
.video-section {
|
|
158
|
+
max-width: 860px;
|
|
159
|
+
margin: 0 auto;
|
|
160
|
+
padding: 0 24px 80px;
|
|
161
|
+
}
|
|
162
|
+
.video-section h2 {
|
|
163
|
+
font-size: 1.8rem;
|
|
164
|
+
font-weight: 700;
|
|
165
|
+
margin-bottom: 1.5rem;
|
|
166
|
+
color: #e2e8f0;
|
|
167
|
+
}
|
|
168
|
+
.video-wrapper {
|
|
169
|
+
background: #0f172a;
|
|
170
|
+
border: 1px solid rgba(99,102,241,0.25);
|
|
171
|
+
border-radius: 16px;
|
|
172
|
+
overflow: hidden;
|
|
173
|
+
aspect-ratio: 16/9;
|
|
174
|
+
display: flex;
|
|
175
|
+
align-items: center;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
}
|
|
178
|
+
.video-wrapper video {
|
|
179
|
+
width: 100%;
|
|
180
|
+
height: 100%;
|
|
181
|
+
object-fit: cover;
|
|
182
|
+
}
|
|
183
|
+
/* Verifier CTA */
|
|
184
|
+
.verifier-cta {
|
|
185
|
+
background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
|
|
186
|
+
border: 1px solid rgba(99,102,241,0.3);
|
|
187
|
+
border-radius: 20px;
|
|
188
|
+
padding: 48px 32px;
|
|
189
|
+
text-align: center;
|
|
190
|
+
max-width: 640px;
|
|
191
|
+
margin: 0 auto 80px;
|
|
192
|
+
}
|
|
193
|
+
.verifier-cta h2 {
|
|
194
|
+
font-size: 1.6rem;
|
|
195
|
+
font-weight: 700;
|
|
196
|
+
margin-bottom: 12px;
|
|
197
|
+
}
|
|
198
|
+
.verifier-cta p {
|
|
199
|
+
color: #94a3b8;
|
|
200
|
+
margin-bottom: 24px;
|
|
201
|
+
}
|
|
202
|
+
/* Badge */
|
|
203
|
+
.badge-row {
|
|
204
|
+
display: flex;
|
|
205
|
+
gap: 12px;
|
|
206
|
+
flex-wrap: wrap;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
margin-bottom: 2rem;
|
|
209
|
+
}
|
|
210
|
+
.badge-img {
|
|
211
|
+
height: 28px;
|
|
212
|
+
}
|
|
213
|
+
/* RTL support */
|
|
214
|
+
html[dir="rtl"] .step-card::before {
|
|
215
|
+
left: auto; right: 0;
|
|
216
|
+
border-radius: 0 4px 4px 0;
|
|
217
|
+
}
|
|
218
|
+
html[dir="rtl"] .step-card {
|
|
219
|
+
text-align: right;
|
|
220
|
+
}
|
|
221
|
+
</style>
|
|
222
|
+
</head>
|
|
223
|
+
<body>
|
|
224
|
+
<!-- ═══════════ NAVBAR ═══════════ -->
|
|
225
|
+
<nav class="navbar" id="navbar">
|
|
226
|
+
<div class="container">
|
|
227
|
+
<a href="/" class="navbar-brand">
|
|
228
|
+
<div class="brand-icon">⚡</div>
|
|
229
|
+
<span>WAB</span>
|
|
230
|
+
</a>
|
|
231
|
+
<ul class="navbar-links">
|
|
232
|
+
<li><a href="/" data-i18n="nav_home">Home</a></li>
|
|
233
|
+
<li><a href="/integrations" data-i18n="nav_integrations">Integrations</a></li>
|
|
234
|
+
<li><a href="/dns" data-i18n="nav_dns">DNS Discovery</a></li>
|
|
235
|
+
<li><a href="/phone-shield" data-i18n="nav_phone">Phone Shield</a></li>
|
|
236
|
+
<li><a href="/sovereign" data-i18n="nav_sovereign">Sovereign</a></li>
|
|
237
|
+
<li><a href="/docs" data-i18n="nav_docs">Docs</a></li>
|
|
238
|
+
</ul>
|
|
239
|
+
<div class="navbar-actions">
|
|
240
|
+
<a href="/login" class="btn btn-ghost" data-wab-auth="guest">Sign In</a>
|
|
241
|
+
<a href="/dashboard" class="btn btn-ghost" data-wab-auth="signed-in" style="display:none">Dashboard</a>
|
|
242
|
+
<a href="/register" class="btn btn-primary btn-sm" data-wab-auth="guest">Get Started</a>
|
|
243
|
+
</div>
|
|
244
|
+
<button class="mobile-menu-btn">☰</button>
|
|
245
|
+
</div>
|
|
246
|
+
</nav>
|
|
247
|
+
|
|
248
|
+
<!-- ═══════════ HERO ═══════════ -->
|
|
249
|
+
<section class="activate-hero">
|
|
250
|
+
<div class="badge-row">
|
|
251
|
+
<img src="https://img.shields.io/badge/DNS%20Discovery-One--Click-6366f1?style=flat-square&logo=dns&logoColor=white" alt="One-Click DNS Discovery" class="badge-img">
|
|
252
|
+
<img src="https://img.shields.io/badge/Protocol-WAB%20v1-8b5cf6?style=flat-square" alt="WAB v1" class="badge-img">
|
|
253
|
+
<img src="https://img.shields.io/badge/Verified-Live%20on%20webagentbridge.com-10b981?style=flat-square" alt="Live Verified" class="badge-img">
|
|
254
|
+
</div>
|
|
255
|
+
<div class="lang-toggle">
|
|
256
|
+
<button id="btnEn" class="active" onclick="setActivateLang('en')">English</button>
|
|
257
|
+
<button id="btnAr" onclick="setActivateLang('ar')">العربية</button>
|
|
258
|
+
</div>
|
|
259
|
+
<h1 data-i18n="hero_title">Activate WAB Discovery<br><span class="gradient-text">in One Click</span></h1>
|
|
260
|
+
<p class="subtitle" data-i18n="hero_sub">Add a single DNS TXT record and make your website instantly discoverable by AI agents — no code changes required.</p>
|
|
261
|
+
<div style="display:flex;gap:12px;justify-content:center;flex-wrap:wrap;">
|
|
262
|
+
<a href="#steps" class="btn btn-primary btn-lg" data-i18n="cta_guide">View Setup Guide</a>
|
|
263
|
+
<a href="/dns" class="btn btn-secondary btn-lg" data-i18n="cta_verify">Live Verifier</a>
|
|
264
|
+
</div>
|
|
265
|
+
</section>
|
|
266
|
+
|
|
267
|
+
<!-- ═══════════ VIDEO ═══════════ -->
|
|
268
|
+
<section class="video-section">
|
|
269
|
+
<h2 data-i18n="video_title">Watch: Full Setup in 40 Seconds</h2>
|
|
270
|
+
<div class="video-wrapper">
|
|
271
|
+
<video controls poster="/img/dns-video-poster.jpg">
|
|
272
|
+
<source src="/videos/dns_discovery_demo.mp4" type="video/mp4">
|
|
273
|
+
<p data-i18n="video_fallback">Your browser does not support the video tag. <a href="/videos/dns_discovery_demo.mp4">Download the video</a>.</p>
|
|
274
|
+
</video>
|
|
275
|
+
</div>
|
|
276
|
+
</section>
|
|
277
|
+
|
|
278
|
+
<!-- ═══════════ STEPS ═══════════ -->
|
|
279
|
+
<section class="steps-section" id="steps">
|
|
280
|
+
<h2 data-i18n="steps_title">Step-by-Step Setup Guide</h2>
|
|
281
|
+
|
|
282
|
+
<!-- Step 1 -->
|
|
283
|
+
<div class="step-card">
|
|
284
|
+
<div class="step-number">1</div>
|
|
285
|
+
<h3 data-i18n="step1_title">Log In to Your DNS Provider</h3>
|
|
286
|
+
<p data-i18n="step1_desc">Sign in to your domain registrar or DNS hosting dashboard. Common providers include Cloudflare, cPanel, GoDaddy, and Namecheap. Navigate to the DNS Management or DNS Records section.</p>
|
|
287
|
+
<div class="provider-tabs">
|
|
288
|
+
<button class="provider-tab active" onclick="showProvider('cloudflare', this)">Cloudflare</button>
|
|
289
|
+
<button class="provider-tab" onclick="showProvider('cpanel', this)">cPanel</button>
|
|
290
|
+
<button class="provider-tab" onclick="showProvider('godaddy', this)">GoDaddy</button>
|
|
291
|
+
<button class="provider-tab" onclick="showProvider('namecheap', this)">Namecheap</button>
|
|
292
|
+
</div>
|
|
293
|
+
<div id="prov-cloudflare" class="provider-content active">
|
|
294
|
+
<p style="color:#94a3b8;font-size:0.9rem;" data-i18n="prov_cloudflare">Go to <strong>dash.cloudflare.com</strong> → Select your domain → Click <strong>DNS</strong> in the top navigation → Click <strong>+ Add record</strong>.</p>
|
|
295
|
+
</div>
|
|
296
|
+
<div id="prov-cpanel" class="provider-content">
|
|
297
|
+
<p style="color:#94a3b8;font-size:0.9rem;" data-i18n="prov_cpanel">Log in to cPanel → Scroll to <strong>Domains</strong> section → Click <strong>Zone Editor</strong> → Click <strong>Manage</strong> next to your domain → Click <strong>+ Add Record</strong>.</p>
|
|
298
|
+
</div>
|
|
299
|
+
<div id="prov-godaddy" class="provider-content">
|
|
300
|
+
<p style="color:#94a3b8;font-size:0.9rem;" data-i18n="prov_godaddy">Log in to <strong>godaddy.com</strong> → My Products → Click <strong>DNS</strong> next to your domain → Click <strong>Add New Record</strong>.</p>
|
|
301
|
+
</div>
|
|
302
|
+
<div id="prov-namecheap" class="provider-content">
|
|
303
|
+
<p style="color:#94a3b8;font-size:0.9rem;" data-i18n="prov_namecheap">Log in to <strong>namecheap.com</strong> → Domain List → Click <strong>Manage</strong> → Click <strong>Advanced DNS</strong> tab → Click <strong>Add New Record</strong>.</p>
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
|
|
307
|
+
<!-- Step 2 -->
|
|
308
|
+
<div class="step-card">
|
|
309
|
+
<div class="step-number">2</div>
|
|
310
|
+
<h3 data-i18n="step2_title">Add the TXT Record</h3>
|
|
311
|
+
<p data-i18n="step2_desc">Create a new DNS TXT record with exactly these values. Replace <code style="color:#a5f3fc">yourdomain.com</code> with your actual domain.</p>
|
|
312
|
+
<div class="code-block">
|
|
313
|
+
<span class="label">DNS TXT Record</span>
|
|
314
|
+
<span class="key">Type:</span> <span class="val">TXT</span><br>
|
|
315
|
+
<span class="key">Name:</span> <span class="val">_wab</span><br>
|
|
316
|
+
<span class="key">Value:</span> <span class="val">v=wab1; endpoint=https://yourdomain.com/.well-known/wab.json</span><br>
|
|
317
|
+
<span class="key">TTL:</span> <span class="val">Auto (3600)</span>
|
|
318
|
+
</div>
|
|
319
|
+
</div>
|
|
320
|
+
|
|
321
|
+
<!-- Step 3 -->
|
|
322
|
+
<div class="step-card">
|
|
323
|
+
<div class="step-number">3</div>
|
|
324
|
+
<h3 data-i18n="step3_title">Create the wab.json Capabilities File</h3>
|
|
325
|
+
<p data-i18n="step3_desc">Create the file <code style="color:#a5f3fc">/.well-known/wab.json</code> on your web server. This file describes your site's capabilities to AI agents.</p>
|
|
326
|
+
<div class="code-block">
|
|
327
|
+
<span class="label">/.well-known/wab.json</span>
|
|
328
|
+
{<br>
|
|
329
|
+
<span class="key">"version"</span>: <span class="val">"wab1"</span>,<br>
|
|
330
|
+
<span class="key">"name"</span>: <span class="val">"Your Site Name"</span>,<br>
|
|
331
|
+
<span class="key">"description"</span>: <span class="val">"What your site does"</span>,<br>
|
|
332
|
+
<span class="key">"endpoint"</span>: <span class="val">"https://yourdomain.com/.well-known/wab.json"</span>,<br>
|
|
333
|
+
<span class="key">"capabilities"</span>: [<span class="val">"browse"</span>, <span class="val">"api"</span>]<br>
|
|
334
|
+
}
|
|
335
|
+
</div>
|
|
336
|
+
</div>
|
|
337
|
+
|
|
338
|
+
<!-- Step 4 -->
|
|
339
|
+
<div class="step-card">
|
|
340
|
+
<div class="step-number">4</div>
|
|
341
|
+
<h3 data-i18n="step4_title">Verify Your Setup</h3>
|
|
342
|
+
<p data-i18n="step4_desc">DNS propagation takes a few minutes. Use the Live Verifier to confirm your record is active. The verifier queries DNS over HTTPS (DoH) — no data is sent to our servers.</p>
|
|
343
|
+
<div style="background:#0f172a;border:1px solid #1e293b;border-radius:10px;padding:20px;margin-top:12px;">
|
|
344
|
+
<div style="display:flex;gap:12px;align-items:center;flex-wrap:wrap;">
|
|
345
|
+
<input id="activateDomain" type="text" placeholder="yourdomain.com" style="flex:1;min-width:200px;padding:10px 16px;background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f0f4ff;font-size:0.9rem;outline:none;">
|
|
346
|
+
<button id="activateVerifyBtn" style="padding:10px 24px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:8px;color:#fff;font-weight:600;cursor:pointer;font-size:0.9rem;" data-i18n="verify_btn">Verify Now</button>
|
|
347
|
+
</div>
|
|
348
|
+
<div id="activateResult" style="margin-top:16px;font-family:'JetBrains Mono',monospace;font-size:0.82rem;display:none;"></div>
|
|
349
|
+
</div>
|
|
350
|
+
</div>
|
|
351
|
+
</section>
|
|
352
|
+
|
|
353
|
+
<!-- ═══════════ CTA ═══════════ -->
|
|
354
|
+
<div style="padding:0 24px;">
|
|
355
|
+
<div class="verifier-cta">
|
|
356
|
+
<h2 data-i18n="cta_title">Your Domain is Now AI-Ready</h2>
|
|
357
|
+
<p data-i18n="cta_desc">Once verified, AI agents using the WAB protocol can discover your site's capabilities automatically — no manual configuration needed on their end.</p>
|
|
358
|
+
<div style="display:flex;gap:12px;justify-content:center;flex-wrap:wrap;">
|
|
359
|
+
<a href="/dns" class="btn btn-primary" data-i18n="cta_full_guide">Full DNS Guide</a>
|
|
360
|
+
<a href="/docs" class="btn btn-secondary" data-i18n="cta_docs">Read the Docs</a>
|
|
361
|
+
</div>
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
|
|
365
|
+
<script src="/js/auth-nav.js"></script>
|
|
366
|
+
<script src="/js/activate.js"></script>
|
|
367
|
+
</body>
|
|
368
|
+
</html>
|