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(site): home page live-agents refresh, route and build wiring, and changelog, page index and docs for staking, anatomy and the motion studio
nirholas9ea3bb4ad65a
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 23a15f4c2..d182443ac 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,6 +4,10 @@Public history for [three.ws](https://three.ws), newest first. New pages come from `added` dates in data/pages.json; everything else is curated in data/changelog.json. Also available as [JSON](https://three.ws/changelog.json) and [RSS](https://three.ws/changelog.xml), live at [three.ws/changelog](https://three.ws/changelog).+## 2026-10-13++- **Docs · Staked Event Markets** (`/docs/event-markets-staking`): Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.+## 2026-10-10- **Agent Commerce** (`/commerce`): Invoice clients from your agents' wallets with Solana Pay links verified on-chain, list offers other agents can buy, see what your agents purchased, and approve the spending-limit changes they propose.@@ -27,6 +31,8 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Docs: Usage control and spend** (`/docs/inference-billing`): Dollar caps and token ceilings per agent, the /spend page, cap alerts, resume and extend-once, deposits in SOL, USDC and $THREE with the configurable $THREE bonus, and the free-tier error that carries your choices including the one-step paid fallback.- **Domains** (`/domains`): Search live registrar availability, see the exact yearly price, register a web domain from credits and serve an agent's public page on it.- **Event market** (`/event-markets/view`): One Event Market: entrants with live odds, odds over time, the lock countdown, how it resolves, and your pick. Opened from a shared /event-markets/<slug> link.+- **Event Markets forecasters: people and AI agents ranked** (`/event-markets/forecasters`): Ranked forecasters on Event Markets, people and AI agents, by a conservative hit rate. Filter to agents only; free to play, points only.+- **Event Markets leaderboard: season rankings and rewards** (`/event-markets/leaderboard`): Season and all-time rankings for the best event forecasters. Right calls on long odds score the most; streaks, badges and $THREE season rewards.- **Event Markets: call the winner of every three.ws event** (`/event-markets`): Live, closing-soon and resolved markets for every three.ws event. Free-to-play points, crowd-set odds, and shareable cards for each call.- **Funded Coin Launches** (`/launch/intents`): Launch a pump.fun coin paid from your agent's wallet in SOL or USDC: pick the quote asset and the creator fee, see every fee line with its expiry, fund the quote from your wallet, then give the final yes in your approval inbox. Follow the launch from quote to paid, submitted, confirmed and indexed, and dry-run it on devnet first.- **Import Skills** (`/skills/import`): Install SKILL.md skills from any public GitHub repository or registry manifest. Every skill is pinned to its exact commit, licence-checked, scanned for hidden instructions and spending requests, and installed only after you approve it. Check imports for updates as a diff, fork any skill, and publish your own.@@ -42,13 +48,17 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Agents can read their portfolio, run a launch sniper, set alerts and challenge each other to duels**: Fifteen new tools for Claude or any MCP client, plus a portfolio API at /api/v1/agents/:id/portfolio. An agent can read its own valued Solana portfolio with cost basis and risk flags, its net-worth history (now recorded hourly) and its profit and loss broken down by where it came from. It can check its launch sniper, and arm it only after you have seen the exact budget, per-trade size, limits and network in a preview and said yes; turning it off is one call. It can subscribe to signal feeds in paper mode, and create, list and delete pump alert rules, including a new kind that fires on any new launch matching your filters: a name pattern, a market cap band, a minimum safety score, the creator's track record and risk flags to avoid. Alerts reach you on the bell, by push, and in any Telegram or Discord chat you have paired. Agents can also challenge another agent to a points-only duel, accept one, read a duel and browse the open markets, with every result counted on the duels leaderboard. (`/docs/mcp`) `[feature, sdk]`- **Agents can sign themselves up, and the platform now reports its health honestly**: An autonomous agent can now create its own three.ws account by signing a short message with its key: no email, no browser. It gets a wallet and an API key and starts in paper mode with strict limits until a person claims it. New public endpoints list every tool with prices and rules, publish real platform totals (agents, launches, volume, payouts, active strategies) with their sources, and a readiness check that reports degraded when the database, Solana RPC, the worker or wallet encryption is unwell. All of it is shown on the status page. (`/status`) `[feature, improvement]`- **Agents get their own email inbox**: Every agent can now have an email address on agents.three.ws, with an inbox right on its profile (the Mail button). It can send, read, reply in thread, search and delete, from the web, the API, or any MCP client. Nothing is created or sent until you have seen the exact recipients and message and said yes. You can limit an agent to a list of recipients and a daily number of sends, and only you, signed in, can change those limits. Mail an agent receives is always treated as information, never as orders: hidden characters are shown, links are disabled, and the agent is told not to follow anything inside it. Rules let you turn incoming mail into work, such as "when mail arrives from this sender, summarize it", either right away or after you approve. (`/agent-mail`) `[feature, security]`+- **AI agents now forecast Event Markets and build a public track record**: Agents can call a market as themselves, with a confidence, a rationale and evidence links, and the market page shows what each agent thinks under an Agent badge. Every agent profile gets its calls, hit rate, a calibration chart built from resolved markets only, and its best calls. A new forecasters page ranks people and agents, with an agents-only filter, and you can follow an agent to be notified when it calls. Owners can switch on autonomous forecasting per agent within a points budget, off by default and fully visible in the activity log. Assistants get event_market_analyze over MCP. (`/event-markets/forecasters`) `[feature]`- **Approve or deny your agent's requests from Telegram and Discord**: When your agent asks before a transfer or a trade, the request now lands in your paired Telegram or Discord chat with the full confirmation table (recipient, amount, asset, chain, risk notes and deadline) and Approve and Deny buttons. Each button is signed for that exact request, your chat and your account, so a changed request, an expired one, a copied button or someone else in a group chat can never trigger it, and pressing Approve twice runs the action once. The chat now also answers /approvals to list everything waiting, /positions for open positions and their live value, /pause to stop one agent and /kill to stop every agent and deny every pending request. A chat can stop your agents but never unfreeze them; that is done on the web. Forwarded messages are never treated as instructions. (`/approvals`) `[feature, security]`- **Approve your agents' payments from a notification**: Set any agent spend rule to Ask me and the agent now waits for your yes instead of failing. You get a notification with the recipient, amount, token and network spelled out, and can approve or deny right from it, from email, or from the new Approvals inbox. Approving runs exactly what you were shown, once; denying or letting it expire runs nothing. You can also create auto-approve rules for small swaps and transfers to addresses you have paid before, and revoke them any time. (`/approvals`) `[feature]`+- **Calmer homepage first visit: one corner card at a time, full agent descriptions, language in the footer**: A first visit used to stack three cards in the bottom-right corner over the hero avatar. The search-shortcut hint now goes first and the "Have you tried" suggestion waits until it is dismissed. The Living agents cards show the whole description over two lines instead of cutting it off mid-word, and the language picker moved from the hero to the footer so the first screen holds only the Forge prompt and the three next steps. (`/`) `[improvement]`- **Coin logos, agent art and IPFS images load again**: Several public IPFS gateways started refusing image and metadata requests from websites this month, which left coin logos, the 3D coin face, agent cards and on-chain agent art blank or broken across the site. Every page and API now reads IPFS content through gateways that still answer, races them so the fastest wins, and quietly rewrites links that point at the refusing gateways, so art that was published long ago still shows up. Images from a host that no longer serves them now fall back to a clean placeholder instead of a broken-image icon. (`/launches`) `[fix, improvement]`- **Developer plans with quotas that are enforced, self-serve upgrades, key rotation, IP allowlists and per-key analytics**: Every API key now sits on a developer plan: Free, Builder, Scale or Enterprise, each with a monthly call quota, a per-minute burst ceiling, a concurrency ceiling and a webhook cap, all enforced on every /api/v1 call rather than only recorded. Each response carries x-plan, x-ratelimit-* and x-quota-* headers; past the burst or concurrency ceiling you get a 429 with Retry-After, and when the period's calls are used up you get a 402 that names the next plan and links to the upgrade. The new /developers page renders the plans straight from the config, and the dashboard's Plan tab shows live usage against the quota, lets you upgrade with credits, USDC or $THREE on Solana (your own wallet signs, with a review of recipient, amount, asset and chain first), prorates mid-period upgrades, schedules downgrades for the end of the period and lists every receipt. Revoking a key now takes effect immediately on every server. Keys can be rotated with an overlap window so a deployment never loses access, locked to IP addresses or ranges, and inspected per key: calls by route, error rate, latency percentiles and top callers. (`/developers`) `[feature, sdk, security, docs]`- **Event Market announcements draft themselves, and nothing posts until you approve it**: When an Event Market opens, nears its lock, shifts, or resolves, a draft announcement now appears in a review queue with the market link and card. Entrants are tagged only where they linked their own X account, everyone else is named, and entrants who opted out are left alone. Approve a whole batch in one action, edit a draft, or dry-run the exact text that would go out. Posting is off until the owner turns it on, with a daily cap and one post per kind per market. (`/admin/event-market-announcements`) `[feature]`- **Event Markets get their own pages and share cards**: Browse live, closing-soon and resolved markets, open any market to see every entrant's odds, the odds over time, the lock countdown and how it resolves, then make your call without leaving the page. Each market has a live share card showing the question, the top entrants and the time left, a per-entrant version for challenging a friend, and entry points from the Arena, event pages, launches and the home page. (`/event-markets`) `[feature]`+- **Event Markets leaderboard: seasons, streaks, badges and rewards**: Every resolved call now scores. A right call on long odds earns the most, a wrong call costs the stake, and your score never goes below zero. Rank by season or all time, filter by event type, and see your own row pinned. Earn badges for your first correct call, an upset, five in a row and a season top 10, shown on your profile. Season-end $THREE rewards are listed on the page; accounts that fail the fair-play checks still play but do not rank. (`/event-markets/leaderboard`) `[feature]`- **Event Markets now settle themselves from our own data**: When an Arena tournament, event, launch cohort, build round or bounty finishes, its market resolves on its own from three.ws records and shows exactly what it read: the standings, the values, the timestamps. Ties, events with no data and cancelled events end in a void with every pick refunded, and a market whose source never answers is voided after a documented timeout. Admin corrections need a written reason that is shown on the market page. (`/event-markets`) `[feature]`+- **Event Markets: odds that move while you watch**: Event market odds now update live. A pick in one browser moves the odds in everyone else's within about a second, with no refresh. The market page animates each change, the home page shows a live ticker of open markets with a pause control, and big swings (5 points or more within ten minutes) are flagged as moves. If the live connection drops, the page reconnects and catches up on its own, falls back to refreshing every few seconds, and says when you are offline. Picks stay anonymous: the feed shows counts, never who picked. (`/event-markets`) `[feature]`- **Event Markets: pick the winner of any event, free**: Every event now has a market where you put free points on who you think wins. The crowd's picks move the odds live, with an honest even split until the first pick lands. Change or withdraw your pick any time before the lock; a pick after it is refused with the closing time. Each account has a points budget per season, and a voided market gives every point back. Assistants can browse markets and place a pick over MCP once you confirm it. (`/event-markets`) `[feature]`- **Every Arena tournament, platform event, build round and bounty now gets a prediction market automatically**: A cron opens a "Who wins X?" market for each event as soon as it has two or more entrants, adds late entrants as outcomes until the market locks, and records why any event was skipped. Admins can see events with and without markets at /admin/event-markets and open or void one by hand. (`/admin/event-markets`) `[feature]`- **Every MCP tool now has its own page, and the tool counts are measured, not typed**: The MCP tool catalog now shows the real totals for every server, worked out from the live servers with a plain note on how, and a release view that lists which tools each release added. Open any tool to see its arguments, an example call, its price and what it can touch, and try the free read-only ones right on the page. You can filter the catalog by category. Behind it, every tool now says whether it only reads, whether it can destroy anything, whether repeating it is safe and whether it reaches outside three.ws, and every tool says when to use it. Prompts that pointed at tools that did not exist now point at real ones, and the tool counts quoted in our READMEs and docs are checked against the catalog on every build so they cannot go stale again. (`/mcp-tools`) `[feature, improvement]`diff --git a/STRUCTURE.md b/STRUCTURE.mdindex 5e4a78080..0b6adb8e4 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -25,6 +25,7 @@ bottom.| Event Market scoring, leaderboard and rewards | [api/_lib/event-markets/scoring.js](api/_lib/event-markets/scoring.js), [rollup.js](api/_lib/event-markets/rollup.js), [fairness.js](api/_lib/event-markets/fairness.js), [leaderboard.js](api/_lib/event-markets/leaderboard.js), [api/cron/event-markets-rollup.js](api/cron/event-markets-rollup.js), [data/event-market-scoring.json](data/event-market-scoring.json), [pages/event-markets-leaderboard.html](pages/event-markets-leaderboard.html) `→ /event-markets/leaderboard`, [scripts/event-markets-season-payouts.mjs](scripts/event-markets-season-payouts.mjs) | Live once migration 20261012400000 is applied; payouts owner-gated | Scores, streaks, season ranks and badges from the rollup cron; wallet-derived names; fair-play ranking checks; season reward table printed for owner approval, never sent automatically. Docs: [docs/event-markets.md](docs/event-markets.md#scoring-and-seasons). Tests: [tests/event-markets-scoring.test.js](tests/event-markets-scoring.test.js) || Event Market live feed | [api/event-markets/stream.js](api/event-markets/stream.js), [api/_lib/event-markets/hub.js](api/_lib/event-markets/hub.js), [feed.js](api/_lib/event-markets/feed.js), [moves.js](api/_lib/event-markets/moves.js), [live-stats.js](api/_lib/event-markets/live-stats.js), [api/cron/event-markets-feed.js](api/cron/event-markets-feed.js), [src/event-markets/live-feed.js](src/event-markets/live-feed.js), [ticker.js](src/event-markets/ticker.js), [data/event-markets-feed.json](data/event-markets-feed.json) | Live (migration 20261012200000 applied) | SSE odds, picks, moves and lifecycle with Last-Event-ID resume, odds-move detector, home ticker, in-place odds on the market page with polling fallback, pulse and trending additions. Docs: [docs/event-markets.md](docs/event-markets.md#live-feed). Tests: [tests/event-markets-live-feed.test.js](tests/event-markets-live-feed.test.js), [tests/event-markets-live-stats.test.js](tests/event-markets-live-stats.test.js). Bench: [scripts/event-markets-fanout-bench.mjs](scripts/event-markets-fanout-bench.mjs) || Event Market agent forecasters | [api/_lib/event-markets/forecasters.js](api/_lib/event-markets/forecasters.js), [analyze.js](api/_lib/event-markets/analyze.js), [forecast-runner.js](api/_lib/event-markets/forecast-runner.js), [forecaster-routes.js](api/_lib/event-markets/forecaster-routes.js), [api/cron/event-markets-forecasters.js](api/cron/event-markets-forecasters.js), [api/_mcpagent/event-market-forecast-tools.js](api/_mcpagent/event-market-forecast-tools.js), [src/event-markets/forecasting.js](src/event-markets/forecasting.js), [forecasters.js](src/event-markets/forecasters.js), [pages/event-markets-forecasters.html](pages/event-markets-forecasters.html) `→ /event-markets/forecasters`, [data/event-markets-agents.json](data/event-markets-agents.json) | Live (migration 20261012120000 applied) | Agent picks as the agent's own identity with confidence, rationale and evidence; market-page agents panel; track record and calibration on the agent profile; ranked board; follow with notifications; owner-controlled autonomous mode (off by default); MCP analyze, forecasters and agent pick. Docs: [docs/event-markets.md](docs/event-markets.md#agents). Tests: [tests/event-markets-agents.test.js](tests/event-markets-agents.test.js), [tests/event-markets-agents-mcp.test.js](tests/event-markets-agents-mcp.test.js), [tests/event-markets-forecasting-ui.test.js](tests/event-markets-forecasting-ui.test.js) |+| Event Market staking (Solana) | [contracts/event-markets-stake/](contracts/event-markets-stake/README.md), [api/_lib/event-markets/staking/](api/_lib/event-markets/staking/), [api/event-markets/staking-admin.js](api/event-markets/staking-admin.js), [src/event-markets/staking-panel.js](src/event-markets/staking-panel.js), [pages/event-markets-staking-admin.html](pages/event-markets-staking-admin.html) `→ /admin/event-markets-staking`, [scripts/event-markets-stake-admin.mjs](scripts/event-markets-stake-admin.mjs) | Built and tested locally; off until the owner deploys and sets `EVENT_MARKETS_STAKING_ENABLED` | Parimutuel stake pools (USDC, $THREE) with unsigned stake and claim transactions, age and region gate, caps, kill switch and vault reconciliation. Owner-gated mainnet steps. Docs: [docs/event-markets-staking.md](docs/event-markets-staking.md). Tests: [tests/event-markets-staking.test.js](tests/event-markets-staking.test.js), [tests/event-markets-staking.chain.test.js](tests/event-markets-staking.chain.test.js) || Walk companion + playground | [walk-sdk/](walk-sdk) `→ /walk-companion.js` | Published as `@three-ws/walk` | Corner mascot + full-page stroll/platformer playground + diverse avatar picker. App entries: [src/walk-companion.js](src/walk-companion.js), [src/walk-playground.js](src/walk-playground.js) || The walkaround world (`/temporary`) | [pages/temporary.html](pages/temporary.html) `→ /temporary`, app [src/walk.js](src/walk.js), environments [src/walk-environments.js](src/walk-environments.js) + [public/environments/](public/environments), multiplayer [src/walk-net.js](src/walk-net.js) → `walk_world`, day/night [src/walk-day-night.js](src/walk-day-night.js), radar [src/game/hud/minimap.js](src/game/hud/minimap.js), companions [src/walk-npcs.js](src/walk-npcs.js), agent desks [src/walk-agent-desk.js](src/walk-agent-desk.js) | Live | Walk your avatar through six real staged environments (park, cyberpunk street, beach, gallery, void, office) with physics-driven locomotion on a heightfield, four camera modes, gestures, voice chat, trails, capture, and live peers. **Time of day is real and shared:** the same deterministic world clock `/play` runs on ([src/shared/world-clock.js](src/shared/world-clock.js)) drives the sun arc, sky gradient, light levels, and IBL strength, so two people in the same world always agree on whether it is night. The sky crossfades on a wider curve than the light levels, so dawn and dusk linger instead of flipping. Armed for outdoor stages only (indoor/void keep their authored manifest lighting) and paused while AR passthrough owns the rig. **The radar is `/play`'s:** `/temporary` mounts the same rotating GTA-style minimap the world HUD uses, with a compass, the walkable-disc boundary ring, and live blips for peers (their nameplate colours), NPC companions, live agent desks, the guide's named landmarks, and scenery. Click or tap it to set a walk-to waypoint (`Minimap.worldFromScreen()` inverts the rotating projection); `M` or the dock button toggles it and the choice persists. **Frame pacing is shared too:** the loop runs through [src/shared/frame-governor.js](src/shared/frame-governor.js) (60fps focused, 30 unfocused, 30 under power saver) and the controls overlay carries the cross-surface Power-saver switch. Tests: [tests/walk-day-night.test.js](tests/walk-day-night.test.js), [tests/minimap-projection.test.js](tests/minimap-projection.test.js) || Walk landing + one-tag embed (`/walk`) | [pages/walk-landing.html](pages/walk-landing.html) `→ /walk`, embed app [pages/walk-embed.html](pages/walk-embed.html) `→ /walk/app` and `→ /walk-embed` ([src/walk-embed.js](src/walk-embed.js)), board [pages/walk-leaderboard.html](pages/walk-leaderboard.html) `→ /walk-leaderboard`, ranking API [api/walk/leaderboard.js](api/walk/leaderboard.js), curated quotes [data/walk-social.json](data/walk-social.json) | Live | The marketing entry for Walk and the surface the `→ /walk` route actually serves (the walkaround world above is at `/temporary`). Live demo embeds across six environments, the copyable one-tag iframe snippet, the Chrome extension pitch, and a top-three teaser off the real all-time distance ranking, which reads `rows` straight from the leaderboard endpoint and falls back to designed empty and retryable error states. All nine demo iframes stay keyboard-reachable, which axe's `frame-focusable-content` rule requires of any frame whose document has focusable content, and each gets a scripted focus ring because an iframe whose document holds focus matches no focus pseudo-class. Page copy is mirrored in the `walk_landing` namespace of [public/locales/en.json](public/locales/en.json), which the i18n runtime applies over the served HTML, so the two must be edited together. |@@ -562,7 +563,7 @@ array. Runbook: [docs/contributing.md](docs/contributing.md#publishing-packages-- **API endpoints** — [api/](api) (serverless-style handlers, served in production by the [server/](server) Cloud Run container), [workers/](workers) (long-running workers)- **Examples & demos** — [examples/](examples), [multiplayer/](multiplayer)- **Announcement pipeline**: [docs/announcements/](docs/announcements/README.md) holds one evidence-backed pack per feature: the claim, postable copy, media shot IDs, and community variant. `npm run announce:rank -- --probe` writes the generated `data/announcements.json` backlog from current pages, packages, workers, services, past coverage, and live route probes. [data/announce-media.json](data/announce-media.json) drives `npm run announce:media`; [docs/announce-voice.md](docs/announce-voice.md) defines the editorial voice from the engagement archive; `npm run check:announce` gates each finished pack. Campaign selection, timing, owners, calls to action, and outcome measurement live in the [marketing command center](marketing/growth/README.md) and its [90-day campaign ledger](marketing/growth/campaigns.csv). Nothing in this pipeline posts automatically: external publishing stays owner-gated.-- **Marketing assets**: [marketing/](marketing/README.md) (produced promo videos + re-render scripts, e.g. [marketing/imessage-video/](marketing/imessage-video); source-of-truth assets, not shipped to production). The narrated product demo lives in [marketing/product-demo/](marketing/product-demo/README.md): [scripts/make-product-demo.mjs](scripts/make-product-demo.mjs) (`npm run demo:video`) films a presenter walking every feature page on the live site, chaptered, with narration from the platform's own TTS lane. Its route is the Feature Tour curriculum, so a new page is in the next recording without editing a script. Docs: [docs/product-demo.md](docs/product-demo.md)+- **Marketing assets**: [marketing/](marketing/README.md) (produced promo videos + re-render scripts, e.g. [marketing/imessage-video/](marketing/imessage-video); source-of-truth assets, not shipped to production). The code-rendered motion film pipeline (seekable three.js and screenshot compositions, procedural sound, 16:9 and 9:16 renders, first film "Give your AI a body") lives in [marketing/motion-studio/](marketing/motion-studio/README.md). The narrated product demo lives in [marketing/product-demo/](marketing/product-demo/README.md): [scripts/make-product-demo.mjs](scripts/make-product-demo.mjs) (`npm run demo:video`) films a presenter walking every feature page on the live site, chaptered, with narration from the platform's own TTS lane. Its route is the Feature Tour curriculum, so a new page is in the next recording without editing a script. Docs: [docs/product-demo.md](docs/product-demo.md)- **Platform agents (server-side)**: [agents/](agents/README.md) (endpoint-shopper, fact-checker, tutor, unstoppable, x402-buildout: library modules imported by `api/` handlers, each with its own README)- **Site data files**: [data/](data/README.md) (pages.json, changelog.json, skills seed, RSS items: what each file drives and which script regenerates it)- **Repository guards**: [data/guards.json](data/guards.json) is the registry of every mechanical check and the stage it runs in (prebuild, gate, deploy build, pre-push, on demand). [scripts/audit-guards.mjs](scripts/audit-guards.mjs) proves each entry is real and each stage claim is true, [scripts/build-guards.mjs](scripts/build-guards.mjs) publishes it to `public/guards.json`, [pages/guards.html](pages/guards.html) renders it at `/guards`, and [docs/guards.md](docs/guards.md) plus [docs/tutorials/write-a-guard.md](docs/tutorials/write-a-guard.md) document it. There is no CI here, so this is the enforcement layer.diff --git a/data/changelog.json b/data/changelog.jsonindex 2bab6c261..11c27b7fc 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws, the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security, desktop (desktop entries become the desktop app's release notes). `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-10-10",+ "title": "Calmer homepage first visit: one corner card at a time, full agent descriptions, language in the footer",+ "summary": "A first visit used to stack three cards in the bottom-right corner over the hero avatar. The search-shortcut hint now goes first and the \"Have you tried\" suggestion waits until it is dismissed. The Living agents cards show the whole description over two lines instead of cutting it off mid-word, and the language picker moved from the hero to the footer so the first screen holds only the Forge prompt and the three next steps.",+ "tags": [+ "improvement"+ ],+ "link": "/"+ },{"date": "2026-10-10","title": "AI agents now forecast Event Markets and build a public track record",diff --git a/data/pages.json b/data/pages.jsonindex 30da0f739..f656aebcf 100644--- a/data/pages.json+++ b/data/pages.json@@ -4121,6 +4121,12 @@"description": "Free-to-play prediction markets over three.ws events: how markets open, how they resolve from our own data with stored evidence, and how points are scored.","added": "2026-10-10"},+ {+ "path": "/docs/event-markets-staking",+ "title": "Docs · Staked Event Markets",+ "description": "Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.",+ "added": "2026-10-13"+ },{"path": "/docs/x402","title": "Docs · x402 Protocol",diff --git a/data/x-content/queue.json b/data/x-content/queue.jsonindex caef6dc74..447642c21 100644--- a/data/x-content/queue.json+++ b/data/x-content/queue.json@@ -15524,6 +15524,89 @@"prompt": "A glowing cyan wireframe humanoid figure frozen mid back flip above a dark stage, ribbons of light tracing its motion","alt": "AI-generated key art: a glowing blue wireframe figure with arms spread on a dark stage, beside the headline \"Click a move. Your avatar does it.\" In the corner, a real frame filmed live on three.ws/embed/avatar shows an avatar mid move with the animation menu open."}+ },+ {+ "id": "give-your-ai-a-body",+ "status": "review",+ "kind": "post",+ "tier": 2,+ "lane": "community",+ "pattern": "clip",+ "notBefore": "2026-10-11T00:00:00Z",+ "covers": [+ "/forge",+ "/marketplace"+ ],+ "posts": [+ {+ "text": "Your AI has a brain. Give it a body.\n\nIn the Forge you type a description and get a textured 3D model you can orbit, inspect in AR and download. Then share it in the marketplace, where the community can discover, fork and chat with published agents: three.ws/forge",+ "media": [+ {+ "path": "public/x-media/give-your-ai-a-body/clip.mp4",+ "alt": "A 17 second motion film on a dark grid. A line types out \"Your AI has a brain\", then a glowing 3D avatar in yellow trousers appears under the headline \"Give your AI a body.\" The Forge prompt box and the marketplace card slide in as she dances, ending on the three.ws logo and the address three.ws/forge.",+ "probe": {+ "durationSec": 17.02,+ "width": 1920,+ "height": 1080,+ "fps": 30,+ "videoCodec": "h264",+ "pixFmt": "yuv420p",+ "audioCodec": "aac"+ }+ }+ ]+ }+ ],+ "claims": [+ {+ "says": "type a description and get a textured 3D model",+ "evidence": [+ {+ "type": "page",+ "url": "https://three.ws/forge",+ "contains": "Type a description, get a textured 3D model"+ }+ ]+ },+ {+ "says": "orbit, inspect in AR and download",+ "evidence": [+ {+ "type": "page",+ "url": "https://three.ws/forge",+ "contains": "orbit, inspect in AR, and download"+ }+ ]+ },+ {+ "says": "the community can discover, fork and chat with published agents",+ "evidence": [+ {+ "type": "page",+ "url": "https://three.ws/marketplace",+ "contains": "Discover, fork, and chat with community-published AI agents"+ }+ ]+ }+ ],+ "mentions": {},+ "probes": [+ {+ "type": "api",+ "name": "the Forge page is live",+ "url": "https://three.ws/forge"+ },+ {+ "type": "api",+ "name": "the marketplace page is live",+ "url": "https://three.ws/marketplace"+ },+ {+ "type": "api",+ "name": "the avatar in the film is live",+ "url": "https://three.ws/avatars/michelle.glb"+ }+ ]}]}diff --git a/marketing/README.md b/marketing/README.mdindex 590e4861b..4ba70afe2 100644--- a/marketing/README.md+++ b/marketing/README.md@@ -12,6 +12,7 @@ rules into one execution order.| [huggingface-article](huggingface-article/post.md) | The X thread announcing the second Hugging Face community article and thanking every program and partner named in it, with the tagging rules each one requires. || [ibm-partner-plus](ibm-partner-plus/README.md) | The IBM Partner Plus kit: the Agent Connect BYOL submission pack for listing the 3D Studio MCP server in the watsonx Orchestrate Agent Catalog, the catalog icon, the claims we may and may not make, and held announcement copy. || [imessage-video](imessage-video/README.md) | A 9:16 vertical video of a fake iMessage thread that lands the AR Forge and OpenAI collaboration beats, built for X, TikTok, and Reels. |+| [motion-studio](motion-studio/README.md) | A seekable, code-rendered film pipeline and its first film, "Give your AI a body": brief, style guide, shot list, three.js and screenshot composition, procedural sound, and 16:9 plus 9:16 renders. || [nvidia-inception](nvidia-inception/README.md) | The NVIDIA Inception announcement pack: paste-ready X, LinkedIn, and Telegram copy for a membership that was never announced, plus the badge and no-endorsement rules. || [openai-select-partner](openai-select-partner/README.md) | The OpenAI Select Partner announcement pack: draft press release, approved social copy, badge assets, and the usage rules that govern them. || [product-demo](product-demo/README.md) | The narrated product demo: a presenter walking every feature of three.ws on the live site, filmed at 1080p in chapters by `npm run demo:video`. |diff --git a/marketing/motion-studio/README.md b/marketing/motion-studio/README.mdnew file mode 100644index 000000000..b8e8120c7--- /dev/null+++ b/marketing/motion-studio/README.md@@ -0,0 +1,59 @@+# Motion studio++A code-rendered film pipeline built around one rule: a frame is a pure function of time. `frame = render(time, shot list, assets, style tokens, seed)`. Nothing reads the wall clock, so any frame can be rendered alone, in any order, and a fix to one shot re-renders only that shot.++The first film is **Give your AI a body** (17 s, 16:9 and 9:16). Every product pixel in it is a screenshot of production, the 3D body is the real `public/avatars/michelle.glb` rendered live with three.js, and the sound is synthesized from the same timeline module as the picture.++## Layout++| Path | What it is |+| --- | --- |+| `brief.md` | The director's brief: facts versus choices, approved assets, the claims every word must satisfy. |+| `style-guide.md` | Keep and avoid rules, type, color, motion rules per object class. |+| `shotlist.md` | Six beats with start and end times and what changes in each. |+| `src/timeline.js` | The single source of beat times. Picture and sound both import it. |+| `src/composition.html`, `src/composition.js` | The stage. Exposes `window.__seek(t)`; `?format=landscape` or `?format=portrait` selects a separate composition, never a crop. |+| `src/render.mjs` | Static server, Playwright frame capture, ffmpeg encode. Modes: default full render, `--stills=1.0,5.5 --format=portrait --dir=reviews/x`, `--determinism`. |+| `src/audio.mjs` | Deterministic procedural WAV (seeded noise) written to `out/audio.wav`. |+| `src/contact-sheet.mjs` | Labelled contact sheets for the critique pass. |+| `assets/screens/` | Live captures from `scripts/capture-motion-studio-assets.mjs`, with a manifest. |+| `reviews/` | Contact sheets from each critique round. |+| `out/` | Final MP4s, poster frames and the audio track. |++## Re-render++```bash+node scripts/capture-motion-studio-assets.mjs # optional: recapture the live screens+node marketing/motion-studio/src/audio.mjs # sound+node marketing/motion-studio/src/render.mjs # both formats, about 3 minutes+node marketing/motion-studio/src/render.mjs --determinism+```++WebGL runs on SwiftShader with the same browser flags as the proof reels (`api/_lib/x-content/reel.js`), so it renders on a server with no GPU.++## The critique loop++Render stills at the beat edges, build a contact sheet, and write the three largest defects with timestamp, evidence and a local fix. Fix those, re-render only those frames, repeat. Round 1 found illegible panels and a hollow ring rendered as a filled block. Round 2 found portrait clipping and overlap, fixed with a separate portrait layout and tighter crops.++## Posting++The 16:9 cut goes to X through the autonomous content queue as `give-your-ai-a-body` (`data/x-content/queue.json`, transcoded by `npm run x:content -- prepare-video`). The 9:16 cut is for Reels and Shorts.++## Resources++What the research found, with licences, for the next film. Verify a licence before you add a dependency.++| Tool | Licence | Notes |+| --- | --- | --- |+| [HyperFrames](https://github.com/heygen-com/hyperframes) | Apache-2.0 | HTML-and-GSAP compositions rendered deterministically, with a Claude Code plugin and skills. The best fit if we outgrow this renderer. |+| [Remotion](https://www.remotion.dev) | Source-available | Free only for individuals and companies of up to 3 people. Check the terms before commercial use. |+| [Remocn](https://github.com/remocn) and remotion-superpowers | MIT | Remotion component and skill collections. |+| Revideo, Motion Canvas, Manim | MIT | Strong for diagrams and code animation, weaker for product films. |+| GSAP | No-charge proprietary | Timeline library, seekable. |+| Anime.js, lottie-web | MIT | Seekable 2D animation. |+| Tone.js | MIT | `Tone.Offline` renders audio deterministically. |+| jsfxr | Public domain | Retro sound effects. |+| whisper.cpp, stable-ts, WhisperX | MIT, MIT, BSD | Word-level caption timing. |+| Mediabunny | MPL-2.0 | Browser-side muxing. |++There is no credible `awesome-` list for this; the closest is the [Remotion resources page](https://www.remotion.dev/docs/resources). `timecut` is unmaintained.diff --git a/marketing/motion-studio/assets/screens/atlas.png b/marketing/motion-studio/assets/screens/atlas.pngnew file mode 100644index 000000000..b62f4905aBinary files /dev/null and b/marketing/motion-studio/assets/screens/atlas.png differdiff --git a/marketing/motion-studio/assets/screens/characters.png b/marketing/motion-studio/assets/screens/characters.pngnew file mode 100644index 000000000..1ea7ae5c2Binary files /dev/null and b/marketing/motion-studio/assets/screens/characters.png differdiff --git a/marketing/motion-studio/assets/screens/forge.png b/marketing/motion-studio/assets/screens/forge.pngnew file mode 100644index 000000000..89df7d6c2Binary files /dev/null and b/marketing/motion-studio/assets/screens/forge.png differdiff --git a/marketing/motion-studio/assets/screens/home.png b/marketing/motion-studio/assets/screens/home.pngnew file mode 100644index 000000000..9bc966b0eBinary files /dev/null and b/marketing/motion-studio/assets/screens/home.png differdiff --git a/marketing/motion-studio/assets/screens/marketplace.png b/marketing/motion-studio/assets/screens/marketplace.pngnew file mode 100644index 000000000..f593ad7f5Binary files /dev/null and b/marketing/motion-studio/assets/screens/marketplace.png differdiff --git a/marketing/motion-studio/brief.md b/marketing/motion-studio/brief.mdnew file mode 100644index 000000000..7cee64d4e--- /dev/null+++ b/marketing/motion-studio/brief.md@@ -0,0 +1,28 @@+# Film brief: "Give your AI a body"++FILM+One sentence: three.ws turns a text prompt into a rigged 3D agent that lives on the web.+Audience: builders and crypto-native users who have only ever met AI as a text box.+Duration: 17 seconds.+Formats: 16:9 (1920x1080) and 9:16 (1080x1920), each composed separately from the same timeline. 1:1 is not needed for X.++ASSETS (approved, all real)+Logo: public/brand/three-ws-mark.png (the shipped cube mark).+Live product screens: assets/screens/forge.png and assets/screens/marketplace.png, captured from https://three.ws by scripts/capture-motion-studio-assets.mjs. Manifest: assets/screens/manifest.json.+3D body: public/avatars/michelle.glb (the featured community avatar shown on /marketplace), rendered live with three.js. Not a mock of an avatar, the actual file.+Brand type and colors: public/tokens.css and public/fonts (Space Grotesk, Inter, JetBrains Mono). Accent gradient is the one on the "Forge it" button of the home page.+Audio: synthesized in src/audio.mjs from the same timeline module that drives the picture.++VISUAL RULES+Keep: near-black stage, white ink, one warm-to-violet accent, generous negative space, large grotesk headlines, mono for system voice.+Avoid: centered gradient with fading text and a logo at the end, stock particles, glassmorphism card stacks, any element that exists only to move.+Never invent product screens or metrics. Every pixel of UI in the film is a screenshot of production. The only numbers on screen are the ones the page itself shows.++CLAIMS (every word of copy must be true today)+"Type a prompt. Get a textured 3D model." Forge page: "text or photos -> textured 3D model".+"Free. No sign-up." Forge page: "Free · no sign-up · yours to download".+"Rigged. Animated." Marketplace card for the avatar: "Realistic rigged dancer with a Mixamo-compatible skeleton and baked idle/dance clips".+"Embed it with two lines of HTML." Home page: "Embed it on any website with two lines of HTML".++DELIVERABLES+Storyboard (shotlist.md), contact sheets (reviews/), final videos and poster frames (out/), source (src/), a note on what still needs human review.diff --git a/marketing/motion-studio/out/audio.wav b/marketing/motion-studio/out/audio.wavnew file mode 100644index 000000000..3737a0001Binary files /dev/null and b/marketing/motion-studio/out/audio.wav differdiff --git a/marketing/motion-studio/out/give-your-ai-a-body-16x9-poster.png b/marketing/motion-studio/out/give-your-ai-a-body-16x9-poster.pngnew file mode 100644index 000000000..74a90e494Binary files /dev/null and b/marketing/motion-studio/out/give-your-ai-a-body-16x9-poster.png differdiff --git a/marketing/motion-studio/out/give-your-ai-a-body-16x9.mp4 b/marketing/motion-studio/out/give-your-ai-a-body-16x9.mp4new file mode 100644index 000000000..ed2ffe169Binary files /dev/null and b/marketing/motion-studio/out/give-your-ai-a-body-16x9.mp4 differdiff --git a/marketing/motion-studio/out/give-your-ai-a-body-9x16-poster.png b/marketing/motion-studio/out/give-your-ai-a-body-9x16-poster.pngnew file mode 100644index 000000000..4782fad62Binary files /dev/null and b/marketing/motion-studio/out/give-your-ai-a-body-9x16-poster.png differdiff --git a/marketing/motion-studio/out/give-your-ai-a-body-9x16.mp4 b/marketing/motion-studio/out/give-your-ai-a-body-9x16.mp4new file mode 100644index 000000000..1738cbb61Binary files /dev/null and b/marketing/motion-studio/out/give-your-ai-a-body-9x16.mp4 differdiff --git a/marketing/motion-studio/reviews/contact-landscape-2.png b/marketing/motion-studio/reviews/contact-landscape-2.pngnew file mode 100644index 000000000..51930851eBinary files /dev/null and b/marketing/motion-studio/reviews/contact-landscape-2.png differdiff --git a/marketing/motion-studio/reviews/contact-portrait-2.png b/marketing/motion-studio/reviews/contact-portrait-2.pngnew file mode 100644index 000000000..2cd90d6c9Binary files /dev/null and b/marketing/motion-studio/reviews/contact-portrait-2.png differdiff --git a/marketing/motion-studio/reviews/contact-portrait-3.png b/marketing/motion-studio/reviews/contact-portrait-3.pngnew file mode 100644index 000000000..a82982a44Binary files /dev/null and b/marketing/motion-studio/reviews/contact-portrait-3.png differdiff --git a/marketing/motion-studio/reviews/contact-portrait-4.png b/marketing/motion-studio/reviews/contact-portrait-4.pngnew file mode 100644index 000000000..4c28c5103Binary files /dev/null and b/marketing/motion-studio/reviews/contact-portrait-4.png differdiff --git a/marketing/motion-studio/shotlist.md b/marketing/motion-studio/shotlist.mdnew file mode 100644index 000000000..bf81bc2d1--- /dev/null+++ b/marketing/motion-studio/shotlist.md@@ -0,0 +1,27 @@+# Shot list++Timeline is src/timeline.js. Times are seconds. Every beat has an entry state, an exit state, and a reason to exist.++| # | Time | Beat | Entry state | What happens | Exit state | Why it exists |+|---|---|---|---|---|---|---|+| 1 | 0.0 to 2.4 | HOOK | empty stage, corner mark | A line types in the mono voice: "Your AI has a brain." Then, dim, "No body." lands with a low hit. | text block lifted off stage | Names the friction in the viewer's own terms in under 3 seconds. |+| 2 | 2.4 to 4.8 | REVEAL | empty stage | The real avatar rises into the light. Headline "Give your AI a body." resolves, the word "body" takes the accent. | avatar and headline held | The promise. The only image in the film that is not a UI screenshot. |+| 3 | 4.8 to 8.4 | CREATE | avatar and headline | The avatar slides off. The real Forge screen settles in at an angle. Caption: "Type a prompt. Get a textured 3D model." with "Free. No sign-up." | Forge panel leaves | Shows where the body comes from, with the product's own screen. |+| 4 | 8.4 to 12.0 | ALIVE | empty stage | The avatar returns large, orbiting, playing its baked clip. Chips land on the beat: "Rigged", "Animated", "Embed with two lines of HTML". | avatar leaves | Proof it is a body and not a render: it moves, and it embeds. |+| 5 | 12.0 to 14.4 | PLACE | empty stage | The real marketplace screen settles in. The featured card is the same avatar the viewer just watched. Caption: "Share it in the marketplace." | panel leaves | Continuity of object across the film, and the platform loop. |+| 6 | 14.4 to 17.0 | CLOSE | empty stage | Mark, wordmark, "Give your AI a body.", and "three.ws/forge". Final hit on the beat, then a held poster frame. | static end card | A last frame strong enough to be a poster, with a readable address. |++BEAT GRID (audio and picture share it)+0.20 typing starts, one tick per character+1.55 "No body." hit+2.40 reveal hit+4.80 panel whoosh+6.00 settle click+8.40 body returns, kick enters+9.60 / 10.20 / 10.80 chip ticks+12.00 panel whoosh+13.00 settle click+14.40 resolve chord and final hit++HUMAN REVIEW STILL NEEDED+Listen with sound on a phone speaker. Confirm the post copy before it goes out.diff --git a/marketing/motion-studio/src/audio.mjs b/marketing/motion-studio/src/audio.mjsnew file mode 100644index 000000000..85582b577--- /dev/null+++ b/marketing/motion-studio/src/audio.mjs@@ -0,0 +1,130 @@+// Procedural sound on the same timeline as the picture. Every event time comes from+// timeline.js, so a retimed shot moves its sound with it. Seeded noise keeps the+// output byte-identical between runs. Writes out/audio.wav (44.1 kHz, 16-bit, stereo).+import { writeFileSync, mkdirSync } from 'node:fs';+import { fileURLToPath } from 'node:url';+import path from 'node:path';+import { DURATION, BEATS, typedTimes } from './timeline.js';++const SR = 44100;+const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');+const N = Math.ceil(DURATION * SR);+const L = new Float32Array(N);+const R = new Float32Array(N);++let seed = 0x3d5eed;+const rnd = () => {+ seed = (Math.imul(seed, 1664525) + 1013904223) >>> 0;+ return seed / 0x100000000 * 2 - 1;+};++function add(t, dur, fn, gain = 1, pan = 0) {+ const i0 = Math.max(0, Math.floor(t * SR));+ const n = Math.min(N - i0, Math.floor(dur * SR));+ const gl = gain * Math.cos((pan + 1) * Math.PI / 4);+ const gr = gain * Math.sin((pan + 1) * Math.PI / 4);+ for (let i = 0; i < n; i++) {+ const v = fn(i / SR, i / n);+ L[i0 + i] += v * gl;+ R[i0 + i] += v * gr;+ }+}++const env = (x, a, d) => (x < a ? x / a : Math.exp(-(x - a) * d));+const tri = (ph) => 2 * Math.abs(2 * (ph - Math.floor(ph + 0.5))) - 1;++function tick(t, pitch = 1, gain = 0.22) {+ let lp = 0;+ add(t, 0.05, (x) => {+ lp += (rnd() - lp) * 0.55;+ return (lp * 0.8 + Math.sin(2 * Math.PI * 1800 * pitch * x) * 0.3) * env(x, 0.0008, 140);+ }, gain, rnd() * 0.15);+}++function hit(t, gain = 0.8, f0 = 62) {+ add(t, 0.9, (x) => {+ const f = f0 + 90 * Math.exp(-x * 28);+ return Math.sin(2 * Math.PI * f * x) * env(x, 0.002, 5) + rnd() * 0.18 * env(x, 0.001, 38);+ }, gain);+}++function whoosh(t, dur = 0.55, gain = 0.3, up = true) {+ let lp = 0;+ add(t, dur, (x, u) => {+ const sweep = up ? u : 1 - u;+ lp += (rnd() - lp) * (0.04 + 0.5 * sweep * sweep);+ return lp * Math.sin(Math.PI * u) ** 1.5;+ }, gain * 2.2, up ? -0.3 : 0.3);+}++function click(t, gain = 0.3) {+ add(t, 0.04, (x) => Math.sin(2 * Math.PI * 2600 * x) * env(x, 0.0005, 190), gain, 0.1);+}++function note(t, dur, freq, gain, pan = 0) {+ add(t, dur, (x, u) => {+ const ph = freq * x;+ const v = tri(ph) * 0.6 + Math.sin(2 * Math.PI * ph * 2) * 0.12;+ return v * env(x, 0.012, 2.4) * (1 - u * u);+ }, gain, pan);+}++for (const t of typedTimes()) tick(t, 0.9 + (Math.floor(t * 997) % 5) * 0.05);++hit(BEATS.noBody, 0.55, 54);+hit(BEATS.reveal, 0.85, 62);+whoosh(BEATS.reveal - 0.25, 0.4, 0.25, true);++whoosh(BEATS.forgeIn - 0.2, 0.55, 0.3, true);+click(BEATS.forgeSettle);+whoosh(BEATS.forgeOut - 0.15, 0.5, 0.26, false);++const BPM = 116;+const beat = 60 / BPM;+for (let t = BEATS.aliveIn, k = 0; t < BEATS.aliveOut + 0.2; t += beat, k++) {+ hit(t, 0.32, 50);+ if (k % 2 === 1) tick(t, 0.6, 0.3);+ tick(t + beat / 2, 1.3, 0.12);+}+for (const t of BEATS.chips) click(t, 0.38);++whoosh(BEATS.marketIn - 0.2, 0.5, 0.28, true);+click(BEATS.marketSettle);+whoosh(BEATS.marketOut - 0.15, 0.45, 0.24, false);++const chord = [220, 277.18, 329.63, 440];+chord.forEach((f, i) => note(BEATS.close, 2.4, f, 0.12, (i - 1.5) * 0.25));+hit(BEATS.close, 0.7, 58);+hit(BEATS.finalHit, 0.6, 70);+click(BEATS.finalHit + 0.02, 0.4);++// Fade the tail, soft-limit, interleave.+const buf = Buffer.alloc(N * 4);+const fadeFrom = DURATION - 0.6;+for (let i = 0; i < N; i++) {+ const t = i / SR;+ const f = t > fadeFrom ? Math.max(0, 1 - (t - fadeFrom) / 0.6) : 1;+ const l = Math.tanh(L[i] * 0.9) * f;+ const r = Math.tanh(R[i] * 0.9) * f;+ buf.writeInt16LE(Math.round(l * 32000), i * 4);+ buf.writeInt16LE(Math.round(r * 32000), i * 4 + 2);+}++const header = Buffer.alloc(44);+header.write('RIFF', 0);+header.writeUInt32LE(36 + buf.length, 4);+header.write('WAVEfmt ', 8);+header.writeUInt32LE(16, 16);+header.writeUInt16LE(1, 20);+header.writeUInt16LE(2, 22);+header.writeUInt32LE(SR, 24);+header.writeUInt32LE(SR * 4, 28);+header.writeUInt16LE(4, 32);+header.writeUInt16LE(16, 34);+header.write('data', 36);+header.writeUInt32LE(buf.length, 40);++mkdirSync(path.join(root, 'out'), { recursive: true });+const out = path.join(root, 'out', 'audio.wav');+writeFileSync(out, Buffer.concat([header, buf]));+console.log(`audio ${out} ${DURATION}s`);diff --git a/marketing/motion-studio/src/composition.html b/marketing/motion-studio/src/composition.htmlnew file mode 100644index 000000000..06330fa36--- /dev/null+++ b/marketing/motion-studio/src/composition.html@@ -0,0 +1,47 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<title>Give your AI a body</title>+<meta name="viewport" content="width=device-width,initial-scale=1">+<link rel="stylesheet" href="/fonts/fonts.css">+<style>+ :root {+ --bg: #0a0a0b; --panel: #111113; --stroke: #26262a;+ --ink: #fff; --ink-dim: #9a9aa3; --ink-faint: #5c5c66;+ --accent: linear-gradient(100deg, #ff9a56, #ff5fa2 55%, #8b6cff);+ }+ * { box-sizing: border-box; margin: 0; padding: 0; }+ html, body { background: var(--bg); overflow: hidden; }+ #stage { position: relative; overflow: hidden; background: var(--bg); color: var(--ink); font-family: 'Inter', sans-serif; }+ #grid { position: absolute; inset: -64px; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; }+ #bloom { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,95,162,.30), rgba(139,108,255,.14) 55%, transparent 100%); will-change: transform, opacity; }+ canvas#gl { position: absolute; inset: 0; width: 100%; height: 100%; }+ .abs { position: absolute; will-change: transform, opacity; }+ .mono { font-family: 'JetBrains Mono', monospace; font-weight: 500; }+ .head { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }+ .grad { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }+ .word { display: inline-block; will-change: transform, opacity, filter; }+ .panel { overflow: hidden; background: var(--panel); border: 1px solid var(--stroke); border-radius: 18px; box-shadow: 0 40px 120px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.03); }+ .panel img { display: block; position: absolute; max-width: none; }+ .chip { display: inline-block; border: 1px solid var(--stroke); background: rgba(17,17,19,.92); border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }+ .chip i { display: inline-block; border-radius: 50%; background: var(--accent); margin-right: .7em; }+ #stamp { opacity: .9; }+</style>+</head>+<body>+<div id="stage">+ <div id="grid"></div>+ <div id="bloom"></div>+ <canvas id="gl"></canvas>+ <div id="layers"></div>+</div>+<script type="importmap">+{ "imports": {+ "three": "/node_modules/three/build/three.module.js",+ "three/addons/": "/node_modules/three/examples/jsm/"+} }+</script>+<script type="module" src="/marketing/motion-studio/src/composition.js"></script>+</body>+</html>diff --git a/marketing/motion-studio/src/composition.js b/marketing/motion-studio/src/composition.jsnew file mode 100644index 000000000..a8fede3be--- /dev/null+++ b/marketing/motion-studio/src/composition.js@@ -0,0 +1,380 @@+// The film as a pure function of time: frame = render(t, layout, assets).+// Nothing here owns a clock. render.mjs calls window.__seek(t) once per frame,+// and the 3D body's baked clip is advanced by the same t, so any frame can be+// rendered directly without playing the ones before it.+import * as THREE from 'three';+import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';+import { MeshoptDecoder } from 'three/addons/libs/meshopt_decoder.module.js';+import { BEATS, TYPED, DURATION } from './timeline.js';++const FORMAT = new URLSearchParams(location.search).get('format') === 'portrait' ? 'portrait' : 'landscape';+const P = FORMAT === 'portrait';+const W = P ? 1080 : 1920;+const H = P ? 1920 : 1080;+const pick = (land, port) => (P ? port : land);++/* ---------- easing ---------- */+const clamp = (x, a = 0, b = 1) => Math.min(b, Math.max(a, x));+const prog = (t, a, b) => clamp((t - a) / (b - a));+const outExpo = (x) => (x >= 1 ? 1 : 1 - Math.pow(2, -10 * x));+const outCubic = (x) => 1 - Math.pow(1 - x, 3);+const inCubic = (x) => x * x * x;+const inOutCubic = (x) => (x < 0.5 ? 4 * x * x * x : 1 - Math.pow(-2 * x + 2, 3) / 2);+const lerp = (a, b, x) => a + (b - a) * x;+// Analytic spring: seekable, unlike an integrated one. zeta 1 is critically damped.+function spring(x, zeta = 1, omega = 9) {+ if (x <= 0) return 0;+ if (zeta >= 1) return 1 - (1 + omega * x) * Math.exp(-omega * x);+ const wd = omega * Math.sqrt(1 - zeta * zeta);+ return 1 - Math.exp(-zeta * omega * x) * (Math.cos(wd * x) + ((zeta * omega) / wd) * Math.sin(wd * x));+}+// Piecewise track: keys are [time, value, easing?]; easing belongs to the segment that ends at that key.+function track(t, keys) {+ if (t <= keys[0][0]) return keys[0][1];+ for (let i = 1; i < keys.length; i++) {+ if (t <= keys[i][0]) {+ const [t0, v0] = keys[i - 1];+ const [t1, v1, ease = inOutCubic] = keys[i];+ return lerp(v0, v1, ease(prog(t, t0, t1)));+ }+ }+ return keys[keys.length - 1][1];+}++/* ---------- stage ---------- */+const stage = document.getElementById('stage');+stage.style.width = `${W}px`;+stage.style.height = `${H}px`;+const layers = document.getElementById('layers');+const bloom = document.getElementById('bloom');+const grid = document.getElementById('grid');+const MARGIN = pick(160, 90);++function el(tag, cls, css = {}, parent = layers) {+ const node = document.createElement(tag);+ if (cls) node.className = cls;+ Object.assign(node.style, css);+ parent.appendChild(node);+ return node;+}+function words(parent, text, cls, css = {}) {+ return text.split(' ').map((w, i, arr) => {+ const span = el('span', `word ${cls}`, css, parent);+ span.textContent = w;+ if (i < arr.length - 1) parent.appendChild(document.createTextNode(' '));+ return span;+ });+}+function revealWords(ws, now, start, { stagger = 0.07, dur = 0.55, rise = 46, blur = 12 } = {}) {+ ws.forEach((w, i) => {+ const x = outExpo(prog(now, start + i * stagger, start + i * stagger + dur));+ w.style.opacity = x;+ w.style.transform = `translateY(${(1 - x) * rise}px)`;+ w.style.filter = x < 1 ? `blur(${(1 - x) * blur}px)` : 'none';+ });+}+const show = (node, a) => {+ node.style.opacity = a;+ node.style.visibility = a <= 0.001 ? 'hidden' : 'visible';+};++/* ---------- corner stamp: the brand is on screen from frame 0 ---------- */+const stamp = el('div', 'abs', { left: `${MARGIN}px`, top: `${pick(58, 200)}px`, display: 'flex', alignItems: 'center', gap: '16px' });+const stampImg = el('img', '', { width: `${pick(40, 46)}px`, height: 'auto' }, stamp);+stampImg.src = '/brand/three-ws-mark.png';+const stampText = el('div', 'mono', { fontSize: `${pick(24, 28)}px`, letterSpacing: '.04em', color: '#cfcfd6' }, stamp);+stampText.textContent = 'three.ws';++/* ---------- S1 hook ---------- */+const hookBlock = el('div', 'abs', { left: `${MARGIN}px`, top: `${pick(330, 640)}px`, width: `${W - MARGIN * 2}px` });+const typed = el('div', 'mono', { fontSize: `${pick(68, 74)}px`, color: '#e8e8ee', height: `${pick(96, 104)}px`, whiteSpace: 'nowrap' }, hookBlock);+const typedText = el('span', '', {}, typed);+const caret = el('span', '', { display: 'inline-block', width: `${pick(32, 36)}px`, height: `${pick(68, 74)}px`, marginLeft: '8px', verticalAlign: '-10px', background: '#fff' }, typed);+const noBody = el('div', 'head', { fontSize: `${pick(200, 214)}px`, marginTop: `${pick(18, 24)}px`, color: '#5c5c66' }, hookBlock);+noBody.textContent = 'No body.';++/* ---------- S2 headline ---------- */+const headBlock = el('div', 'abs head', { left: `${MARGIN}px`, top: `${pick(330, 1130)}px`, width: `${pick(900, W - MARGIN * 2)}px`, fontSize: `${pick(138, 132)}px` });+const hl1 = el('div', '', { whiteSpace: 'nowrap' }, headBlock);+const hl1w = words(hl1, 'Give your AI', '');+const hl2 = el('div', '', { whiteSpace: 'nowrap' }, headBlock);+const hl2w = words(hl2, 'a body.', '');+hl2w[1].classList.add('grad');++/* ---------- product panels (real screenshots, cropped, never redrawn) ---------- */+function makePanel(src, shotW, shotH, crop, box) {+ const wrap = el('div', 'abs', { left: `${box.x}px`, top: `${box.y}px`, width: `${box.w}px`, height: `${box.h}px`, perspective: '2200px' });+ const card = el('div', 'panel', { position: 'absolute', inset: '0', transformOrigin: '50% 50%' }, wrap);+ const scale = box.w / crop.w;+ const img = el('img', '', { width: `${shotW * scale}px`, height: `${shotH * scale}px`, left: `${-crop.x * scale}px`, top: `${-crop.y * scale}px` }, card);+ img.src = src;+ const map = (r) => ({ left: `${(r.x - crop.x) * scale}px`, top: `${(r.y - crop.y) * scale}px`, width: `${r.w * scale}px`, height: `${r.h * scale}px` });+ return { wrap, card, img, map, scale };+}+function ring(card, rect) {+ // A hollow gradient outline: the gradient fills the border box and a mask cuts out the padding box.+ const r = el('div', '', { position: 'absolute', border: '4px solid transparent', borderRadius: '14px', background: 'linear-gradient(100deg,#ff9a56,#ff5fa2 55%,#8b6cff) border-box', boxShadow: '0 0 40px rgba(255,95,162,.35)', ...rect }, card);+ r.style.webkitMask = 'linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0)';+ r.style.webkitMaskComposite = 'xor';+ r.style.maskComposite = 'exclude';+ return r;+}++const forgeBox = pick({ x: 780, y: 170, w: 1000, h: 750 }, { x: 140, y: 280, w: 800, h: 696 });+const forge = makePanel('/marketing/motion-studio/assets/screens/forge.png', 1920, 1080,+ pick({ x: 60, y: 150, w: 960, h: 720 }, { x: 60, y: 150, w: 460, h: 400 }), forgeBox);+const forgeRing = ring(forge.card, forge.map({ x: 69, y: 162, w: 440, h: 172 }));+const forgeCap = el('div', 'abs head', { left: `${pick(100, MARGIN)}px`, top: `${pick(330, 1010)}px`, width: `${pick(560, W - MARGIN * 2)}px`, fontSize: `${pick(66, 92)}px` });+const forgeLines = ['Type a prompt.', 'Get a textured', '3D model.'].map((l) => {+ const line = el('div', '', { whiteSpace: 'nowrap' }, forgeCap);+ return words(line, l, '');+});+const forgeChip = el('div', 'abs chip', { left: `${pick(100, MARGIN)}px`, top: `${pick(660, 1500)}px`, fontSize: `${pick(26, 32)}px`, padding: `${pick(14, 18)}px ${pick(26, 32)}px` });+forgeChip.innerHTML = '<i style="width:.6em;height:.6em"></i>Free · no sign-up';++const marketBox = pick({ x: 210, y: 500, w: 1500, h: 395 }, { x: 190, y: 560, w: 700, h: 525 });+const market = makePanel('/marketing/motion-studio/assets/screens/marketplace.png', 1920, 1080,+ pick({ x: 270, y: 340, w: 1440, h: 380 }, { x: 285, y: 352, w: 460, h: 345 }), marketBox);+const marketRing = ring(market.card, market.map({ x: 289, y: 358, w: 448, h: 338 }));+const marketCap = el('div', 'abs head', { left: `${pick(330, MARGIN)}px`, top: `${pick(250, 1180)}px`, fontSize: `${pick(104, 100)}px`, width: `${pick(1400, W - MARGIN * 2)}px` });+// Landscape sets the caption on one line above the panel, portrait on two.+const marketLines = (P ? ['Share it in', 'the marketplace.'] : ['Share it in the marketplace.']).map((l) => {+ const line = el('div', '', { whiteSpace: 'nowrap' }, marketCap);+ return words(line, l, '');+});++/* ---------- S4 chips ---------- */+const chipDefs = ['Rigged', 'Animated', 'Embed with two lines of HTML'];+const chipBox = el('div', 'abs', { left: `${MARGIN + pick(20, 0)}px`, top: `${pick(400, 1380)}px`, display: 'flex', flexDirection: 'column', gap: `${pick(26, 30)}px`, alignItems: 'flex-start' });+const chipEls = chipDefs.map((label) => {+ const c = el('div', 'chip', { fontSize: `${pick(44, 40)}px`, padding: `${pick(24, 22)}px ${pick(42, 38)}px`, willChange: 'transform, opacity' }, chipBox);+ c.innerHTML = `<i style="width:.55em;height:.55em"></i>${label}`;+ return c;+});++/* ---------- S6 close ---------- */+const closeBlock = el('div', 'abs', { left: `${MARGIN}px`, top: `${pick(330, 1150)}px`, width: `${pick(900, W - MARGIN * 2)}px` });+const closeBrand = el('div', 'head', { fontSize: `${pick(146, 150)}px`, display: 'flex', alignItems: 'center', gap: '26px' }, closeBlock);+const closeMark = el('img', '', { height: `${pick(124, 126)}px`, width: 'auto' }, closeBrand);+closeMark.src = '/brand/three-ws-mark.png';+const closeWord = el('span', 'word', {}, closeBrand);+closeWord.textContent = 'three.ws';+const closeTag = el('div', 'head', { fontSize: `${pick(70, 76)}px`, marginTop: `${pick(34, 30)}px`, color: '#b8b8c2' }, closeBlock);+const closeTagW = words(closeTag, 'Give your AI a body.', '');+const closeUrl = el('div', 'mono', { fontSize: `${pick(46, 50)}px`, marginTop: `${pick(44, 40)}px`, color: '#fff', display: 'inline-block' }, closeBlock);+closeUrl.innerHTML = 'three.ws/<span class="grad">forge</span>';+const closeUnder = el('div', '', { height: '4px', marginTop: '14px', background: 'linear-gradient(100deg,#ff9a56,#ff5fa2 55%,#8b6cff)', transformOrigin: '0 50%' }, closeBlock);+closeUnder.style.width = `${pick(430, 470)}px`;++/* ---------- 3D body: the real avatar file, driven by t ---------- */+const canvas = document.getElementById('gl');+canvas.width = W;+canvas.height = H;+const renderer = new THREE.WebGLRenderer({ canvas, alpha: true, antialias: true, preserveDrawingBuffer: true });+renderer.setPixelRatio(1);+renderer.setSize(W, H, false);+renderer.outputColorSpace = THREE.SRGBColorSpace;+renderer.toneMapping = THREE.ACESFilmicToneMapping;+renderer.toneMappingExposure = 1.05;+const scene = new THREE.Scene();+const camera = new THREE.PerspectiveCamera(26, W / H, 0.05, 100);+scene.add(new THREE.HemisphereLight(0xbfc4ff, 0x1a1020, 0.55));+const key = new THREE.DirectionalLight(0xffd9bd, 3.0);+key.position.set(2.2, 3.0, 3.4);+scene.add(key);+const rim = new THREE.DirectionalLight(0x8b6cff, 3.4);+rim.position.set(-3.2, 2.2, -2.6);+scene.add(rim);+const rim2 = new THREE.DirectionalLight(0xff5fa2, 1.8);+rim2.position.set(3.4, 1.0, -3.0);+scene.add(rim2);+const pivot = new THREE.Group();+scene.add(pivot);+let mixer = null;+let clipDuration = 1;+let modelHeight = 1;++async function loadAvatar() {+ const loader = new GLTFLoader();+ loader.setMeshoptDecoder(MeshoptDecoder);+ const gltf = await loader.loadAsync('/avatars/michelle.glb');+ const model = gltf.scene;+ pivot.add(model);+ model.updateMatrixWorld(true);+ const box = new THREE.Box3().setFromObject(model);+ const size = box.getSize(new THREE.Vector3());+ const center = box.getCenter(new THREE.Vector3());+ model.position.sub(center);+ modelHeight = size.y;+ const fill = pick(0.7, 0.5);+ const dist = modelHeight / fill / (2 * Math.tan(THREE.MathUtils.degToRad(camera.fov / 2)));+ camera.position.set(0, 0, dist);+ camera.lookAt(0, 0, 0);+ if (gltf.animations.length) {+ const clip = gltf.animations.find((c) => /dance/i.test(c.name)) || gltf.animations.find((c) => !/idle/i.test(c.name)) || gltf.animations[0];+ mixer = new THREE.AnimationMixer(model);+ const action = mixer.clipAction(clip);+ action.play();+ clipDuration = clip.duration;+ window.__avatarClip = { name: clip.name, duration: clip.duration, all: gltf.animations.map((c) => c.name) };+ }+}++/* ---------- avatar choreography ---------- */+const POSE_A = pick({ x: 0.235, y: 0.01, s: 1.0 }, { x: 0, y: -0.19, s: 0.86 });+const POSE_ALIVE = pick({ x: 0.2, y: -0.02, s: 1.1 }, { x: 0, y: -0.12, s: 0.92 });+function avatarState(t) {+ const rise = 0.1;+ const enter = (t0, t1, pose) => outCubic(prog(t, t0, t1));+ const out = (t0, t1) => inCubic(prog(t, t0, t1));+ let st = { op: 0, x: POSE_A.x, y: POSE_A.y, s: POSE_A.s };+ const place = (pose, e, o) => ({+ op: e * (1 - o),+ x: pose.x,+ y: pose.y + (1 - e) * rise - o * 0.08,+ s: pose.s * (0.92 + 0.08 * e) * (1 - 0.06 * o),+ });+ if (t < BEATS.forgeIn) {+ st = place(POSE_A, enter(BEATS.reveal, BEATS.reveal + 0.9), out(BEATS.forgeIn - 0.1, BEATS.forgeIn + 0.45));+ } else if (t < BEATS.aliveIn - 0.01) {+ st = { ...st, op: 0 };+ } else if (t < BEATS.close) {+ st = place(POSE_ALIVE, enter(BEATS.aliveIn, BEATS.aliveIn + 0.8), out(BEATS.aliveOut, BEATS.aliveOut + 0.4));+ } else {+ st = place(POSE_A, enter(BEATS.close, BEATS.close + 0.8), 0);+ }+ return st;+}++/* ---------- the frame function ---------- */+function render(t) {+ // Background: grid drifts slowly, bloom follows the body.+ grid.style.transform = `translate(${-(t * 6) % 64}px, ${-(t * 3) % 64}px)`;+ const av = avatarState(t);+ const bloomSize = pick(980, 1100);+ bloom.style.width = bloom.style.height = `${bloomSize}px`;+ const bx = W / 2 + av.x * W - bloomSize / 2;+ const by = H / 2 + av.y * H - bloomSize / 2;+ bloom.style.transform = `translate(${bx}px, ${by}px) scale(${0.85 + 0.15 * av.op})`;+ bloom.style.opacity = av.op * 0.9;++ // 3D body+ canvas.style.opacity = av.op;+ canvas.style.visibility = av.op <= 0.001 ? 'hidden' : 'visible';+ if (av.op > 0.001) {+ camera.zoom = av.s;+ camera.setViewOffset(W, H, -av.x * W, -av.y * H, W, H);+ camera.updateProjectionMatrix();+ pivot.rotation.y = 0.2 + t * THREE.MathUtils.degToRad(18);+ if (mixer) mixer.setTime((t * 0.9) % clipDuration);+ renderer.render(scene, camera);+ }++ // S1 hook+ const typedCount = clamp(Math.floor((t - TYPED.start) / TYPED.perChar) + 1, 0, TYPED.text.length);+ typedText.textContent = TYPED.text.slice(0, typedCount);+ const caretOn = t < TYPED.start + TYPED.text.length * TYPED.perChar + 0.1 ? true : Math.floor(t * 2) % 2 === 0;+ caret.style.opacity = t < TYPED.start ? (Math.floor(t * 2) % 2 === 0 ? 1 : 0) : caretOn ? 1 : 0;+ const nb = spring(t - BEATS.noBody, 0.62, 16);+ noBody.style.opacity = t >= BEATS.noBody ? Math.min(1, (t - BEATS.noBody) / 0.08) : 0;+ noBody.style.transform = `translateY(${(1 - nb) * 34}px) scale(${0.96 + 0.04 * nb})`;+ noBody.style.transformOrigin = '0 50%';+ const hookOut = inCubic(prog(t, 2.05, 2.5));+ hookBlock.style.opacity = 1 - hookOut;+ hookBlock.style.transform = `translateY(${-hookOut * 60}px)`;+ hookBlock.style.visibility = hookOut >= 1 ? 'hidden' : 'visible';++ // S2 headline+ revealWords(hl1w, t, BEATS.reveal + 0.15);+ revealWords(hl2w, t, BEATS.reveal + 0.15 + 0.28);+ const headOut = inCubic(prog(t, BEATS.forgeIn - 0.1, BEATS.forgeIn + 0.35));+ const headIn = t >= BEATS.close;+ if (!headIn) {+ headBlock.style.opacity = 1 - headOut;+ headBlock.style.transform = `translateX(${-headOut * 120}px)`;+ headBlock.style.visibility = t < BEATS.reveal || headOut >= 1 ? 'hidden' : 'visible';+ } else {+ headBlock.style.visibility = 'hidden';+ }++ // S3 forge panel+ panelState(forge, t, BEATS.forgeIn, BEATS.forgeSettle, BEATS.forgeOut, +1);+ const fr = prog(t, BEATS.forgeSettle + 0.2, BEATS.forgeSettle + 0.7) * (1 - prog(t, BEATS.forgeOut - 0.4, BEATS.forgeOut));+ forgeRing.style.opacity = fr;+ forgeRing.style.transform = `scale(${0.96 + 0.04 * outExpo(prog(t, BEATS.forgeSettle + 0.2, BEATS.forgeSettle + 0.7))})`;+ const fcOut = inCubic(prog(t, BEATS.forgeOut - 0.2, BEATS.forgeOut + 0.2));+ forgeCap.style.visibility = t < BEATS.forgeIn + 0.1 || fcOut >= 1 ? 'hidden' : 'visible';+ forgeCap.style.opacity = 1 - fcOut;+ forgeLines.forEach((ws, i) => revealWords(ws, t, BEATS.forgeIn + 0.2 + i * 0.28));+ const chipT = BEATS.forgeIn + 1.15;+ const ce = spring(t - chipT, 0.55, 20);+ forgeChip.style.visibility = t < chipT || fcOut >= 1 ? 'hidden' : 'visible';+ forgeChip.style.opacity = Math.min(1, (t - chipT) / 0.1) * (1 - fcOut);+ forgeChip.style.transform = `translateY(${(1 - ce) * 24}px) scale(${0.9 + 0.1 * ce})`;++ // S4 chips+ chipEls.forEach((c, i) => {+ const at = BEATS.chips[i];+ const e = spring(t - at, 0.55, 22);+ const out = inCubic(prog(t, BEATS.aliveOut - 0.1 + i * 0.05, BEATS.aliveOut + 0.3 + i * 0.05));+ c.style.visibility = t < at || out >= 1 ? 'hidden' : 'visible';+ c.style.opacity = Math.min(1, Math.max(0, (t - at) / 0.08)) * (1 - out);+ c.style.transform = `translateX(${(1 - e) * -60}px) scale(${0.92 + 0.08 * e})`;+ c.style.transformOrigin = '0 50%';+ });++ // S5 marketplace panel+ panelState(market, t, BEATS.marketIn, BEATS.marketSettle, BEATS.marketOut, -1);+ const mr = prog(t, BEATS.marketSettle + 0.1, BEATS.marketSettle + 0.6) * (1 - prog(t, BEATS.marketOut - 0.35, BEATS.marketOut));+ marketRing.style.opacity = mr;+ marketRing.style.transform = `scale(${0.96 + 0.04 * outExpo(prog(t, BEATS.marketSettle + 0.1, BEATS.marketSettle + 0.6))})`;+ const mcOut = inCubic(prog(t, BEATS.marketOut - 0.2, BEATS.marketOut + 0.2));+ marketCap.style.visibility = t < BEATS.marketIn + 0.1 || mcOut >= 1 ? 'hidden' : 'visible';+ marketCap.style.opacity = 1 - mcOut;+ marketLines.forEach((ws, i) => revealWords(ws, t, BEATS.marketIn + 0.2 + i * 0.25));++ // S6 close+ const showClose = t >= BEATS.close;+ closeBlock.style.visibility = showClose ? 'visible' : 'hidden';+ if (showClose) {+ const m = spring(t - BEATS.close, 0.8, 14);+ closeMark.style.opacity = Math.min(1, (t - BEATS.close) / 0.15);+ closeMark.style.transform = `scale(${0.7 + 0.3 * m}) rotate(${(1 - m) * -40}deg)`;+ revealWords([closeWord], t, BEATS.close + 0.1);+ revealWords(closeTagW, t, BEATS.close + 0.45, { stagger: 0.09 });+ const u = spring(t - BEATS.finalHit, 0.55, 18);+ closeUrl.style.opacity = t >= BEATS.finalHit ? Math.min(1, (t - BEATS.finalHit) / 0.08) : 0;+ closeUrl.style.transform = `translateY(${(1 - u) * 22}px)`;+ closeUnder.style.transform = `scaleX(${outExpo(prog(t, BEATS.finalHit + 0.05, BEATS.finalHit + 0.6))})`;+ }+}++// Panels enter on a turn that resolves with a controlled settle, then leave fast.+function panelState(panel, t, tIn, tSettle, tOut, dir) {+ const e = spring((t - tIn) / (tSettle - tIn), 1, 6.2);+ const out = inCubic(prog(t, tOut - 0.35, tOut));+ const visible = t >= tIn && out < 1;+ panel.wrap.style.visibility = visible ? 'visible' : 'hidden';+ panel.wrap.style.opacity = Math.min(1, Math.max(0, (t - tIn) / 0.18)) * (1 - out);+ const yaw = dir * lerp(16, 4, e) + dir * out * 6;+ const pitch = lerp(5, 2, e);+ const z = lerp(-420, 0, e) - out * 200;+ const x = lerp(dir * 140, 0, e) + dir * out * 80;+ const drift = Math.sin((t - tIn) * 0.9) * 0.6;+ panel.card.style.transform = `translate3d(${x}px, ${out * 30}px, ${z}px) rotateY(${yaw - drift * dir}deg) rotateX(${pitch}deg)`;+}++window.__seek = (t) => render(clamp(t, 0, DURATION));+window.__format = { name: FORMAT, W, H };+window.__ready = (async () => {+ await Promise.all([+ document.fonts.load('700 100px "Space Grotesk"'),+ document.fonts.load('500 40px "JetBrains Mono"'),+ document.fonts.load('500 40px "Inter"'),+ ...[...document.images].map((i) => (i.complete ? null : i.decode().catch(() => null))),+ loadAvatar(),+ ]);+ await document.fonts.ready;+ render(0);+ return true;+})();diff --git a/marketing/motion-studio/src/contact-sheet.mjs b/marketing/motion-studio/src/contact-sheet.mjsnew file mode 100644index 000000000..416577913--- /dev/null+++ b/marketing/motion-studio/src/contact-sheet.mjs@@ -0,0 +1,22 @@+#!/usr/bin/env node+// node contact-sheet.mjs <stillsDir> <outFile> [cols] [thumbWidth]+// Tiles every PNG in a directory, labelled with its timestamp, into one image.+import sharp from 'sharp';+import { readdirSync } from 'node:fs';+import path from 'node:path';++const [dir, out, colsArg = '4', widthArg = '640'] = process.argv.slice(2);+const cols = Number(colsArg);+const tw = Number(widthArg);+const files = readdirSync(dir).filter((f) => f.endsWith('.png')).sort();+const meta = await sharp(path.join(dir, files[0])).metadata();+const th = Math.round((tw * meta.height) / meta.width);+const rows = Math.ceil(files.length / cols);+const label = (name) => Buffer.from(`<svg xmlns="http://www.w3.org/2000/svg" width="${tw}" height="34"><rect width="100%" height="100%" fill="#000" opacity=".7"/><text x="10" y="24" font-family="monospace" font-size="20" fill="#fff">${name.replace(/\.png$/, '').replace(/^(\w+)-/, '$1 t=')}s</text></svg>`);+const tiles = await Promise.all(files.map(async (f, i) => ({+ input: await sharp(path.join(dir, f)).resize(tw, th).composite([{ input: label(f), top: 0, left: 0 }]).png().toBuffer(),+ left: (i % cols) * (tw + 6),+ top: Math.floor(i / cols) * (th + 6),+})));+await sharp({ create: { width: cols * (tw + 6), height: rows * (th + 6), channels: 3, background: '#222' } }).composite(tiles).png().toFile(out);+console.log('contact sheet', out, `${files.length} frames`);diff --git a/marketing/motion-studio/src/render.mjs b/marketing/motion-studio/src/render.mjsnew file mode 100644index 000000000..6431409d6--- /dev/null+++ b/marketing/motion-studio/src/render.mjs@@ -0,0 +1,129 @@+#!/usr/bin/env node+/**+ * Renders the film by asking the composition for one frame at a time.+ *+ * node marketing/motion-studio/src/render.mjs # both formats, with audio if out/audio.wav exists+ * node marketing/motion-studio/src/render.mjs --format=portrait+ * node marketing/motion-studio/src/render.mjs --stills=0.8,3.5,7 --format=landscape --dir=reviews/stills+ * node marketing/motion-studio/src/render.mjs --determinism # frame 240 rendered twice, hashes compared+ *+ * Every frame is window.__seek(t) followed by a screenshot. No recording, no+ * wall clock, so frame N never depends on frames before it.+ */+import { chromium } from 'playwright';+import http from 'node:http';+import { createHash } from 'node:crypto';+import { spawn } from 'node:child_process';+import { existsSync, mkdirSync, readFileSync, statSync, writeFileSync } from 'node:fs';+import path from 'node:path';+import { FPS, DURATION } from './timeline.js';++const ROOT = path.resolve(path.dirname(new URL(import.meta.url).pathname), '../../..');+const STUDIO = path.join(ROOT, 'marketing/motion-studio');+const args = Object.fromEntries(process.argv.slice(2).map((a) => {+ const m = a.match(/^--([^=]+)(?:=(.*))?$/);+ return m ? [m[1], m[2] ?? true] : [a, true];+}));+const formats = args.format && args.format !== 'both' ? [String(args.format)] : ['landscape', 'portrait'];+const OUT = path.resolve(STUDIO, 'out');+mkdirSync(OUT, { recursive: true });+const BROWSER_ARGS = ['--use-gl=angle', '--use-angle=swiftshader', '--enable-unsafe-swiftshader', '--ignore-gpu-blocklist', '--disable-gpu-compositing', '--disable-gpu-rasterization'];+const MIME = { '.html': 'text/html', '.js': 'text/javascript', '.mjs': 'text/javascript', '.css': 'text/css', '.json': 'application/json', '.png': 'image/png', '.jpg': 'image/jpeg', '.webp': 'image/webp', '.glb': 'model/gltf-binary', '.woff2': 'font/woff2', '.svg': 'image/svg+xml' };++function serve() {+ const server = http.createServer((req, res) => {+ const rel = decodeURIComponent(new URL(req.url, 'http://x').pathname);+ for (const base of [path.join(ROOT, 'public'), ROOT]) {+ const file = path.join(base, rel);+ if (!file.startsWith(base) || !existsSync(file) || !statSync(file).isFile()) continue;+ res.writeHead(200, { 'content-type': MIME[path.extname(file)] || 'application/octet-stream', 'cache-control': 'no-store' });+ return res.end(readFileSync(file));+ }+ res.writeHead(404).end('not found');+ });+ return new Promise((resolve) => server.listen(0, '127.0.0.1', () => resolve(server)));+}++function ffmpegBin() {+ const bundled = path.join(ROOT, 'node_modules/ffmpeg-static/ffmpeg');+ return existsSync(bundled) ? bundled : 'ffmpeg';+}++async function openFormat(browser, origin, format) {+ const portrait = format === 'portrait';+ const ctx = await browser.newContext({ viewport: { width: portrait ? 1080 : 1920, height: portrait ? 1920 : 1080 }, deviceScaleFactor: 1 });+ const page = await ctx.newPage();+ const errors = [];+ page.on('pageerror', (e) => errors.push(String(e)));+ page.on('console', (m) => { if (m.type() === 'error') errors.push(m.text()); });+ await page.goto(`${origin}/marketing/motion-studio/src/composition.html?format=${format}`, { waitUntil: 'load' });+ await page.evaluate(() => window.__ready);+ if (errors.length) throw new Error(`composition errors: ${errors.join(' | ')}`);+ return { ctx, page };+}++const server = await serve();+const origin = `http://127.0.0.1:${server.address().port}`;+const browser = await chromium.launch({ args: BROWSER_ARGS });+try {+ if (args.determinism) {+ const { ctx, page } = await openFormat(browser, origin, formats[0]);+ const hashes = [];+ for (const t of [8, 3, 8]) {+ await page.evaluate((x) => window.__seek(x), t);+ hashes.push(createHash('sha256').update(await page.screenshot()).digest('hex').slice(0, 16));+ }+ console.log('t=8 first :', hashes[0]);+ console.log('t=3 between:', hashes[1]);+ console.log('t=8 again :', hashes[2]);+ console.log(hashes[0] === hashes[2] ? 'DETERMINISTIC: frame 8s is byte-identical after seeking elsewhere' : 'NOT DETERMINISTIC');+ await ctx.close();+ process.exitCode = hashes[0] === hashes[2] ? 0 : 1;+ } else if (args.stills) {+ const dir = path.resolve(STUDIO, String(args.dir || 'reviews/stills'));+ mkdirSync(dir, { recursive: true });+ for (const format of formats) {+ const { ctx, page } = await openFormat(browser, origin, format);+ for (const t of String(args.stills).split(',').map(Number)) {+ await page.evaluate((x) => window.__seek(x), t);+ const file = path.join(dir, `${format}-${t.toFixed(2).padStart(5, '0')}.png`);+ writeFileSync(file, await page.screenshot());+ console.log('still', path.relative(ROOT, file));+ }+ console.log('avatar clip', JSON.stringify(await page.evaluate(() => window.__avatarClip)));+ await ctx.close();+ }+ } else {+ const audio = path.join(OUT, 'audio.wav');+ const total = Math.round(DURATION * FPS);+ for (const format of formats) {+ const { ctx, page } = await openFormat(browser, origin, format);+ const file = path.join(OUT, `give-your-ai-a-body-${format === 'portrait' ? '9x16' : '16x9'}.mp4`);+ const ff = spawn(ffmpegBin(), [+ '-y', '-hide_banner', '-loglevel', 'error',+ '-f', 'image2pipe', '-framerate', String(FPS), '-c:v', 'png', '-i', '-',+ ...(existsSync(audio) ? ['-i', audio] : []),+ '-c:v', 'libx264', '-preset', 'slow', '-crf', '15', '-pix_fmt', 'yuv420p', '-r', String(FPS), '-movflags', '+faststart',+ ...(existsSync(audio) ? ['-c:a', 'aac', '-b:a', '192k', '-shortest'] : ['-an']),+ file,+ ], { stdio: ['pipe', 'inherit', 'inherit'] });+ const done = new Promise((resolve, reject) => { ff.on('close', (c) => (c === 0 ? resolve() : reject(new Error(`ffmpeg exited ${c}`)))); ff.on('error', reject); });+ const started = Date.now();+ for (let f = 0; f < total; f++) {+ await page.evaluate((x) => window.__seek(x), f / FPS);+ const png = await page.screenshot({ type: 'png' });+ if (!ff.stdin.write(png)) await new Promise((r) => ff.stdin.once('drain', r));+ if (f % 60 === 0) console.log(`[${format}] frame ${f}/${total} (${((Date.now() - started) / 1000).toFixed(0)}s)`);+ }+ ff.stdin.end();+ await done;+ await page.evaluate(() => window.__seek(16.9));+ writeFileSync(path.join(OUT, `give-your-ai-a-body-${format === 'portrait' ? '9x16' : '16x9'}-poster.png`), await page.screenshot());+ console.log(`[${format}] wrote ${path.relative(ROOT, file)} in ${((Date.now() - started) / 1000).toFixed(0)}s`);+ await ctx.close();+ }+ }+} finally {+ await browser.close();+ server.close();+}diff --git a/marketing/motion-studio/src/timeline.js b/marketing/motion-studio/src/timeline.jsnew file mode 100644index 000000000..1dc4925b7--- /dev/null+++ b/marketing/motion-studio/src/timeline.js@@ -0,0 +1,29 @@+// The one timeline. The composition reads it for picture, audio.mjs reads it+// for sound, and render.mjs reads it for duration, so a cue can never drift+// from the frame it belongs to. Times are seconds.++export const FPS = 30;+export const DURATION = 17;++export const TYPED = { text: 'Your AI has a brain.', start: 0.2, perChar: 0.05 };++export const BEATS = {+ noBody: 1.55,+ reveal: 2.4,+ forgeIn: 4.8,+ forgeSettle: 6.0,+ forgeOut: 8.1,+ aliveIn: 8.4,+ chips: [9.6, 10.2, 10.8],+ aliveOut: 11.7,+ marketIn: 12.0,+ marketSettle: 13.0,+ marketOut: 14.2,+ close: 14.4,+ finalHit: 14.9,+};++// Time each typed character lands, shared with the audio ticks.+export function typedTimes() {+ return [...TYPED.text].map((_, i) => TYPED.start + i * TYPED.perChar);+}diff --git a/marketing/motion-studio/style-guide.md b/marketing/motion-studio/style-guide.mdnew file mode 100644index 000000000..0e9a3fda8--- /dev/null+++ b/marketing/motion-studio/style-guide.md@@ -0,0 +1,34 @@+# Style guide++Written from the product itself (public/tokens.css, the home page, the Forge page), not from a competitor's film.++PALETTE+Stage: #0a0a0b. Panels: #111113 with a 1px #26262a stroke. Ink: #ffffff, secondary #9a9aa3, faint #5c5c66.+Accent: linear-gradient(100deg, #ff9a56, #ff5fa2 55%, #8b6cff), the "Forge it" gradient. Used only on the one word or element the eye should land on in a beat.++TYPE+Headlines: Space Grotesk 700, tight tracking (-0.035em), 1.0 line height. 16:9 scale 132px, 9:16 scale 148px.+System voice: JetBrains Mono 500, uppercase tracking for chips, normal case for the typed line.+Body: Inter 500.++COMPOSITION+One focal element per beat. 16:9 splits left (words) and right (subject). 9:16 stacks subject over words. 9:16 keeps all text inside the vertical safe band (top 190px and bottom 300px stay clear of X chrome).++PACING+A meaningful change at least every 1.1 seconds, never more than two things moving at once. Holds are at least 0.9 seconds so a headline can be read at phone size.++MOTION RULES BY OBJECT CLASS+Micro (chips, carets): quick, one small overshoot, 0.28 s.+Panels (product screens): critically damped settle, 0.9 s, entering with a 14 degree turn that resolves to 4.+Camera (3D body): continuous slow orbit, no easing, never faster than 22 degrees a second.+Headlines: strong ease-out-expo entrance, 0.55 s, then perfectly still.+Body (3D avatar): its own baked clip, driven by the film clock, never real time.++TEXTURE+A 64px grid at 3.5% white and a soft accent bloom behind the subject. No grain, no glass.++BANNED DEFAULTS+Everything fades in from nothing at the same speed. A gradient behind centered text. Logo-last as the only brand moment (the mark is on screen at second 0 as a small corner stamp). Stock "particles". Springs on everything.++DETERMINISM CONTRACT+frame = render(t). No Date.now, no requestAnimationFrame clock, no unseeded Math.random. The page exposes window.__seek(t) and nothing else advances it. Frame 240 renders without frames 0 to 239.diff --git a/pages/home.html b/pages/home.htmlindex f15fff659..7e48bceed 100644--- a/pages/home.html+++ b/pages/home.html@@ -128,10 +128,6 @@<a class="btn" href="#embed" data-cta="see_embed" data-cta-loc="hero" data-i18n="home.cta_embed">See the embed</a><a class="btn" href="/tour" id="hero-tour-start" data-cta="guided_tour" data-cta-loc="hero"><span aria-hidden="true">▶</span> <span data-i18n="common.take_tour">Take the tour</span></a></div>- <div class="hero-lang" style="margin-top:18px;display:flex;align-items:center;gap:8px;">- <span style="font-size:12px;color:var(--text-3);" data-i18n="common.language">Language</span>- <lang-switcher></lang-switcher>- </div></div><div class="hero-stage" id="hero-stage"><div class="hero-stage-inner" id="hero-stage-inner"></div>@@ -3536,6 +3532,10 @@ import { attendRotation } from '/src/shared/attended-rotation.js';<a href="/legal/tos" data-i18n="home.terms">Terms</a></div></nav>+ <div class="foot-lang">+ <span class="foot-lang-label" data-i18n="common.language">Language</span>+ <lang-switcher></lang-switcher>+ </div><div class="foot-inner"><div>© 2026 · three.ws · the 3D agent layer of the internet</div><button class="foot-ca" id="foot-ca-btn" title="Copy contract address" data-i18n-html="home.three_fembdox7r1psc4gecvjdsbnbza3bfztcydcatj" data-i18n-attr="title:home.copy_contract_address_title">diff --git a/public/changelog-recent.json b/public/changelog-recent.jsonindex ae015a1cb..ae7db9566 100644--- a/public/changelog-recent.json+++ b/public/changelog-recent.json@@ -1,14 +1,24 @@{- "generated_at": "2026-10-10T22:18:01.203Z",+ "generated_at": "2026-10-10T22:36:14.215Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws","url": "https://three.ws"},- "total": 3950,+ "total": 3957,"complete": false,"full_feed": "/changelog.json","entries": [+ {+ "date": "2026-10-13",+ "type": "launch",+ "title": "Docs · Staked Event Markets",+ "summary": "Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.",+ "link": "/docs/event-markets-staking",+ "tags": [+ "launch"+ ]+ },{"date": "2026-10-10","type": "launch",@@ -219,6 +229,26 @@"launch"]},+ {+ "date": "2026-10-10",+ "type": "launch",+ "title": "Event Markets forecasters: people and AI agents ranked",+ "summary": "Ranked forecasters on Event Markets, people and AI agents, by a conservative hit rate. Filter to agents only; free to play, points only.",+ "link": "/event-markets/forecasters",+ "tags": [+ "launch"+ ]+ },+ {+ "date": "2026-10-10",+ "type": "launch",+ "title": "Event Markets leaderboard: season rankings and rewards",+ "summary": "Season and all-time rankings for the best event forecasters. Right calls on long odds score the most; streaks, badges and $THREE season rewards.",+ "link": "/event-markets/leaderboard",+ "tags": [+ "launch"+ ]+ },{"date": "2026-10-10","type": "launch",@@ -374,6 +404,16 @@"security"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "AI agents now forecast Event Markets and build a public track record",+ "summary": "Agents can call a market as themselves, with a confidence, a rationale and evidence links, and the market page shows what each agent thinks under an Agent badge. Every agent profile gets its calls, hit rate, a calibration chart built from resolved markets only, and its best calls. A new forecasters page ranks people and agents, with an agents-only filter, and you can follow an agent to be notified when it calls. Owners can switch on autonomous forecasting per agent within a points budget, off by default and fully visible in the activity log. Assistants get event_market_analyze over MCP.",+ "link": "/event-markets/forecasters",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-10","type": "update",@@ -395,6 +435,16 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Calmer homepage first visit: one corner card at a time, full agent descriptions, language in the footer",+ "summary": "A first visit used to stack three cards in the bottom-right corner over the hero avatar. The search-shortcut hint now goes first and the \"Have you tried\" suggestion waits until it is dismissed. The Living agents cards show the whole description over two lines instead of cutting it off mid-word, and the language picker moved from the hero to the footer so the first screen holds only the Forge prompt and the three next steps.",+ "link": "/",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-10-10","type": "update",@@ -439,6 +489,16 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Event Markets leaderboard: seasons, streaks, badges and rewards",+ "summary": "Every resolved call now scores. A right call on long odds earns the most, a wrong call costs the stake, and your score never goes below zero. Rank by season or all time, filter by event type, and see your own row pinned. Earn badges for your first correct call, an upset, five in a row and a season top 10, shown on your profile. Season-end $THREE rewards are listed on the page; accounts that fail the fair-play checks still play but do not rank.",+ "link": "/event-markets/leaderboard",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-10","type": "update",@@ -449,6 +509,16 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Event Markets: odds that move while you watch",+ "summary": "Event market odds now update live. A pick in one browser moves the odds in everyone else's within about a second, with no refresh. The market page animates each change, the home page shows a live ticker of open markets with a pause control, and big swings (5 points or more within ten minutes) are flagged as moves. If the live connection drops, the page reconnects and catches up on its own, falls back to refreshing every few seconds, and says when you are offline. Picks stay anonymous: the feed shows counts, never who picked.",+ "link": "/event-markets",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-10","type": "update",@@ -1471,78 +1541,6 @@"fix","sdk"]- },- {- "date": "2026-10-01",- "type": "update",- "title": "Search the 3D asset catalog from any AI client without an account",- "summary": "Our docs said an AI client could connect to the main three.ws MCP server and search the ready-made asset catalog with no account, but adding that server makes the client ask you to sign in straight away, because most of its tools work on your own avatars and agents. The free studio server, three.ws/api/mcp-studio, now carries the same three catalog tools (search, item details and paste-ready code), so an AI client with no account can check the thousands of ready-made props, characters and motion clips before it generates anything. The docs, the find-3d-assets skill and the registry post now say which server to add, and the asset counts no longer go stale.",- "link": "/docs/mcp-studio",- "tags": [- "fix",- "docs"- ]- },- {- "date": "2026-10-01",- "type": "update",- "title": "The Holo Sticker corner now peels in one smooth curl",- "summary": "Peeling the corner of the Holo Sticker used to break the sticker apart: around a third of the way the curled edge showed stair steps, past 40% a shard stuck out, and at full peel the corner crumpled. The flat front and back of the sticker were made of a few long triangles with no points inside, so they could not bend where the fold crossed them. Both faces are now built from an even mesh of small triangles that share their edge exactly with the rim, so the corner rolls into a clean curl at every point of the slider, for every mark, every foil and any text you die-cut, holes in letters included.",- "link": "/holo",- "tags": [- "fix"- ]- },- {- "date": "2026-10-01",- "type": "update",- "title": "Trading agents stop leaking SOL on every trade and can now ride a runner",- "summary": "A full review of the autonomous trading fleet found the biggest loss was not bad trades: every buy opened a token account that no sale ever closed, stranding more SOL in rent than the agents lost trading. Agents now close it after every exit so the rent comes back. The take-initials ladder also works as designed now: once an agent has its stake back, the rest rides on its trailing stop with no clock and no early take-profit, instead of being sold on the next check. The crossing strategy no longer buys coins that have already graduated or sit on a dead curve, profit percentages are reported against the real stake, and the outcome labels that teach the Oracle are flowing again.",- "link": "/sniper/experiments",- "tags": [- "fix",- "improvement"- ]- },- {- "date": "2026-10-01",- "type": "update",- "title": "Trending and the agent directory show only real agents",- "summary": "A behind-the-scenes agent the platform uses to budget its marketplace chat bot was showing up in the public agent directory and sitting at number one on Trending, counted up by the bot's own conversations. It is no longer listed, and both lists now leave out any agent the platform runs for itself unless it has been deliberately published, so Trending ranks agents people actually talk to.",- "link": "/trending",- "tags": [- "fix"- ]- },- {- "date": "2026-09-30",- "type": "launch",- "title": "Docs · How we run and publish experiments",- "summary": "The six-section write-up template every three.ws experiment follows (question, method, spend, result, what we got wrong, what we changed), the data/experiments.json entry format, and the build check that enforces both.",- "link": "/docs/experiments",- "tags": [- "launch"- ]- },- {- "date": "2026-09-30",- "type": "launch",- "title": "Docs · Trader duels",- "summary": "How trader duels are generated from the rivalry engine, how calls lock, how a duel resolves from the realized P&L ledger (ties, empty windows, idle and private traders), points, XP, seasons, badges, the anti-abuse rules and the full API. Free to play; points have no cash value.",- "link": "/docs/trader-duels",- "tags": [- "launch"- ]- },- {- "date": "2026-09-30",- "type": "launch",- "title": "Experiment · Can autonomous agents trade new coins at a profit?",- "summary": "1,296 real trades by AI agents on Solana: 16.4% winners and a net loss of 0.5402 SOL on 9.1444 SOL deployed. Which exits made money, what the retune got wrong, and every query behind the numbers.",- "link": "/docs/experiments-autonomous-trading",- "tags": [- "launch"- ]}]}diff --git a/public/changelog.json b/public/changelog.jsonindex e4c6c5306..674ca58d2 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,11 +1,21 @@{- "generated_at": "2026-10-10T22:18:01.166Z",+ "generated_at": "2026-10-10T22:36:14.191Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws","url": "https://three.ws"},"entries": [+ {+ "date": "2026-10-13",+ "type": "launch",+ "title": "Docs · Staked Event Markets",+ "summary": "Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.",+ "link": "/docs/event-markets-staking",+ "tags": [+ "launch"+ ]+ },{"date": "2026-10-10","type": "launch",@@ -216,6 +226,26 @@"launch"]},+ {+ "date": "2026-10-10",+ "type": "launch",+ "title": "Event Markets forecasters: people and AI agents ranked",+ "summary": "Ranked forecasters on Event Markets, people and AI agents, by a conservative hit rate. Filter to agents only; free to play, points only.",+ "link": "/event-markets/forecasters",+ "tags": [+ "launch"+ ]+ },+ {+ "date": "2026-10-10",+ "type": "launch",+ "title": "Event Markets leaderboard: season rankings and rewards",+ "summary": "Season and all-time rankings for the best event forecasters. Right calls on long odds score the most; streaks, badges and $THREE season rewards.",+ "link": "/event-markets/leaderboard",+ "tags": [+ "launch"+ ]+ },{"date": "2026-10-10","type": "launch",@@ -371,6 +401,16 @@"security"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "AI agents now forecast Event Markets and build a public track record",+ "summary": "Agents can call a market as themselves, with a confidence, a rationale and evidence links, and the market page shows what each agent thinks under an Agent badge. Every agent profile gets its calls, hit rate, a calibration chart built from resolved markets only, and its best calls. A new forecasters page ranks people and agents, with an agents-only filter, and you can follow an agent to be notified when it calls. Owners can switch on autonomous forecasting per agent within a points budget, off by default and fully visible in the activity log. Assistants get event_market_analyze over MCP.",+ "link": "/event-markets/forecasters",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-10","type": "update",@@ -392,6 +432,16 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Calmer homepage first visit: one corner card at a time, full agent descriptions, language in the footer",+ "summary": "A first visit used to stack three cards in the bottom-right corner over the hero avatar. The search-shortcut hint now goes first and the \"Have you tried\" suggestion waits until it is dismissed. The Living agents cards show the whole description over two lines instead of cutting it off mid-word, and the language picker moved from the hero to the footer so the first screen holds only the Forge prompt and the three next steps.",+ "link": "/",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-10-10","type": "update",@@ -436,6 +486,16 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Event Markets leaderboard: seasons, streaks, badges and rewards",+ "summary": "Every resolved call now scores. A right call on long odds earns the most, a wrong call costs the stake, and your score never goes below zero. Rank by season or all time, filter by event type, and see your own row pinned. Earn badges for your first correct call, an upset, five in a row and a season top 10, shown on your profile. Season-end $THREE rewards are listed on the page; accounts that fail the fair-play checks still play but do not rank.",+ "link": "/event-markets/leaderboard",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-10","type": "update",@@ -446,6 +506,16 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Event Markets: odds that move while you watch",+ "summary": "Event market odds now update live. A pick in one browser moves the odds in everyone else's within about a second, with no refresh. The market page animates each change, the home page shows a live ticker of open markets with a pause control, and big swings (5 points or more within ten minutes) are flagged as moves. If the live connection drops, the page reconnects and catches up on its own, falls back to refreshing every few seconds, and says when you are offline. Picks stay anonymous: the feed shows counts, never who picked.",+ "link": "/event-markets",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-10","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 46e294f16..cad5a93cb 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -6,6 +6,14 @@<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/><description>What's new on three.ws: features, improvements, and releases, newest first.</description><language>en</language>+ <item>+ <title>Docs · Staked Event Markets</title>+ <link>https://three.ws/docs/event-markets-staking</link>+ <guid isPermaLink="false">2026-10-13:Docs · Staked Event Markets</guid>+ <pubDate>Tue, 13 Oct 2026 12:00:00 GMT</pubDate>+ <category>launch</category>+ <description>Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.</description>+ </item><item><title>Agent Commerce</title><link>https://three.ws/commerce</link>@@ -174,6 +182,22 @@<category>launch</category><description>One Event Market: entrants with live odds, odds over time, the lock countdown, how it resolves, and your pick. Opened from a shared /event-markets/<slug> link.</description></item>+ <item>+ <title>Event Markets forecasters: people and AI agents ranked</title>+ <link>https://three.ws/event-markets/forecasters</link>+ <guid isPermaLink="false">2026-10-10:Event Markets forecasters: people and AI agents ranked</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>launch</category>+ <description>Ranked forecasters on Event Markets, people and AI agents, by a conservative hit rate. Filter to agents only; free to play, points only.</description>+ </item>+ <item>+ <title>Event Markets leaderboard: season rankings and rewards</title>+ <link>https://three.ws/event-markets/leaderboard</link>+ <guid isPermaLink="false">2026-10-10:Event Markets leaderboard: season rankings and rewards</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>launch</category>+ <description>Season and all-time rankings for the best event forecasters. Right calls on long odds score the most; streaks, badges and $THREE season rewards.</description>+ </item><item><title>Event Markets: call the winner of every three.ws event</title><link>https://three.ws/event-markets</link>@@ -294,6 +318,14 @@<category>feature</category><description>Every agent can now have an email address on agents.three.ws, with an inbox right on its profile (the Mail button). It can send, read, reply in thread, search and delete, from the web, the API, or any MCP client. Nothing is created or sent until you have seen the exact recipients and message and said yes. You can limit an agent to a list of recipients and a daily number of sends, and only you, signed in, can change those limits. Mail an agent receives is always treated as information, never as orders: hidden characters are shown, links are disabled, and the agent is told not to follow anything inside it. Rules let you turn incoming mail into work, such as "when mail arrives from this sender, summarize it", either right away or after you approve.</description></item>+ <item>+ <title>AI agents now forecast Event Markets and build a public track record</title>+ <link>https://three.ws/event-markets/forecasters</link>+ <guid isPermaLink="false">2026-10-10:AI agents now forecast Event Markets and build a public track record</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Agents can call a market as themselves, with a confidence, a rationale and evidence links, and the market page shows what each agent thinks under an Agent badge. Every agent profile gets its calls, hit rate, a calibration chart built from resolved markets only, and its best calls. A new forecasters page ranks people and agents, with an agents-only filter, and you can follow an agent to be notified when it calls. Owners can switch on autonomous forecasting per agent within a points budget, off by default and fully visible in the activity log. Assistants get event_market_analyze over MCP.</description>+ </item><item><title>Approve or deny your agent's requests from Telegram and Discord</title><link>https://three.ws/approvals</link>@@ -310,6 +342,14 @@<category>feature</category><description>Set any agent spend rule to Ask me and the agent now waits for your yes instead of failing. You get a notification with the recipient, amount, token and network spelled out, and can approve or deny right from it, from email, or from the new Approvals inbox. Approving runs exactly what you were shown, once; denying or letting it expire runs nothing. You can also create auto-approve rules for small swaps and transfers to addresses you have paid before, and revoke them any time.</description></item>+ <item>+ <title>Calmer homepage first visit: one corner card at a time, full agent descriptions, language in the footer</title>+ <link>https://three.ws/</link>+ <guid isPermaLink="false">2026-10-10:Calmer homepage first visit: one corner card at a time, full agent descriptions, language in the footer</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>A first visit used to stack three cards in the bottom-right corner over the hero avatar. The search-shortcut hint now goes first and the "Have you tried" suggestion waits until it is dismissed. The Living agents cards show the whole description over two lines instead of cutting it off mid-word, and the language picker moved from the hero to the footer so the first screen holds only the Forge prompt and the three next steps.</description>+ </item><item><title>Coin logos, agent art and IPFS images load again</title><link>https://three.ws/launches</link>@@ -342,6 +382,14 @@<category>feature</category><description>Browse live, closing-soon and resolved markets, open any market to see every entrant's odds, the odds over time, the lock countdown and how it resolves, then make your call without leaving the page. Each market has a live share card showing the question, the top entrants and the time left, a per-entrant version for challenging a friend, and entry points from the Arena, event pages, launches and the home page.</description></item>+ <item>+ <title>Event Markets leaderboard: seasons, streaks, badges and rewards</title>+ <link>https://three.ws/event-markets/leaderboard</link>+ <guid isPermaLink="false">2026-10-10:Event Markets leaderboard: seasons, streaks, badges and rewards</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Every resolved call now scores. A right call on long odds earns the most, a wrong call costs the stake, and your score never goes below zero. Rank by season or all time, filter by event type, and see your own row pinned. Earn badges for your first correct call, an upset, five in a row and a season top 10, shown on your profile. Season-end $THREE rewards are listed on the page; accounts that fail the fair-play checks still play but do not rank.</description>+ </item><item><title>Event Markets now settle themselves from our own data</title><link>https://three.ws/event-markets</link>@@ -350,6 +398,14 @@<category>feature</category><description>When an Arena tournament, event, launch cohort, build round or bounty finishes, its market resolves on its own from three.ws records and shows exactly what it read: the standings, the values, the timestamps. Ties, events with no data and cancelled events end in a void with every pick refunded, and a market whose source never answers is voided after a documented timeout. Admin corrections need a written reason that is shown on the market page.</description></item>+ <item>+ <title>Event Markets: odds that move while you watch</title>+ <link>https://three.ws/event-markets</link>+ <guid isPermaLink="false">2026-10-10:Event Markets: odds that move while you watch</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Event market odds now update live. A pick in one browser moves the odds in everyone else's within about a second, with no refresh. The market page animates each change, the home page shows a live ticker of open markets with a pause control, and big swings (5 points or more within ten minutes) are flagged as moves. If the live connection drops, the page reconnects and catches up on its own, falls back to refreshing every few seconds, and says when you are offline. Picks stay anonymous: the feed shows counts, never who picked.</description>+ </item><item><title>Event Markets: pick the winner of any event, free</title><link>https://three.ws/event-markets</link>diff --git a/public/feature-discovery.js b/public/feature-discovery.jsindex 1e261bb10..725542f42 100644--- a/public/feature-discovery.js+++ b/public/feature-discovery.js@@ -44,6 +44,7 @@// ── localStorage keys (threews:fd:* namespace) ─────────────────────────────var K_VISITED = 'threews:fd:visited'; // routes the user has opened (array)var K_TRIED = 'threews:fd:tried'; // dismissed "have you tried" prompts (map)+ var HINT_RECHECK_MS = 8000; // re-check while the search hint still holds the cornervar REVEAL_DELAY_MS = 6500; // let the page settle before suggesting// Owned by the Walk Companion (walk-sdk config keys.enabled), read-only here.var K_WALK_ENABLED = 'walk:companion:enabled';@@ -397,6 +398,14 @@function showPassivePrompt() {if (_card) return; // a contextual card already took the slotif (alreadyPromptedThisSession()) return;+ // One ambient chip at a time. A first visit already carries the "Getting+ // started" pill and the search-shortcut hint in the corner; adding a third+ // card on top of the hero buries the page. Wait for the hint to be seen+ // or dismissed (it never returns), then suggest.+ if (document.querySelector('.tws-atlas-hint')) {+ _revealTimer = setTimeout(showPassivePrompt, HINT_RECHECK_MS);+ return;+ }// When the companion agent is live it owns ambient discovery (it greets,// narrates, and reacts to ⌘K commands) — don't stack a competing toast in// the same corner. Contextual after-action cross-links still show.diff --git a/public/features.json b/public/features.jsonindex 7b2708a3d..172782867 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-10-10T22:18:01.151Z",+ "generated_at": "2026-10-10T22:36:14.180Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",@@ -2389,6 +2389,26 @@"tags": [],"showcase": false},+ {+ "path": "/event-markets/leaderboard",+ "title": "Event Markets leaderboard: season rankings and rewards",+ "description": "Season and all-time rankings for the best event forecasters. Right calls on long odds score the most; streaks, badges and $THREE season rewards.",+ "added": "2026-10-10",+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/event-markets/forecasters",+ "title": "Event Markets forecasters: people and AI agents ranked",+ "description": "Ranked forecasters on Event Markets, people and AI agents, by a conservative hit rate. Filter to agents only; free to play, points only.",+ "added": "2026-10-10",+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },{"path": "/event-markets/view","title": "Event market",@@ -5080,6 +5100,16 @@"tags": [],"showcase": false},+ {+ "path": "/docs/event-markets-staking",+ "title": "Docs · Staked Event Markets",+ "description": "Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.",+ "added": "2026-10-13",+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },{"path": "/docs/x402","title": "Docs · x402 Protocol",diff --git a/public/home.css b/public/home.cssindex f49d4f03d..f2563ca9b 100644--- a/public/home.css+++ b/public/home.css@@ -936,9 +936,13 @@letter-spacing: -0.015em; margin: 0 0 3px;white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}+ /* A description is prose, not a label: sentence case, wrapped to two+ lines and ended with a real ellipsis instead of being cut mid-word. */.showcase-card-sub {- font-family: var(--font-mono); font-size: 10px; color: var(--text-3);- letter-spacing: 0.08em; text-transform: uppercase;+ font-family: var(--font-body, inherit); font-size: 12px; line-height: 1.4;+ color: var(--text-2, var(--text-3));+ display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;+ line-clamp: 2; overflow: hidden; text-wrap: pretty;}.showcase-card-tag {position: absolute; top: 12px; left: 12px; z-index: 4;@@ -1212,6 +1216,10 @@@media (max-width: 460px) {.foot-cols { grid-template-columns: 1fr 1fr; }}+ .foot-lang {+ display: flex; align-items: center; gap: 8px;+ margin-bottom: 20px; font-size: 12px; color: var(--text-3);+ }.foot-inner {display: flex; justify-content: space-between; align-items: center;gap: 20px; flex-wrap: wrap;diff --git a/public/llms-full.txt b/public/llms-full.txtindex fab982dae..17dc806a8 100644--- a/public/llms-full.txt+++ b/public/llms-full.txt@@ -1422,6 +1422,18 @@ URL: https://three.ws/event-marketsLive, closing-soon and resolved markets for every three.ws event. Free-to-play points, crowd-set odds, and shareable cards for each call.+### Event Markets leaderboard: season rankings and rewards++URL: https://three.ws/event-markets/leaderboard++Season and all-time rankings for the best event forecasters. Right calls on long odds score the most; streaks, badges and $THREE season rewards.++### Event Markets forecasters: people and AI agents ranked++URL: https://three.ws/event-markets/forecasters++Ranked forecasters on Event Markets, people and AI agents, by a conservative hit rate. Filter to agents only; free to play, points only.+### Event marketURL: https://three.ws/event-markets/view@@ -3061,6 +3073,12 @@ URL: https://three.ws/docs/event-marketsFree-to-play prediction markets over three.ws events: how markets open, how they resolve from our own data with stored evidence, and how points are scored.+### Docs · Staked Event Markets++URL: https://three.ws/docs/event-markets-staking++Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.+### Docs · x402 ProtocolURL: https://three.ws/docs/x402diff --git a/public/llms.txt b/public/llms.txtindex 93ad01c0f..cca38af0d 100644--- a/public/llms.txt+++ b/public/llms.txt@@ -99,6 +99,6 @@ Machine-readable entry points. Fetch these instead of scraping HTML.## Optional-- [llms-full.txt](https://three.ws/llms-full.txt): Every public page (972), grouped by section, with full descriptions.+- [llms-full.txt](https://three.ws/llms-full.txt): Every public page (975), grouped by section, with full descriptions.- [Sitemap](https://three.ws/sitemap): The same index for people, with search.- [sitemap.xml](https://three.ws/sitemap.xml): XML sitemap for crawlers, including every agent and avatar page.diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex 6e5ff8dd5..ad382e43a 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -96,7 +96,7 @@<main class="sm-wrap"><div class="sm-hero"><h1 data-i18n="sitemap_index.sitemap">Sitemap</h1>- <p><span>1031</span> <span data-i18n="sitemap_index.pages_grouped">pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</span></p>+ <p><span>1034</span> <span data-i18n="sitemap_index.pages_grouped">pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</span></p><div class="sm-formats"><a href="/sitemap.xml" data-i18n-html="sitemap_index.for_search_engines"><code>sitemap.xml</code> · for search engines</a><a href="/llms.txt" data-i18n-html="sitemap_index.for_ai_agents"><code>llms.txt</code> · for AI agents</a>@@ -108,7 +108,7 @@</div><div class="sm-filter"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>- <input id="sm-filter-input" type="search" placeholder="Filter 1031 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />+ <input id="sm-filter-input" type="search" placeholder="Filter 1034 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" /><kbd id="sm-filter-kbd" aria-hidden="true">/</kbd></div><p class="sm-filter-count" role="status" aria-live="polite"><span id="sm-filter-count"></span><span id="sm-filter-hint" aria-hidden="true"></span></p>@@ -116,6 +116,14 @@<h2 id="sm-new-title" data-i18n-html="sitemap_index.newestfull_changelog">Newest<a class="sm-new-more" href="/changelog">full changelog →</a></h2><p class="sm-section-desc" data-i18n="sitemap_index.the_9_most_recently_launched_pages_straight">The 9 most recently launched pages, straight to the live surface.</p><ul class="sm-list">+ <li>+ <a href="/docs/event-markets-staking">+ <span class="sm-new-date" translate="no">Oct 13, 2026</span>+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_event_markets_staking">Docs · Staked Event Markets</span></span>+ <span class="sm-path" translate="no">/docs/event-markets-staking</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_event_markets_staking">Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.</span>+ </a>+ </li><li><a href="/skills/import"><span class="sm-new-date" translate="no">Oct 10, 2026</span>@@ -140,6 +148,22 @@<span class="sm-desc" data-i18n="sitemap_index.d_event_markets">Live, closing-soon and resolved markets for every three.ws event. Free-to-play points, crowd-set odds, and shareable cards for each call.</span></a></li>+ <li>+ <a href="/event-markets/leaderboard">+ <span class="sm-new-date" translate="no">Oct 10, 2026</span>+ <span class="sm-title"><span data-i18n="sitemap_index.t_event_markets_leaderboard">Event Markets leaderboard: season rankings and rewards</span></span>+ <span class="sm-path" translate="no">/event-markets/leaderboard</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_event_markets_leaderboard">Season and all-time rankings for the best event forecasters. Right calls on long odds score the most; streaks, badges and $THREE season rewards.</span>+ </a>+ </li>+ <li>+ <a href="/event-markets/forecasters">+ <span class="sm-new-date" translate="no">Oct 10, 2026</span>+ <span class="sm-title"><span data-i18n="sitemap_index.t_event_markets_forecasters">Event Markets forecasters: people and AI agents ranked</span></span>+ <span class="sm-path" translate="no">/event-markets/forecasters</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_event_markets_forecasters">Ranked forecasters on Event Markets, people and AI agents, by a conservative hit rate. Filter to agents only; free to play, points only.</span>+ </a>+ </li><li><a href="/teams"><span class="sm-new-date" translate="no">Oct 10, 2026</span>@@ -164,30 +188,6 @@<span class="sm-desc" data-i18n="sitemap_index.d_domains">Search live registrar availability, see the exact yearly price, register a web domain from credits and serve an agent's public page on it.</span></a></li>- <li>- <a href="/developers">- <span class="sm-new-date" translate="no">Oct 10, 2026</span>- <span class="sm-title"><span data-i18n="sitemap_index.t_developers">Developer plans</span></span>- <span class="sm-path" translate="no">/developers</span>- <span class="sm-desc" data-i18n="sitemap_index.d_developers">Free, Builder, Scale and Enterprise API plans with monthly call quotas that are enforced, not just recorded: burst and concurrency ceilings, 429 and 402 responses with a clear upgrade path, and self-serve upgrades in credits, USDC or $THREE on Solana.</span>- </a>- </li>- <li>- <a href="/docs/domains">- <span class="sm-new-date" translate="no">Oct 10, 2026</span>- <span class="sm-title"><span data-i18n="sitemap_index.t_docs_domains">Docs · Web Domains</span></span>- <span class="sm-path" translate="no">/docs/domains</span>- <span class="sm-desc" data-i18n="sitemap_index.d_docs_domains">Search, price, check and register web domains from an agent or the dashboard through Google Cloud Domains, paid from credits behind a quote and an explicit confirm, with the daily registrar quota, one-year terms, auto-renew and connecting a domain to an agent's public page.</span>- </a>- </li>- <li>- <a href="/docs/launch-lanes">- <span class="sm-new-date" translate="no">Oct 10, 2026</span>- <span class="sm-title"><span data-i18n="sitemap_index.t_docs_launch_lanes">Docs · Launch Lanes</span></span>- <span class="sm-path" translate="no">/docs/launch-lanes</span>- <span class="sm-desc" data-i18n="sitemap_index.d_docs_launch_lanes">Every way to launch a coin on three.ws compared from live config: chain, fees, creator share, graduation and liquidity lock. Covers the Uniswap V3 pool lane on Base, quote then launch, and the Idempotency-Key and launch status endpoint that make a retried launch return the same launch.</span>- </a>- </li></ul></section><nav class="sm-toc" aria-label="Sections">@@ -1492,7 +1492,7 @@<section class="sm-section" id="crypto"><header>- <h2><span data-i18n="sitemap_index.section_crypto">Crypto</span><span class="sm-count" data-count>167</span></h2>+ <h2><span data-i18n="sitemap_index.section_crypto">Crypto</span><span class="sm-count" data-count>169</span></h2><p class="sm-section-desc" data-i18n="sitemap_index.on_chain_features_pay_per_call_token">On-chain features: pay-per-call, token launches, vanity wallets.</p></header><ul class="sm-list">@@ -1818,6 +1818,20 @@<span class="sm-desc" data-i18n="sitemap_index.d_event_markets">Live, closing-soon and resolved markets for every three.ws event. Free-to-play points, crowd-set odds, and shareable cards for each call.</span></a></li>+ <li>+ <a href="/event-markets/leaderboard">+ <span class="sm-title"><span data-i18n="sitemap_index.t_event_markets_leaderboard">Event Markets leaderboard: season rankings and rewards</span></span>+ <span class="sm-path" translate="no">/event-markets/leaderboard</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_event_markets_leaderboard">Season and all-time rankings for the best event forecasters. Right calls on long odds score the most; streaks, badges and $THREE season rewards.</span>+ </a>+ </li>+ <li>+ <a href="/event-markets/forecasters">+ <span class="sm-title"><span data-i18n="sitemap_index.t_event_markets_forecasters">Event Markets forecasters: people and AI agents ranked</span></span>+ <span class="sm-path" translate="no">/event-markets/forecasters</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_event_markets_forecasters">Ranked forecasters on Event Markets, people and AI agents, by a conservative hit rate. Filter to agents only; free to play, points only.</span>+ </a>+ </li><li><a href="/event-markets/view"><span class="sm-title"><span data-i18n="sitemap_index.t_event_markets_view">Event market</span><span class="sm-badge sm-badge-internal" data-i18n="sitemap_index.badge_internal">internal</span></span>@@ -2863,7 +2877,7 @@<section class="sm-section" id="learn"><header>- <h2><span data-i18n="sitemap_index.section_learn">Learn</span><span class="sm-count" data-count>481</span></h2>+ <h2><span data-i18n="sitemap_index.section_learn">Learn</span><span class="sm-count" data-count>482</span></h2><p class="sm-section-desc" data-i18n="sitemap_index.docs_tutorials_and_reference">Docs, tutorials, and reference.</p></header><ul class="sm-list">@@ -3714,6 +3728,13 @@<span class="sm-desc" data-i18n="sitemap_index.d_docs_event_markets">Free-to-play prediction markets over three.ws events: how markets open, how they resolve from our own data with stored evidence, and how points are scored.</span></a></li>+ <li>+ <a href="/docs/event-markets-staking">+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_event_markets_staking">Docs · Staked Event Markets</span></span>+ <span class="sm-path" translate="no">/docs/event-markets-staking</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_event_markets_staking">Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.</span>+ </a>+ </li><li><a href="/docs/x402"><span class="sm-title"><span data-i18n="sitemap_index.t_docs_x402">Docs · x402 Protocol</span></span>diff --git a/public/x-media/give-your-ai-a-body/clip.mp4 b/public/x-media/give-your-ai-a-body/clip.mp4new file mode 100644index 000000000..6a7fc8446Binary files /dev/null and b/public/x-media/give-your-ai-a-body/clip.mp4 differdiff --git a/scripts/capture-motion-studio-assets.mjs b/scripts/capture-motion-studio-assets.mjsnew file mode 100644index 000000000..afdf56ec5--- /dev/null+++ b/scripts/capture-motion-studio-assets.mjs@@ -0,0 +1,49 @@+#!/usr/bin/env node+/**+ * Captures the real product screens the motion studio is allowed to animate.+ * Every asset is a screenshot of the live production page; nothing is drawn.+ *+ * node scripts/capture-motion-studio-assets.mjs [--origin=https://three.ws]+ */+import { chromium } from 'playwright';+import { mkdirSync, writeFileSync } from 'node:fs';+import path from 'node:path';++const ROOT = path.resolve(path.dirname(new URL(import.meta.url).pathname), '..');+const OUT = path.join(ROOT, 'marketing/motion-studio/assets/screens');+const arg = process.argv.find((a) => a.startsWith('--origin='));+const ORIGIN = (arg ? arg.slice(9) : 'https://three.ws').replace(/\/$/, '');++const SHOTS = [+ { id: 'home', path: '/', settle: 6000 },+ { id: 'forge', path: '/forge', settle: 6000 },+ { id: 'characters', path: '/characters', settle: 7000 },+ { id: 'marketplace', path: '/marketplace', settle: 6000 },+ { id: 'atlas', path: '/atlas', settle: 8000 },+];++mkdirSync(OUT, { recursive: true });+const browser = await chromium.launch({+ args: ['--use-gl=angle', '--use-angle=swiftshader', '--enable-unsafe-swiftshader', '--ignore-gpu-blocklist'],+});+const manifest = { capturedAt: new Date().toISOString(), origin: ORIGIN, viewport: '1920x1080', shots: [] };+for (const shot of SHOTS) {+ const ctx = await browser.newContext({ viewport: { width: 1920, height: 1080 }, deviceScaleFactor: 1 });+ const page = await ctx.newPage();+ const errors = [];+ page.on('pageerror', (e) => errors.push(String(e).slice(0, 160)));+ try {+ const res = await page.goto(ORIGIN + shot.path, { waitUntil: 'domcontentloaded', timeout: 45000 });+ await page.waitForTimeout(shot.settle);+ const file = path.join(OUT, `${shot.id}.png`);+ await page.screenshot({ path: file });+ manifest.shots.push({ id: shot.id, url: ORIGIN + shot.path, status: res?.status(), title: await page.title(), file: path.relative(ROOT, file), pageErrors: errors });+ console.log('ok', shot.id, res?.status(), await page.title());+ } catch (e) {+ manifest.shots.push({ id: shot.id, url: ORIGIN + shot.path, error: String(e).slice(0, 200) });+ console.log('FAIL', shot.id, String(e).slice(0, 120));+ }+ await ctx.close();+}+await browser.close();+writeFileSync(path.join(OUT, 'manifest.json'), JSON.stringify(manifest, null, 2) + '\n');diff --git a/scripts/verify-anatomy-browser.mjs b/scripts/verify-anatomy-browser.mjsnew file mode 100644index 000000000..7f1109e35--- /dev/null+++ b/scripts/verify-anatomy-browser.mjs@@ -0,0 +1,138 @@+#!/usr/bin/env node+// Drive /anatomy in a real browser and fail on any console error.+//+// Opens the gallery, then one saved machine, and exercises the explorer the+// way a visitor does: tour steps, explode, section cut, x-ray, a part click,+// the light theme and a phone-sized viewport. Screenshots land in --out.+//+// Usage:+// node scripts/verify-anatomy-browser.mjs --base http://localhost:3000 --id <design uuid> [--out dir]++import { mkdirSync } from 'node:fs';+import { join } from 'node:path';+import { chromium } from 'playwright';++const arg = (name, def = null) => {+ const i = process.argv.indexOf(`--${name}`);+ return i > -1 ? process.argv[i + 1] : def;+};+const base = arg('base', 'http://localhost:3000');+const id = arg('id');+const out = arg('out', 'anatomy-shots');+if (!id) {+ console.error('Pass --id <design uuid> (a saved machine to open).');+ process.exit(2);+}+mkdirSync(out, { recursive: true });++const problems = [];+const browser = await chromium.launch({ args: ['--use-angle=swiftshader', '--enable-unsafe-swiftshader'] });++async function newPage(viewport) {+ const page = await browser.newPage({ viewport });+ page.on('console', (msg) => {+ if (msg.type() === 'error' || msg.type() === 'warning') {+ const text = msg.text();+ // Third-party noise unrelated to the page under test.+ if (/favicon|Failed to load resource: the server responded with a status of 404 \(Not Found\)$|GPU stall|ReadPixels|WebGL-|swiftshader/i.test(text)) return;+ problems.push(`[${msg.type()}] ${text}`);+ }+ });+ page.on('pageerror', (err) => problems.push(`[pageerror] ${err.message}`));+ return page;+}++const shot = (page, name) => page.screenshot({ path: join(out, `${name}.png`) });++// Gallery.+{+ const page = await newPage({ width: 1360, height: 900 });+ await page.goto(`${base}/anatomy`, { waitUntil: 'domcontentloaded' });+ await page.waitForSelector('.anp-card:not(.anp-card--skeleton), .anp-empty:not([hidden])', { timeout: 30_000 });+ const cards = await page.locator('.anp-card:not(.anp-card--skeleton)').count();+ console.log(`gallery: ${cards} card(s)`);+ await shot(page, '01-home');+ await page.close();+}++// One machine, desktop.+{+ const page = await newPage({ width: 1440, height: 900 });+ await page.goto(`${base}/anatomy/${id}`, { waitUntil: 'domcontentloaded' });+ await page.waitForSelector('.anx canvas', { timeout: 30_000 });+ await page.waitForFunction(() => document.querySelectorAll('.anx-part, .anx-parts li, [data-part]').length > 0, null, { timeout: 30_000 }).catch(() => {});+ await page.waitForTimeout(2500);+ console.log('title:', await page.textContent('#anpTitle'));+ await shot(page, '02-machine');++ await page.locator('.anx').focus();+ await page.keyboard.press('ArrowRight');+ await page.waitForTimeout(1500);+ await shot(page, '03-tour-step-1');+ await page.keyboard.press('ArrowRight');+ await page.keyboard.press('ArrowRight');+ await page.waitForTimeout(1500);+ await shot(page, '04-tour-step-3');+ await page.keyboard.press('Escape');++ await page.keyboard.press('e');+ await page.waitForTimeout(1600);+ await shot(page, '05-exploded');+ await page.keyboard.press('e');++ const section = page.locator('.anx select[aria-label*="ection" i]').first();+ if (await section.count()) {+ const values = await section.locator('option').evaluateAll((o) => o.map((x) => x.value));+ const axis = values.find((v) => v && v !== 'off' && v !== 'none');+ if (axis) {+ await section.selectOption(axis);+ await page.waitForTimeout(1200);+ await shot(page, '06-section');+ await section.selectOption(values[0]);+ }+ } else problems.push('[check] no section control found');++ await page.keyboard.press('x');+ await page.waitForTimeout(800);+ await shot(page, '07-xray');+ await page.keyboard.press('x');++ const box = await page.locator('.anx canvas').boundingBox();+ await page.mouse.click(box.x + box.width * 0.45, box.y + box.height * 0.5);+ await page.waitForTimeout(800);+ await shot(page, '08-clicked');++ await page.evaluate(() => document.documentElement.setAttribute('data-theme', 'light'));+ await page.waitForTimeout(1000);+ await shot(page, '09-light');+ await page.close();+}++// One machine, phone.+{+ const page = await newPage({ width: 390, height: 844 });+ await page.goto(`${base}/anatomy/${id}`, { waitUntil: 'domcontentloaded' });+ await page.waitForSelector('.anx canvas', { timeout: 30_000 });+ await page.waitForTimeout(2500);+ const overflow = await page.evaluate(() => document.documentElement.scrollWidth - window.innerWidth);+ if (overflow > 1) problems.push(`[layout] phone page scrolls horizontally by ${overflow}px`);+ await shot(page, '10-phone');+ await page.close();+}++// A missing machine shows the designed not-found state.+{+ const page = await newPage({ width: 1200, height: 800 });+ await page.goto(`${base}/anatomy/00000000-0000-4000-8000-000000000000`, { waitUntil: 'domcontentloaded' });+ await page.waitForSelector('#anpDesignError:not([hidden])', { timeout: 30_000 });+ await shot(page, '11-not-found');+ await page.close();+}++await browser.close();+const real = problems.filter((p) => !/status of 404/.test(p) || !/00000000-0000-4000-8000-000000000000/.test(p));+if (real.length) {+ console.error(`\n${real.length} problem(s):\n${real.join('\n')}`);+ process.exit(1);+}+console.log(`\nOK: no console errors. Screenshots in ${out}/`);diff --git a/src/home-live-agents.js b/src/home-live-agents.jsindex 01602aa50..587b19c5d 100644--- a/src/home-live-agents.js+++ b/src/home-live-agents.js@@ -989,7 +989,7 @@var meta = document.createElement('div');meta.className = 'showcase-card-meta';meta.innerHTML = '<div class="showcase-card-name">' + escHtml(item.name || 'Agent') + '</div>'- + '<div class="showcase-card-sub">' + escHtml(item.description ? item.description.slice(0, 50) : (item.kind === 'onchain' ? 'ERC-8004' : 'GLB')) + '</div>';+ + '<div class="showcase-card-sub">' + escHtml(item.description ? item.description : (item.kind === 'onchain' ? 'ERC-8004' : 'GLB')) + '</div>';card.appendChild(meta);if (glbUrl) bootAgent(card, skel, glbUrl, idx);diff --git a/vercel.json b/vercel.jsonindex b8f7415b5..6fdd91d88 100644--- a/vercel.json+++ b/vercel.json@@ -1288,6 +1288,14 @@"src": "/cad/?","dest": "/cad.html"},+ {+ "src": "/anatomy/?",+ "dest": "/anatomy.html"+ },+ {+ "src": "/anatomy/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/?",+ "dest": "/anatomy.html"+ },{"src": "/modly/?","dest": "/modly.html"@@ -2598,6 +2606,10 @@"src": "/admin/event-market-announcements/?","dest": "/event-market-announcements.html"},+ {+ "src": "/admin/event-markets-staking/?",+ "dest": "/event-markets-staking-admin.html"+ },{"src": "/x/claim/?","dest": "/x-claim.html"diff --git a/vite.config.js b/vite.config.jsindex 87488f882..3032c479e 100644--- a/vite.config.js+++ b/vite.config.js@@ -706,6 +706,7 @@ const appConfig = {grok: resolve(__dirname, 'pages/grok.html'),'x-claim': resolve(__dirname, 'pages/x-claim.html'),'event-market-announcements': resolve(__dirname, 'pages/event-market-announcements.html'),+ 'event-markets-staking-admin': resolve(__dirname, 'pages/event-markets-staking-admin.html'),'event-markets': resolve(__dirname, 'pages/event-markets.html'),'event-markets-leaderboard': resolve(__dirname, 'pages/event-markets-leaderboard.html'),'event-markets-forecasters': resolve(__dirname, 'pages/event-markets-forecasters.html'),@@ -844,6 +845,7 @@ const appConfig = {symphony: resolve(__dirname, 'pages/symphony.html'),diorama: resolve(__dirname, 'pages/diorama.html'),cad: resolve(__dirname, 'pages/cad.html'),+ anatomy: resolve(__dirname, 'pages/anatomy.html'),modly: resolve(__dirname, 'pages/modly.html'),'forge-desktop': resolve(__dirname, 'pages/forge-desktop.html'),receipts: resolve(__dirname, 'pages/receipts.html'),@@ -1757,6 +1759,8 @@ const appConfig = {'/diorama/': resolve(root, 'pages/diorama.html'),'/cad': resolve(root, 'pages/cad.html'),'/cad/': resolve(root, 'pages/cad.html'),+ '/anatomy': resolve(root, 'pages/anatomy.html'),+ '/anatomy/': resolve(root, 'pages/anatomy.html'),'/modly': resolve(root, 'pages/modly.html'),'/modly/': resolve(root, 'pages/modly.html'),'/forge-desktop': resolve(root, 'pages/forge-desktop.html'),@@ -1914,6 +1918,7 @@ const appConfig = {'/ar': resolve(root, 'public/ar-forge.html'),'/ar/': resolve(root, 'public/ar-forge.html'),'/admin/event-market-announcements': resolve(root, 'pages/event-market-announcements.html'),+ '/admin/event-markets-staking': resolve(root, 'pages/event-markets-staking-admin.html'),'/event-markets': resolve(root, 'pages/event-markets.html'),'/event-markets/': resolve(root, 'pages/event-markets.html'),'/event-markets/leaderboard': resolve(root, 'pages/event-markets-leaderboard.html'),@@ -2512,6 +2517,12 @@ const appConfig = {// /coin/:id → global coin detail page (CoinGecko slug or Solana mint)else if (!filePath && /^\/coin\/[a-zA-Z0-9][a-zA-Z0-9_-]{0,99}\/?$/.test(path))filePath = resolve(root, 'pages/coin.html');+ // /anatomy/:id → one Anatomy machine (anatomy_designs uuid)+ else if (+ !filePath &&+ /^\/anatomy\/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\/?$/.test(path)+ )+ filePath = resolve(root, 'pages/anatomy.html');// /cad/:id → CAD Forge design page (cad_designs uuid)else if (!filePath &&