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
feat: enhance metadata across multiple pages for improved SEO and social sharing
fudjia3aff9eac74be
diff --git a/pages/agent-identities.html b/pages/agent-identities.htmlindex 32e977aaa..de09cd50c 100644--- a/pages/agent-identities.html+++ b/pages/agent-identities.html@@ -254,7 +254,21 @@}}</style>- </head>++ <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">+ <meta property="og:locale" content="en_US">+ <meta property="og:image" content="https://three.ws/api/page-og?s=agent-tools&t=Agent+Identity+Studio+%E2%80%94+3D+avatars+for+AI+agents&d=Every+AI+agent+deserves+a+face.+A+brand+brief+becomes+a+rigged+3D+avatar+plus+posed+studio+renders+%E2%80%94+see+the+demo+identities+generated+end-to-end+by+the+pipelin&p=%2Fagent-identities">+ <meta property="og:image:width" content="1200">+ <meta property="og:image:height" content="630">+ <meta property="og:image:type" content="image/png">+ <meta property="og:image:alt" content="Agent Identity Studio — 3D avatars for AI agents — three.ws">+ <meta name="twitter:card" content="summary_large_image">+ <meta name="twitter:site" content="@trythreews">+ <meta name="twitter:title" content="Agent Identity Studio — 3D avatars for AI agents · three.ws">+ <meta name="twitter:description" content="Every AI agent deserves a face. A brand brief becomes a rigged 3D avatar plus posed studio renders — see the demo identities generated end-to-end by the pipeline.">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=agent-tools&t=Agent+Identity+Studio+%E2%80%94+3D+avatars+for+AI+agents&d=Every+AI+agent+deserves+a+face.+A+brand+brief+becomes+a+rigged+3D+avatar+plus+posed+studio+renders+%E2%80%94+see+the+demo+identities+generated+end-to-end+by+the+pipelin&p=%2Fagent-identities">+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Agent Identity Studio — 3D avatars for AI agents","description":"Every AI agent deserves a face. A brand brief becomes a rigged 3D avatar plus posed studio renders — see the demo identities generated end-to-end by the pipeline.","url":"https://three.ws/agent-identities","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=agent-tools&t=Agent+Identity+Studio+%E2%80%94+3D+avatars+for+AI+agents&d=Every+AI+agent+deserves+a+face.+A+brand+brief+becomes+a+rigged+3D+avatar+plus+posed+studio+renders+%E2%80%94+see+the+demo+identities+generated+end-to-end+by+the+pipelin&p=%2Fagent-identities"}]}</script>+</head><body><main class="ai-wrap"><header class="ai-hero">diff --git a/pages/animations.html b/pages/animations.htmlindex 76a8c54a2..88be0921f 100644--- a/pages/animations.html+++ b/pages/animations.html@@ -15,12 +15,12 @@<meta property="og:title" content="Animation Gallery · three.ws" /><meta property="og:description" content="Browse 2,000+ motion-capture and community animations. Preview live and use in the Animation Studio." /><meta property="og:url" content="https://three.ws/animations" />- <meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Animation+Gallery&d=2%2C000%2B+motion-capture+and+community+animations.+Preview+live+on+an+avatar+and+use+any+clip+in+the+Animation+Studio.&p=%2Fanimations" />+ <meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Animation+Gallery&d=Browse+and+preview+public+animations+authored+by+the+three.ws+community.+Apply+any+clip+to+your+avatar+in+the+Animation+Studio.&p=%2Fanimations" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:site" content="@trythreews" /><meta name="twitter:title" content="Animation Gallery · three.ws" /><meta name="twitter:description" content="2,000+ motion-capture and community animations with live previews." />- <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Animation+Gallery&d=2%2C000%2B+motion-capture+and+community+animations.+Preview+live+on+an+avatar+and+use+any+clip+in+the+Animation+Studio.&p=%2Fanimations" />+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Animation+Gallery&d=Browse+and+preview+public+animations+authored+by+the+three.ws+community.+Apply+any+clip+to+your+avatar+in+the+Animation+Studio.&p=%2Fanimations" /><link rel="icon" href="/favicon.ico" sizes="any" /><link rel="icon" type="image/svg+xml" href="/favicon.svg" />diff --git a/pages/ibm/hello.html b/pages/ibm/hello.htmlindex 5bf128c91..a4b3e55f5 100644--- a/pages/ibm/hello.html+++ b/pages/ibm/hello.html@@ -421,13 +421,13 @@ a:focus-visible{outline-offset:3px}<link rel="canonical" href="https://three.ws/ibm/hello"><meta property="og:site_name" content="three.ws"><meta property="og:url" content="https://three.ws/ibm/x402-demo">- <meta property="og:image" content="https://three.ws/api/page-og?s=crypto&t=IBM+%C3%97+three.ws+partnership&d=The+IBM+%C3%97+three.ws+partnership+page%3A+how+three.ws%27s+agent+identity%2C+x402+payment+rails%2C+and+MCP+servers+integrate+with+IBM+watsonx+and+the+IBM+x402+ecosystem.+A&p=%2Fibm%2Fhello">+ <meta property="og:image" content="https://three.ws/api/page-og?s=crypto&t=x402+Live+Demo+%28IBM+%C3%97+three.ws%29&d=A+self-contained+x402+micropayment+demo%3A+pay+%240.001+USDC+from+your+own+wallet+%E2%80%94+MetaMask+on+Base+or+Phantom+on+Solana+%E2%80%94+to+call+a+real+three.ws+data+API.+Watch+&p=%2Fibm%2Fx402-demo"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="x402 Live Demo (IBM × three.ws) · three.ws"><meta name="twitter:description" content="A self-contained x402 micropayment demo: pay $0.001 USDC from your own wallet — MetaMask on Base or Phantom on Solana — to call a real three.ws data API. Watch the live HTTP 402 challenge, sign a gasless authorization, and see the on-chain settlement receipt. No backend, no account; built as the public face of the IBM × three.ws partnership.">- <meta name="twitter:image" content="https://three.ws/api/page-og?s=crypto&t=IBM+%C3%97+three.ws+partnership&d=The+IBM+%C3%97+three.ws+partnership+page%3A+how+three.ws%27s+agent+identity%2C+x402+payment+rails%2C+and+MCP+servers+integrate+with+IBM+watsonx+and+the+IBM+x402+ecosystem.+A&p=%2Fibm%2Fhello">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=crypto&t=x402+Live+Demo+%28IBM+%C3%97+three.ws%29&d=A+self-contained+x402+micropayment+demo%3A+pay+%240.001+USDC+from+your+own+wallet+%E2%80%94+MetaMask+on+Base+or+Phantom+on+Solana+%E2%80%94+to+call+a+real+three.ws+data+API.+Watch+&p=%2Fibm%2Fx402-demo"><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"x402 Live Demo (IBM × three.ws)","description":"A self-contained x402 micropayment demo: pay $0.001 USDC from your own wallet — MetaMask on Base or Phantom on Solana — to call a real three.ws data API. Watch the live HTTP 402 challenge, sign a gasless authorization, and see the on-chain settlement receipt. No backend, no account; built as the public face of the IBM × three.ws partnership.","url":"https://three.ws/ibm/x402-demo","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script><!-- model-viewer renders the GLB returned by the paid Forge demo (Demo 01).Self-hosted (travels with this file under ./vendor/) so the page needs nodiff --git a/pages/tour-builder.html b/pages/tour-builder.htmlindex fc8685f0e..b7ffe48fd 100644--- a/pages/tour-builder.html+++ b/pages/tour-builder.html@@ -202,6 +202,21 @@.store nav { display: none; }}</style>++ <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">+ <meta property="og:site_name" content="three.ws">+ <meta property="og:locale" content="en_US">+ <meta property="og:image" content="https://three.ws/api/page-og?s=learn&t=Tour+Builder+%E2%80%94+design+a+3D+store+guide%2C+no+code&d=A+live%2C+no-code+playground%3A+point+and+click+on+a+demo+storefront+to+build+a+3D+guide+that+walks+and+narrates+it%2C+preview+it+instantly%2C+then+copy+the+exact+snipp&p=%2Ftour-builder">+ <meta property="og:image:width" content="1200">+ <meta property="og:image:height" content="630">+ <meta property="og:image:type" content="image/png">+ <meta property="og:image:alt" content="Tour Builder — design a 3D store guide, no code — three.ws">+ <meta name="twitter:card" content="summary_large_image">+ <meta name="twitter:site" content="@trythreews">+ <meta name="twitter:title" content="Tour Builder — design a 3D store guide, no code · three.ws">+ <meta name="twitter:description" content="A live, no-code playground: point and click on a demo storefront to build a 3D guide that walks and narrates it, preview it instantly, then copy the exact snippet into your Shopify theme.">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=learn&t=Tour+Builder+%E2%80%94+design+a+3D+store+guide%2C+no+code&d=A+live%2C+no-code+playground%3A+point+and+click+on+a+demo+storefront+to+build+a+3D+guide+that+walks+and+narrates+it%2C+preview+it+instantly%2C+then+copy+the+exact+snipp&p=%2Ftour-builder">+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Tour Builder — design a 3D store guide, no code","description":"A live, no-code playground: point and click on a demo storefront to build a 3D guide that walks and narrates it, preview it instantly, then copy the exact snippet into your Shopify theme.","url":"https://three.ws/tour-builder","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=learn&t=Tour+Builder+%E2%80%94+design+a+3D+store+guide%2C+no+code&d=A+live%2C+no-code+playground%3A+point+and+click+on+a+demo+storefront+to+build+a+3D+guide+that+walks+and+narrates+it%2C+preview+it+instantly%2C+then+copy+the+exact+snipp&p=%2Ftour-builder"}]}</script></head><body class="drawer-collapsed-none">diff --git a/prompts/okx-ai/PROGRESS.md b/prompts/okx-ai/PROGRESS.mdindex 0ed111ee0..0d5b91d3e 100644--- a/prompts/okx-ai/PROGRESS.md+++ b/prompts/okx-ai/PROGRESS.md@@ -319,3 +319,19 @@ documented in the spec. Also required in vercel env for the rail to be advertiseit audits now exist.- **Work Order 05**: submit the catalog table above (strings from `okx-catalog.js`verbatim via `listingDescription()`).++### Deploy-pipeline fixes made en route (affects 04/05)++Every Vercel deploy (including production) was failing BEFORE this session's changes, on+two leftovers from other work streams:++1. `verify:solana` drift — untracked local scratch `_prompts/sperax/ref/…/executor/index.ts`+ carries a deliberately non-canonical Pump program id; `vercel deploy` uploads untracked+ files and the remote scanner (no git context) walks them. Fixed by adding `_prompts/` to+ `.vercelignore`.+2. `audit-page-index --strict` — the committed `/sperax` page (owner-directed Sperax+ stream, commit `de2e31a52`) never got its `data/pages.json` row. Added the minimal+ factual row (title "Sperax on three.ws", added 2026-07-05) to unblock all deploys.+ **Owner note:** this row auto-feeds the sitemap + public changelog page-launch entry for+ the already-live /sperax page — flagging per the other-coin commit gate; revert the row+ if unwanted (deploys will fail again until the page is removed or exempted).diff --git a/prompts/x402-overhaul/20-deprecate-dead-endpoints.md b/prompts/x402-overhaul/20-deprecate-dead-endpoints.mdnew file mode 100644index 000000000..726f9bbbd--- /dev/null+++ b/prompts/x402-overhaul/20-deprecate-dead-endpoints.md@@ -0,0 +1,46 @@+# 20 — Retire the Dead Endpoints from the Agent Catalog++Read `prompts/x402-overhaul/00-CONTEXT.md` first, then `/workspaces/three.ws/CLAUDE.md`.+Independent work order — completes fully on its own.++## Why+These endpoints are why our scan page looks like a graveyard. They dilute the good products+and signal low quality to any agent browsing. Remove them from the agent-facing catalog.++## Targets + the rule for each+For EACH target: first `grep` the frontend/src (`src/`, `public/`, pages) for an internal+consumer.+- **Has an internal consumer** (e.g. `dance-tip` → `/club`, `three-intel` → `/play` kiosk):+ KEEP the route working for that page, but REMOVE it from the agent-facing x402 discovery+ (its `api/wk.js` mirror block) and any bazaar catalog so it stops appearing as a product on+ x402scan. Add a header comment: "internal-use only; not an agent product."+- **No internal consumer**: fully remove — delete the route file, its `api/wk.js` discovery+ block, its `_lib/x402-prices.js` entry, its tests, and any dead imports. Leave no orphan.++| Endpoint | Expected disposition (verify with grep) |+|---|---|+| `dance-tip` | internal (/club) → de-list from agent catalog, keep for club |+| `three-intel` | internal (/play kiosk) → de-list from agent catalog, keep for town |+| `fact-check` | me-too LLM → remove if no consumer |+| `tutor` | me-too LLM → remove if no consumer |+| `revenue-vision` / `crypto-intel` | me-too LLM → remove if no consumer |+| `mint-to-mesh` + `mint-to-mesh-batch` | cube novelty → remove if no consumer; note "real version = Forge" |++Do NOT touch: `forge`, `vanity*`, `pump-launch`, `agent-reputation`, `onchain-identity-verify`,+`mcp`, `model-check`/`symbol-availability` (those last two are being freed by prompts 13/07 —+if their free replacements exist, add a redirect note; otherwise leave them).++## Correctness+After edits, `node scripts/verify-x402-discovery.mjs` MUST pass (no dangling discovery+entries). `npm test` MUST pass (remove/adjust tests for deleted routes). No broken imports,+no dead references anywhere (grep for each removed slug across the repo). The `/club` and+`/play` pages must still work — load them in `npm run dev` and confirm.++## Definition of done+Inherit 00-CONTEXT DoD + gates. Plus:+- [ ] Per-endpoint disposition table in PROGRESS.md with the grep evidence that drove each call.+- [ ] `scripts/verify-x402-discovery.mjs` + `npm test` green (paste output).+- [ ] `/club` and `/play` verified still working in dev (whatever kept internal endpoints).+- [ ] Zero orphaned references (paste the grep confirming each removed slug is gone).+- [ ] `data/changelog.json` (tags: `improvement`) — "Trimmed low-value endpoints so agents find+ the tools that matter" (holder-readable; don't enumerate coin specifics).diff --git a/prompts/x402-overhaul/21-unified-catalog.md b/prompts/x402-overhaul/21-unified-catalog.mdnew file mode 100644index 000000000..ac3dbcf7d--- /dev/null+++ b/prompts/x402-overhaul/21-unified-catalog.md@@ -0,0 +1,45 @@+# 21 — Unified Service Catalog (one source of truth, two storefronts)++Read `prompts/x402-overhaul/00-CONTEXT.md` first, then `/workspaces/three.ws/CLAUDE.md`.+Independent work order — completes fully on its own. Reads the CURRENT state of endpoints; it+does not require any other prompt to have run.++## Why+x402scan (Base) and OKX.AI (X Layer) are two storefronts over the SAME backend. Right now the+listing metadata is scattered across each endpoint's `BAZAAR` export, the `api/wk.js` discovery+mirrors, and (separately) the OKX catalog. Drift is inevitable and quality suffers. Build ONE+canonical catalog that every storefront reads.++## Build — `api/_lib/service-catalog/`+- A canonical catalog module `api/_lib/service-catalog/index.js` that assembles one array of+ service descriptors from the real endpoints: slug, title, category, agent use-case,+ input/output schema, price (per network), free|paid, endpoint URL, tags, status+ (live|deprecated). Source it from the existing `BAZAAR` exports + the new+ `crypto-catalog`/`3d-catalog` entries (import them; don't duplicate their content).+- Expose helpers: `getCatalog()`, `getByStorefront('x402scan'|'okx')`, `toBazaarDiscovery()`,+ `toOkxCatalog()`. Each storefront renders from these, so a description is written once.+- Refactor `api/wk.js` x402 discovery to derive from `toBazaarDiscovery()` where feasible+ (keep `scripts/verify-x402-discovery.mjs` green — the live 402 must still match).+- **Coordination with the OKX stream:** the OKX work builds `api/_lib/okx-catalog.js`. Do NOT+ edit that file if it exists; instead make `toOkxCatalog()` produce exactly the shape it+ expects and leave a one-line note in PROGRESS.md so the OKX stream can point its module at+ ours. If it doesn't exist yet, ship `toOkxCatalog()` ready for it to consume.++## Correctness+`node scripts/verify-x402-discovery.mjs` green (parity preserved). `npm test` green. Prove no+description drift: a test asserting every live paid route's `BAZAAR` description equals the+catalog's for that slug.++## Tests+Catalog assembly from real endpoints; storefront projections produce valid shapes; discovery+parity; no-drift assertion.++## Definition of done+Inherit 00-CONTEXT DoD + gates. Plus:+- [ ] One canonical catalog live; both storefront projections tested; verify script + `npm test`+ green (paste output).+- [ ] `specs/` entry documenting the catalog contract (it's a load-bearing wire format both+ storefronts depend on) — `specs/service-catalog.md`.+- [ ] `STRUCTURE.md` row; PROGRESS.md note to the OKX stream about `toOkxCatalog()`.+- [ ] `data/changelog.json` (tags: `infra`) — "Unified service catalog powering all agent+ storefronts".diff --git a/prompts/x402-overhaul/22-x402scan-profile-overhaul.md b/prompts/x402-overhaul/22-x402scan-profile-overhaul.mdnew file mode 100644index 000000000..8b734fb60--- /dev/null+++ b/prompts/x402-overhaul/22-x402scan-profile-overhaul.md@@ -0,0 +1,43 @@+# 22 — x402scan Profile & Resource-Description Overhaul++Read `prompts/x402-overhaul/00-CONTEXT.md` first, then `/workspaces/three.ws/CLAUDE.md`.+Independent work order — completes fully on its own.++## Why+Our x402scan server profile is the storefront window. Today it's a generic blurb over a flat+list of 17 mixed-quality resources. Rewrite the top-level pitch and curate/retag the resource+descriptions so a browsing agent (or its developer) instantly gets what three.ws offers and+why to use it.++## Build+- **Server-level profile** — find where the top-level x402 server metadata is served (the+ `.well-known/x402.json` root fields in `api/wk.js`: name, description, tags, categories).+ Rewrite the description to the real positioning: "three.ws — 3D generation + crypto data ++ launch/trust tools for AI agents. Free Crypto Data API and free text→3D; pay-per-call for+ Forge Pro, rigged avatars, vanity addresses, token launches, and cross-chain trust checks."+ Set accurate top-level tags/categories (3D, AI, Crypto, Data, Utility).+- **Resource descriptions** — for every resource that REMAINS in the catalog (post prompt-20+ spirit; if 20 hasn't run, still curate), ensure each description leads with the agent+ use-case, states price + networks, and reads as a product, not a demo. Fix any that are+ empty (e.g. `skill-marketplace` had no description) or jargon-y.+- **Categorize/tag** each resource so x402scan's category filters surface us well.+- Keep the discovery doc valid: `node scripts/verify-x402-discovery.mjs` green.++## Correctness+The live `.well-known/x402.json` must render with the new profile + curated resources and pass+the verify script. Fetch it locally (`curl` the dev route) and confirm the JSON is well-formed+and the descriptions are the new ones. If prompt 21's unified catalog exists, source+descriptions from it (don't re-author drift); otherwise edit the per-resource metadata+directly and note the follow-up.++## Tests+Discovery doc validity + verify script; presence of top-level description/tags; no empty+resource descriptions remain.++## Definition of done+Inherit 00-CONTEXT DoD + gates (skip new-endpoint parts). Plus:+- [ ] New server profile + curated resource descriptions live; `.well-known/x402.json` capture+ in PROGRESS.md; verify script green (paste output).+- [ ] No resource with an empty/placeholder description remains.+- [ ] `data/changelog.json` (tags: `improvement`) — "Refreshed our agent-marketplace profile and+ product descriptions".diff --git a/public/404.html b/public/404.htmlindex d8c6c0992..030e4ff82 100644--- a/public/404.html+++ b/public/404.html@@ -96,7 +96,7 @@<meta property="og:title" content="Chat · three.ws"><meta property="og:description" content="Talk to your agent. Voice, text, and tool-use in one interface."><meta property="og:url" content="https://three.ws/chat">- <meta property="og:image" content="https://three.ws/api/page-og?s=agent-tools&t=Chat&d=Talk+to+your+agent.+Voice%2C+text%2C+and+tool-use+in+one+interface.&p=%2Fchat">+ <meta property="og:image" content="https://three.ws/api/page-og?s=crypto&t=Premium+Vanity+Inventory&d=Buy+a+long%2C+brandable+Solana+vanity+address+delivered+instantly+from+stock+%E2%80%94+4%E2%80%935%2B+character+prefixes+the+live+grinder+can%27t+reach%2C+ground+ahead+of+time+on+batch&p=%2Fvanity%2Fpremium"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:type" content="image/png">@@ -105,7 +105,7 @@<meta name="twitter:site" content="@trythreews"><meta name="twitter:title" content="Chat · three.ws"><meta name="twitter:description" content="Talk to your agent. Voice, text, and tool-use in one interface.">- <meta name="twitter:image" content="https://three.ws/api/page-og?s=agent-tools&t=Chat&d=Talk+to+your+agent.+Voice%2C+text%2C+and+tool-use+in+one+interface.&p=%2Fchat">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=crypto&t=Premium+Vanity+Inventory&d=Buy+a+long%2C+brandable+Solana+vanity+address+delivered+instantly+from+stock+%E2%80%94+4%E2%80%935%2B+character+prefixes+the+live+grinder+can%27t+reach%2C+ground+ahead+of+time+on+batch&p=%2Fvanity%2Fpremium"><script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Chat","description":"Talk to your agent. Voice, text, and tool-use in one interface.","url":"https://three.ws/chat","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=agent-tools&t=Chat&d=Talk+to+your+agent.+Voice%2C+text%2C+and+tool-use+in+one+interface.&p=%2Fchat"}]}</script></head><body>diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex 81786db2d..b42b77a2a 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -56,6 +56,25 @@.sm-brand img { width: 24px; height: 24px; border-radius: 5px; }.sm-brand:hover { text-decoration: none; }</style>++ <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">+ <meta property="og:type" content="website">+ <meta property="og:site_name" content="three.ws">+ <meta property="og:locale" content="en_US">+ <meta property="og:title" content="Sitemap · three.ws">+ <meta property="og:description" content="Human-readable index of every page on three.ws.">+ <meta property="og:url" content="https://three.ws/sitemap">+ <meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">+ <meta property="og:image:width" content="1200">+ <meta property="og:image:height" content="630">+ <meta property="og:image:type" content="image/png">+ <meta property="og:image:alt" content="Sitemap — three.ws">+ <meta name="twitter:card" content="summary_large_image">+ <meta name="twitter:site" content="@trythreews">+ <meta name="twitter:title" content="Sitemap · three.ws">+ <meta name="twitter:description" content="Human-readable index of every page on three.ws.">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap"}]}</script></head><body><header class="sm-topbar">diff --git a/tests/api/3d-generate.test.js b/tests/api/3d-generate.test.jsindex 63eea24e6..5198044fd 100644--- a/tests/api/3d-generate.test.js+++ b/tests/api/3d-generate.test.js@@ -232,9 +232,15 @@ describe('GET /api/3d/generate?job= — poll lifecycle', () => {expect(body.error).toBe('missing_job');});- it('400s on a malformed job handle', async () => {+ it('treats a whitespace-only job param as missing', async () => {const { res, body } = await dispatch(makeReq({ method: 'GET', url: '/api/3d/generate?job=%20%20' }), makeRes());expect(res.statusCode).toBe(400);+ expect(body.error).toBe('missing_job');+ });++ it('400s on a malformed job handle', async () => {+ const { res, body } = await dispatch(makeReq({ method: 'GET', url: '/api/3d/generate?job=bad*job*id' }), makeRes());+ expect(res.statusCode).toBe(400);expect(body.error).toBe('invalid_job');});