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
Regenerate changelog/features; remove completed CSP hardening task
nirholas492d26c1a643
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 65c2cf0ba..e8d36cfd8 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -16,6 +16,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Forge checkout no longer dead-ends when generation is briefly busy** — When the 3D generator was momentarily rate-limited mid-checkout, Forge could show a raw technical error and look like the payment had failed for good. Now a brief upstream slowdown shows a clear message — your payment was not taken, and the generation retries in a few seconds — and the checkout auto-retries on its own before ever asking you to try again. Your payment only settles once the model is actually produced, so a busy moment never costs you anything. (`/forge`) `[fix]`- **Gasless checkout — buy skills and assets with no SOL in your wallet** — Buying a skill, time-pass, or whole asset no longer requires you to hold SOL for the network fee. When your Solana wallet is connected, three.ws now sponsors the transaction fee: the platform builds and pre-signs the payment, and your wallet only adds your own approval. You still pay the USDC price (and sellers still receive their split), but the tiny gas fee is on us — one fewer thing to top up before you check out. If sponsorship is ever unavailable, checkout falls back to the normal pay-your-own-gas flow automatically, so a purchase never gets blocked. `[feature, improvement]`- **Gift a skill to anyone — pay once, they get the access** — Buying a skill on an agent page now has a Gift option. Tick "Gift this skill to someone," enter the recipient's username or wallet address, and we confirm exactly who you're sending it to before you pay. You approve the same single USDC payment from your wallet (gas still on us), and the moment it settles on-chain the skill lands in the recipient's library — not yours — with a notification telling them who it's from; you get a delivery confirmation too. It works for permanent unlocks and timed access passes, and if the person already owns the skill we tell you up front so you never pay for nothing. (`/marketplace`) `[feature]`+- **Glasses now sit on your avatar's eyes, not through its cheeks** — In Avatar Studio, glasses and shades used to clip into the face — sitting low across the cheeks instead of on the eyes. Eyewear is now placed properly on the eye line, auto-sized to fit any avatar, and shades that were modelled lying flat are stood upright so they read as sunglasses. Hats and earrings are unchanged. (`/create/studio`) `[fix]`- **Graduated coins show a live price on agent and community cards** — The bonding-curve card — the compact one on agent profiles, community coin pages, and embeddable widgets — used to go blank with a “No active bonding curve” message the moment a coin graduated to a DEX. Now it reads the coin's live on-chain price instead, marks it “Graduated” at 100%, and shows a real market cap, so $THREE and any other migrated coin display a refreshing price rather than empty space. Those cards also stopped opening a background websocket that could never connect — it had been silently retrying and logging errors on every load. Vault balances now refresh by polling directly and update within seconds. `[improvement, fix]`- **Holding $THREE now unlocks a premium feature** — $THREE gets its first hard utility: High-quality 3D generation on Forge — the 200k-polygon, PBR-textured tier — is now reserved for $THREE holders. Reach the Bronze holder tier (the entry tier) by holding $THREE and the High tier unlocks automatically, with no payment step. Draft and Standard generation stay free forever, and bring-your-own-key generation is unaffected. Sign in, link your Solana wallet, and the economy page shows your live holder tier and exactly what it unlocks. (`/three`) `[feature]`- **Leaving a review on an agent profile works again** — Submitting or updating a star rating on an agent's profile was quietly failing for signed-in users — the form said “Save failed” no matter what, because the security token that protects the save was being read incorrectly and never attached. Reviews now save on the first try. Signed-out visitors who tap Submit get a clear “Sign in to leave a review” prompt instead of a dead button, and agent profiles no longer log errors for agents that have no on-chain trading record — the track-record card simply stays hidden. `[fix]`diff --git a/data/changelog.json b/data/changelog.jsonindex cd87180aa..c103032bf 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws \u2014 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. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-18",+ "title": "Glasses now sit on your avatar's eyes, not through its cheeks",+ "summary": "In Avatar Studio, glasses and shades used to clip into the face — sitting low across the cheeks instead of on the eyes. Eyewear is now placed properly on the eye line, auto-sized to fit any avatar, and shades that were modelled lying flat are stood upright so they read as sunglasses. Hats and earrings are unchanged.",+ "tags": [+ "fix"+ ],+ "link": "/create/studio"+ },{"date": "2026-06-18","title": "Your agent can now pay for paid APIs from its own wallet",diff --git a/public/changelog.json b/public/changelog.jsonindex 06cd26887..c79c63cc1 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-18T09:47:48.090Z",+ "generated_at": "2026-06-18T10:14:26.500Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -112,6 +112,16 @@"feature"]},+ {+ "date": "2026-06-18",+ "type": "update",+ "title": "Glasses now sit on your avatar's eyes, not through its cheeks",+ "summary": "In Avatar Studio, glasses and shades used to clip into the face — sitting low across the cheeks instead of on the eyes. Eyewear is now placed properly on the eye line, auto-sized to fit any avatar, and shades that were modelled lying flat are stood upright so they read as sunglasses. Hats and earrings are unchanged.",+ "link": "/create/studio",+ "tags": [+ "fix"+ ]+ },{"date": "2026-06-18","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 6f823eaa5..a75893494 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -86,6 +86,14 @@<category>feature</category><description>Buying a skill on an agent page now has a Gift option. Tick "Gift this skill to someone," enter the recipient's username or wallet address, and we confirm exactly who you're sending it to before you pay. You approve the same single USDC payment from your wallet (gas still on us), and the moment it settles on-chain the skill lands in the recipient's library — not yours — with a notification telling them who it's from; you get a delivery confirmation too. It works for permanent unlocks and timed access passes, and if the person already owns the skill we tell you up front so you never pay for nothing.</description></item>+ <item>+ <title>Glasses now sit on your avatar's eyes, not through its cheeks</title>+ <link>https://three.ws/create/studio</link>+ <guid isPermaLink="false">2026-06-18:Glasses now sit on your avatar's eyes, not through its cheeks</guid>+ <pubDate>Thu, 18 Jun 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>In Avatar Studio, glasses and shades used to clip into the face — sitting low across the cheeks instead of on the eyes. Eyewear is now placed properly on the eye line, auto-sized to fit any avatar, and shades that were modelled lying flat are stood upright so they read as sunglasses. Hats and earrings are unchanged.</description>+ </item><item><title>Graduated coins show a live price on agent and community cards</title><link>https://three.ws/changelog</link>diff --git a/public/features.json b/public/features.jsonindex d6af9b521..4e3d86d56 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-18T09:47:48.078Z",+ "generated_at": "2026-06-18T10:14:26.489Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/tasks/ibm-x402-demo/02-csp-and-cross-origin-hardening.md b/tasks/ibm-x402-demo/02-csp-and-cross-origin-hardening.mddeleted file mode 100644index 04dd0fdad..000000000--- a/tasks/ibm-x402-demo/02-csp-and-cross-origin-hardening.md+++ /dev/null@@ -1,83 +0,0 @@-# Task 02 — CSP + cross-origin hardening for live.ibm.com--## Context--three.ws workspace at `/workspaces/three.ws`. Deliverable + verified facts:-[00-PLAN.md](00-PLAN.md). The page is [`pages/ibm/x402-demo.html`](../../pages/ibm/x402-demo.html).--The demo will be hosted on **`live.ibm.com`**, a foreign origin whose **own-Content-Security-Policy governs the page**. The cross-origin API calls already work-(three.ws sends `access-control-allow-origin: *` — verified). The risk is the *outbound*-resources the page loads being blocked by IBM's CSP, and the page being embedded in an iframe.-This task makes the page robust under a realistic enterprise CSP and produces the exact CSP-header IBM should set.--## What the page currently loads (audit and confirm)--| Resource | Origin | Needed for | CSP directive |-|----------|--------|-----------|---------------|-| `x402.js` | `https://three.ws` | everything | `script-src` |-| 402 + paid fetch | `https://three.ws` | the data call | `connect-src` |-| IBM Plex fonts (CSS + woff2) | `fonts.googleapis.com`, `fonts.gstatic.com` | typography | `style-src`, `font-src` |-| `@solana/web3.js` | `https://esm.sh` | **Solana path only** | `script-src` (dynamic import) |-| `/api/x402-checkout` POST | `https://three.ws` | **Solana path only** | `connect-src` |-| keccak (`@noble/hashes`) | `https://esm.sh` | **Solana SIWX only** | `script-src` |--## Do this--1. **Remove the Google Fonts dependency.** Self-host IBM Plex (it is open source — `@ibm/plex`)- by inlining a minimal `@font-face` set served from the **same origin** as the page, or fall- back cleanly to a system stack (`'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto,- sans-serif`). The page must render correctly with **no** `fonts.googleapis.com` request, so a- `style-src 'self'` CSP doesn't break it. If self-hosting the woff2, place the files under- `pages/ibm/fonts/` and reference them relatively so they travel with the file to IBM's host.-2. **Make the Base path the zero-third-party default.** Confirm the full Base pay flow needs- only `three.ws` (script + connect) — no `esm.sh`. The Solana path needs `esm.sh` + the- checkout helper. Add a small, honest UI note (or graceful degradation) so that if `esm.sh` is- blocked, the Solana button fails with a clear message and the Base button still works. Do not- hide Solana — just ensure a strict-CSP host degrades to Base gracefully instead of throwing.-3. **Test as a top-level document on a foreign origin.** Serve `pages/ibm/x402-demo.html` from a- port that is NOT three.ws (e.g. `npx http-server pages/ibm -p 8088`) and load- `http://localhost:8088/x402-demo.html`. Then re-test with a locally-enforced CSP that mimics a- strict IBM policy (use a `<meta http-equiv="Content-Security-Policy">` injected via a tiny- proxy, or browser DevTools "Content-Security-Policy" override). Confirm: Base flow works under- `script-src 'self' https://three.ws; connect-src https://three.ws; style-src 'self' 'unsafe-inline'; font-src 'self'`.-4. **Test embedded in an `<iframe>`** on a foreign origin (IBM may iframe this, as the existing- IBM landing page iframes other tools). Confirm the wallet modal still opens and is usable- inside the iframe, popups/wallet extensions aren't blocked, and there's no `X-Frame-Options`- / `frame-ancestors` conflict. If wallet extensions can't inject into a cross-origin iframe in- some browsers, document it and recommend top-level hosting in the handoff.-5. **No mixed content, no console CSP violations** in any configuration.--## Output (required)--Add a recommended CSP to the handoff (task 09 will package it). Two tiers:--- **Strict (Base-only):** `script-src 'self' https://three.ws; connect-src https://three.ws; style-src 'self' 'unsafe-inline'; font-src 'self'; img-src 'self' data:;`-- **Full (Base + Solana):** add `https://esm.sh` to `script-src` and `https://three.ws` (already present) to `connect-src`.--Write these into a short note `pages/ibm/HOSTING.md` (task 09 will expand it).--## Definition of done--- The page renders and the **Base pay flow works with no resource outside `'self'` + `three.ws`** —- verified under an enforced strict CSP, served from a non-three.ws origin.-- The Solana path works when `esm.sh` is allowed and degrades with a clear message when it isn't.-- Works both as a top-level page and inside a cross-origin iframe (or the iframe limitation is- documented).-- Zero console errors / CSP violations in every configuration tested. Fonts load self-hosted (no- Google Fonts request).-- `pages/ibm/HOSTING.md` contains the two CSP tiers. Run the **completionist** subagent.--<!-- AUTO:self-delete-on-complete -->-------## ✅ On completion — delete this file--```bash-git rm "tasks/ibm-x402-demo/02-csp-and-cross-origin-hardening.md"-```--Stage the deletion in the same commit as the implementation. A file that still exists is-unfinished work; a file that is gone has shipped. Do not delete early.