Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
chore: consolidate migrations + AWS partner page + manifest unwrap
nirholas9b8ea4f01bee
diff --git a/README.md b/README.mdindex 0551b4023..70a4c2c76 100644--- a/README.md+++ b/README.md@@ -347,6 +347,7 @@ three.ws is available on major cloud marketplaces and open to infrastructure par| Cloud | Status || ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| **AWS** | **AWS Partner** (APN Software Path). AWS Marketplace SaaS listing in review — see [docs/aws-marketplace.md](docs/aws-marketplace.md) and the public partner page at [three.ws/aws](https://three.ws/aws). Production runs on AWS `us-east-1`, registered in AWS MyApplications under account `155407237916`. || **Alibaba Cloud** | Live: [product listing →](https://marketplace.alibabacloud.com/products/56724001/sgcmfw00036800.html) · [storefront →](https://marketplace.alibabacloud.com/store/3247293.html) || **Google Cloud** | three.ws runs on WebGL, Vercel edge, EVM (15+ chains), and Solana (Metaplex Core) — a natural fit for GCP's AI infrastructure, Vertex AI, and global CDN. Open to co-listing, credits, and joint GTM. |diff --git a/migrations/001_add_referrals.sql b/api/_lib/migrations/001_add_referrals.sqlsimilarity index 100%rename from migrations/001_add_referrals.sqlrename to api/_lib/migrations/001_add_referrals.sqldiff --git a/migrations/002_create_skill_purchases.sql b/api/_lib/migrations/002_create_skill_purchases.sqlsimilarity index 100%rename from migrations/002_create_skill_purchases.sqlrename to api/_lib/migrations/002_create_skill_purchases.sqldiff --git a/migrations/20260504140000_create_payment_intents.sql b/api/_lib/migrations/20260504140000_create_payment_intents.sqlsimilarity index 100%rename from migrations/20260504140000_create_payment_intents.sqlrename to api/_lib/migrations/20260504140000_create_payment_intents.sqldiff --git a/migrations/20260510000000_avatars_featured_views.sql b/api/_lib/migrations/20260510000000_avatars_featured_views.sqlsimilarity index 100%rename from migrations/20260510000000_avatars_featured_views.sqlrename to api/_lib/migrations/20260510000000_avatars_featured_views.sqldiff --git a/migrations/20260510010000_marketplace_themes.sql b/api/_lib/migrations/20260510010000_marketplace_themes.sqlsimilarity index 100%rename from migrations/20260510010000_marketplace_themes.sqlrename to api/_lib/migrations/20260510010000_marketplace_themes.sqldiff --git a/migrations/20260515000000_avatars_usdz_halfbody.sql b/api/_lib/migrations/20260515000000_avatars_usdz_halfbody.sqlsimilarity index 100%rename from migrations/20260515000000_avatars_usdz_halfbody.sqlrename to api/_lib/migrations/20260515000000_avatars_usdz_halfbody.sqldiff --git a/migrations/20260517000000_avatar_regen_jobs.sql b/api/_lib/migrations/20260517000000_avatar_regen_jobs.sqlsimilarity index 100%rename from migrations/20260517000000_avatar_regen_jobs.sqlrename to api/_lib/migrations/20260517000000_avatar_regen_jobs.sqldiff --git a/migrations/20260523000000_feature_ansem_vernington.sql b/api/_lib/migrations/20260523000000_feature_ansem_vernington.sqlsimilarity index 100%rename from migrations/20260523000000_feature_ansem_vernington.sqlrename to api/_lib/migrations/20260523000000_feature_ansem_vernington.sqldiff --git a/migrations/20260523130000_create_user_subdomains.sql b/api/_lib/migrations/20260523130000_create_user_subdomains.sqlsimilarity index 100%rename from migrations/20260523130000_create_user_subdomains.sqlrename to api/_lib/migrations/20260523130000_create_user_subdomains.sqldiff --git a/migrations/20260523140000_create_asset_prices_and_purchases.sql b/api/_lib/migrations/20260523140000_create_asset_prices_and_purchases.sqlsimilarity index 100%rename from migrations/20260523140000_create_asset_prices_and_purchases.sqlrename to api/_lib/migrations/20260523140000_create_asset_prices_and_purchases.sqldiff --git a/migrations/20260525100000_user_provider_keys.sql b/api/_lib/migrations/20260525100000_user_provider_keys.sqlsimilarity index 100%rename from migrations/20260525100000_user_provider_keys.sqlrename to api/_lib/migrations/20260525100000_user_provider_keys.sqldiff --git a/api/_lib/schema.sql b/api/_lib/schema.sqlindex d27eb3733..d0bce6406 100644--- a/api/_lib/schema.sql+++ b/api/_lib/schema.sql@@ -1129,7 +1129,7 @@ do $$ beginexception when duplicate_object then null; end $$;-- ── pumpfun_graduations — persisted pump.fun → AMM migration events ──────────--- See migrations/2026-05-04-pumpfun-graduations.sql for the full schema.+-- See api/_lib/migrations/2026-05-04-pumpfun-graduations.sql for the full schema.create table if not exists pumpfun_graduations (tx_signature text primary key,mint text not null,diff --git a/api/_lib/x402/receipt-storage.js b/api/_lib/x402/receipt-storage.jsindex f70926d1c..a35c5f35d 100644--- a/api/_lib/x402/receipt-storage.js+++ b/api/_lib/x402/receipt-storage.js@@ -7,7 +7,7 @@// 3. Reputation systems can pull on demand instead of having to capture// every receipt at issue time.//-// Backed by Postgres (Neon) — see migrations/2026-05-24-x402-receipts.sql.+// Backed by Postgres (Neon) — see api/_lib/migrations/2026-05-24-x402-receipts.sql.// Writes are fire-and-forget from the paid-endpoint hot path: a Neon hiccup// must not surface as a 5xx on a paid response that already settled on-chain.diff --git a/docs/internal/AWS_MARKETPLACE_LISTING.md b/docs/internal/AWS_MARKETPLACE_LISTING.mdindex 82a094c84..eda903c95 100644--- a/docs/internal/AWS_MARKETPLACE_LISTING.md+++ b/docs/internal/AWS_MARKETPLACE_LISTING.md@@ -173,3 +173,39 @@ Before clicking "Submit for review" in AMMP:5. On approval, public seller profile page goes live automaticallyOnce live, the seller profile URL is `https://aws.amazon.com/marketplace/seller-profile?id=<seller-id>` — that's your public sellers page.++## Announcement posts++### Partnership announcement (post now)++> three.ws is now an AWS Partner.+>+> Give your AI a body. Open-source 3D agent platform — WebGL viewer, Claude-driven runtime, embed anywhere with one tag, on-chain identity on EVM and Solana.+>+> AWS Marketplace listing next.++**Reply 1:**+> Try it: https://three.ws+> Source: https://github.com/nirholas/three.ws+> Docs: https://three.ws/docs+> Partner page: https://three.ws/aws++**Image:** AWS Partner badge from Partner Central → Marketing Central → Brand Assets. Pair with `public/screenshots/viewer.png` if compositing.++### Listing-live announcement (post when public listing is approved)++> three.ws is live on AWS Marketplace.+>+> Subscribe with AWS credits, bill to your AWS invoice, count toward EDP. Open-source 3D AI agent platform, now inside your AWS account.+>+> [AWS Marketplace listing URL]++**Reply 1 (quote-tweet of original partnership post):**+> Following up on the AWS Partner announcement — the Marketplace listing is now public. AWS customers can subscribe directly.++**Reply 2 (link bundle):**+> Listing: [AWS Marketplace URL]+> Seller profile: [aws.amazon.com/marketplace/seller-profile URL]+> Docs: https://three.ws/aws++**Image:** Screenshot of the live AWS Marketplace product page (after publication). High-credibility artifact since it's AWS-hosted UI.diff --git a/pages/aws/index.html b/pages/aws/index.htmlnew file mode 100644index 000000000..f0178223e--- /dev/null+++ b/pages/aws/index.html@@ -0,0 +1,272 @@+<!doctype html>+<html lang="en">+<head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width,initial-scale=1" />+ <title>three.ws on AWS — 3D AI Agent Platform · AWS Partner</title>+ <meta name="description" content="three.ws is an AWS Partner. Open-source 3D AI agent platform — WebGL-native viewer, LLM-driven runtime, on-chain identity. AWS Marketplace listing coming soon." />+ <link rel="canonical" href="https://three.ws/aws" />++ <meta property="og:type" content="website" />+ <meta property="og:title" content="three.ws on AWS — 3D AI Agent Platform" />+ <meta property="og:description" content="Open-source 3D AI agent platform. AWS Partner. Marketplace listing coming soon — subscribe with AWS credits, bill to your AWS invoice." />+ <meta property="og:url" content="https://three.ws/aws" />+ <meta property="og:image" content="https://three.ws/screenshots/viewer.png" />++ <meta name="twitter:card" content="summary_large_image" />+ <meta name="twitter:title" content="three.ws on AWS" />+ <meta name="twitter:description" content="Open-source 3D AI agent platform. AWS Partner. Marketplace listing coming soon." />+ <meta name="twitter:image" content="https://three.ws/screenshots/viewer.png" />++ <link rel="icon" href="/favicon.ico" />+ <style>+ :root { color-scheme: dark; --accent:#6a5cff; --accent2:#ff5ca8; --border:#22222e; --bg:#0b0b10; --panel:#14141c; --panel2:#1a1a24; --text:#e8e8f0; --muted:#8a8aa0; --green:#22c55e; --aws:#ff9900; }+ * { box-sizing: border-box; margin: 0; padding: 0; }+ body { font: 16px/1.6 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); min-height: 100vh; }++ header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; }+ header a.home { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }+ header nav { display: flex; gap: 22px; align-items: center; }+ header nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.15s; }+ header nav a:hover { color: var(--text); }++ main { max-width: 880px; margin: 0 auto; padding: 80px 24px 120px; }++ .partner-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 99px; padding: 7px 16px 7px 12px; font-size: 13px; color: var(--muted); margin-bottom: 32px; }+ .partner-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aws); box-shadow: 0 0 12px var(--aws); }+ .partner-badge strong { color: var(--text); font-weight: 500; }++ h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.03em; line-height: 1.05; font-weight: 600; margin-bottom: 20px; }+ h1 .gradient { background: linear-gradient(110deg, var(--accent) 30%, var(--accent2) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }++ .lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted); line-height: 1.55; max-width: 640px; margin-bottom: 40px; }+ .lede strong { color: var(--text); font-weight: 500; }++ .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 80px; }+ .btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 11px; border: 0; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: filter 0.15s, transform 0.15s; }+ .btn-primary { background: var(--accent); color: #fff; }+ .btn-primary:hover { filter: brightness(1.12); }+ .btn-sec { background: var(--panel); border: 1px solid var(--border); color: var(--text); }+ .btn-sec:hover { background: var(--panel2); }+ .btn svg { width: 16px; height: 16px; }++ section { margin-bottom: 80px; }+ section h2 { font-size: clamp(24px, 3.5vw, 32px); letter-spacing: -0.02em; line-height: 1.15; font-weight: 600; margin-bottom: 16px; }+ section .sub { color: var(--muted); font-size: 16px; margin-bottom: 32px; max-width: 620px; }++ .benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }+ .benefit { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }+ .benefit .icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(106,92,255,0.12); border: 1px solid rgba(106,92,255,0.25); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }+ .benefit h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }+ .benefit p { font-size: 14px; color: var(--muted); line-height: 1.55; }++ .platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }+ .platform { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }+ .platform .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }+ .platform .name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }+ .platform .desc { font-size: 13px; color: var(--muted); }++ .arch { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 28px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; color: var(--text); overflow-x: auto; }+ .arch .c { color: var(--muted); }+ .arch .k { color: var(--accent); }+ .arch .v { color: var(--accent2); }++ .endpoints { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }+ .endpoint { padding: 16px 22px; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: baseline; }+ .endpoint:last-child { border-bottom: none; }+ .endpoint code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; color: var(--accent); }+ .endpoint .desc { font-size: 14px; color: var(--muted); }++ .note { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; font-size: 14px; color: var(--muted); margin-top: 12px; }+ .note strong { color: var(--text); }++ .footer { text-align: center; color: var(--muted); font-size: 13px; padding: 40px 24px 60px; border-top: 1px solid var(--border); }+ .footer a { color: var(--muted); text-decoration: none; }+ .footer a:hover { color: var(--text); }++ .disclaimer { font-size: 12px; color: var(--muted); margin-top: 60px; line-height: 1.55; max-width: 700px; }++ @media (max-width: 720px) {+ .platform-grid { grid-template-columns: 1fr; }+ main { padding: 56px 20px 96px; }+ .endpoint { grid-template-columns: 1fr; gap: 4px; }+ }+ </style>+</head>+<body>+ <header>+ <a href="/" class="home">three.ws</a>+ <nav>+ <a href="/discover">Discover</a>+ <a href="/docs">Docs</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>+ </nav>+ </header>++ <main>+ <div class="partner-badge">+ <span class="dot"></span>+ <strong>AWS Partner</strong>+ <span>·</span>+ <span>Software Path</span>+ </div>++ <h1>three.ws on <span class="gradient">AWS</span>.</h1>+ <p class="lede">+ three.ws is an open-source 3D AI agent platform — WebGL viewer, Claude-driven runtime, on-chain identity, embed anywhere with one tag. <strong>Now an AWS Partner.</strong> Marketplace listing coming soon — subscribe with AWS credits, bill to your AWS invoice, count toward EDP commitments.+ </p>++ <div class="cta-row">+ <a href="https://three.ws" class="btn btn-primary">+ Try three.ws+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg>+ </a>+ <a href="https://github.com/nirholas/three.ws" class="btn btn-sec" target="_blank" rel="noopener">+ <svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 .3C5.4.3 0 5.7 0 12.3c0 5.3 3.4 9.8 8.2 11.4.6.1.8-.3.8-.6v-2.1c-3.3.7-4-1.6-4-1.6-.6-1.4-1.4-1.8-1.4-1.8-1.1-.7.1-.7.1-.7 1.2.1 1.9 1.2 1.9 1.2 1.1 1.8 2.9 1.3 3.6 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.5.1-3.2 0 0 1-.3 3.3 1.2 1-.3 2-.4 3-.4s2 .1 3 .4c2.3-1.5 3.3-1.2 3.3-1.2.7 1.7.2 2.9.1 3.2.8.8 1.2 1.9 1.2 3.2 0 4.6-2.8 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6 4.8-1.6 8.2-6.1 8.2-11.4C24 5.7 18.6.3 12 .3z"/></svg>+ View source+ </a>+ <a href="/docs" class="btn btn-sec">+ Documentation+ </a>+ </div>++ <section>+ <h2>Built for AWS customers.</h2>+ <p class="sub">When the Marketplace listing goes live, three.ws integrates with the procurement and billing tools you already use.</p>++ <div class="benefit-grid">+ <div class="benefit">+ <div class="icon">+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#a99eff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2v20M2 12h20"/></svg>+ </div>+ <h3>AWS credits eligible</h3>+ <p>Use existing AWS credits and Activate funding against three.ws subscriptions.</p>+ </div>+ <div class="benefit">+ <div class="icon">+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#a99eff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="6" width="20" height="14" rx="2"/><path d="M2 10h20M6 16h4"/></svg>+ </div>+ <h3>Consolidated billing</h3>+ <p>Usage rolls onto your AWS invoice under AWS Marketplace Software — no new vendor in procurement.</p>+ </div>+ <div class="benefit">+ <div class="icon">+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#a99eff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>+ </div>+ <h3>EDP commit toward</h3>+ <p>Marketplace spend counts toward your Enterprise Discount Program commitments.</p>+ </div>+ <div class="benefit">+ <div class="icon">+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#a99eff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg>+ </div>+ <h3>Free trial included</h3>+ <p>Try three.ws Community Edition with no commitment. Subscription activates only after the trial ends.</p>+ </div>+ <div class="benefit">+ <div class="icon">+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#a99eff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="3"/><path d="M9 9h6v6H9z"/></svg>+ </div>+ <h3>Runs on us-east-1</h3>+ <p>three.ws production deploys to AWS us-east-1, registered in AWS MyApplications for unified cost monitoring.</p>+ </div>+ <div class="benefit">+ <div class="icon">+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#a99eff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path d="M14 2v6h6"/></svg>+ </div>+ <h3>Standard Contract</h3>+ <p>three.ws subscribes under the AWS Standard Contract for Marketplace. Procurement-ready out of the box.</p>+ </div>+ </div>+ </section>++ <section>+ <h2>What you get.</h2>+ <p class="sub">Everything in three.ws — open source, production-ready, runs in any modern browser.</p>++ <div class="platform-grid">+ <div class="platform">+ <div class="label">Viewer</div>+ <div class="name">WebGL 3D Engine</div>+ <div class="desc">three.js r176, glTF 2.0 / GLB with Draco + KTX2, PBR materials, animations, morph targets.</div>+ </div>+ <div class="platform">+ <div class="label">Runtime</div>+ <div class="name">LLM Agent Brain</div>+ <div class="desc">Claude-driven tool-loop with built-in gestures, emotion blending, skill system, voice and lip-sync.</div>+ </div>+ <div class="platform">+ <div class="label">Identity</div>+ <div class="name">On-Chain Registration</div>+ <div class="desc">ERC-8004 tokens on EVM chains and Metaplex Core assets on Solana. Signed action history, reputation scores.</div>+ </div>+ <div class="platform">+ <div class="label">Distribution</div>+ <div class="name"><agent-3d> Web Component</div>+ <div class="desc">One element, no framework dependency. Drop into any page. Five widget variants out of the box.</div>+ </div>+ <div class="platform">+ <div class="label">Protocols</div>+ <div class="name">MCP + OAuth 2.1 + x402</div>+ <div class="desc">Native Model Context Protocol endpoint, full OAuth 2.1 authorization server, x402 paid endpoints on Base + Solana.</div>+ </div>+ <div class="platform">+ <div class="label">License</div>+ <div class="name">Apache 2.0</div>+ <div class="desc">Entire stack — viewer, runtime, contracts, backend, web component — open source. No lock-in.</div>+ </div>+ </div>+ </section>++ <section>+ <h2>The integration.</h2>+ <p class="sub">three.ws implements the full AWS Marketplace SaaS contract — registration, metering, entitlements, and signed SNS subscription lifecycle webhooks.</p>++ <div class="endpoints">+ <div class="endpoint">+ <code>POST /api/aws-marketplace/register</code>+ <div class="desc">Fulfillment URL. Exchanges <code>x-amzn-marketplace-token</code> for a stable customer identifier via ResolveCustomer.</div>+ </div>+ <div class="endpoint">+ <code>POST /api/aws-marketplace/subscription</code>+ <div class="desc">SNS notification webhook. Verifies AWS signature against the signing cert and processes subscribe / unsubscribe lifecycle events.</div>+ </div>+ <div class="endpoint">+ <code>POST /api/aws-marketplace/link</code>+ <div class="desc">Links an AWS Marketplace subscription to an authenticated three.ws account after the post-subscribe redirect.</div>+ </div>+ <div class="endpoint">+ <code>BatchMeterUsage + GetEntitlements</code>+ <div class="desc">Daily metering and contract entitlement checks via the AWS Marketplace Metering and Entitlement Service SDKs.</div>+ </div>+ </div>++ <div class="note">+ <strong>Open source.</strong> The integration lives in <a href="https://github.com/nirholas/three.ws/tree/main/api/aws-marketplace" target="_blank" rel="noopener" style="color:var(--accent);text-decoration:none">api/aws-marketplace/</a> and <a href="https://github.com/nirholas/three.ws/blob/main/api/_lib/aws-marketplace.js" target="_blank" rel="noopener" style="color:var(--accent);text-decoration:none">api/_lib/aws-marketplace.js</a>. Review the code, fork it, run your own deployment.+ </div>+ </section>++ <section>+ <h2>Get notified when the listing goes live.</h2>+ <p class="sub">The AWS Marketplace listing is in review. Until it publishes, you can:</p>++ <div class="cta-row">+ <a href="https://three.ws" class="btn btn-primary">+ Use three.ws now+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg>+ </a>+ <a href="https://github.com/nirholas/three.ws" class="btn btn-sec" target="_blank" rel="noopener">Star on GitHub</a>+ <a href="mailto:[email protected]?subject=AWS%20Marketplace%20interest" class="btn btn-sec">Contact sales</a>+ </div>+ </section>++ <p class="disclaimer">+ three.ws is an independent AWS Partner enrolled in the AWS Partner Network Software Path. This page describes how AWS customers will procure three.ws when the AWS Marketplace listing is publicly available. AWS, AWS Marketplace, AWS Partner Network, and AWS Activate are trademarks of Amazon.com, Inc. or its affiliates.+ </p>+ </main>++ <div class="footer">+ <a href="/">three.ws</a> · <a href="/docs">Docs</a> · <a href="/legal/privacy">Privacy</a> · <a href="/legal/tos">Terms</a>+ </div>+</body>+</html>diff --git a/publish/src/manifest.js b/publish/src/manifest.jsindex b3d4081e3..76b93610c 100644--- a/publish/src/manifest.js+++ b/publish/src/manifest.js@@ -89,6 +89,14 @@ async function fetchManifestJSON(url) {// Convert either a full AGENT_MANIFEST or a bare ERC-8004 registration JSON// into a uniform manifest object the runtime consumes.export function normalize(json, { baseURI = '' } = {}) {+ // Backend wrappers — `/api/avatars/:id` returns `{ avatar: {...} }`, list+ // endpoints sometimes return `{ item: {...} }`. Unwrap once before the+ // shape-detection branches below run on the empty outer object.+ if (json && typeof json === 'object' && !json.spec && !json.type) {+ if (json.avatar && typeof json.avatar === 'object') json = json.avatar;+ else if (json.item && typeof json.item === 'object') json = json.item;+ }+// Full manifest — spec: "agent-manifest/0.1"if (json.spec && json.spec.startsWith('agent-manifest/')) {const m = { ...json, _baseURI: baseURI };@@ -125,15 +133,27 @@ export function normalize(json, { baseURI = '' } = {}) {};}- // Unknown / partial — best effort+ // Unknown / partial — best effort. Includes the avatar-detail shape+ // (`model_url` / `url` / `base_model_url` + `thumbnail_url`) returned by+ // `/api/avatars/:id`, which is the documented embed source.+ const bodyURI =+ json.body?.uri ||+ json.model_url ||+ json.url ||+ json.base_model_url ||+ json.image ||+ json.model ||+ '';return {spec: 'agent-manifest/0.1',_baseURI: baseURI,+ id: json.id ? { agentId: String(json.id) } : undefined,name: json.name || 'Unnamed agent',description: json.description || '',+ image: json.thumbnail_url || json.image || null,body: {- uri: json.body?.uri || json.image || json.model || '',- format: json.body?.format || 'gltf-binary',+ uri: bodyURI,+ format: json.body?.format || json.content_type || 'gltf-binary',},brain: json.brain || { provider: 'none' },voice: json.voice || { tts: { provider: 'browser' }, stt: { provider: 'browser' } },diff --git a/scripts/_audit-schema.mjs b/scripts/_audit-schema.mjsdeleted file mode 100644index fca5817b0..000000000--- a/scripts/_audit-schema.mjs+++ /dev/null@@ -1,84 +0,0 @@-#!/usr/bin/env node-// One-shot audit: verifies each schema object from root migrations/ exists in DB.-import { neon } from '@neondatabase/serverless';--const sql = neon(process.env.DATABASE_URL);--const tables = [- 'skill_purchases',- 'agent_payment_intents',- 'marketplace_themes',- 'avatar_regen_jobs',- 'user_subdomains',- 'asset_prices',- 'asset_purchases',- 'asset_purchase_receipts',-];--const columns = [- ['users', 'referral_code'],- ['users', 'referred_by_id'],- ['users', 'referral_earnings_total'],- ['users', 'provider_keys'],- ['avatars', 'featured'],- ['avatars', 'view_count'],- ['avatars', 'usdz_key'],- ['avatars', 'halfbody_key'],-];--async function tableExists(name) {- const r = await sql`- select 1 from information_schema.tables- where table_schema = 'public' and table_name = ${name}- `;- return r.length > 0;-}--async function columnExists(table, column) {- const r = await sql`- select 1 from information_schema.columns- where table_schema = 'public' and table_name = ${table} and column_name = ${column}- `;- return r.length > 0;-}--const out = { tables: {}, columns: {} };-for (const t of tables) out.tables[t] = await tableExists(t);-for (const [t, c] of columns) out.columns[`${t}.${c}`] = await columnExists(t, c);--const nullableRow = await sql`- select is_nullable from information_schema.columns- where table_schema='public' and table_name='avatar_regen_jobs' and column_name='source_avatar_id'-`;-out['avatar_regen_jobs.source_avatar_id.nullable'] =- nullableRow[0]?.is_nullable === 'YES';--const ck = await sql`- select pg_get_constraintdef(c.oid) as def- from pg_constraint c- join pg_class t on t.oid = c.conrelid- where t.relname = 'avatars' and c.conname like 'avatars_source_check%'-`;-out['avatars.source_check.def'] = ck[0]?.def || null;-out['avatars.source_check.allows_reconstruct'] =- ck[0]?.def?.includes('reconstruct') ?? false;--const indexes = [- 'idx_users_referral_code',- 'idx_users_referred_by_id',- 'idx_avatars_featured',- 'idx_avatars_usdz_key',- 'idx_avatar_regen_jobs_user',- 'idx_avatar_regen_jobs_status',- 'user_subdomains_label_parent',- 'user_subdomains_user',- 'asset_prices_item_unique',- 'asset_purchases_buyer',-];-out.indexes = {};-for (const name of indexes) {- const r = await sql`select 1 from pg_indexes where schemaname='public' and indexname=${name}`;- out.indexes[name] = r.length > 0;-}--console.log(JSON.stringify(out, null, 2));diff --git a/scripts/apply-paid-assets-migration.mjs b/scripts/apply-paid-assets-migration.mjsdeleted file mode 100644index e5df752b9..000000000--- a/scripts/apply-paid-assets-migration.mjs+++ /dev/null@@ -1,63 +0,0 @@-#!/usr/bin/env node-// Apply the paid_assets migration against $DATABASE_URL.-// Usage: DATABASE_URL=... node scripts/apply-paid-assets-migration.mjs-//-// Idempotent — the migration uses IF NOT EXISTS on every CREATE.--import { readFileSync } from 'node:fs';-import { readFile } from 'node:fs/promises';-import { fileURLToPath } from 'node:url';-import path from 'node:path';-import { neon } from '@neondatabase/serverless';--const HERE = path.dirname(fileURLToPath(import.meta.url));-const REPO_ROOT = path.resolve(HERE, '..');--for (const envFile of ['.env.local', '.env']) {- try {- const raw = readFileSync(path.resolve(REPO_ROOT, envFile), 'utf8');- for (const line of raw.split('\n')) {- const m = line.match(/^([A-Z_][A-Z0-9_]*)=(.*)$/);- if (!m || process.env[m[1]]) continue;- let val = m[2].trim();- if ((val.startsWith('"') && val.endsWith('"')) || (val.startsWith("'") && val.endsWith("'"))) {- val = val.slice(1, -1);- }- process.env[m[1]] = val;- }- break;- } catch {- /* file not present */- }-}--const url = process.env.DATABASE_URL;-if (!url) {- console.error('DATABASE_URL not set');- process.exit(1);-}-const sql = neon(url);-const text = await readFile(- new URL('../api/_lib/migrations/2026-05-21-paid-assets.sql', import.meta.url),- 'utf8',-);--// Neon HTTP API runs one statement per call. Split on top-level semicolons,-// then strip `--` comment lines per chunk so the migration's header block-// doesn't cause the first CREATE statement to be filtered out as comment-only.-const statements = text- .split(/;\s*$/m)- .map((s) =>- s- .split('\n')- .filter((line) => !/^\s*--/.test(line))- .join('\n')- .trim(),- )- .filter((s) => s.length > 0);--for (const s of statements) {- await sql(s, [], {});- console.log('OK:', s.slice(0, 80).replace(/\s+/g, ' '));-}-console.log('paid_assets table ready');diff --git a/scripts/buyback-devnet-smoke.mjs b/scripts/buyback-devnet-smoke.mjsindex e4b3e0e2b..c64eb208c 100644--- a/scripts/buyback-devnet-smoke.mjs+++ b/scripts/buyback-devnet-smoke.mjs@@ -3,7 +3,7 @@//// Bypasses the HTTP cron entrypoint and the postgres lookup — drives the same// builder + signer path the cron uses, against whatever mint the operator-// points at. Use after applying migrations/2026-05-20-pump-buyback-fullswap.sql+// points at. Use after applying api/_lib/migrations/2026-05-20-pump-buyback-fullswap.sql// in prod; this script is for one-off devnet verification.//// Env:diff --git a/scripts/migrations/001_add_monetization_tables.mjs b/scripts/migrations/001_add_monetization_tables.mjsdeleted file mode 100644index 4a154c59d..000000000--- a/scripts/migrations/001_add_monetization_tables.mjs+++ /dev/null@@ -1,68 +0,0 @@-// scripts/migrations/001_add_monetization_tables.mjs-import { sql } from '../../api/_lib/db.js';--async function migrate() {- console.log('Running migration: 001_add_monetization_tables...');-- try {- await sql.begin(async sql => {- console.log('Creating table: agent_skill_prices...');- await sql`- CREATE TABLE IF NOT EXISTS agent_skill_prices (- id UUID PRIMARY KEY DEFAULT gen_random_uuid(),- agent_id UUID NOT NULL,- skill_name VARCHAR(255) NOT NULL,- amount BIGINT NOT NULL CHECK (amount > 0),- currency_mint VARCHAR(255) NOT NULL,- billing_interval VARCHAR(50) DEFAULT 'one_time', -- For subscriptions- trial_days INT DEFAULT 0,- created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),- updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),-- CONSTRAINT fk_agent- FOREIGN KEY(agent_id)- REFERENCES agent_identities(id)- ON DELETE CASCADE,-- UNIQUE (agent_id, skill_name)- );- `;- console.log('Table agent_skill_prices created.');-- console.log('Creating table: user_purchased_skills...');- await sql`- CREATE TABLE IF NOT EXISTS user_purchased_skills (- id UUID PRIMARY KEY DEFAULT gen_random_uuid(),- user_id UUID NOT NULL,- agent_id UUID NOT NULL,- skill_name VARCHAR(255) NOT NULL,- purchase_tx_signature VARCHAR(128) NOT NULL,- price_amount BIGINT NOT NULL,- price_currency_mint VARCHAR(255) NOT NULL,- created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),-- CONSTRAINT fk_user- FOREIGN KEY(user_id)- REFERENCES users(id)- ON DELETE CASCADE,-- CONSTRAINT fk_agent- FOREIGN KEY(agent_id)- REFERENCES agent_identities(id)- ON DELETE CASCADE,-- UNIQUE (user_id, agent_id, skill_name)- );- `;- console.log('Table user_purchased_skills created.');- });-- console.log('Migration completed successfully.');- process.exit(0);- } catch (error) {- console.error('Migration failed:', error);- process.exit(1);- }-}--migrate();diff --git a/scripts/migrations/001_create_agent_skill_prices.sql b/scripts/migrations/001_create_agent_skill_prices.sqldeleted file mode 100644index cbce8691a..000000000--- a/scripts/migrations/001_create_agent_skill_prices.sql+++ /dev/null@@ -1,10 +0,0 @@-CREATE TABLE agent_skill_prices (- id UUID PRIMARY KEY DEFAULT gen_random_uuid(),- agent_id UUID NOT NULL REFERENCES agents(id) ON DELETE CASCADE,- skill_name VARCHAR(255) NOT NULL,- amount BIGINT NOT NULL,- currency_mint VARCHAR(255) NOT NULL,- created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),- updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),- UNIQUE(agent_id, skill_name)-);diff --git a/scripts/migrations/003-create-skill-prices.sql b/scripts/migrations/003-create-skill-prices.sqldeleted file mode 100644index a3bc97b82..000000000--- a/scripts/migrations/003-create-skill-prices.sql+++ /dev/null@@ -1,15 +0,0 @@--- Up-CREATE TABLE agent_skill_prices (- agent_id UUID NOT NULL REFERENCES agent_identities(id) ON DELETE CASCADE,- skill_name VARCHAR(255) NOT NULL,- amount BIGINT NOT NULL,- currency_mint VARCHAR(255) NOT NULL,- created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),- updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),- PRIMARY KEY (agent_id, skill_name)-);--CREATE INDEX idx_agent_skill_prices_agent_id ON agent_skill_prices(agent_id);---- Down-DROP TABLE IF EXISTS agent_skill_prices;diff --git a/scripts/migrations/20260504120000-create-monetization-tables.sql b/scripts/migrations/20260504120000-create-monetization-tables.sqldeleted file mode 100644index d3b5d4742..000000000--- a/scripts/migrations/20260504120000-create-monetization-tables.sql+++ /dev/null@@ -1,63 +0,0 @@--- migration-20260504120000-create-monetization-tables.sql--- This migration creates the tables necessary for agent skill monetization.---- Table to store the prices for agent skills, set by the agent creator.-CREATE TABLE agent_skill_prices (- agent_id BIGINT NOT NULL,- skill_name VARCHAR(255) NOT NULL,- amount BIGINT NOT NULL CHECK (amount > 0),- currency_mint VARCHAR(255) NOT NULL,- created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,- updated_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,- PRIMARY KEY (agent_id, skill_name),- -- Assuming a foreign key relationship to an 'agents' table.- -- If your agents table has a different name or primary key, adjust accordingly.- CONSTRAINT fk_agent- FOREIGN KEY(agent_id)- REFERENCES agents(id)- ON DELETE CASCADE-);---- Index for faster queries when fetching all priced skills for a given agent.-CREATE INDEX idx_agent_skill_prices_agent_id ON agent_skill_prices(agent_id);---- Table to record successful purchases of skills by users.-CREATE TABLE user_skill_purchases (- user_id BIGINT NOT NULL,- agent_id BIGINT NOT NULL,- skill_name VARCHAR(255) NOT NULL,- purchase_tx_signature VARCHAR(255) NOT NULL,- amount_paid BIGINT NOT NULL,- currency_mint VARCHAR(255) NOT NULL,- purchased_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,- PRIMARY KEY (user_id, agent_id, skill_name),- -- Assuming foreign key relationships to 'users' and 'agents' tables.- -- Adjust if your table names or primary keys are different.- CONSTRAINT fk_user- FOREIGN KEY(user_id)- REFERENCES users(id)- ON DELETE CASCADE,- CONSTRAINT fk_agent- FOREIGN KEY(agent_id)- REFERENCES agents(id)- ON DELETE CASCADE-);---- Indexes for common query patterns.-CREATE INDEX idx_user_skill_purchases_user_id ON user_skill_purchases(user_id);-CREATE UNIQUE INDEX idx_user_skill_purchases_tx_signature ON user_skill_purchases(purchase_tx_signature);---- A function to automatically update the updated_at timestamp on row modification.-CREATE OR REPLACE FUNCTION update_modified_column()-RETURNS TRIGGER AS $$-BEGIN- NEW.updated_at = NOW();- RETURN NEW;-END;-$$ language 'plpgsql';---- A trigger to execute the function before any update on agent_skill_prices.-CREATE TRIGGER update_agent_skill_prices_modtime- BEFORE UPDATE ON agent_skill_prices- FOR EACH ROW- EXECUTE FUNCTION update_modified_column();diff --git a/scripts/migrations/20260504120000_create_agent_skill_prices.sql b/scripts/migrations/20260504120000_create_agent_skill_prices.sqldeleted file mode 100644index 5cde68f9f..000000000--- a/scripts/migrations/20260504120000_create_agent_skill_prices.sql+++ /dev/null@@ -1,26 +0,0 @@--- Create the agent_skill_prices table-CREATE TABLE IF NOT EXISTS agent_skill_prices (- agent_id UUID NOT NULL,- skill_name VARCHAR(255) NOT NULL,- amount BIGINT NOT NULL,- currency_mint VARCHAR(255) NOT NULL,- created_at TIMESTAMPTZ DEFAULT NOW(),- updated_at TIMESTAMPTZ DEFAULT NOW(),- PRIMARY KEY (agent_id, skill_name),- FOREIGN KEY (agent_id) REFERENCES agent_identities(id) ON DELETE CASCADE-);---- Create a trigger function to automatically update the updated_at timestamp-CREATE OR REPLACE FUNCTION update_updated_at_column()-RETURNS TRIGGER AS $$-BEGIN- NEW.updated_at = NOW();- RETURN NEW;-END;-$$ language 'plpgsql';---- Create a trigger that uses the function-CREATE TRIGGER update_agent_skill_prices_updated_at-BEFORE UPDATE ON agent_skill_prices-FOR EACH ROW-EXECUTE FUNCTION update_updated_at_column();diff --git a/scripts/migrations/add-avatar-versions.sql b/scripts/migrations/add-avatar-versions.sqldeleted file mode 100644index 93a8459a4..000000000--- a/scripts/migrations/add-avatar-versions.sql+++ /dev/null@@ -1,15 +0,0 @@--- Avatar GLB snapshot history for save-back rollback.--- Idempotent — safe to re-run.--- Run via: psql $DATABASE_URL -f scripts/migrations/add-avatar-versions.sql--- or: node scripts/apply-schema.mjs (picks up this file automatically if wired)--create table if not exists avatar_versions (- id bigserial primary key,- avatar_id uuid not null references avatars(id) on delete cascade,- glb_url text not null,- metadata jsonb,- created_at timestamptz not null default now(),- created_by uuid references users(id)-);--create index if not exists avatar_versions_avatar_id_idx on avatar_versions(avatar_id, created_at desc);diff --git a/scripts/run-asset-marketplace-migration.mjs b/scripts/run-asset-marketplace-migration.mjsdeleted file mode 100644index 342053e79..000000000--- a/scripts/run-asset-marketplace-migration.mjs+++ /dev/null@@ -1,46 +0,0 @@-// One-shot migration runner for the asset marketplace tables. The repo's-// older scripts/run-migrations.js targets a pg-style client that this project-// no longer exports, so this script speaks the Neon HTTP driver directly.--import { readFileSync } from 'node:fs';-import { resolve } from 'node:path';-import { neon } from '@neondatabase/serverless';-import 'dotenv/config';--const MIGRATION = resolve('migrations/20260523140000_create_asset_prices_and_purchases.sql');--const connStr = process.env.DATABASE_URL;-if (!connStr) {- console.error('DATABASE_URL not set — load .env.local first or pass it inline.');- process.exit(1);-}--const sql = neon(connStr);-const raw = readFileSync(MIGRATION, 'utf-8');--// Strip /* */ comments first, then split on `;` followed by newline. Statements-// in this migration don't embed semicolons inside string literals.-const cleaned = raw.replace(/--[^\n]*/g, '');-const statements = cleaned- .split(/;\s*\n/)- .map((s) => s.trim())- .filter((s) => s.length);--console.log(`Found ${statements.length} statements.`);-for (const stmt of statements) {- const preview = stmt.split('\n')[0].slice(0, 80);- try {- await sql(stmt);- console.log(`✓ ${preview}…`);- } catch (err) {- // IF NOT EXISTS makes most of these idempotent; if it still fails, surface why.- console.error(`✗ ${preview}…`);- console.error(' ', err.message);- process.exit(1);- }-}--const [p] = await sql`SELECT to_regclass('public.asset_prices') AS t`;-const [u] = await sql`SELECT to_regclass('public.asset_purchases') AS t`;-const [r] = await sql`SELECT to_regclass('public.asset_purchase_receipts') AS t`;-console.log('asset_prices:', p.t, '| asset_purchases:', u.t, '| asset_purchase_receipts:', r.t);diff --git a/src/manifest.js b/src/manifest.jsindex bbb8d86a4..d72ba5a04 100644--- a/src/manifest.js+++ b/src/manifest.js@@ -93,6 +93,14 @@ function isAbsoluteURI(uri) {// Convert either a full AGENT_MANIFEST or a bare ERC-8004 registration JSON// into a uniform manifest object the runtime consumes.export function normalize(json, { baseURI = '' } = {}) {+ // Backend wrappers — `/api/avatars/:id` returns `{ avatar: {...} }`, list+ // endpoints sometimes return `{ item: {...} }`. Unwrap once before the+ // shape-detection branches below run on the empty outer object.+ if (json && typeof json === 'object' && !json.spec && !json.type) {+ if (json.avatar && typeof json.avatar === 'object') json = json.avatar;+ else if (json.item && typeof json.item === 'object') json = json.item;+ }+// Full manifest — spec: "agent-manifest/0.1"if (json.spec && json.spec.startsWith('agent-manifest/')) {const m = { ...json, _baseURI: baseURI };@@ -130,15 +138,27 @@ export function normalize(json, { baseURI = '' } = {}) {};}- // Unknown / partial — best effort+ // Unknown / partial — best effort. Includes the avatar-detail shape+ // (`model_url` / `url` / `base_model_url` + `thumbnail_url`) returned by+ // `/api/avatars/:id`, which is the documented embed source.+ const bodyURI =+ json.body?.uri ||+ json.model_url ||+ json.url ||+ json.base_model_url ||+ json.image ||+ json.model ||+ '';return {spec: 'agent-manifest/0.1',_baseURI: baseURI,+ id: json.id ? { agentId: String(json.id) } : undefined,name: json.name || 'Unnamed agent',description: json.description || '',+ image: json.thumbnail_url || json.image || null,body: {- uri: json.body?.uri || json.image || json.model || '',- format: json.body?.format || 'gltf-binary',+ uri: bodyURI,+ format: json.body?.format || json.content_type || 'gltf-binary',},brain: json.brain || { provider: 'none' },voice: json.voice || { tts: { provider: 'browser' }, stt: { provider: 'browser' } },diff --git a/vercel.json b/vercel.jsonindex 168b8e872..684763887 100644--- a/vercel.json+++ b/vercel.json@@ -49,6 +49,14 @@"src": "/aws-marketplace/error","dest": "/aws-marketplace/welcome.html"},+ {+ "src": "/aws",+ "dest": "/aws/index.html"+ },+ {+ "src": "/aws/",+ "dest": "/aws/index.html"+ },{"src": "/rss/announcements\\.xml","dest": "/api/rss/announcements"diff --git a/vite.config.js b/vite.config.jsindex 27bb175d4..683e21843 100644--- a/vite.config.js+++ b/vite.config.js@@ -237,6 +237,7 @@ creating: resolve(__dirname, 'pages/creating.html'),'agents-gemini-live': resolve(__dirname, 'public/demos/agents/gemini-live.html'),'agents-auto-rig': resolve(__dirname, 'public/demos/agents/auto-rig.html'),'aws-marketplace-welcome': resolve(__dirname, 'pages/aws-marketplace/welcome.html'),+ 'aws': resolve(__dirname, 'pages/aws/index.html'),// dashboard-next prototype — sub-pages auto-discovered so the parallel// agents that land new pages/dashboard-next/*.html files don't have to// touch this config to register them as Rollup inputs.@@ -415,6 +416,8 @@ creating: resolve(__dirname, 'pages/creating.html'),'/aws-marketplace/welcome/': resolve(root, 'pages/aws-marketplace/welcome.html'),'/aws-marketplace/error': resolve(root, 'pages/aws-marketplace/welcome.html'),'/aws-marketplace/error/': resolve(root, 'pages/aws-marketplace/welcome.html'),+ '/aws': resolve(root, 'pages/aws/index.html'),+ '/aws/': resolve(root, 'pages/aws/index.html'),'/brain': resolve(root, 'public/demos/brain.html'),'/brain/': resolve(root, 'public/demos/brain.html'),'/lipsync': resolve(root, 'public/demos/lipsync-tts.html'),