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
refactor: update branding from "3D Agent" to "three.ws" across all files
nirholas4e083027aa6f
diff --git a/.env.example b/.env.exampleindex 965e7ba04..37283d21d 100644--- a/.env.example+++ b/.env.example@@ -1,5 +1,5 @@# ────────────────────────────────────────────────────────────────────────────-# 3D Agent — backend environment+# three.ws — backend environment# Copy to .env.local for local dev. In production, set these in Vercel.# ────────────────────────────────────────────────────────────────────────────diff --git a/.github/prompts/README.md b/.github/prompts/README.mdindex e047269d7..00aed44ca 100644--- a/.github/prompts/README.md+++ b/.github/prompts/README.md@@ -1,6 +1,6 @@# Prompts-Task specs for agents working on 3D Agent. Each prompt is a self-contained brief: problem, implementation steps, validation, and what **not** to do.+Task specs for agents working on three.ws. Each prompt is a self-contained brief: problem, implementation steps, validation, and what **not** to do.Prompts are prioritized by the product stack from [memory/project_vision.md](../../.. /home/codespace/.claude/projects/-workspaces-3D/memory/project_vision.md). When in doubt, work the lowest-numbered unfinished `stack-*` prompt first.diff --git a/.github/prompts/ai-chat-agent.md b/.github/prompts/ai-chat-agent.mdindex 752a912db..123320f7a 100644--- a/.github/prompts/ai-chat-agent.md+++ b/.github/prompts/ai-chat-agent.md@@ -23,7 +23,7 @@ Response: { "reply": "string", "actions": [] }- Use OpenAI API (or compatible: Anthropic, Groq, local Ollama)- System prompt includes:- - 3D Agent capabilities and feature knowledge+ - three.ws capabilities and feature knowledge- Current loaded model info (name, stats, validation results)- Available actions the agent can trigger in the viewer- glTF format expertise for answering technical questionsdiff --git a/.github/prompts/create-agent-card.md b/.github/prompts/create-agent-card.mdindex bb8c0424c..12c52b223 100644--- a/.github/prompts/create-agent-card.md+++ b/.github/prompts/create-agent-card.md@@ -21,11 +21,11 @@ Create `public/.well-known/agent-card.json` with the full A2A agent card spec:```json{- "name": "3D Agent",+ "name": "three.ws","description": "AI-powered 3D model viewer and validation agent. Load glTF/GLB models, run validation, inspect materials, and manage avatar assets.","url": "https://three.ws/","provider": {- "organization": "3D Agent",+ "organization": "three.ws","url": "https://three.ws/"},"version": "1.5.1",diff --git a/.github/prompts/deploy-erc8004-contracts.md b/.github/prompts/deploy-erc8004-contracts.mdindex 646c6d64d..a1e8c509f 100644--- a/.github/prompts/deploy-erc8004-contracts.md+++ b/.github/prompts/deploy-erc8004-contracts.md@@ -55,7 +55,7 @@ The UI (`register-ui.js`), registry interaction (`agent-registry.js`), and ABI a### Phase 3: Fill Registration Data-1. **Register 3D Agent itself** on the Identity Registry+1. **Register three.ws itself** on the Identity Registry2. **Update `public/.well-known/agent-registration.json`**:- Fill the empty `registrations` array with the on-chain registration- Format: `{ "agentRegistry": "eip155:84532:0x...", "agentId": "1" }`diff --git a/.github/prompts/stack-20-lobehub-plugin.md b/.github/prompts/stack-20-lobehub-plugin.mdindex ff2c7ab25..ed30cf338 100644--- a/.github/prompts/stack-20-lobehub-plugin.md+++ b/.github/prompts/stack-20-lobehub-plugin.md@@ -20,8 +20,8 @@ Host at `https://three.ws/.well-known/lobehub-plugin.json`:"identifier": "3d-agent","version": "1.0.0","meta": {- "title": "3D Agent",- "description": "Embodied 3D agents — identity, memory, skills, emotional presence",+ "title": "three.ws",+ "description": "Embodied three.wss — identity, memory, skills, emotional presence","avatar": "https://three.ws/icon.png","tags": ["3d", "agent", "avatar"]},@@ -38,7 +38,7 @@ Host at `https://three.ws/.well-known/lobehub-plugin.json`:},{"name": "summonAgent",- "description": "Ask the 3D agent to perform a skill and return the result + rendering",+ "description": "Ask the three.ws to perform a skill and return the result + rendering","url": "https://three.ws/api/lobehub/summon-agent","parameters": {"type": "object",@@ -70,7 +70,7 @@ Host at `https://three.ws/.well-known/lobehub-plugin.json`:"url": "https://three.ws/agent/satoshi?kiosk=1&theme=auto","width": 480,"height": 480,- "fallbackText": "3D Agent: Satoshi — open in browser to interact"+ "fallbackText": "three.ws: Satoshi — open in browser to interact"}```@@ -93,7 +93,7 @@ Document in repo: how the user installs the plugin in their fork. Either:### Auth-Plugin does NOT require auth to render public avatars. If the LobeHub user wants their _own_ agents listed, they pass a 3D Agent API key (see [api/keys/](api/keys/)) in a settings field.+Plugin does NOT require auth to render public avatars. If the LobeHub user wants their _own_ agents listed, they pass a three.ws API key (see [api/keys/](api/keys/)) in a settings field.## Validation@@ -106,4 +106,4 @@ Plugin does NOT require auth to render public avatars. If the LobeHub user wants## Do not do this- Do NOT fork LobeHub code — integrate only via the plugin API.-- Do NOT require a 3D Agent login to view public agents.+- Do NOT require a three.ws login to view public agents.diff --git a/.github/prompts/stack-22-mcp-embodied-responses.md b/.github/prompts/stack-22-mcp-embodied-responses.mdindex 708e00e24..55d8bc8a9 100644--- a/.github/prompts/stack-22-mcp-embodied-responses.md+++ b/.github/prompts/stack-22-mcp-embodied-responses.md@@ -49,11 +49,11 @@ Split skills into `pure` and `presentational` in their manifest.### Auth- Public avatars: any MCP caller can summon/describe.-- Private skills or owner-only: require a 3D Agent API key via Bearer (already in [api/keys/](api/keys/)).+- Private skills or owner-only: require a three.ws API key via Bearer (already in [api/keys/](api/keys/)).### Tool descriptions-Each tool's description should tell Claude when to use it ("Use `summon_agent` when the user references a 3D Agent by slug or wants to see an embodied response.").+Each tool's description should tell Claude when to use it ("Use `summon_agent` when the user references a three.ws by slug or wants to see an embodied response.").## Validationdiff --git a/.github/skills/3d-viewer/SKILL.md b/.github/skills/3d-viewer/SKILL.mdindex 37c846e3b..3ddb339b1 100644--- a/.github/skills/3d-viewer/SKILL.md+++ b/.github/skills/3d-viewer/SKILL.md@@ -1,14 +1,14 @@---name: 3d-viewer-description: 'Full project workflow for the 3D Agent platform. Use when: developing features, debugging, modifying UI, understanding architecture, running dev server, or making code changes anywhere in the repo (viewer, agent runtime, API, contracts).'+description: 'Full project workflow for the three.ws platform. Use when: developing features, debugging, modifying UI, understanding architecture, running dev server, or making code changes anywhere in the repo (viewer, agent runtime, API, contracts).'argument-hint: 'Describe what you want to do'----# 3D Agent — Project Workflow+# three.ws — Project Workflow## Overview-**3D Agent** started as a glTF 2.0 / GLB viewer and grew into a full embodied-agent platform. Live at [three.ws](https://three.ws/). Read [/CLAUDE.md](../../../CLAUDE.md) first — this skill is an index; the CLAUDE.md files are the source of truth.+**three.ws** started as a glTF 2.0 / GLB viewer and grew into a full embodied-agent platform. Live at [three.ws](https://three.ws/). Read [/CLAUDE.md](../../../CLAUDE.md) first — this skill is an index; the CLAUDE.md files are the source of truth.## Two halvesdiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex b8bfee0f9..70ffd101a 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -1,4 +1,4 @@-# Contributing to 3D Agent+# Contributing to three.wsThanks for your interest in contributing! This guide covers everything you need to get started.diff --git a/README.md b/README.mdindex cc37029f4..eab10e44a 100644--- a/README.md+++ b/README.md@@ -1,6 +1,6 @@----title: 3D Agent-description: 3D Agent is an open-source, browser-native 3D model viewer built on three.js. It renders glTF 2.0 and GLB files directly in WebGL. No plugins, no server uploads, no installs. Create your own models and agents or just open the site, drop a file, and inspect your model instantly.+title: three.ws+description: three.ws is an open-source, browser-native 3D model viewer built on three.js. It renders glTF 2.0 and GLB files directly in WebGL. No plugins, no server uploads, no installs. Create your own models and agents or just open the site, drop a file, and inspect your model instantly.---<video width="100%" height="auto" autoplay loop muted playsinline>@@ -19,9 +19,9 @@ description: 3D Agent is an open-source, browser-native 3D model viewer built on----## 🧠 What is 3D Agent?+## 🧠 What is three.ws?-**3D Agent** is an open-source, browser-native 3D model viewer built on [three.js](https://threejs.org/) (r176). It renders **glTF 2.0** and **GLB** files directly in WebGL — no plugins, no server uploads, no installs. Just open [three.ws](https://three.ws/), drop a file, and inspect your model instantly.+**three.ws** is an open-source, browser-native 3D model viewer built on [three.js](https://threejs.org/) (r176). It renders **glTF 2.0** and **GLB** files directly in WebGL — no plugins, no server uploads, no installs. Just open [three.ws](https://three.ws/), drop a file, and inspect your model instantly.It's built for **3D artists** previewing exports, **game developers** debugging assets, **web developers** integrating models, and **anyone curious** about 3D on the web.diff --git a/a-edit.html b/a-edit.htmlindex 33a1642e1..6367cf0e9 100644--- a/a-edit.html+++ b/a-edit.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>Edit Agent — 3D Agent</title>+ <title>Edit Agent — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="robots" content="noindex" /><meta name="theme-color" content="#000000" />@@ -270,7 +270,7 @@root.innerHTML = `<div class="ce-error">Invalid URL — expected /a/:chainId/:agentId/edit</div>`;} else {backLink.href = `/a/${chainId}/${agentId}`;- document.title = `Edit Agent #${agentId} — 3D Agent`;+ document.title = `Edit Agent #${agentId} — three.ws`;mountChainEdit(root, chainId, agentId).catch((err) => {root.innerHTML = `<div class="ce-error">${err.message}</div>`;diff --git a/a-embed.html b/a-embed.htmlindex 35376492a..9520310f0 100644--- a/a-embed.html+++ b/a-embed.html@@ -2,9 +2,9 @@<html lang="en"><head><meta charset="utf-8" />- <title>3D Agent</title>+ <title>three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <meta name="description" content="Embedded 3D agent avatar — on-chain." />+ <meta name="description" content="Embedded three.ws avatar — on-chain." /><meta name="robots" content="noindex" /><style>html,diff --git a/agent-edit.html b/agent-edit.htmlindex 047bccd35..d8d95bddc 100644--- a/agent-edit.html+++ b/agent-edit.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>Edit Agent — 3D Agent</title>+ <title>Edit Agent — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="theme-color" content="#000000" /><link rel="shortcut icon" href="/favicon.ico" />diff --git a/agent-embed.html b/agent-embed.htmlindex e5ac12786..71437fd85 100644--- a/agent-embed.html+++ b/agent-embed.html@@ -4,7 +4,7 @@<meta charset="utf-8" /><title>Agent</title><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <meta name="description" content="Embedded 3D agent avatar." />+ <meta name="description" content="Embedded three.ws avatar." /><meta name="robots" content="noindex" /><style>html,diff --git a/agent-home.html b/agent-home.htmlindex 975056c8c..3b3f69430 100644--- a/agent-home.html+++ b/agent-home.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>Agent Home — 3D Agent</title>+ <title>Agent Home — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><metaname="description"@@ -25,7 +25,7 @@<meta property="og:type" content="website" /><meta property="og:title" content="Agent" id="og-title" />- <meta property="og:description" content="An embodied 3D agent." id="og-description" />+ <meta property="og:description" content="An embodied three.ws." id="og-description" /><meta property="og:image" content="" id="og-image" /><meta property="og:url" content="" id="og-url" /><meta name="twitter:card" content="summary_large_image" />@@ -418,7 +418,7 @@<body><a href="#main" class="skip-link">Skip to main content</a><header class="agent-page-header" style="justify-content: space-between">- <a href="/" aria-label="Back to 3D Agent home">← 3D Agent</a>+ <a href="/" aria-label="Back to three.ws home">← three.ws</a><!-- BEGIN:AGENT_HOME_ORPHANS_DOM --><div id="agent-share-btn-mount"></div><!-- END:AGENT_HOME_ORPHANS_DOM -->@@ -620,7 +620,7 @@const snippets = {iframe: `<iframe src="${embedUrl}" width="420" height="520" style="border:0;border-radius:12px" allow="autoplay; xr-spatial-tracking"></iframe>`,link: agentUrl,- webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-3d agent-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,+ webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-three.ws-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,};let current = 'iframe';@@ -754,7 +754,7 @@if (!id) return;const origin = location.origin;const name = identity.name || 'Agent';- const desc = identity.description || 'An embodied 3D agent.';+ const desc = identity.description || 'An embodied three.ws.';const agentUrl = `${origin}/agent/${id}`;const img = `${origin}/api/agent/${id}/og`;const setAttr = (elId, attr, value) => {@@ -773,7 +773,7 @@'href',`${origin}/api/oembed?url=${encodeURIComponent(agentUrl)}`,);- document.title = `${name} — 3D Agent`;+ document.title = `${name} — three.ws`;}main().catch((err) => {diff --git a/api/_lib/email.js b/api/_lib/email.jsindex a52f49976..31d14d9f8 100644--- a/api/_lib/email.js+++ b/api/_lib/email.js@@ -1,7 +1,7 @@// Transactional email via Resend. All sends are fire-and-forget — never await// them on the critical path. Import sendEmail and call without await.//-// Required env: RESEND_API_KEY, EMAIL_FROM (e.g. "3D Agent <[email protected]>")+// Required env: RESEND_API_KEY, EMAIL_FROM (e.g. "three.ws <[email protected]>")// Optional env: EMAIL_REPLY_TOimport { Resend } from 'resend';@@ -12,7 +12,7 @@ function client() {return _client;}-const FROM = process.env.EMAIL_FROM || '3D Agent <[email protected]>';+const FROM = process.env.EMAIL_FROM || 'three.ws <[email protected]>';const REPLY = process.env.EMAIL_REPLY_TO || null;const APP_URL = process.env.APP_ORIGIN || 'https://3dagent.xyz';@@ -40,7 +40,7 @@ export function sendWelcomeEmail({ to, displayName }) {const name = displayName || 'there';return sendEmail({to,- subject: 'Welcome to 3D Agent',+ subject: 'Welcome to three.ws',html: welcomeHtml(name),text: welcomeText(name),});@@ -58,7 +58,7 @@ export function sendVerificationEmail({ to, code, expiresInMinutes = 30 }) {export function sendPasswordResetEmail({ to, resetUrl, expiresInMinutes = 60 }) {return sendEmail({to,- subject: 'Reset your 3D Agent password',+ subject: 'Reset your three.ws password',html: resetHtml(resetUrl, expiresInMinutes),text: resetText(resetUrl, expiresInMinutes),});@@ -67,7 +67,7 @@ export function sendPasswordResetEmail({ to, resetUrl, expiresInMinutes = 60 })export function sendSubscriptionConfirmEmail({ to, plan, chain, txId }) {return sendEmail({to,- subject: `3D Agent ${capitalize(plan)} plan activated`,+ subject: `three.ws ${capitalize(plan)} plan activated`,html: subscriptionHtml(plan, chain, txId),text: subscriptionText(plan, chain, txId),});@@ -95,7 +95,7 @@ function layout(body) {function welcomeHtml(name) {return layout(`- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>Welcome, ${esc(name)} 👋</h1><p>Your account is ready. Start by uploading your first 3D avatar or connecting an on-chain agent identity.</p><a class="btn" href="${APP_URL}/dashboard/">Open Dashboard</a>@@ -105,12 +105,12 @@ function welcomeHtml(name) {}function welcomeText(name) {- return `Welcome to 3D Agent, ${name}!\n\nYour account is ready. Open your dashboard: ${APP_URL}/dashboard/\n\nQuestions? Reply to this email.`;+ return `Welcome to three.ws, ${name}!\n\nYour account is ready. Open your dashboard: ${APP_URL}/dashboard/\n\nQuestions? Reply to this email.`;}function verifyHtml(code, mins) {return layout(`- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>Verify your email</h1><p>Enter this code to verify your email address. It expires in ${mins} minutes.</p><div class="code">${esc(code)}</div>@@ -119,12 +119,12 @@ function verifyHtml(code, mins) {}function verifyText(code, mins) {- return `Your 3D Agent verification code is: ${code}\n\nExpires in ${mins} minutes.`;+ return `Your three.ws verification code is: ${code}\n\nExpires in ${mins} minutes.`;}function resetHtml(url, mins) {return layout(`- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>Reset your password</h1><p>Click below to set a new password. This link expires in ${mins} minutes.</p><a class="btn" href="${esc(url)}">Reset password</a>@@ -133,12 +133,12 @@ function resetHtml(url, mins) {}function resetText(url, mins) {- return `Reset your 3D Agent password:\n${url}\n\nExpires in ${mins} minutes.`;+ return `Reset your three.ws password:\n${url}\n\nExpires in ${mins} minutes.`;}function subscriptionHtml(plan, chain, txId) {return layout(`- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>${capitalize(plan)} plan activated 🎉</h1><p>Your <strong>${capitalize(plan)}</strong> subscription is now active on ${capitalize(chain)}.</p>${txId ? `<p class="muted">Transaction: <code>${esc(txId)}</code></p>` : ''}@@ -147,7 +147,7 @@ function subscriptionHtml(plan, chain, txId) {}function subscriptionText(plan, chain, txId) {- return `Your 3D Agent ${plan} plan is now active on ${chain}.\n${txId ? `Transaction: ${txId}\n` : ''}Open dashboard: ${APP_URL}/dashboard/`;+ return `Your three.ws ${plan} plan is now active on ${chain}.\n${txId ? `Transaction: ${txId}\n` : ''}Open dashboard: ${APP_URL}/dashboard/`;}function esc(s) {diff --git a/api/_lib/schema.sql b/api/_lib/schema.sqlindex cc8e368e2..641257bd0 100644--- a/api/_lib/schema.sql+++ b/api/_lib/schema.sql@@ -1,5 +1,5 @@-- ─────────────────────────────────────────────────────────────────────────────--- 3D Agent — Postgres schema (Neon)+-- three.ws — Postgres schema (Neon)-- Idempotent migrations. Apply with: psql "$DATABASE_URL" -f api/_lib/schema.sql-- ─────────────────────────────────────────────────────────────────────────────diff --git a/api/a-og.js b/api/a-og.jsindex 0415b48fd..9506d1a06 100644--- a/api/a-og.js+++ b/api/a-og.js@@ -38,8 +38,8 @@ export default wrap(async (req, res) => {res.setHeader('cache-control', status === 200 ? CACHE_CARD : 'public, max-age=60');res.end(JSON.stringify({- title: (agent.name || `Agent #${agentId}`) + ' — 3D Agent',- description: agent.description || 'An embodied 3D agent.',+ title: (agent.name || `Agent #${agentId}`) + ' — three.ws',+ description: agent.description || 'An embodied three.ws.',image: imageUrl,url: pageUrl,type: 'profile',@@ -76,7 +76,7 @@ export default wrap(async (req, res) => {function renderCard(agent) {const name = agent.name || `Agent #${agent.agentId}`;- const desc = agent.description || 'An embodied 3D agent on-chain.';+ const desc = agent.description || 'An embodied three.ws on-chain.';const chain = agent.chainName || `Chain ${agent.chainId}`;const short = agent.chainShort || '';const owner = agent.owner ? shortenAddr(agent.owner) : '';@@ -127,7 +127,7 @@ function renderCard(agent) {<!-- Brand footer --><g transform="translate(80, 550)"><circle cx="12" cy="12" r="10" fill="none" stroke="${accent}" stroke-width="2"/>- <text x="34" y="19" fill="rgba(229,229,229,0.45)" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="18" font-weight="500" letter-spacing="3">3D AGENT</text>+ <text x="34" y="19" fill="rgba(229,229,229,0.45)" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="18" font-weight="500" letter-spacing="3">three.ws</text></g><text x="1120" y="569" text-anchor="end" fill="rgba(229,229,229,0.3)" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="16">eip155:${agent.chainId}${safeShort ? ` · ${safeShort}` : ''}</text></svg>`;diff --git a/api/a-page.js b/api/a-page.jsindex afc0e2487..26d1e6e99 100644--- a/api/a-page.js+++ b/api/a-page.js@@ -47,7 +47,7 @@ export default wrap(async (req, res) => {const ownerShort = agent.owner ? shortenAddr(agent.owner) : '';const desc =agent.description ||- `An embodied 3D agent on ${chainLabel}${ownerShort ? ` · owned by ${ownerShort}` : ''}.`;+ `An embodied three.ws on ${chainLabel}${ownerShort ? ` · owned by ${ownerShort}` : ''}.`;res.statusCode = 200;res.setHeader('content-type', 'text/html; charset=utf-8');@@ -76,7 +76,7 @@ function notFound(res, reason) {res.setHeader('content-type', 'text/html; charset=utf-8');res.setHeader('cache-control', 'public, max-age=60');res.end(- `<!doctype html><meta charset="utf-8"><title>Agent not found — 3D Agent</title>+ `<!doctype html><meta charset="utf-8"><title>Agent not found — three.ws</title><style>body{font-family:Inter,system-ui,sans-serif;background:#0a0a0a;color:#e0e0e0;display:grid;place-items:center;min-height:100vh;margin:0}main{text-align:center;padding:2rem;max-width:520px}a{color:#8b5cf6}</style><main><h1>Agent not found</h1><p>${escapeHtml(reason)}</p><p><a href="/discover">Browse all on-chain agents</a> · <a href="/">Open viewer</a></p></main>`,);@@ -91,13 +91,13 @@ function renderHtml(p) {<head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">- <title>${t} · ${chainL} — 3D Agent</title>+ <title>${t} · ${chainL} — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"><meta name="description" content="${d}"><meta name="theme-color" content="#0a0a0a"><meta property="og:type" content="profile">- <meta property="og:site_name" content="3D Agent">+ <meta property="og:site_name" content="three.ws"><meta property="og:title" content="${t}"><meta property="og:description" content="${d}"><meta property="og:url" content="${escapeAttr(p.pageUrl)}">@@ -171,7 +171,7 @@ ${escapeJsonLd({image: p.ogUrl,identifier: `eip155:${p.chainId}:${p.agentId}`,sameAs: p.manifestURI ? [p.manifestURI] : undefined,- provider: { '@type': 'Organization', name: '3D Agent', url: 'https://three.ws/' },+ provider: { '@type': 'Organization', name: 'three.ws', url: 'https://three.ws/' },})}</script></body>diff --git a/api/agent-oembed.js b/api/agent-oembed.jsindex f21e14218..130c45d04 100644--- a/api/agent-oembed.js+++ b/api/agent-oembed.js@@ -52,7 +52,7 @@ export default wrap(async (req, res) => {const payload = {type: 'rich',version: '1.0',- provider_name: '3D Agent',+ provider_name: 'three.ws',provider_url: origin,title,author_name: title,@@ -134,7 +134,7 @@ async function sendOnChain(res, format, { chainId, agentId }) {const payload = {type: 'rich',version: '1.0',- provider_name: '3D Agent',+ provider_name: 'three.ws',provider_url: origin,title,author_name: title,diff --git a/api/agent-og.js b/api/agent-og.jsindex db61f0e19..8916f9a8f 100644--- a/api/agent-og.js+++ b/api/agent-og.js@@ -45,7 +45,7 @@ export default wrap(async (req, res) => {sendCardSvg(res, 200, CACHE_CARD, {name: agent.name || 'Agent',- description: agent.description || 'An embodied 3D agent.',+ description: agent.description || 'An embodied three.ws.',});});@@ -72,7 +72,7 @@ function renderCardSvg({ name, description }) {<text x="80" y="140" fill="#e5e5e5" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="56" font-weight="300">◎</text><text x="80" y="320" fill="#e5e5e5" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="76" font-weight="300" letter-spacing="-2">${safeName}</text><text x="80" y="390" fill="rgba(229,229,229,0.55)" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="28" font-weight="400">${safeDesc}</text>- <text x="80" y="570" fill="rgba(229,229,229,0.3)" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="20" font-weight="400" letter-spacing="4">3D AGENT</text>+ <text x="80" y="570" fill="rgba(229,229,229,0.3)" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="20" font-weight="400" letter-spacing="4">three.ws</text></svg>`;}diff --git a/api/artifact.js b/api/artifact.jsindex faa960a54..61ca303fb 100644--- a/api/artifact.js+++ b/api/artifact.js@@ -107,7 +107,7 @@ export default wrap(async (req, res) => {.join(' ');html = buildHtml({- title: `${row.name} — 3D Agent`,+ title: `${row.name} — three.ws`,element: `<agent-3d ${attrs}></agent-3d>`,appOrigin,});@@ -131,7 +131,7 @@ export default wrap(async (req, res) => {.join(' ');html = buildHtml({- title: '3D Agent Viewer',+ title: 'three.ws Viewer',element: `<agent-3d ${attrs}></agent-3d>`,appOrigin,});diff --git a/api/auth/wallets/nonce.js b/api/auth/wallets/nonce.jsindex a71efa799..4183c8499 100644--- a/api/auth/wallets/nonce.js+++ b/api/auth/wallets/nonce.js@@ -16,10 +16,10 @@ export default wrap(async (req, res) => {// Generate SIWE-like message for signing.const message = [- `3D Agent wants you to sign in with your Ethereum account:`,+ `three.ws wants you to sign in with your Ethereum account:`,`Address to link (will be filled by wallet):`,``,- `Link this wallet to 3D Agent account ${session.email}`,+ `Link this wallet to three.ws account ${session.email}`,``,`URI: ${process.env.APP_ORIGIN || 'https://three.ws/'}`,`Version: 1`,diff --git a/api/chat.js b/api/chat.jsindex cbe4b126b..5948ebe34 100644--- a/api/chat.js+++ b/api/chat.js@@ -1,4 +1,4 @@-// POST /api/chat — AI-powered chat for the 3D Agent.+// POST /api/chat — AI-powered chat for the three.ws.//// Takes a user message + viewer context, forwards to Anthropic with a set of// viewer-control tools exposed as function-calls, and returns:@@ -243,7 +243,7 @@ function buildSystemPrompt(ctx = {}) {const settings = `Viewer settings — wireframe:${fmtBool(ctx.wireframe)}, skeleton:${fmtBool(ctx.skeleton)}, grid:${fmtBool(ctx.grid)}, autoRotate:${fmtBool(ctx.autoRotate)}, transparentBg:${fmtBool(ctx.transparentBg)}, bgColor:${ctx.bgColor || '?'}, environment:${ctx.currentEnvironment || '?'}.`;return [- 'You are the 3D Agent — an embodied AI assistant embedded inside a browser-native glTF/GLB viewer at three.ws.',+ 'You are the three.ws — an embodied AI assistant embedded inside a browser-native glTF/GLB viewer at three.ws.','Your job is to help the user inspect, understand, and modify the 3D scene. You have deep glTF 2.0, PBR materials, and three.js expertise.','When the user asks you to change the viewer (e.g. "enable wireframe", "make the background dark blue", "turn on auto rotate"), USE the provided tools to perform the change — do not just describe it.','When asked about the loaded model, use the context below as ground truth. Do not invent stats.',diff --git a/api/oauth/authorize.js b/api/oauth/authorize.jsindex 19ca5b1d3..7af97e9fc 100644--- a/api/oauth/authorize.js+++ b/api/oauth/authorize.js@@ -148,7 +148,7 @@ function renderConsent(res, { client, user, params, csrf }) {res.end(`<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">-<title>Authorize ${esc(client.name)} · 3D Agent</title>+<title>Authorize ${esc(client.name)} · three.ws</title><style>:root { color-scheme: light dark; }body { font: 16px/1.5 -apple-system,system-ui,Segoe UI,Roboto,sans-serif; background:#0b0b10; color:#eee; margin:0; min-height:100vh; display:grid; place-items:center; padding:24px; }@@ -170,7 +170,7 @@ function renderConsent(res, { client, user, params, csrf }) {</style></head><body><form class="card" method="post" action="/api/oauth/authorize"><h1>Authorize <b>${esc(client.name)}</b></h1>- <p class="sub">Grant this application access to your 3D Agent account.</p>+ <p class="sub">Grant this application access to your three.ws account.</p><div class="who"><div class="dot">${esc((user.display_name || user.email)[0].toUpperCase())}</div><div><div>${esc(user.display_name || user.email)}</div><div style="color:#888;font-size:13px">${esc(user.email)}</div></div></div><p style="margin:0 0 4px"><b>${esc(client.name)}</b> will be able to:</p><ul>${scopeList.map((s) => `<li>${scopeLabel(s)}</li>`).join('')}</ul>diff --git a/api/openapi-json.js b/api/openapi-json.jsindex 75f055ab3..e2b53372e 100644--- a/api/openapi-json.js+++ b/api/openapi-json.js@@ -16,7 +16,7 @@ export default wrap(async (req, res) => {{openapi: '3.1.0',info: {- title: '3D Agent API',+ title: 'three.ws API',version: '1.0.0',description:'API for 3D avatar management, AI agent identity, and MCP tool access.',diff --git a/api/v1/agents/[caip].js b/api/v1/agents/[caip].jsindex 07d09dd21..9d8ab0084 100644--- a/api/v1/agents/[caip].js+++ b/api/v1/agents/[caip].js@@ -1,7 +1,7 @@/*** GET /api/v1/agents/:caip*- * Public, gateway-cached resolver for an ERC-8004 / 3D Agent Card v1 agent.+ * Public, gateway-cached resolver for an ERC-8004 / three.ws Card v1 agent.* Consumers (badge web component, indexers, third-party sites) call this so* they don't have to do RPC + IPFS + sha256 verification themselves.*diff --git a/api/widgets/oembed.js b/api/widgets/oembed.jsindex 14351ac37..6adb4326a 100644--- a/api/widgets/oembed.js+++ b/api/widgets/oembed.js@@ -59,7 +59,7 @@ export default wrap(async (req, res) => {const payload = {type: 'rich',version: '1.0',- provider_name: '3D Agent',+ provider_name: 'three.ws',provider_url: origin,title,author_name: title,diff --git a/api/widgets/og.js b/api/widgets/og.jsindex 8b7b55d44..953bedaaa 100644--- a/api/widgets/og.js+++ b/api/widgets/og.js@@ -38,7 +38,7 @@ export default wrap(async (req, res) => {if (widget.is_public === false) {sendCardSvg(res, 200, CACHE_CARD, {name: 'Private widget',- type: '3D Agent',+ type: 'three.ws',});return;}@@ -80,7 +80,7 @@ async function loadWidget(id) {function sendNotFound(res) {sendCardSvg(res, 404, 'public, max-age=60', {name: 'Widget not found',- type: '3D Agent',+ type: 'three.ws',});}@@ -101,7 +101,7 @@ function renderCardSvg({ name, type }) {<text x="170" y="104" fill="#c4b5fd" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="16" font-weight="500" letter-spacing="2" text-anchor="middle">${safeType.toUpperCase()}</text><text x="80" y="320" fill="#e5e5e5" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="76" font-weight="300" letter-spacing="-2">${safeName}</text><text x="80" y="380" fill="rgba(229,229,229,0.55)" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="24" font-weight="400">Embeddable 3D — no code.</text>- <text x="80" y="570" fill="rgba(229,229,229,0.3)" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="20" font-weight="400" letter-spacing="4">3D AGENT</text>+ <text x="80" y="570" fill="rgba(229,229,229,0.3)" font-family="Inter, -apple-system, system-ui, sans-serif" font-size="20" font-weight="400" letter-spacing="4">three.ws</text></svg>`;}diff --git a/api/widgets/page.js b/api/widgets/page.jsindex 787746417..c4e20f811 100644--- a/api/widgets/page.js+++ b/api/widgets/page.js@@ -115,7 +115,7 @@ export default wrap(async (req, res) => {const oembedJs = `${origin}/api/widgets/oembed?url=${encodeURIComponent(pageUrl)}&format=json`;const title = widget.name || 'Widget';const typeLbl = TYPE_LABEL[widget.type] || 'Widget';- const desc = `${typeLbl} · embeddable 3D, no code. Powered by 3D Agent.`;+ const desc = `${typeLbl} · embeddable 3D, no code. Powered by three.ws.`;res.statusCode = 200;res.setHeader('content-type', 'text/html; charset=utf-8');@@ -167,7 +167,7 @@ function forbidden(res, msg) {const m = escapeHtml(msg || 'Access denied.');res.end(`<!doctype html><meta charset="utf-8"><title>Access denied</title><style>body{font-family:Inter,system-ui,sans-serif;background:#0a0a0a;color:#e0e0e0;display:grid;place-items:center;min-height:100vh;margin:0}main{text-align:center;padding:2rem}a{color:#8b5cf6}</style>-<main><h1>Access denied</h1><p>${m}</p><p><a href="/">Open 3D Agent</a></p></main>`);+<main><h1>Access denied</h1><p>${m}</p><p><a href="/">Open three.ws</a></p></main>`);}function notFound(res) {@@ -187,13 +187,13 @@ function renderHtml({ title, desc, pageUrl, embedUrl, ogUrl, oembedJs, widgetId<head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">- <title>${t} — 3D Agent</title>+ <title>${t} — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"><meta name="description" content="${d}"><meta name="theme-color" content="#0a0a0a"><meta property="og:type" content="website">- <meta property="og:site_name" content="3D Agent">+ <meta property="og:site_name" content="three.ws"><meta property="og:title" content="${t}"><meta property="og:description" content="${d}"><meta property="og:url" content="${escapeAttr(pageUrl)}">@@ -253,7 +253,7 @@ ${escapeJsonLd({url: pageUrl,image: ogUrl,identifier: widgetId,- provider: { '@type': 'Organization', name: '3D Agent', url: 'https://three.ws/' },+ provider: { '@type': 'Organization', name: 'three.ws', url: 'https://three.ws/' },})}</script></body>@@ -267,14 +267,14 @@ function renderPrivateHtml({ pageUrl, ogUrl }) {<html lang="en"><head><meta charset="utf-8">- <title>${title} — 3D Agent</title>+ <title>${title} — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="description" content="${desc}"><meta name="robots" content="noindex, nofollow"><meta name="theme-color" content="#0a0a0a"><meta property="og:type" content="website">- <meta property="og:site_name" content="3D Agent">+ <meta property="og:site_name" content="three.ws"><meta property="og:title" content="${title}"><meta property="og:description" content="${desc}"><meta property="og:url" content="${escapeAttr(pageUrl)}">@@ -301,7 +301,7 @@ function renderPrivateHtml({ pageUrl, ogUrl }) {<main><h1>${title}</h1><p>${desc} The owner hasn't shared it publicly.</p>- <p><a href="/">Open 3D Agent</a></p>+ <p><a href="/">Open three.ws</a></p></main></body></html>`;diff --git a/app.html b/app.htmlindex a09bacc81..6a6db259d 100644--- a/app.html+++ b/app.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>3D Agent — AI-Powered 3D Model Viewer</title>+ <title>three.ws — AI-Powered 3D Model Viewer</title><metaname="viewport"content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"@@ -15,26 +15,26 @@/><metaname="keywords"- content="3D agent, AI agent, embodied AI, glTF viewer, GLB viewer, 3D model viewer, WebGL, three.js, ERC-8004, agent identity"+ content="three.ws, AI agent, embodied AI, glTF viewer, GLB viewer, 3D model viewer, WebGL, three.js, ERC-8004, agent identity"/><meta name="theme-color" content="#000000" /><!-- Open Graph --><meta property="og:type" content="website" />- <meta property="og:title" content="3D Agent — The First Embodied AI Agent" />+ <meta property="og:title" content="three.ws — The First Embodied AI Agent" /><metaproperty="og:description"content="Agents have always been imagined as present. We made that real."/><meta property="og:url" content="https://three.ws/" />- <meta property="og:site_name" content="3D Agent" />+ <meta property="og:site_name" content="three.ws" /><!-- Twitter / X --><meta name="twitter:card" content="summary_large_image" />- <meta name="twitter:title" content="3D Agent — Embodied AI" />+ <meta name="twitter:title" content="three.ws — Embodied AI" /><metaname="twitter:description"- content="The first 3D agent with a body, a place, an identity, and memory."+ content="The first three.ws with a body, a place, an identity, and memory."/><meta name="twitter:creator" content="@nichxbt" />@@ -53,7 +53,7 @@<body><header><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/app" class="active">Viewer</a>diff --git a/assets/banner.svg b/assets/banner.svgindex 8520652c2..14b112009 100644--- a/assets/banner.svg+++ b/assets/banner.svg@@ -76,7 +76,7 @@</g><!-- Title -->- <text x="72" y="82" font-family="SF Pro Display, Inter, system-ui, -apple-system, sans-serif" font-size="66" font-weight="800" letter-spacing="5" fill="url(#tg)" filter="url(#glow)">3D AGENT</text>+ <text x="72" y="82" font-family="SF Pro Display, Inter, system-ui, -apple-system, sans-serif" font-size="66" font-weight="800" letter-spacing="5" fill="url(#tg)" filter="url(#glow)">three.ws</text><!-- Subtitle --><text x="75" y="114" font-family="SF Pro Text, Inter, system-ui, sans-serif" font-size="12.5" fill="#6a7f94" letter-spacing="2.5">BROWSER-NATIVE · DRAG & DROP · glTF / GLB · WebGL 2.0 · THREE.JS r176</text>diff --git a/contracts/README.md b/contracts/README.mdindex b7edb04db..07ce73429 100644--- a/contracts/README.md+++ b/contracts/README.md@@ -58,14 +58,14 @@ forge test -vvSame as above but with `$BASE_RPC_URL`, and update the `8453` entry in `abi.js`.-## After deploy: register the 3D Agent itself+## After deploy: register the three.ws itself```js// Browser console on three.ws with wallet connected to Base Sepolia:import { registerAgent } from './src/erc8004/index.js';const r = await registerAgent({glbFile: /* your GLB File */,- name: '3D Agent',+ name: 'three.ws',description: 'AI-powered 3D model viewer & validation agent',apiToken: 'YOUR_WEB3STORAGE_TOKEN',onStatus: console.log,@@ -83,7 +83,7 @@ Then update [`../public/.well-known/agent-registration.json`](../public/.well-kn## Allow-list a validator (for on-chain validation records)-After deploy, the deployer owns the ValidationRegistry. Add the 3D Agent's own wallet (or a dedicated validator key) with:+After deploy, the deployer owns the ValidationRegistry. Add the three.ws's own wallet (or a dedicated validator key) with:```bashcast send $VALIDATION_REGISTRY \diff --git a/create.html b/create.htmlindex 5d5ff8e6f..b55e8490f 100644--- a/create.html+++ b/create.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>Create avatar · 3D Agent</title>+ <title>Create avatar · three.ws</title><link rel="icon" href="/favicon.ico" /><metaname="description"@@ -437,7 +437,7 @@</svg><span>Back</span></button>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><div class="spacer" aria-hidden="true"></div></header>diff --git a/dist-artifact/.well-known/agent-card.json b/dist-artifact/.well-known/agent-card.jsonindex f72b3c400..49768195b 100644--- a/dist-artifact/.well-known/agent-card.json+++ b/dist-artifact/.well-known/agent-card.json@@ -1,9 +1,9 @@{- "name": "3D Agent",+ "name": "three.ws","description": "AI-powered 3D model viewer and validation agent. Load glTF/GLB models, run validation, inspect materials, and manage avatar assets.","url": "https://three.ws/","provider": {- "organization": "3D Agent",+ "organization": "three.ws","url": "https://three.ws/"},"version": "1.5.1",diff --git a/dist-artifact/.well-known/agent-registration.json b/dist-artifact/.well-known/agent-registration.jsonindex 2af252e91..e216957d0 100644--- a/dist-artifact/.well-known/agent-registration.json+++ b/dist-artifact/.well-known/agent-registration.json@@ -1,6 +1,6 @@{"type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",- "name": "3D Agent",+ "name": "three.ws","description": "AI-powered 3D model viewer and validation agent. Drag and drop glTF, GLB, and 3D files to preview instantly in your browser. Supports real-time rendering, model validation, environment maps, and animation playback via Three.js and WebGL.","image": "https://three.ws/og-image.png","active": true,diff --git a/dist-artifact/.well-known/ai-plugin.json b/dist-artifact/.well-known/ai-plugin.jsonindex 01f51bd3f..7e4001aa2 100644--- a/dist-artifact/.well-known/ai-plugin.json+++ b/dist-artifact/.well-known/ai-plugin.json@@ -1,6 +1,6 @@{"schema_version": "v1",- "name_for_human": "3D Agent",+ "name_for_human": "three.ws","name_for_model": "3d_agent","description_for_human": "AI-powered 3D model viewer. Drag and drop glTF, GLB, and 3D files to preview instantly in your browser.","description_for_model": "A web-based 3D model viewer that supports glTF and GLB file formats. Users can drag-and-drop 3D models to preview them with real-time rendering powered by Three.js and WebGL.",diff --git a/dist-artifact/.well-known/openapi.yaml b/dist-artifact/.well-known/openapi.yamlindex a0c0f684d..8f11e9580 100644--- a/dist-artifact/.well-known/openapi.yaml+++ b/dist-artifact/.well-known/openapi.yaml@@ -1,6 +1,6 @@openapi: 3.0.0info:- title: 3D Agent API+ title: three.ws APIdescription: >AI-powered 3D avatar management platform. Supports OAuth 2.1 (with PKCE),session cookies, and API keys for authentication. Avatars are stored asdiff --git a/dist-artifact/agent-edit/index.html b/dist-artifact/agent-edit/index.htmlindex 536c4fb69..596a51378 100644--- a/dist-artifact/agent-edit/index.html+++ b/dist-artifact/agent-edit/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">-<title>Edit Persona · 3D Agent</title>+<title>Edit Persona · three.ws</title><link rel="icon" href="/favicon.ico"><style>:root { color-scheme: dark; --accent:#6a5cff; --accent2:#ff5ca8; --border:#22222e; --bg:#0b0b10; --panel:#14141c; }@@ -110,7 +110,7 @@<body><header><div class="header-left">- <a class="brand" href="/">3D Agent</a>+ <a class="brand" href="/">three.ws</a><span class="header-title" id="header-title">Edit Persona</span></div><div class="header-actions">diff --git a/dist-artifact/agent/embed.html b/dist-artifact/agent/embed.htmlindex 1390d26ce..9c146366b 100644--- a/dist-artifact/agent/embed.html+++ b/dist-artifact/agent/embed.html@@ -4,7 +4,7 @@<meta charset="utf-8" /><title>Agent</title><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <meta name="description" content="Embedded 3D agent avatar." />+ <meta name="description" content="Embedded three.ws avatar." /><meta name="robots" content="noindex" /><style>html, body { margin: 0; padding: 0; height: 100%; width: 100%; background: transparent; overflow: hidden; font-family: system-ui, sans-serif; }diff --git a/dist-artifact/agent/index.html b/dist-artifact/agent/index.htmlindex 51a0be609..69747a7ed 100644--- a/dist-artifact/agent/index.html+++ b/dist-artifact/agent/index.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>Agent Home — 3D Agent</title>+ <title>Agent Home — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="An embodied 3D AI agent — body, place, identity, memory." /><meta name="theme-color" content="#000000" />@@ -16,7 +16,7 @@<!-- unfurl (populated at runtime from identity) --><meta property="og:type" content="website" /><meta property="og:title" content="Agent" id="og-title" />- <meta property="og:description" content="An embodied 3D agent." id="og-description" />+ <meta property="og:description" content="An embodied three.ws." id="og-description" /><meta property="og:image" content="" id="og-image" /><meta property="og:url" content="" id="og-url" /><meta name="twitter:card" content="summary_large_image" />@@ -406,7 +406,7 @@</head><body><div class="agent-page-header">- <a href="/">← 3D Agent</a>+ <a href="/">← three.ws</a></div><div class="agent-page-hero">@@ -520,7 +520,7 @@const snippets = {iframe: `<iframe src="${embedUrl}" width="420" height="520" style="border:0;border-radius:12px" allow="autoplay; xr-spatial-tracking"></iframe>`,link: agentUrl,- webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-3d agent-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,+ webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-three.ws-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,};let current = 'iframe';@@ -556,7 +556,7 @@if (!id) return;const origin = location.origin;const name = identity.name || 'Agent';- const desc = identity.description || 'An embodied 3D agent.';+ const desc = identity.description || 'An embodied three.ws.';const agentUrl = `${origin}/agent/${id}`;const img = `${origin}/api/agent/${id}/og`;const setAttr = (elId, attr, value) => {@@ -571,7 +571,7 @@setAttr('tw-description', 'content', desc);setAttr('tw-image', 'content', img);setAttr('oembed-link', 'href', `${origin}/api/oembed?url=${encodeURIComponent(agentUrl)}`);- document.title = `${name} — 3D Agent`;+ document.title = `${name} — three.ws`;}main().catch(err => {diff --git a/dist-artifact/agents/README.md b/dist-artifact/agents/README.mdindex 3108aa680..b5a341914 100644--- a/dist-artifact/agents/README.md+++ b/dist-artifact/agents/README.md@@ -1,6 +1,6 @@# Agents Directory-Public directory of registered agents across the 3D Agent ecosystem.+Public directory of registered agents across the three.ws ecosystem.## Featuresdiff --git a/dist-artifact/agents/index.html b/dist-artifact/agents/index.htmlindex 7ffb98297..630766766 100644--- a/dist-artifact/agents/index.html+++ b/dist-artifact/agents/index.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>Agents Directory — 3D Agent</title>+ <title>Agents Directory — three.ws</title><style>* {margin: 0;diff --git a/dist-artifact/artifact/README.md b/dist-artifact/artifact/README.mdindex b817b9bd9..4999b4210 100644--- a/dist-artifact/artifact/README.md+++ b/dist-artifact/artifact/README.md@@ -1,8 +1,8 @@-# Citing a 3D Agent artifact in Claude.ai+# Citing a three.ws artifact in Claude.ai`GET https://three.ws/api/artifact?agent=<agentId>`-Paste the URL into a Claude.ai conversation. Claude recognises it as an HTML artifact and renders the interactive 3D agent inline.+Paste the URL into a Claude.ai conversation. Claude recognises it as an HTML artifact and renders the interactive three.ws inline.## Worked examplediff --git a/dist-artifact/artifact/index.html b/dist-artifact/artifact/index.htmlindex c2b5fab99..545addb45 100644--- a/dist-artifact/artifact/index.html+++ b/dist-artifact/artifact/index.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>3D Agent Artifact Demo</title>+ <title>three.ws Artifact Demo</title><style>* {margin: 0;@@ -107,11 +107,11 @@</head><body><div class="container">- <h1>3D Agent Artifact Viewer</h1>+ <h1>three.ws Artifact Viewer</h1><div class="info"><p>- This demo shows how a 3D Agent renders inside a Claude Artifact. The bundle is+ This demo shows how a three.ws renders inside a Claude Artifact. The bundle isself-contained — no external dependencies or iframes.</p></div>diff --git a/dist-artifact/artifact/snippet.html b/dist-artifact/artifact/snippet.htmlindex e3b84d34c..90012d07e 100644--- a/dist-artifact/artifact/snippet.html+++ b/dist-artifact/artifact/snippet.html@@ -1,4 +1,4 @@-<!-- Paste this into a Claude Artifact to embed a 3D Agent -->+<!-- Paste this into a Claude Artifact to embed a three.ws --><script src="https://three.ws/artifact.js"></script><div id="agent3d" data-agent-id="your-agent-id-here" data-origin="https://three.ws/"></div>diff --git a/dist-artifact/cz/README.md b/dist-artifact/cz/README.mdindex 7719d6556..8f0ce3f5f 100644--- a/dist-artifact/cz/README.md+++ b/dist-artifact/cz/README.md@@ -2,7 +2,7 @@The CZ landing page is served at `/cz/` and provides:-- Full-bleed dark landing page with centered 3D agent avatar+- Full-bleed dark landing page with centered three.ws avatar- **Claim CZ** button — initiates wallet connection and claim flow- **Copy embed** button — copies `<agent-3d>` snippet to clipboard- Footer — displays on-chain state (chain, agentId, metadataURI)diff --git a/dist-artifact/cz/index.html b/dist-artifact/cz/index.htmlindex 38d649ee6..00c9446f6 100644--- a/dist-artifact/cz/index.html+++ b/dist-artifact/cz/index.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>Claim CZ · 3D Agent</title>+ <title>Claim CZ · three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="Meet CZ — an embodied 3D AI agent." /><meta name="theme-color" content="#000000" />diff --git a/dist-artifact/dashboard/actions.html b/dist-artifact/dashboard/actions.htmlindex 493e61cab..10ae53aec 100644--- a/dist-artifact/dashboard/actions.html+++ b/dist-artifact/dashboard/actions.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Action Log — 3D Agent</title>+ <title>Action Log — three.ws</title><style>:root {color-scheme: dark;diff --git a/dist-artifact/dashboard/dashboard.js b/dist-artifact/dashboard/dashboard.jsindex 99abd9592..df0f67a2b 100644--- a/dist-artifact/dashboard/dashboard.js+++ b/dist-artifact/dashboard/dashboard.js@@ -736,7 +736,7 @@ function renderMcp(root) {<pre><code>${esc(origin)}/api/mcp</code></pre><h3 class="section">Claude Desktop / Claude Code (remote)</h3>- <p class="muted">Add a Custom Connector in Claude. When prompted, sign in with your 3D Agent account.</p>+ <p class="muted">Add a Custom Connector in Claude. When prompted, sign in with your three.ws account.</p><pre><code>${esc(JSON.stringify({@@ -999,7 +999,7 @@ function bindOnchainDeploy(body, agent) {const result = await registerAgent({glbFile,name: agent.name || 'Agent',- description: agent.description || `3D agent ${agent.id}`,+ description: agent.description || `three.ws ${agent.id}`,apiToken: token.value.trim() || undefined,onStatus: (msg) => say(msg),});diff --git a/dist-artifact/dashboard/embed-policy.html b/dist-artifact/dashboard/embed-policy.htmlindex e9985f065..0d5ee04c9 100644--- a/dist-artifact/dashboard/embed-policy.html+++ b/dist-artifact/dashboard/embed-policy.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Embed policy · 3D Agent</title>+ <title>Embed policy · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -293,7 +293,7 @@<label for="brain-mode">Payment mode</label><select id="brain-mode"><option value="we-pay">- We-pay — 3D Agent covers API costs (quota-limited)+ We-pay — three.ws covers API costs (quota-limited)</option><option value="key-proxy">Key-proxy — calls routed through your proxy URLdiff --git a/dist-artifact/dashboard/index.html b/dist-artifact/dashboard/index.htmlindex 3299709d8..7312a694e 100644--- a/dist-artifact/dashboard/index.html+++ b/dist-artifact/dashboard/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Dashboard · 3D Agent</title>+ <title>Dashboard · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -649,7 +649,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><div class="row"><span id="user-email" class="muted"></span><button class="btn sec" onclick="signOut()">Sign out</button>diff --git a/dist-artifact/dashboard/sessions.html b/dist-artifact/dashboard/sessions.htmlindex ff9594a98..7b74a428d 100644--- a/dist-artifact/dashboard/sessions.html+++ b/dist-artifact/dashboard/sessions.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Sessions · 3D Agent</title>+ <title>Sessions · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -188,7 +188,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><button class="btn sec" onclick="signOut()">Sign out</button></header><main>diff --git a/dist-artifact/dashboard/storage.html b/dist-artifact/dashboard/storage.htmlindex bc9170d24..f61ba87ce 100644--- a/dist-artifact/dashboard/storage.html+++ b/dist-artifact/dashboard/storage.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Storage · 3D Agent</title>+ <title>Storage · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {diff --git a/dist-artifact/dashboard/usage.html b/dist-artifact/dashboard/usage.htmlindex 3d46aae13..23166c00a 100644--- a/dist-artifact/dashboard/usage.html+++ b/dist-artifact/dashboard/usage.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>LLM Usage — 3D Agent</title>+ <title>LLM Usage — three.ws</title><link rel="stylesheet" href="/assets/dashboard.css" /><style>body {diff --git a/dist-artifact/dashboard/wallets.html b/dist-artifact/dashboard/wallets.htmlindex 98b126ec3..032985fec 100644--- a/dist-artifact/dashboard/wallets.html+++ b/dist-artifact/dashboard/wallets.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Linked Wallets · Dashboard · 3D Agent</title>+ <title>Linked Wallets · Dashboard · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -179,7 +179,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><div class="row"><span class="muted" id="user-email"></span><button class="btn sec" onclick="signOut()">Sign out</button>diff --git a/dist-artifact/docs-widgets.html b/dist-artifact/docs-widgets.htmlindex 1075e47ca..1add521c8 100644--- a/dist-artifact/docs-widgets.html+++ b/dist-artifact/docs-widgets.html@@ -3,13 +3,13 @@<head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">- <title>Widget Docs — 3D Agent</title>+ <title>Widget Docs — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"><meta name="description" content="Embed 3D widgets on any site. URL params, iframe + script embeds, postMessage API, oEmbed, privacy."><meta name="theme-color" content="#0a0a0a"><meta property="og:type" content="article">- <meta property="og:title" content="3D Agent — Widget Docs">+ <meta property="og:title" content="three.ws — Widget Docs"><meta property="og:description" content="Embed 3D widgets on any site. URL params, postMessage API, oEmbed, privacy."><meta property="og:url" content="https://three.ws/docs/widgets">@@ -97,7 +97,7 @@</head><body class="gallery-body"><header class="gallery-header">- <h1><a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a></h1>+ <h1><a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/">Viewer</a><a href="/features">Features</a>@@ -242,7 +242,7 @@ img-src https://three.ws/ data:;</code></pre></main><footer class="gallery-footer">- <p>3D Agent · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> · <a href="/docs/widgets">Docs</a> · <a href="https://github.com/nirholas/3D">GitHub</a></p>+ <p>three.ws · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> · <a href="/docs/widgets">Docs</a> · <a href="https://github.com/nirholas/3D">GitHub</a></p></footer></body></html>diff --git a/dist-artifact/embed.js b/dist-artifact/embed.jsindex 62f836431..150384903 100644--- a/dist-artifact/embed.js+++ b/dist-artifact/embed.js@@ -1,4 +1,4 @@-// 3D Agent — script-tag embed.+// three.ws — script-tag embed.// <script async src="https://three.ws/embed.js" data-widget="wdgt_..."></script>//// Injects a sandboxed iframe at the script tag's location, sized via data-*@@ -45,7 +45,7 @@var iframe = document.createElement('iframe');iframe.src = src;- iframe.title = '3D Agent widget ' + widgetId;+ iframe.title = 'three.ws widget ' + widgetId;iframe.loading = 'lazy';iframe.allow = 'autoplay; xr-spatial-tracking; clipboard-write';iframe.setAttribute('width', width);diff --git a/dist-artifact/explore/index.html b/dist-artifact/explore/index.htmlindex 5d6b6af7d..1c7bc4f83 100644--- a/dist-artifact/explore/index.html+++ b/dist-artifact/explore/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Explore · 3D Agent</title>+ <title>Explore · three.ws</title><metaname="viewport"content="width=device-width, initial-scale=1.0, viewport-fit=cover"@@ -26,7 +26,7 @@<body class="features-page explore-page"><header><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/app">Viewer</a>diff --git a/dist-artifact/first-meet/index.html b/dist-artifact/first-meet/index.htmlindex befed6937..bb1053fdb 100644--- a/dist-artifact/first-meet/index.html+++ b/dist-artifact/first-meet/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>Meet Your Agent · 3D Agent</title>+ <title>Meet Your Agent · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {diff --git a/dist-artifact/lobehub/plugin.json b/dist-artifact/lobehub/plugin.jsonindex 8880092cb..0a1565b4e 100644--- a/dist-artifact/lobehub/plugin.json+++ b/dist-artifact/lobehub/plugin.json@@ -2,10 +2,10 @@"$schema": "https://lobehub.com/schema/plugin-manifest/v1.json","identifier": "3d-agent","version": "0.1.0",- "author": "3D Agent",+ "author": "three.ws","homepage": "https://three.ws/","meta": {- "title": "3D Agent",+ "title": "three.ws","description": "Embodied 3D avatar agent with continuous emotion blending. Renders a rigged glTF avatar inside chat, responds with gestures, speech, and on-chain ERC-8004 identity.","avatar": "https://three.ws/icon.svg","tags": ["3d", "avatar", "agent", "embodied", "empathy", "erc-8004"]diff --git a/dist-artifact/login.html b/dist-artifact/login.htmlindex 6899653f6..4cf8760c7 100644--- a/dist-artifact/login.html+++ b/dist-artifact/login.html@@ -3,7 +3,7 @@<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">-<title>Sign in · 3D Agent</title>+<title>Sign in · three.ws</title><link rel="icon" href="/favicon.ico"><meta name="privy-app-id" content=""><style>@@ -31,7 +31,7 @@</head><body><form class="card" id="f">- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>Welcome back</h1><p class="sub">Sign in to manage your avatars.</p><label for="email">Email or username</label>diff --git a/dist-artifact/register.html b/dist-artifact/register.htmlindex 00e445dfb..49bdfa113 100644--- a/dist-artifact/register.html+++ b/dist-artifact/register.html@@ -3,7 +3,7 @@<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">-<title>Create account · 3D Agent</title>+<title>Create account · three.ws</title><link rel="icon" href="/favicon.ico"><style>:root { color-scheme: dark; --accent:#6a5cff; --accent2:#ff5ca8; }@@ -26,7 +26,7 @@</head><body><form class="card" id="f">- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>Create account</h1><p class="sub">Pick a username and password — no email needed.</p><label for="username">Username</label>diff --git a/dist-artifact/reputation/index.html b/dist-artifact/reputation/index.htmlindex bb0368c1d..3b061f8bc 100644--- a/dist-artifact/reputation/index.html+++ b/dist-artifact/reputation/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Agent Reputation — 3D Agent</title>+ <title>Agent Reputation — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><meta name="description" content="View and submit reviews for on-chain agents." /><meta name="theme-color" content="#0a0a0a" />diff --git a/dist-artifact/studio/index.html b/dist-artifact/studio/index.htmlindex 839368efd..5dbe897de 100644--- a/dist-artifact/studio/index.html+++ b/dist-artifact/studio/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">- <title>Widget Studio · 3D Agent</title>+ <title>Widget Studio · three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"><meta name="description" content="Turn any avatar into an embeddable 3D widget. Five types, brand controls, one-line embed."><meta name="theme-color" content="#0a0a0a">@@ -17,7 +17,7 @@</head><body class="studio-body"><header class="studio-header">- <h1><a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a><span class="studio-tag">Studio</span></h1>+ <h1><a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a><span class="studio-tag">Studio</span></h1><nav><a href="/widgets">Gallery</a><a href="/docs/widgets">Docs</a>diff --git a/dist-artifact/validation/REPORT_FORMAT.md b/dist-artifact/validation/REPORT_FORMAT.mdindex 0b1c2ce2d..debd68554 100644--- a/dist-artifact/validation/REPORT_FORMAT.md+++ b/dist-artifact/validation/REPORT_FORMAT.md@@ -91,4 +91,4 @@ Validators can verify the hash by fetching the report from IPFS and recomputing- Only Ethereum-validated wallets can submit validations.- The `validator` address is recorded on-chain.- End-users can view all validations for an agent and choose which validators to trust.-- No endorsement or filtering by the 3D Agent team — raw records from all validators are visible.+- No endorsement or filtering by the three.ws team — raw records from all validators are visible.diff --git a/dist-artifact/validation/index.html b/dist-artifact/validation/index.htmlindex c50a9b343..c57a278b3 100644--- a/dist-artifact/validation/index.html+++ b/dist-artifact/validation/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Validation Records · 3D Agent</title>+ <title>Validation Records · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -377,7 +377,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><nav><a href="/">Home</a><a href="/dashboard">Dashboard</a>diff --git a/dist-artifact/wallet-login.js b/dist-artifact/wallet-login.jsindex ba7fdb5cf..0a0683ebc 100644--- a/dist-artifact/wallet-login.js+++ b/dist-artifact/wallet-login.js@@ -113,7 +113,7 @@ async function completeSignIn(provider, btn) {`${domain} wants you to sign in with your Ethereum account:`,address,'',- 'Sign in to 3D Agent. This does not cost anything and proves wallet ownership.',+ 'Sign in to three.ws. This does not cost anything and proves wallet ownership.','',`URI: ${uri}`,'Version: 1',diff --git a/dist-artifact/widgets-gallery/index.html b/dist-artifact/widgets-gallery/index.htmlindex 118affc5c..b35a8319c 100644--- a/dist-artifact/widgets-gallery/index.html+++ b/dist-artifact/widgets-gallery/index.html@@ -3,14 +3,14 @@<head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">- <title>Widgets — 3D Agent</title>+ <title>Widgets — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"><meta name="description" content="Embeddable 3D, no code. Drop a widget into any site, blog, or Notion doc."><meta name="theme-color" content="#0a0a0a"><meta property="og:type" content="website">- <meta property="og:site_name" content="3D Agent">- <meta property="og:title" content="3D Agent — Widgets">+ <meta property="og:site_name" content="three.ws">+ <meta property="og:title" content="three.ws — Widgets"><meta property="og:description" content="Embeddable 3D, no code. Drop a widget into any site, blog, or Notion doc."><meta property="og:url" content="https://three.ws/widgets">@@ -24,7 +24,7 @@</head><body class="gallery-body"><header class="gallery-header">- <h1><a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a></h1>+ <h1><a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/">Viewer</a><a href="/features">Features</a>@@ -38,7 +38,7 @@<section class="gallery-hero"><p class="eyebrow">Widget Studio</p><h2>Embeddable 3D, no code.</h2>- <p class="lede">Drop a 3D agent — turntable, talking head, on-chain passport, or guided tour — into any site, blog, or Notion doc with one line of HTML.</p>+ <p class="lede">Drop a three.ws — turntable, talking head, on-chain passport, or guided tour — into any site, blog, or Notion doc with one line of HTML.</p><div class="cta-row"><a class="btn btn-primary" href="/studio">Create yours — it's free</a><a class="btn btn-ghost" href="/docs/widgets">Read the docs</a>@@ -57,7 +57,7 @@</main><footer class="gallery-footer">- <p>3D Agent · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> · <a href="/docs/widgets">Docs</a> · <a href="https://github.com/nirholas/3D">GitHub</a></p>+ <p>three.ws · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> · <a href="/docs/widgets">Docs</a> · <a href="https://github.com/nirholas/3D">GitHub</a></p></footer><script type="module" src="/widgets-gallery/gallery.js"></script>diff --git a/dist-lib/.well-known/3d-agent-card.schema.json b/dist-lib/.well-known/3d-agent-card.schema.jsonindex 013ec08e4..064cba6e9 100644--- a/dist-lib/.well-known/3d-agent-card.schema.json+++ b/dist-lib/.well-known/3d-agent-card.schema.json@@ -1,13 +1,13 @@{"$schema": "https://json-schema.org/draft/2020-12/schema","$id": "https://three.ws.well-known/3d-agent-card.schema.json",- "title": "3D Agent Card v1",+ "title": "three.ws Card v1","description": "Strict superset of the ERC-8004 registration card (https://eips.ethereum.org/EIPS/eip-8004#registration-v1) for agents whose primary embodiment is a 3D model. Pointed to by the ERC-721 tokenURI on the Identity Registry.","type": "object","required": ["type", "name", "description", "model"],"properties": {"type": {- "description": "Conformance URI. MUST include the ERC-8004 registration-v1 URI; SHOULD include the 3D Agent Card v1 URI.",+ "description": "Conformance URI. MUST include the ERC-8004 registration-v1 URI; SHOULD include the three.ws Card v1 URI.","oneOf": [{ "type": "string" },{ "type": "array", "items": { "type": "string" }, "minItems": 1 }@@ -60,7 +60,7 @@"model": {"type": "object",- "description": "3D embodiment. Required for 3D Agent Card v1.",+ "description": "3D embodiment. Required for three.ws Card v1.","required": ["uri", "format", "sha256"],"properties": {"uri": {diff --git a/dist-lib/.well-known/agent-card.json b/dist-lib/.well-known/agent-card.jsonindex bea380a9e..5e37d09e8 100644--- a/dist-lib/.well-known/agent-card.json+++ b/dist-lib/.well-known/agent-card.json@@ -1,9 +1,9 @@{- "name": "3D Agent",+ "name": "three.ws","description": "AI-powered 3D model viewer and validation agent. Load glTF/GLB models, run validation, inspect materials, and manage avatar assets.","url": "https://3dagent.vercel.app","provider": {- "organization": "3D Agent",+ "organization": "three.ws","url": "https://3dagent.vercel.app"},"version": "1.5.1",diff --git a/dist-lib/.well-known/agent-registration.json b/dist-lib/.well-known/agent-registration.jsonindex 87a3a83fe..4ad4e40c8 100644--- a/dist-lib/.well-known/agent-registration.json+++ b/dist-lib/.well-known/agent-registration.json@@ -1,6 +1,6 @@{"type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",- "name": "3D Agent",+ "name": "three.ws","description": "AI-powered 3D model viewer and validation agent. Drag and drop glTF, GLB, and 3D files to preview instantly in your browser. Supports real-time rendering, model validation, environment maps, and animation playback via Three.js and WebGL.","image": "https://three.wsog-image.png","active": true,diff --git a/dist-lib/.well-known/ai-plugin.json b/dist-lib/.well-known/ai-plugin.jsonindex 315c02790..3533e4f25 100644--- a/dist-lib/.well-known/ai-plugin.json+++ b/dist-lib/.well-known/ai-plugin.json@@ -1,6 +1,6 @@{"schema_version": "v1",- "name_for_human": "3D Agent",+ "name_for_human": "three.ws","name_for_model": "3d_agent","description_for_human": "AI-powered 3D model viewer. Drag and drop glTF, GLB, and 3D files to preview instantly in your browser.","description_for_model": "A web-based 3D model viewer that supports glTF and GLB file formats. Users can drag-and-drop 3D models to preview them with real-time rendering powered by Three.js and WebGL.",diff --git a/dist-lib/.well-known/lobehub-plugin.json b/dist-lib/.well-known/lobehub-plugin.jsonindex 65d5222e0..ec99c7da0 100644--- a/dist-lib/.well-known/lobehub-plugin.json+++ b/dist-lib/.well-known/lobehub-plugin.json@@ -2,12 +2,12 @@"$schema": "https://lobehub.com/schema/plugin-manifest/v1.json","identifier": "3d-agent","version": "1.0.0",- "author": "3D Agent",+ "author": "three.ws","createdAt": "2026-04-17","homepage": "https://3dagent.vercel.app","meta": {- "title": "3D Agent",- "description": "Embed any on-chain or off-chain 3D agent as an embodied avatar inside your chat.",+ "title": "three.ws",+ "description": "Embed any on-chain or off-chain three.ws as an embodied avatar inside your chat.","avatar": "https://three.wsfavicon.png","tags": ["3d", "avatar", "embodied-agent", "erc-8004"]},@@ -18,7 +18,7 @@"agentId": {"type": "string","title": "Agent ID",- "description": "Paste a 3D Agent ID or ENS name"+ "description": "Paste a three.ws ID or ENS name"}}},diff --git a/dist-lib/.well-known/openapi.yaml b/dist-lib/.well-known/openapi.yamlindex 0d65e978c..33cab9d3c 100644--- a/dist-lib/.well-known/openapi.yaml+++ b/dist-lib/.well-known/openapi.yaml@@ -1,6 +1,6 @@openapi: 3.0.0info:- title: 3D Agent API+ title: three.ws APIdescription: >AI-powered 3D avatar management platform. Supports OAuth 2.1 (with PKCE),session cookies, and API keys for authentication. Avatars are stored asdiff --git a/dist-lib/.well-known/validators.json b/dist-lib/.well-known/validators.jsonindex 82fa88d84..0e6c5a535 100644--- a/dist-lib/.well-known/validators.json+++ b/dist-lib/.well-known/validators.json@@ -1,6 +1,6 @@{"$schema": "https://three.wsspecs/validators-v1",- "description": "Allow-listed ERC-8004 ValidationRegistry validators for 3D Agent Card v1 attestations. See specs/VALIDATORS.md.",+ "description": "Allow-listed ERC-8004 ValidationRegistry validators for three.ws Card v1 attestations. See specs/VALIDATORS.md.","updatedAt": "2026-04-27","mainnet": [],"testnet": []diff --git a/dist-lib/agent-3d.js b/dist-lib/agent-3d.jsindex 24bff7ed3..b28ebaaae 100644--- a/dist-lib/agent-3d.js+++ b/dist-lib/agent-3d.js@@ -51497,9 +51497,9 @@ class ny extends HTMLElement {brain: {provider: this.getAttribute("brain") ? "anthropic" : "none",model: this.getAttribute("brain") || void 0,- instructions: a || "You are an embodied 3D agent."+ instructions: a || "You are an embodied three.ws."},- instructions: a || "You are an embodied 3D agent.",+ instructions: a || "You are an embodied three.ws.",voice: { tts: { provider: "browser" }, stt: { provider: "browser" } },skills: (this.getAttribute("skills") || "").split(",").map((o) => o.trim()).filter(Boolean).map((o) => ({ uri: o })),memory: { mode: this.getAttribute("memory") || "local" },diff --git a/dist-lib/agent-3d.umd.cjs b/dist-lib/agent-3d.umd.cjsindex 6c0aaf8fb..120d699a1 100644--- a/dist-lib/agent-3d.umd.cjs+++ b/dist-lib/agent-3d.umd.cjs@@ -4189,7 +4189,7 @@ ${this.instructions}padding: 16px;font: 14px var(--agent-chat-font);}-`;class Gp extends HTMLElement{static get observedAttributes(){return["src","manifest","body","agent-id","mode","position","width","height","voice","api-key","key-proxy","responsive"]}constructor(){super(),this.attachShadow({mode:"open"}),this._viewer=null,this._scene=null,this._runtime=null,this._memory=null,this._skills=null,this._manifest=null,this._mounted=!1,this._booting=!1,this._listening=!1,this._pillActive=!1,this._mqNarrow=null,this._mqNarrowHandler=null,this._ro=null,this._outsideTapHandler=null,this._autoResolvedManifest=!1,this._suppressAttrChange=!1}connectedCallback(){this._renderShell(),this._applyLayout(),this._setupResponsive(),this._observeViewport(),this.hasAttribute("eager")&&this._boot()}disconnectedCallback(){this._teardown()}attributeChangedCallback(e,t,n){!this._mounted||this._suppressAttrChange||(["mode","position","width","height","responsive"].includes(e)&&this._applyLayout(),["src","manifest","body","agent-id"].includes(e)&&(this._teardown(),this._boot()))}_renderShell(){const e=document.createElement("style");e.textContent=G2,this.shadowRoot.appendChild(e);const t=document.createElement("div");t.className="stage",t.part="stage",this.shadowRoot.appendChild(t),this._stageEl=t;const n=document.createElement("div");n.className="poster",this.getAttribute("poster")&&(n.style.backgroundImage=`url(${this.getAttribute("poster")})`),this.shadowRoot.appendChild(n),this._posterEl=n;const s=document.createElement("div");s.className="loading",s.textContent="Loading...",s.hidden=!0,this.shadowRoot.appendChild(s),this._loadingEl=s;const r=document.createElement("button");r.className="pill-btn",r.setAttribute("aria-label","Open agent"),r.addEventListener("click",()=>this._expandPill()),r.addEventListener("keydown",o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this._expandPill())}),this.shadowRoot.appendChild(r),this._pillBtn=r;const a=document.createElement("div");if(a.className="pill-drag",this.shadowRoot.appendChild(a),this._pillDrag=a,!this.hasAttribute("kiosk")){const o=document.createElement("div");o.className="chrome",o.part="chrome";const c=document.createElement("div");c.className="chat",c.part="chat";const l=document.createElement("div");l.className="input-row";const h=document.createElement("input");h.type="text",h.placeholder="Say something...",h.addEventListener("keydown",d=>{if(d.key==="Enter"&&h.value.trim()){const f=h.value.trim();h.value="",this.say(f)}});const u=document.createElement("button");u.className="icon mic",u.title="Push to talk",u.innerHTML="🎙",u.addEventListener("click",()=>this._toggleMic()),l.appendChild(h),l.appendChild(u),o.appendChild(c),o.appendChild(l),this.shadowRoot.appendChild(o),this._chatEl=c,this._inputEl=h,this._micEl=u}}_isResponsive(){return this.getAttribute("responsive")!=="false"}_clampWidth(e){const t=_parsePx(e);if(!t)return e;const n=Math.round(Math.max(160,t*.65)),s=Math.round(t/1440*100);return`clamp(${n}px, ${s}vw, ${t}px)`}_clampHeight(e){const t=_parsePx(e);if(!t)return e;const n=Math.round(Math.max(200,t*.65)),s=Math.round(t/900*100);return`clamp(${n}px, ${s}vh, ${t}px)`}_applyLayout(){const e=this.getAttribute("mode")||"inline";if(!O2.includes(e))return;const t=this._isResponsive();if(e==="floating"){if(!this._pillActive){const r=this.getAttribute("position")||"bottom-right",a=(this.getAttribute("offset")||"24px 24px").split(/\s+/),[o,c]=[a[0],a[1]||a[0]];this.style.top=this.style.bottom=this.style.left=this.style.right="",r.includes("top")?this.style.top=o:this.style.bottom=o,r.includes("left")?this.style.left=c:r.includes("right")?this.style.right=c:r.includes("center")&&(this.style.left="50%",this.style.transform="translateX(-50%)")}const n=this.getAttribute("width")||"320px",s=this.getAttribute("height")||"420px";this.style.setProperty("--agent-width",t?this._clampWidth(n):n),this.style.setProperty("--agent-height",t?this._clampHeight(s):s)}else{this.style.top=this.style.bottom=this.style.left=this.style.right=this.style.transform="";const n=this.getAttribute("width"),s=this.getAttribute("height");e==="inline"&&(n&&(this.style.width=t?this._clampWidth(n):n),s?(this.style.height=s,this.removeAttribute("data-responsive")):t&&n&&(this.style.height="",this.setAttribute("data-responsive",""))),n&&this.style.setProperty("--agent-width",t?this._clampWidth(n):n),s&&this.style.setProperty("--agent-height",t?this._clampHeight(s):s)}}_setupResponsive(){const e=this.getAttribute("mode")||"inline";e==="inline"&&typeof ResizeObserver<"u"&&(this._ro=new ResizeObserver(()=>this._applyLayout()),this._ro.observe(this)),e==="floating"&&this._isResponsive()&&typeof window<"u"&&(this._mqNarrow=window.matchMedia("(max-width: 479px)"),this._mqNarrowHandler=n=>this._updatePillState(n.matches),this._mqNarrow.addEventListener("change",this._mqNarrowHandler),this._updatePillState(this._mqNarrow.matches));let t=0;this.shadowRoot.addEventListener("touchstart",n=>{t=n.touches[0].clientY},{passive:!0}),this.shadowRoot.addEventListener("touchend",n=>{n.changedTouches[0].clientY-t>60&&this._pillActive&&this.getAttribute("aria-expanded")==="true"&&this._collapsePill()},{passive:!0})}_updatePillState(e){e&&!this._pillActive?(this._pillActive=!0,this._collapsePill()):!e&&this._pillActive&&(this._pillActive=!1,this._restoreFromPill())}_collapsePill(){this.style.width="56px",this.style.height="56px",this.style.borderRadius="50%",this.setAttribute("aria-expanded","false"),this._pillBtn.style.display="block",this._pillDrag.style.display="none";const e=this.shadowRoot.querySelector(".chrome");e&&(e.style.display="none"),this._stageEl.style.display="none",this._outsideTapHandler&&(document.removeEventListener("pointerdown",this._outsideTapHandler),this._outsideTapHandler=null)}_expandPill(){if(!this._pillActive)return;this.style.width="100vw",this.style.height="70vh",this.style.borderRadius="16px 16px 0 0",this.style.bottom="0",this.style.top="auto",this.style.left="0",this.style.right="0",this.style.transform="none",this.setAttribute("aria-expanded","true"),this._pillBtn.style.display="none",this._pillDrag.style.display="block";const e=this.shadowRoot.querySelector(".chrome");e&&(e.style.display=""),this._stageEl.style.display="",this._outsideTapHandler=t=>{t.composedPath().includes(this)||this._collapsePill()},setTimeout(()=>document.addEventListener("pointerdown",this._outsideTapHandler),0)}_restoreFromPill(){this.removeAttribute("aria-expanded"),this._pillBtn.style.display="none",this._pillDrag.style.display="none";const e=this.shadowRoot.querySelector(".chrome");e&&(e.style.display=""),this._stageEl.style.display="",this.style.width=this.style.height=this.style.borderRadius="",this.style.bottom=this.style.top=this.style.left=this.style.right=this.style.transform="",this._applyLayout(),this._outsideTapHandler&&(document.removeEventListener("pointerdown",this._outsideTapHandler),this._outsideTapHandler=null)}_observeViewport(){if(!this.hasAttribute("eager")){if(typeof IntersectionObserver>"u"){this._boot();return}this._io=new IntersectionObserver(e=>{e.some(t=>t.isIntersecting)&&(this._io.disconnect(),this._boot())}),this._io.observe(this)}}async _boot(){if(!(this._booting||this._mounted)){this._booting=!0;try{this._loadingEl.hidden=!1,this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"manifest",pct:.1}}));const e=await this._resolveManifest();if(this._manifest=e,this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"manifest",pct:.3}})),typeof e.brain?.instructions=="string"&&e.brain.instructions.endsWith(".md")){const l=await ay(e,e.brain.instructions);l&&(e.instructions=H2(l))}else e.brain?.instructions&&(e.instructions=e.brain.instructions);const t=(()=>{const l=this.getAttribute("agent-id")||e.id?.agentId||"";return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(l)?l:null})();if(t)try{const l=uy||window.location.origin,h=await fetch(`${l}/api/agents/${t}/embed-policy`,{credentials:"omit"});if(h.ok){const{policy:u}=await h.json();if(u){if(u.surfaces?.script===!1){this._fail("embed_denied_surface","This agent disallows the script-tag embed.");return}const d=["3dagent.vercel.app","localhost"],f=window.location.origin;if(!f.startsWith("http://localhost")&&!Q2(f,u,d)){this._fail("embed_denied_origin",`This agent isn't permitted on ${f}.`);return}}}}catch(l){console.warn("[agent-3d] embed-policy fetch failed; continuing",l)}this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"body",pct:.45}}));const n=new Bf(this._stageEl,{kiosk:this.hasAttribute("kiosk")});this._viewer=n;const s=hs(e.body?.uri);s&&await n.load(s,"",new Map),this._scene=new $0(n),this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"memory",pct:.6}}));const r=e.id?.agentId||this.getAttribute("memory-key")||e.name||"anon";this._memory=await Bi.load({mode:this.getAttribute("memory")||e.memory?.mode||"local",namespace:r,manifestURI:e._baseURI+"manifest.json",fetchFn:fetch.bind(globalThis)}),this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"skills",pct:.75}})),this._skills=new ix({trust:this.getAttribute("skill-trust")||"owned-only",ownerAddress:e.id?.owner});const a=e.skills||[];for(const l of a)try{const h=await this._skills.install(l,{bundleBase:e._baseURI});this.dispatchEvent(new CustomEvent("skill:loaded",{detail:{name:h.name,uri:h.uri}}))}catch(h){console.warn("[agent-3d] skill load failed",l,h)}this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"brain",pct:.9}}));const o={apiKey:this.getAttribute("api-key")||void 0,proxyURL:this.getAttribute("key-proxy")||void 0,agentId:t||void 0,apiOrigin:uy||window.location.origin},c=this._parseTTSAttribute();c&&(e.voice=e.voice||{},e.voice.tts={...e.voice.tts||{},...c}),this._runtime=new Y0({manifest:e,viewer:this._scene,memory:this._memory,skills:this._skills,providerConfig:o});for(const l of["brain:thinking","brain:message","skill:tool-called","voice:speech-start","voice:speech-end","voice:transcript","voice:listen-start","memory:write"])this._runtime.addEventListener(l,h=>{this.dispatchEvent(new CustomEvent(l,{detail:h.detail,bubbles:!0,composed:!0})),l==="brain:message"&&this._chatEl&&this._renderMessage(h.detail)});this._mounted=!0,window!==window.parent&&(this._embedBridge=new P2({protocol:U2,manifest:this._manifest,window}),this._embedBridge.start()),this._loadingEl.hidden=!0,this._pillActive||(this._posterEl.style.opacity="0"),this.dispatchEvent(new CustomEvent("agent:ready",{detail:{agent:this,manifest:e},bubbles:!0,composed:!0}))}catch(e){if(console.error("[agent-3d] boot failed",e),this._loadingEl.hidden=!0,e instanceof Dn&&e.code==="not-found"){const t=document.createElement("div");t.className="agent-3d-error",t.textContent="Agent not found",this.shadowRoot.appendChild(t)}else this._showError(e);this.dispatchEvent(new CustomEvent("agent:error",{detail:{phase:"boot",error:e},bubbles:!0,composed:!0}))}finally{this._booting=!1}}}async _resolveManifest(){const e=this.getAttribute("src"),t=this.getAttribute("manifest"),n=this.getAttribute("body"),s=this.getAttribute("agent-id"),r=this.getAttribute("chain-id");if(e)return s&&console.warn("[agent-3d] both src and agent-id provided; using src"),Ec(e,{rpcURL:this.getAttribute("rpc-url"),registry:this.getAttribute("registry")});if(s){const a=r?{chainId:Number(r),agentId:s,registry:this.getAttribute("registry")||void 0}:s,o=cy(a);if(o){const l=await F2(o);if(l.error&&!l.glbUrl)throw new Error(`On-chain resolve failed: ${l.error}`);return N2(l)}if(t)return Ec(t);const c=await C2(s);return c?(this._autoResolvedManifest=!0,this.setAttribute("manifest",c),Ec(c)):I2(s)}if(t)return Ec(t);if(n){const a=this.getAttribute("instructions");return{spec:"agent-manifest/0.1",_baseURI:"",name:this.getAttribute("name")||"Agent",body:{uri:n,format:"gltf-binary"},brain:{provider:this.getAttribute("brain")?"anthropic":"none",model:this.getAttribute("brain")||void 0,instructions:a||"You are an embodied 3D agent."},instructions:a||"You are an embodied 3D agent.",voice:{tts:{provider:"browser"},stt:{provider:"browser"}},skills:(this.getAttribute("skills")||"").split(",").map(o=>o.trim()).filter(Boolean).map(o=>({uri:o})),memory:{mode:this.getAttribute("memory")||"local"},tools:["wave","lookAt","play_clip","setExpression","speak","remember"],version:"0.1.0"}}throw new Error("<agent-3d> requires src=, manifest=, or body= attribute")}_renderMessage({role:e,content:t}){if(!this._chatEl||!t)return;const n=document.createElement("div");n.className="msg",n.innerHTML=`<div class="role">${e}</div><div class="body"></div>`,n.querySelector(".body").textContent=t,this._chatEl.appendChild(n),this._chatEl.scrollTop=this._chatEl.scrollHeight}_showError(e){const t=document.createElement("div");t.className="error",t.textContent=`Couldn't load agent: ${e.message||e}`,this.shadowRoot.appendChild(t)}_fail(e,t){this._loadingEl.hidden=!0;const n=document.createElement("div");n.className="error",n.textContent=t,this.shadowRoot.appendChild(n),this.dispatchEvent(new CustomEvent("agent:error",{detail:{phase:"policy",error:{code:e,message:t}},bubbles:!0,composed:!0}))}async _toggleMic(){if(this._runtime){if(this._listening){this._runtime.stt?.stop(),this._listening=!1,this._micEl.dataset.listening="false";return}this._listening=!0,this._micEl.dataset.listening="true";try{const e=await this._runtime.listen();e&&await this.say(e,{voice:!0})}catch(e){console.warn("[agent-3d] listen failed",e)}finally{this._listening=!1,this._micEl.dataset.listening="false"}}}_teardown(){if(this._autoResolvedManifest){this._suppressAttrChange=!0;try{this.removeAttribute("manifest")}finally{this._suppressAttrChange=!1}this._autoResolvedManifest=!1}try{this._io?.disconnect()}catch{}try{this._ro?.disconnect()}catch{}try{this._mqNarrow&&this._mqNarrowHandler&&this._mqNarrow.removeEventListener("change",this._mqNarrowHandler)}catch{}this._outsideTapHandler&&(document.removeEventListener("pointerdown",this._outsideTapHandler),this._outsideTapHandler=null),this._embedBridge?.stop(),this._embedBridge=null;try{this._runtime?.destroy()}catch{}try{this._viewer?.dispose?.()}catch{}this._mounted=!1,this._pillActive=!1,this._runtime=this._viewer=this._scene=this._memory=this._skills=null}async say(e,t={}){return this._runtime||await this._waitForReady(),this._runtime.send(e,{voice:t.voice??this.hasAttribute("voice")})}speak(e,t={}){const n=Math.max(1.5,(e?.split(" ").length??3)*.3),s=this._scene;s&&(s.playAnimationByHint("talk",{duration:n})||s.playAnimationByHint("yes",{duration:n})||s.playAnimationByHint("wave",{duration:n}))}async ask(e,t={}){return(await this.say(e,t))?.text||""}clearConversation(){this._runtime?.clearConversation()}async wave(e){return this._scene?.playAnimationByHint("wave",e)}async lookAt(e){return this._scene?.lookAt(e)}async play(e,t){return this._scene?.playClipByName(e,t)}async installSkill(e){if(!this._skills)throw new Error("Agent not mounted");return this._skills.install({uri:e})}uninstallSkill(e){return this._skills?.uninstall(e)}get skills(){return this._skills?.all()||[]}get memory(){return this._memory}get manifest(){return this._manifest}get runtime(){return this._runtime}setMode(e){this.setAttribute("mode",e)}setPosition(e,t){this.setAttribute("position",e),t&&this.setAttribute("offset",t)}setSize(e,t){this.setAttribute("width",e),this.setAttribute("height",t)}pause(){this._runtime?.pause()}resume(){}destroy(){this._teardown()}_waitForReady(){return this._mounted?Promise.resolve():new Promise(e=>{const t=()=>{this.removeEventListener("agent:ready",t),e()};this.addEventListener("agent:ready",t),this._booting||this._boot()})}}function H2(i){const e=i.match(/^---\n[\s\S]*?\n---\n?([\s\S]*)$/);return e?e[1]:i}customElements.get("agent-3d")||customElements.define("agent-3d",Gp);const z2=["row","circle","freeform"],V2=`+`;class Gp extends HTMLElement{static get observedAttributes(){return["src","manifest","body","agent-id","mode","position","width","height","voice","api-key","key-proxy","responsive"]}constructor(){super(),this.attachShadow({mode:"open"}),this._viewer=null,this._scene=null,this._runtime=null,this._memory=null,this._skills=null,this._manifest=null,this._mounted=!1,this._booting=!1,this._listening=!1,this._pillActive=!1,this._mqNarrow=null,this._mqNarrowHandler=null,this._ro=null,this._outsideTapHandler=null,this._autoResolvedManifest=!1,this._suppressAttrChange=!1}connectedCallback(){this._renderShell(),this._applyLayout(),this._setupResponsive(),this._observeViewport(),this.hasAttribute("eager")&&this._boot()}disconnectedCallback(){this._teardown()}attributeChangedCallback(e,t,n){!this._mounted||this._suppressAttrChange||(["mode","position","width","height","responsive"].includes(e)&&this._applyLayout(),["src","manifest","body","agent-id"].includes(e)&&(this._teardown(),this._boot()))}_renderShell(){const e=document.createElement("style");e.textContent=G2,this.shadowRoot.appendChild(e);const t=document.createElement("div");t.className="stage",t.part="stage",this.shadowRoot.appendChild(t),this._stageEl=t;const n=document.createElement("div");n.className="poster",this.getAttribute("poster")&&(n.style.backgroundImage=`url(${this.getAttribute("poster")})`),this.shadowRoot.appendChild(n),this._posterEl=n;const s=document.createElement("div");s.className="loading",s.textContent="Loading...",s.hidden=!0,this.shadowRoot.appendChild(s),this._loadingEl=s;const r=document.createElement("button");r.className="pill-btn",r.setAttribute("aria-label","Open agent"),r.addEventListener("click",()=>this._expandPill()),r.addEventListener("keydown",o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this._expandPill())}),this.shadowRoot.appendChild(r),this._pillBtn=r;const a=document.createElement("div");if(a.className="pill-drag",this.shadowRoot.appendChild(a),this._pillDrag=a,!this.hasAttribute("kiosk")){const o=document.createElement("div");o.className="chrome",o.part="chrome";const c=document.createElement("div");c.className="chat",c.part="chat";const l=document.createElement("div");l.className="input-row";const h=document.createElement("input");h.type="text",h.placeholder="Say something...",h.addEventListener("keydown",d=>{if(d.key==="Enter"&&h.value.trim()){const f=h.value.trim();h.value="",this.say(f)}});const u=document.createElement("button");u.className="icon mic",u.title="Push to talk",u.innerHTML="🎙",u.addEventListener("click",()=>this._toggleMic()),l.appendChild(h),l.appendChild(u),o.appendChild(c),o.appendChild(l),this.shadowRoot.appendChild(o),this._chatEl=c,this._inputEl=h,this._micEl=u}}_isResponsive(){return this.getAttribute("responsive")!=="false"}_clampWidth(e){const t=_parsePx(e);if(!t)return e;const n=Math.round(Math.max(160,t*.65)),s=Math.round(t/1440*100);return`clamp(${n}px, ${s}vw, ${t}px)`}_clampHeight(e){const t=_parsePx(e);if(!t)return e;const n=Math.round(Math.max(200,t*.65)),s=Math.round(t/900*100);return`clamp(${n}px, ${s}vh, ${t}px)`}_applyLayout(){const e=this.getAttribute("mode")||"inline";if(!O2.includes(e))return;const t=this._isResponsive();if(e==="floating"){if(!this._pillActive){const r=this.getAttribute("position")||"bottom-right",a=(this.getAttribute("offset")||"24px 24px").split(/\s+/),[o,c]=[a[0],a[1]||a[0]];this.style.top=this.style.bottom=this.style.left=this.style.right="",r.includes("top")?this.style.top=o:this.style.bottom=o,r.includes("left")?this.style.left=c:r.includes("right")?this.style.right=c:r.includes("center")&&(this.style.left="50%",this.style.transform="translateX(-50%)")}const n=this.getAttribute("width")||"320px",s=this.getAttribute("height")||"420px";this.style.setProperty("--agent-width",t?this._clampWidth(n):n),this.style.setProperty("--agent-height",t?this._clampHeight(s):s)}else{this.style.top=this.style.bottom=this.style.left=this.style.right=this.style.transform="";const n=this.getAttribute("width"),s=this.getAttribute("height");e==="inline"&&(n&&(this.style.width=t?this._clampWidth(n):n),s?(this.style.height=s,this.removeAttribute("data-responsive")):t&&n&&(this.style.height="",this.setAttribute("data-responsive",""))),n&&this.style.setProperty("--agent-width",t?this._clampWidth(n):n),s&&this.style.setProperty("--agent-height",t?this._clampHeight(s):s)}}_setupResponsive(){const e=this.getAttribute("mode")||"inline";e==="inline"&&typeof ResizeObserver<"u"&&(this._ro=new ResizeObserver(()=>this._applyLayout()),this._ro.observe(this)),e==="floating"&&this._isResponsive()&&typeof window<"u"&&(this._mqNarrow=window.matchMedia("(max-width: 479px)"),this._mqNarrowHandler=n=>this._updatePillState(n.matches),this._mqNarrow.addEventListener("change",this._mqNarrowHandler),this._updatePillState(this._mqNarrow.matches));let t=0;this.shadowRoot.addEventListener("touchstart",n=>{t=n.touches[0].clientY},{passive:!0}),this.shadowRoot.addEventListener("touchend",n=>{n.changedTouches[0].clientY-t>60&&this._pillActive&&this.getAttribute("aria-expanded")==="true"&&this._collapsePill()},{passive:!0})}_updatePillState(e){e&&!this._pillActive?(this._pillActive=!0,this._collapsePill()):!e&&this._pillActive&&(this._pillActive=!1,this._restoreFromPill())}_collapsePill(){this.style.width="56px",this.style.height="56px",this.style.borderRadius="50%",this.setAttribute("aria-expanded","false"),this._pillBtn.style.display="block",this._pillDrag.style.display="none";const e=this.shadowRoot.querySelector(".chrome");e&&(e.style.display="none"),this._stageEl.style.display="none",this._outsideTapHandler&&(document.removeEventListener("pointerdown",this._outsideTapHandler),this._outsideTapHandler=null)}_expandPill(){if(!this._pillActive)return;this.style.width="100vw",this.style.height="70vh",this.style.borderRadius="16px 16px 0 0",this.style.bottom="0",this.style.top="auto",this.style.left="0",this.style.right="0",this.style.transform="none",this.setAttribute("aria-expanded","true"),this._pillBtn.style.display="none",this._pillDrag.style.display="block";const e=this.shadowRoot.querySelector(".chrome");e&&(e.style.display=""),this._stageEl.style.display="",this._outsideTapHandler=t=>{t.composedPath().includes(this)||this._collapsePill()},setTimeout(()=>document.addEventListener("pointerdown",this._outsideTapHandler),0)}_restoreFromPill(){this.removeAttribute("aria-expanded"),this._pillBtn.style.display="none",this._pillDrag.style.display="none";const e=this.shadowRoot.querySelector(".chrome");e&&(e.style.display=""),this._stageEl.style.display="",this.style.width=this.style.height=this.style.borderRadius="",this.style.bottom=this.style.top=this.style.left=this.style.right=this.style.transform="",this._applyLayout(),this._outsideTapHandler&&(document.removeEventListener("pointerdown",this._outsideTapHandler),this._outsideTapHandler=null)}_observeViewport(){if(!this.hasAttribute("eager")){if(typeof IntersectionObserver>"u"){this._boot();return}this._io=new IntersectionObserver(e=>{e.some(t=>t.isIntersecting)&&(this._io.disconnect(),this._boot())}),this._io.observe(this)}}async _boot(){if(!(this._booting||this._mounted)){this._booting=!0;try{this._loadingEl.hidden=!1,this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"manifest",pct:.1}}));const e=await this._resolveManifest();if(this._manifest=e,this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"manifest",pct:.3}})),typeof e.brain?.instructions=="string"&&e.brain.instructions.endsWith(".md")){const l=await ay(e,e.brain.instructions);l&&(e.instructions=H2(l))}else e.brain?.instructions&&(e.instructions=e.brain.instructions);const t=(()=>{const l=this.getAttribute("agent-id")||e.id?.agentId||"";return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(l)?l:null})();if(t)try{const l=uy||window.location.origin,h=await fetch(`${l}/api/agents/${t}/embed-policy`,{credentials:"omit"});if(h.ok){const{policy:u}=await h.json();if(u){if(u.surfaces?.script===!1){this._fail("embed_denied_surface","This agent disallows the script-tag embed.");return}const d=["3dagent.vercel.app","localhost"],f=window.location.origin;if(!f.startsWith("http://localhost")&&!Q2(f,u,d)){this._fail("embed_denied_origin",`This agent isn't permitted on ${f}.`);return}}}}catch(l){console.warn("[agent-3d] embed-policy fetch failed; continuing",l)}this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"body",pct:.45}}));const n=new Bf(this._stageEl,{kiosk:this.hasAttribute("kiosk")});this._viewer=n;const s=hs(e.body?.uri);s&&await n.load(s,"",new Map),this._scene=new $0(n),this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"memory",pct:.6}}));const r=e.id?.agentId||this.getAttribute("memory-key")||e.name||"anon";this._memory=await Bi.load({mode:this.getAttribute("memory")||e.memory?.mode||"local",namespace:r,manifestURI:e._baseURI+"manifest.json",fetchFn:fetch.bind(globalThis)}),this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"skills",pct:.75}})),this._skills=new ix({trust:this.getAttribute("skill-trust")||"owned-only",ownerAddress:e.id?.owner});const a=e.skills||[];for(const l of a)try{const h=await this._skills.install(l,{bundleBase:e._baseURI});this.dispatchEvent(new CustomEvent("skill:loaded",{detail:{name:h.name,uri:h.uri}}))}catch(h){console.warn("[agent-3d] skill load failed",l,h)}this.dispatchEvent(new CustomEvent("agent:load-progress",{detail:{phase:"brain",pct:.9}}));const o={apiKey:this.getAttribute("api-key")||void 0,proxyURL:this.getAttribute("key-proxy")||void 0,agentId:t||void 0,apiOrigin:uy||window.location.origin},c=this._parseTTSAttribute();c&&(e.voice=e.voice||{},e.voice.tts={...e.voice.tts||{},...c}),this._runtime=new Y0({manifest:e,viewer:this._scene,memory:this._memory,skills:this._skills,providerConfig:o});for(const l of["brain:thinking","brain:message","skill:tool-called","voice:speech-start","voice:speech-end","voice:transcript","voice:listen-start","memory:write"])this._runtime.addEventListener(l,h=>{this.dispatchEvent(new CustomEvent(l,{detail:h.detail,bubbles:!0,composed:!0})),l==="brain:message"&&this._chatEl&&this._renderMessage(h.detail)});this._mounted=!0,window!==window.parent&&(this._embedBridge=new P2({protocol:U2,manifest:this._manifest,window}),this._embedBridge.start()),this._loadingEl.hidden=!0,this._pillActive||(this._posterEl.style.opacity="0"),this.dispatchEvent(new CustomEvent("agent:ready",{detail:{agent:this,manifest:e},bubbles:!0,composed:!0}))}catch(e){if(console.error("[agent-3d] boot failed",e),this._loadingEl.hidden=!0,e instanceof Dn&&e.code==="not-found"){const t=document.createElement("div");t.className="agent-3d-error",t.textContent="Agent not found",this.shadowRoot.appendChild(t)}else this._showError(e);this.dispatchEvent(new CustomEvent("agent:error",{detail:{phase:"boot",error:e},bubbles:!0,composed:!0}))}finally{this._booting=!1}}}async _resolveManifest(){const e=this.getAttribute("src"),t=this.getAttribute("manifest"),n=this.getAttribute("body"),s=this.getAttribute("agent-id"),r=this.getAttribute("chain-id");if(e)return s&&console.warn("[agent-3d] both src and agent-id provided; using src"),Ec(e,{rpcURL:this.getAttribute("rpc-url"),registry:this.getAttribute("registry")});if(s){const a=r?{chainId:Number(r),agentId:s,registry:this.getAttribute("registry")||void 0}:s,o=cy(a);if(o){const l=await F2(o);if(l.error&&!l.glbUrl)throw new Error(`On-chain resolve failed: ${l.error}`);return N2(l)}if(t)return Ec(t);const c=await C2(s);return c?(this._autoResolvedManifest=!0,this.setAttribute("manifest",c),Ec(c)):I2(s)}if(t)return Ec(t);if(n){const a=this.getAttribute("instructions");return{spec:"agent-manifest/0.1",_baseURI:"",name:this.getAttribute("name")||"Agent",body:{uri:n,format:"gltf-binary"},brain:{provider:this.getAttribute("brain")?"anthropic":"none",model:this.getAttribute("brain")||void 0,instructions:a||"You are an embodied three.ws."},instructions:a||"You are an embodied three.ws.",voice:{tts:{provider:"browser"},stt:{provider:"browser"}},skills:(this.getAttribute("skills")||"").split(",").map(o=>o.trim()).filter(Boolean).map(o=>({uri:o})),memory:{mode:this.getAttribute("memory")||"local"},tools:["wave","lookAt","play_clip","setExpression","speak","remember"],version:"0.1.0"}}throw new Error("<agent-3d> requires src=, manifest=, or body= attribute")}_renderMessage({role:e,content:t}){if(!this._chatEl||!t)return;const n=document.createElement("div");n.className="msg",n.innerHTML=`<div class="role">${e}</div><div class="body"></div>`,n.querySelector(".body").textContent=t,this._chatEl.appendChild(n),this._chatEl.scrollTop=this._chatEl.scrollHeight}_showError(e){const t=document.createElement("div");t.className="error",t.textContent=`Couldn't load agent: ${e.message||e}`,this.shadowRoot.appendChild(t)}_fail(e,t){this._loadingEl.hidden=!0;const n=document.createElement("div");n.className="error",n.textContent=t,this.shadowRoot.appendChild(n),this.dispatchEvent(new CustomEvent("agent:error",{detail:{phase:"policy",error:{code:e,message:t}},bubbles:!0,composed:!0}))}async _toggleMic(){if(this._runtime){if(this._listening){this._runtime.stt?.stop(),this._listening=!1,this._micEl.dataset.listening="false";return}this._listening=!0,this._micEl.dataset.listening="true";try{const e=await this._runtime.listen();e&&await this.say(e,{voice:!0})}catch(e){console.warn("[agent-3d] listen failed",e)}finally{this._listening=!1,this._micEl.dataset.listening="false"}}}_teardown(){if(this._autoResolvedManifest){this._suppressAttrChange=!0;try{this.removeAttribute("manifest")}finally{this._suppressAttrChange=!1}this._autoResolvedManifest=!1}try{this._io?.disconnect()}catch{}try{this._ro?.disconnect()}catch{}try{this._mqNarrow&&this._mqNarrowHandler&&this._mqNarrow.removeEventListener("change",this._mqNarrowHandler)}catch{}this._outsideTapHandler&&(document.removeEventListener("pointerdown",this._outsideTapHandler),this._outsideTapHandler=null),this._embedBridge?.stop(),this._embedBridge=null;try{this._runtime?.destroy()}catch{}try{this._viewer?.dispose?.()}catch{}this._mounted=!1,this._pillActive=!1,this._runtime=this._viewer=this._scene=this._memory=this._skills=null}async say(e,t={}){return this._runtime||await this._waitForReady(),this._runtime.send(e,{voice:t.voice??this.hasAttribute("voice")})}speak(e,t={}){const n=Math.max(1.5,(e?.split(" ").length??3)*.3),s=this._scene;s&&(s.playAnimationByHint("talk",{duration:n})||s.playAnimationByHint("yes",{duration:n})||s.playAnimationByHint("wave",{duration:n}))}async ask(e,t={}){return(await this.say(e,t))?.text||""}clearConversation(){this._runtime?.clearConversation()}async wave(e){return this._scene?.playAnimationByHint("wave",e)}async lookAt(e){return this._scene?.lookAt(e)}async play(e,t){return this._scene?.playClipByName(e,t)}async installSkill(e){if(!this._skills)throw new Error("Agent not mounted");return this._skills.install({uri:e})}uninstallSkill(e){return this._skills?.uninstall(e)}get skills(){return this._skills?.all()||[]}get memory(){return this._memory}get manifest(){return this._manifest}get runtime(){return this._runtime}setMode(e){this.setAttribute("mode",e)}setPosition(e,t){this.setAttribute("position",e),t&&this.setAttribute("offset",t)}setSize(e,t){this.setAttribute("width",e),this.setAttribute("height",t)}pause(){this._runtime?.pause()}resume(){}destroy(){this._teardown()}_waitForReady(){return this._mounted?Promise.resolve():new Promise(e=>{const t=()=>{this.removeEventListener("agent:ready",t),e()};this.addEventListener("agent:ready",t),this._booting||this._boot()})}}function H2(i){const e=i.match(/^---\n[\s\S]*?\n---\n?([\s\S]*)$/);return e?e[1]:i}customElements.get("agent-3d")||customElements.define("agent-3d",Gp);const z2=["row","circle","freeform"],V2=`:host {display: block;position: relative;diff --git a/dist-lib/agent-edit/index.html b/dist-lib/agent-edit/index.htmlindex 90907bb07..bb5fc544c 100644--- a/dist-lib/agent-edit/index.html+++ b/dist-lib/agent-edit/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Edit Persona · 3D Agent</title>+ <title>Edit Persona · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -513,7 +513,7 @@<body><header><div class="header-left">- <a class="brand" href="/">3D Agent</a>+ <a class="brand" href="/">three.ws</a><span class="header-title" id="header-title">Edit Persona</span></div><div class="header-actions">diff --git a/dist-lib/agent/embed.html b/dist-lib/agent/embed.htmlindex a9b287fc4..9e328a419 100644--- a/dist-lib/agent/embed.html+++ b/dist-lib/agent/embed.html@@ -4,7 +4,7 @@<meta charset="utf-8" /><title>Agent</title><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <meta name="description" content="Embedded 3D agent avatar." />+ <meta name="description" content="Embedded three.ws avatar." /><meta name="robots" content="noindex" /><style>html,diff --git a/dist-lib/agent/index.html b/dist-lib/agent/index.htmlindex e0e1009bb..865e7b267 100644--- a/dist-lib/agent/index.html+++ b/dist-lib/agent/index.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>Agent Home — 3D Agent</title>+ <title>Agent Home — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><metaname="description"@@ -22,7 +22,7 @@<!-- unfurl (populated at runtime from identity) --><meta property="og:type" content="website" /><meta property="og:title" content="Agent" id="og-title" />- <meta property="og:description" content="An embodied 3D agent." id="og-description" />+ <meta property="og:description" content="An embodied three.ws." id="og-description" /><meta property="og:image" content="" id="og-image" /><meta property="og:url" content="" id="og-url" /><meta name="twitter:card" content="summary_large_image" />@@ -655,7 +655,7 @@</head><body><div class="agent-page-header">- <a href="/">← 3D Agent</a>+ <a href="/">← three.ws</a></div><div class="agent-page-hero">@@ -796,7 +796,7 @@const snippets = {iframe: `<iframe src="${embedUrl}" width="420" height="520" style="border:0;border-radius:12px" allow="autoplay; xr-spatial-tracking"></iframe>`,link: agentUrl,- webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-3d agent-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,+ webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-three.ws-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,};let current = 'iframe';@@ -840,7 +840,7 @@if (!id) return;const origin = location.origin;const name = identity.name || 'Agent';- const desc = identity.description || 'An embodied 3D agent.';+ const desc = identity.description || 'An embodied three.ws.';const agentUrl = `${origin}/agent/${id}`;const img = `${origin}/api/agent/${id}/og`;const setAttr = (elId, attr, value) => {@@ -859,7 +859,7 @@'href',`${origin}/api/oembed?url=${encodeURIComponent(agentUrl)}`,);- document.title = `${name} — 3D Agent`;+ document.title = `${name} — three.ws`;}main().catch((err) => {diff --git a/dist-lib/agents/README.md b/dist-lib/agents/README.mdindex 0a228489d..1cacc4358 100644--- a/dist-lib/agents/README.md+++ b/dist-lib/agents/README.md@@ -1,6 +1,6 @@# Agents Directory-Public directory of registered agents across the 3D Agent ecosystem.+Public directory of registered agents across the three.ws ecosystem.## Featuresdiff --git a/dist-lib/agents/index.html b/dist-lib/agents/index.htmlindex 76aec4c95..d7aeac0fd 100644--- a/dist-lib/agents/index.html+++ b/dist-lib/agents/index.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>Agents Directory — 3D Agent</title>+ <title>Agents Directory — three.ws</title><style>* {margin: 0;diff --git a/dist-lib/artifact-example.html b/dist-lib/artifact-example.htmlindex be10ffab9..c38945fec 100644--- a/dist-lib/artifact-example.html+++ b/dist-lib/artifact-example.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>3D Agent — Artifact Example</title>+ <title>three.ws — Artifact Example</title><style>html,body {diff --git a/dist-lib/artifact.js b/dist-lib/artifact.jsindex 767ce6e93..bea1ebc0a 100644--- a/dist-lib/artifact.js+++ b/dist-lib/artifact.js@@ -1,4 +1,4 @@-// artifact.js — zero-dep 3D Agent viewer for Claude.ai Artifacts+// artifact.js — zero-dep three.ws viewer for Claude.ai Artifacts// Self-contained ES module. No imports from this repo.// Usage: <div data-agent-id="YOUR_ID"></div>// <script type="module" src="https://three.wsartifact.js"></script>diff --git a/dist-lib/artifact/README.md b/dist-lib/artifact/README.mdindex aa011e155..f8488b01f 100644--- a/dist-lib/artifact/README.md+++ b/dist-lib/artifact/README.md@@ -1,8 +1,8 @@-# Citing a 3D Agent artifact in Claude.ai+# Citing a three.ws artifact in Claude.ai`GET https://three.wsapi/artifact?agent=<agentId>`-Paste the URL into a Claude.ai conversation. Claude recognises it as an HTML artifact and renders the interactive 3D agent inline.+Paste the URL into a Claude.ai conversation. Claude recognises it as an HTML artifact and renders the interactive three.ws inline.## Worked examplediff --git a/dist-lib/artifact/index.html b/dist-lib/artifact/index.htmlindex f0353fb8a..2157721b7 100644--- a/dist-lib/artifact/index.html+++ b/dist-lib/artifact/index.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>3D Agent Artifact Demo</title>+ <title>three.ws Artifact Demo</title><style>* {margin: 0;@@ -110,11 +110,11 @@</head><body><div class="container">- <h1>3D Agent Artifact Viewer</h1>+ <h1>three.ws Artifact Viewer</h1><div class="info"><p>- This demo shows how a 3D Agent renders inside a Claude Artifact. The bundle is+ This demo shows how a three.ws renders inside a Claude Artifact. The bundle isself-contained — no external dependencies or iframes.</p></div>diff --git a/dist-lib/artifact/snippet.html b/dist-lib/artifact/snippet.htmlindex 2e71fc602..ea12c807b 100644--- a/dist-lib/artifact/snippet.html+++ b/dist-lib/artifact/snippet.html@@ -1,4 +1,4 @@-<!-- Paste this into a Claude Artifact to embed a 3D Agent -->+<!-- Paste this into a Claude Artifact to embed a three.ws --><script src="https://three.wsartifact.js"></script><div id="agent3d" data-agent-id="your-agent-id-here" data-origin="https://3dagent.vercel.app"></div>diff --git a/dist-lib/cz/README.md b/dist-lib/cz/README.mdindex a9b588405..251bdb27e 100644--- a/dist-lib/cz/README.md+++ b/dist-lib/cz/README.md@@ -2,7 +2,7 @@The CZ landing page is served at `/cz/` and provides:-- Full-bleed dark landing page with centered 3D agent avatar+- Full-bleed dark landing page with centered three.ws avatar- **Claim CZ** button — initiates wallet connection and claim flow- **Copy embed** button — copies `<agent-3d>` snippet to clipboard- Footer — displays on-chain state (chain, agentId, metadataURI)diff --git a/dist-lib/cz/cz.js b/dist-lib/cz/cz.jsindex cb7540549..e365def89 100644--- a/dist-lib/cz/cz.js+++ b/dist-lib/cz/cz.js@@ -109,7 +109,7 @@ function showSuccess() {agentNameDisplay.textContent = AGENT_NAME;const origin = location.origin;snippetScript.textContent = `<script type="module"\n src="${origin}/agent-3d/latest/agent-3d.js">\n<\/script>`;- snippetTag.textContent = `<agent-3d agent-id="${AGENT_ID}" kiosk></agent-3d>`;+ snippetTag.textContent = `<agent-three.ws-id="${AGENT_ID}" kiosk></agent-3d>`;snippetIframe.textContent = `<iframe\n src="${origin}/agent/${AGENT_ID}/embed"\n allow="microphone"\n width="400" height="600">\n</iframe>`;show(stepSuccess);}diff --git a/dist-lib/cz/index.html b/dist-lib/cz/index.htmlindex 0e773f8cc..ecddeb504 100644--- a/dist-lib/cz/index.html+++ b/dist-lib/cz/index.html@@ -3,8 +3,8 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>CZ · Claim Your 3D Agent</title>- <meta name="description" content="Connect your wallet and claim your on-chain 3D agent." />+ <title>CZ · Claim Your three.ws</title>+ <meta name="description" content="Connect your wallet and claim your on-chain three.ws." /><meta name="theme-color" content="#080814" /><link rel="icon" href="/favicon.ico" /><link rel="stylesheet" href="./cz.css" />@@ -16,7 +16,7 @@</head><body><header>- <span class="logo">⬡ 3D Agent</span>+ <span class="logo">⬡ three.ws</span></header><main><div class="agent-wrap">diff --git a/dist-lib/dashboard/actions.html b/dist-lib/dashboard/actions.htmlindex 493e61cab..10ae53aec 100644--- a/dist-lib/dashboard/actions.html+++ b/dist-lib/dashboard/actions.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Action Log — 3D Agent</title>+ <title>Action Log — three.ws</title><style>:root {color-scheme: dark;diff --git a/dist-lib/dashboard/dashboard.js b/dist-lib/dashboard/dashboard.jsindex 2039ac2a8..1dcbf647a 100644--- a/dist-lib/dashboard/dashboard.js+++ b/dist-lib/dashboard/dashboard.js@@ -731,7 +731,7 @@ function renderMcp(root) {<pre><code>${esc(origin)}/api/mcp</code></pre><h3 class="section">Claude Desktop / Claude Code (remote)</h3>- <p class="muted">Add a Custom Connector in Claude. When prompted, sign in with your 3D Agent account.</p>+ <p class="muted">Add a Custom Connector in Claude. When prompted, sign in with your three.ws account.</p><pre><code>${esc(JSON.stringify({@@ -994,7 +994,7 @@ function bindOnchainDeploy(body, agent) {const result = await registerAgent({glbFile,name: agent.name || 'Agent',- description: agent.description || `3D agent ${agent.id}`,+ description: agent.description || `three.ws ${agent.id}`,apiToken: token.value.trim() || undefined,onStatus: (msg) => say(msg),});diff --git a/dist-lib/dashboard/embed-policy.html b/dist-lib/dashboard/embed-policy.htmlindex e9985f065..0d5ee04c9 100644--- a/dist-lib/dashboard/embed-policy.html+++ b/dist-lib/dashboard/embed-policy.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Embed policy · 3D Agent</title>+ <title>Embed policy · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -293,7 +293,7 @@<label for="brain-mode">Payment mode</label><select id="brain-mode"><option value="we-pay">- We-pay — 3D Agent covers API costs (quota-limited)+ We-pay — three.ws covers API costs (quota-limited)</option><option value="key-proxy">Key-proxy — calls routed through your proxy URLdiff --git a/dist-lib/dashboard/index.html b/dist-lib/dashboard/index.htmlindex f3344ae7b..6729fe27e 100644--- a/dist-lib/dashboard/index.html+++ b/dist-lib/dashboard/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Dashboard · 3D Agent</title>+ <title>Dashboard · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -650,7 +650,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><div class="row"><span id="user-email" class="muted"></span><button class="btn sec" onclick="signOut()">Sign out</button>diff --git a/dist-lib/dashboard/sessions.html b/dist-lib/dashboard/sessions.htmlindex ff9594a98..7b74a428d 100644--- a/dist-lib/dashboard/sessions.html+++ b/dist-lib/dashboard/sessions.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Sessions · 3D Agent</title>+ <title>Sessions · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -188,7 +188,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><button class="btn sec" onclick="signOut()">Sign out</button></header><main>diff --git a/dist-lib/dashboard/storage.html b/dist-lib/dashboard/storage.htmlindex bc9170d24..f61ba87ce 100644--- a/dist-lib/dashboard/storage.html+++ b/dist-lib/dashboard/storage.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Storage · 3D Agent</title>+ <title>Storage · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {diff --git a/dist-lib/dashboard/usage.html b/dist-lib/dashboard/usage.htmlindex 3d46aae13..23166c00a 100644--- a/dist-lib/dashboard/usage.html+++ b/dist-lib/dashboard/usage.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>LLM Usage — 3D Agent</title>+ <title>LLM Usage — three.ws</title><link rel="stylesheet" href="/assets/dashboard.css" /><style>body {diff --git a/dist-lib/dashboard/wallets.html b/dist-lib/dashboard/wallets.htmlindex 98b126ec3..032985fec 100644--- a/dist-lib/dashboard/wallets.html+++ b/dist-lib/dashboard/wallets.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Linked Wallets · Dashboard · 3D Agent</title>+ <title>Linked Wallets · Dashboard · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -179,7 +179,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><div class="row"><span class="muted" id="user-email"></span><button class="btn sec" onclick="signOut()">Sign out</button>diff --git a/dist-lib/discover/index.html b/dist-lib/discover/index.htmlindex bc168faa4..a66ed1bcf 100644--- a/dist-lib/discover/index.html+++ b/dist-lib/discover/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>On-chain Agents · 3D Agent</title>+ <title>On-chain Agents · three.ws</title><metaname="description"content="Discover ERC-8004 agents you own across every supported chain."@@ -13,7 +13,7 @@</head><body><header class="discover-header">- <div class="discover-header__brand"><a href="/">3D Agent</a></div>+ <div class="discover-header__brand"><a href="/">three.ws</a></div><nav class="discover-header__nav" aria-label="Page navigation"><a href="/">Home</a><a href="/dashboard">Dashboard</a>diff --git a/dist-lib/docs-widgets.html b/dist-lib/docs-widgets.htmlindex 829129ac1..1dab3bf52 100644--- a/dist-lib/docs-widgets.html+++ b/dist-lib/docs-widgets.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Widget Docs — 3D Agent</title>+ <title>Widget Docs — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><metaname="description"@@ -12,7 +12,7 @@<meta name="theme-color" content="#0a0a0a" /><meta property="og:type" content="article" />- <meta property="og:title" content="3D Agent — Widget Docs" />+ <meta property="og:title" content="three.ws — Widget Docs" /><metaproperty="og:description"content="Embed 3D widgets on any site. URL params, postMessage API, oEmbed, privacy."@@ -126,7 +126,7 @@<body class="gallery-body"><header class="gallery-header"><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/">Viewer</a>@@ -431,7 +431,7 @@ img-src https://3dagent.vercel.app data:;</code></pre><footer class="gallery-footer"><p>- 3D Agent · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> ·+ three.ws · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> ·<a href="/docs/widgets">Docs</a> ·<a href="https://github.com/nirholas/3D">GitHub</a></p>diff --git a/dist-lib/embed.js b/dist-lib/embed.jsindex 2484af3c7..6fec4e671 100644--- a/dist-lib/embed.js+++ b/dist-lib/embed.js@@ -1,4 +1,4 @@-// 3D Agent — script-tag embed.+// three.ws — script-tag embed.// <script async src="https://three.wsembed.js" data-widget="wdgt_..."></script>//// Injects a sandboxed iframe at the script tag's location, sized via data-*@@ -45,7 +45,7 @@var iframe = document.createElement('iframe');iframe.src = src;- iframe.title = '3D Agent widget ' + widgetId;+ iframe.title = 'three.ws widget ' + widgetId;iframe.loading = 'lazy';iframe.allow = 'autoplay; xr-spatial-tracking; clipboard-write';iframe.setAttribute('width', width);diff --git a/dist-lib/explore/index.html b/dist-lib/explore/index.htmlindex 1964ee10f..61d0a3de9 100644--- a/dist-lib/explore/index.html+++ b/dist-lib/explore/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Explore · 3D Agent</title>+ <title>Explore · three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><metaname="description"@@ -23,7 +23,7 @@<body class="features-page explore-page"><header><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/app">Viewer</a>diff --git a/dist-lib/features/index.html b/dist-lib/features/index.htmlindex dbaa58a3b..7c15ecc00 100644--- a/dist-lib/features/index.html+++ b/dist-lib/features/index.html@@ -4,19 +4,19 @@<meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />- <title>Features · 3D Agent</title>+ <title>Features · three.ws</title><meta name="author" content="nirholas" /><metaname="description"- content="3D Agent: a verifiable, on-chain identity for every AI avatar. ERC-8004 native, with a built-in empathy layer and one-click deploy across 20+ EVM chains."+ content="three.ws: a verifiable, on-chain identity for every AI avatar. ERC-8004 native, with a built-in empathy layer and one-click deploy across 20+ EVM chains."/><meta name="theme-color" content="#000000" /><meta property="og:type" content="website" />- <meta property="og:title" content="Features · 3D Agent" />+ <meta property="og:title" content="Features · three.ws" /><metaproperty="og:description"- content="ERC-8004 native 3D agents with an empathy layer. Deploy on-chain in one transaction."+ content="ERC-8004 native three.wss with an empathy layer. Deploy on-chain in one transaction."/><meta property="og:url" content="https://three.wsfeatures" /><meta property="og:image" content="https://three.wsog-image.png" />@@ -38,7 +38,7 @@<header><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav" aria-label="Primary"><a href="/app">Viewer</a>@@ -80,7 +80,7 @@<span class="act-eyebrow-dot"></span><span>Live, in your browser</span></div>- <h2 id="act1-title">A 3D agent is <em>one tag</em> away.</h2>+ <h2 id="act1-title">A three.ws is <em>one tag</em> away.</h2><p class="act-lede">No SDK. No iframe. Drop a single web component into any page and you have alazy-loading, render-anywhere AI avatar with built-in identity, memory, and@@ -88,7 +88,7 @@</p><div class="act-code" aria-label="Embed code"><pre><code><script type="module" src="https://three.wsagent-3d/latest/agent-3d.js"></script>-<agent-3d agent-id="<span class="code-em" data-role="code-agent-id">0x3d…a9f</span>"></agent-3d></code></pre>+<agent-three.ws-id="<span class="code-em" data-role="code-agent-id">0x3d…a9f</span>"></agent-3d></code></pre><buttontype="button"class="act-code-copy"@@ -294,12 +294,12 @@</ul><footer class="features-footer"><p>- 3D Agent ·+ three.ws ·<ahref="https://github.com/nirholas/3D"target="_blank"rel="noopener"- aria-label="3D Agent on GitHub (opens in a new tab)"+ aria-label="three.ws on GitHub (opens in a new tab)">GitHub</a>· Built ondiff --git a/dist-lib/first-meet/index.html b/dist-lib/first-meet/index.htmlindex befed6937..bb1053fdb 100644--- a/dist-lib/first-meet/index.html+++ b/dist-lib/first-meet/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>Meet Your Agent · 3D Agent</title>+ <title>Meet Your Agent · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {diff --git a/dist-lib/lib-YDDmj7TG.js b/dist-lib/lib-YDDmj7TG.jsindex abed5e03c..e29449456 100644--- a/dist-lib/lib-YDDmj7TG.js+++ b/dist-lib/lib-YDDmj7TG.js@@ -50635,9 +50635,9 @@ class Av extends HTMLElement {brain: {provider: this.getAttribute("brain") ? "anthropic" : "none",model: this.getAttribute("brain") || void 0,- instructions: o || "You are an embodied 3D agent."+ instructions: o || "You are an embodied three.ws."},- instructions: o || "You are an embodied 3D agent.",+ instructions: o || "You are an embodied three.ws.",voice: { tts: { provider: "browser" }, stt: { provider: "browser" } },skills: (this.getAttribute("skills") || "").split(",").map((a) => a.trim()).filter(Boolean).map((a) => ({ uri: a })),memory: { mode: this.getAttribute("memory") || "local" },diff --git a/dist-lib/lobehub/README.md b/dist-lib/lobehub/README.mdindex 0113b0f4a..0ae8da659 100644--- a/dist-lib/lobehub/README.md+++ b/dist-lib/lobehub/README.md@@ -1,4 +1,4 @@-# 3D Agent — LobeHub Plugin+# three.ws — LobeHub PluginEmbeds a rigged 3D avatar agent into any LobeHub instance via the plugin manifest + iframe bridge.diff --git a/dist-lib/lobehub/iframe/boot.js b/dist-lib/lobehub/iframe/boot.jsindex 4185b2857..09cbb38e4 100644--- a/dist-lib/lobehub/iframe/boot.js+++ b/dist-lib/lobehub/iframe/boot.js@@ -1,4 +1,4 @@-// LobeHub iframe bridge for 3D Agent.+// LobeHub iframe bridge for three.ws.//// Primary protocol: v1 spec envelope// { v: 1, source: 'agent-host'|'agent-3d', id, inReplyTo?, kind, op, payload }diff --git a/dist-lib/lobehub/iframe/index.html b/dist-lib/lobehub/iframe/index.htmlindex 780acc197..154ec1baf 100644--- a/dist-lib/lobehub/iframe/index.html+++ b/dist-lib/lobehub/iframe/index.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>3D Agent — LobeHub Embed</title>+ <title>three.ws — LobeHub Embed</title><meta name="viewport" content="width=device-width, initial-scale=1" /><meta name="robots" content="noindex" /><style>diff --git a/dist-lib/lobehub/plugin.json b/dist-lib/lobehub/plugin.jsonindex b96e6a59a..0ab63782b 100644--- a/dist-lib/lobehub/plugin.json+++ b/dist-lib/lobehub/plugin.json@@ -2,10 +2,10 @@"$schema": "https://lobehub.com/schema/plugin-manifest/v1.json","identifier": "3d-agent","version": "0.1.0",- "author": "3D Agent",+ "author": "three.ws","homepage": "https://3dagent.vercel.app","meta": {- "title": "3D Agent",+ "title": "three.ws","description": "Embodied 3D avatar agent with continuous emotion blending. Renders a rigged glTF avatar inside chat, responds with gestures, speech, and on-chain ERC-8004 identity.","avatar": "https://three.wsicon.svg","tags": ["3d", "avatar", "agent", "embodied", "empathy", "erc-8004"]diff --git a/dist-lib/login.html b/dist-lib/login.htmlindex 56ea7b494..6d9929a84 100644--- a/dist-lib/login.html+++ b/dist-lib/login.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Sign in · 3D Agent</title>+ <title>Sign in · three.ws</title><link rel="icon" href="/favicon.ico" /><link rel="stylesheet" href="/wallet-connect.css" /><style>@@ -132,7 +132,7 @@</head><body><form class="card" id="f">- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>Welcome back</h1><p class="sub">Sign in to manage your avatars.</p><label for="email">Email or username</label>diff --git a/dist-lib/my-agents/index.html b/dist-lib/my-agents/index.htmlindex 173b2bddb..c0652be2b 100644--- a/dist-lib/my-agents/index.html+++ b/dist-lib/my-agents/index.html@@ -4,7 +4,7 @@<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><meta name="robots" content="noindex" />- <title>My Agents · 3D Agent</title>+ <title>My Agents · three.ws</title><meta name="description" content="Your ERC-8004 agents across every supported chain." /><link rel="canonical" href="https://three.wsmy-agents" /><link rel="icon" href="/favicon.ico" />@@ -12,7 +12,7 @@</head><body><header class="my-agents-header">- <div class="my-agents-header__brand"><a href="/">3D Agent</a></div>+ <div class="my-agents-header__brand"><a href="/">three.ws</a></div><nav class="my-agents-header__nav" aria-label="Page navigation"><a href="/app">Viewer</a><a href="/discover">Discover</a>diff --git a/dist-lib/register.html b/dist-lib/register.htmlindex fefc9720f..abec651a6 100644--- a/dist-lib/register.html+++ b/dist-lib/register.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Create account · 3D Agent</title>+ <title>Create account · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -119,7 +119,7 @@</head><body><form class="card" id="f">- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>Create account</h1><p class="sub">Pick a username and password — no email needed.</p><label for="username">Username</label>diff --git a/dist-lib/reputation/index.html b/dist-lib/reputation/index.htmlindex 34fe899de..ff0951486 100644--- a/dist-lib/reputation/index.html+++ b/dist-lib/reputation/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Agent Reputation — 3D Agent</title>+ <title>Agent Reputation — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><meta name="description" content="View and submit reviews for on-chain agents." /><meta name="theme-color" content="#0a0a0a" />diff --git a/dist-lib/studio/index.html b/dist-lib/studio/index.htmlindex d619c564d..12aebc427 100644--- a/dist-lib/studio/index.html+++ b/dist-lib/studio/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Widget Studio · 3D Agent</title>+ <title>Widget Studio · three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><metaname="description"@@ -24,7 +24,7 @@<body class="studio-body"><header class="studio-header"><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a><span class="studio-tag">Studio</span></h1><nav>diff --git a/dist-lib/validation/REPORT_FORMAT.md b/dist-lib/validation/REPORT_FORMAT.mdindex 079fcd562..ace4b27d0 100644--- a/dist-lib/validation/REPORT_FORMAT.md+++ b/dist-lib/validation/REPORT_FORMAT.md@@ -93,4 +93,4 @@ Validators can verify the hash by fetching the report from IPFS and recomputing- Only Ethereum-validated wallets can submit validations.- The `validator` address is recorded on-chain.- End-users can view all validations for an agent and choose which validators to trust.-- No endorsement or filtering by the 3D Agent team — raw records from all validators are visible.+- No endorsement or filtering by the three.ws team — raw records from all validators are visible.diff --git a/dist-lib/validation/index.html b/dist-lib/validation/index.htmlindex fa8053892..06f8d8127 100644--- a/dist-lib/validation/index.html+++ b/dist-lib/validation/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Validation Records · 3D Agent</title>+ <title>Validation Records · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -394,7 +394,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><nav><a href="/">Home</a><a href="/dashboard">Dashboard</a>diff --git a/dist-lib/wallet/connect-button.js b/dist-lib/wallet/connect-button.jsindex 7cb222b23..0ef62460b 100644--- a/dist-lib/wallet/connect-button.js+++ b/dist-lib/wallet/connect-button.js@@ -28,7 +28,7 @@ function defaultMessageBuilder(address, chainId, nonce, { domain, uri, issuedAt,`${domain} wants you to sign in with your Ethereum account:`,address,'',- 'Sign in to 3D Agent. This does not cost anything and proves wallet ownership.',+ 'Sign in to three.ws. This does not cost anything and proves wallet ownership.','',`URI: ${uri}`,'Version: 1',diff --git a/dist-lib/widgets-gallery/index.html b/dist-lib/widgets-gallery/index.htmlindex 53cf4769f..c349396ca 100644--- a/dist-lib/widgets-gallery/index.html+++ b/dist-lib/widgets-gallery/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Widgets — 3D Agent</title>+ <title>Widgets — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><metaname="description"@@ -12,8 +12,8 @@<meta name="theme-color" content="#0a0a0a" /><meta property="og:type" content="website" />- <meta property="og:site_name" content="3D Agent" />- <meta property="og:title" content="3D Agent — Widgets" />+ <meta property="og:site_name" content="three.ws" />+ <meta property="og:title" content="three.ws — Widgets" /><metaproperty="og:description"content="Embeddable 3D, no code. Drop a widget into any site, blog, or Notion doc."@@ -34,7 +34,7 @@<body class="gallery-body"><header class="gallery-header"><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/">Viewer</a>@@ -50,7 +50,7 @@<p class="eyebrow">Widget Studio</p><h2>Embeddable 3D, no code.</h2><p class="lede">- Drop a 3D agent — turntable, talking head, on-chain passport, or guided tour —+ Drop a three.ws — turntable, talking head, on-chain passport, or guided tour —into any site, blog, or Notion doc with one line of HTML.</p><div class="cta-row">@@ -72,7 +72,7 @@<footer class="gallery-footer"><p>- 3D Agent · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> ·+ three.ws · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> ·<a href="/docs/widgets">Docs</a> ·<a href="https://github.com/nirholas/3D">GitHub</a></p>diff --git a/docs-tasks/01-introduction-and-overview.md b/docs-tasks/01-introduction-and-overview.mdindex e9731cf6f..8a71dd872 100644--- a/docs-tasks/01-introduction-and-overview.md+++ b/docs-tasks/01-introduction-and-overview.md@@ -4,15 +4,15 @@`public/docs/introduction.md` (or equivalent in the docs site)## Target audience-Developers and product builders discovering 3D Agent for the first time. They may have seen the landing page or a widget embed and want to understand what the platform is, what problems it solves, and whether it's the right tool for them.+Developers and product builders discovering three.ws for the first time. They may have seen the landing page or a widget embed and want to understand what the platform is, what problems it solves, and whether it's the right tool for them.## Word count1500–2500 words## What this document must cover-### 1. What is 3D Agent?-Describe 3D Agent as a browser-native platform for creating, hosting, and embedding interactive 3D AI agents. Emphasize:+### 1. What is three.ws?+Describe three.ws as a browser-native platform for creating, hosting, and embedding interactive 3D AI agents. Emphasize:- Open-source (MIT licensed), hosted at https://three.ws- Combines a WebGL 3D viewer (three.js, glTF 2.0 / GLB) with an integrated AI agent runtime- Agents have personality, memory, skills, and blockchain identity@@ -34,7 +34,7 @@ Define these terms as a glossary-style section:- **Skill** — a modular capability installed into an agent (wave, validate-model, sign-action, etc.)- **Widget** — a pre-built embeddable view (Turntable, Talking Agent, Animation Gallery, Passport, Hotspot Tour)- **Manifest** — a JSON file that describes an agent (avatar URL, skills, personality, memory config)-- **ERC-8004** — the on-chain standard for registering 3D agent identity+- **ERC-8004** — the on-chain standard for registering three.ws identity### 4. Architecture at a glanceHigh-level diagram described in prose + a conceptual breakdown:@@ -54,9 +54,9 @@ Concrete use cases:### 6. How it comparesBrief, honest comparison to adjacent tools:-- vs. plain `<model-viewer>` (Google) — 3D Agent adds AI runtime, skills, memory, identity-- vs. general LLM chatbots — 3D Agent adds embodiment (avatar), 3D scene control, glTF understanding-- vs. Unity/Unreal WebGL exports — 3D Agent is lightweight (no game engine runtime), browser-native, open+- vs. plain `<model-viewer>` (Google) — three.ws adds AI runtime, skills, memory, identity+- vs. general LLM chatbots — three.ws adds embodiment (avatar), 3D scene control, glTF understanding+- vs. Unity/Unreal WebGL exports — three.ws is lightweight (no game engine runtime), browser-native, open### 7. Quick start previewShow the absolute minimum to get something on screen — a 2-3 line code snippet using the CDN:diff --git a/docs-tasks/02-quick-start.md b/docs-tasks/02-quick-start.mdindex c01c23fe6..19bced5e1 100644--- a/docs-tasks/02-quick-start.md+++ b/docs-tasks/02-quick-start.md@@ -4,7 +4,7 @@`public/docs/quick-start.md`## Target audience-A developer who wants to go from zero to a working 3D agent on their page in under 10 minutes. They have basic HTML/JS knowledge. They may or may not have a 3D model yet.+A developer who wants to go from zero to a working three.ws on their page in under 10 minutes. They have basic HTML/JS knowledge. They may or may not have a 3D model yet.## Word count1200–2000 words@@ -23,7 +23,7 @@ Show the absolute fastest path. Complete working HTML file:<html><head><meta charset="utf-8">- <title>My 3D Agent</title>+ <title>My three.ws</title><style>agent-3d { width: 400px; height: 500px; display: block; }</style>diff --git a/docs-tasks/04-3d-viewer.md b/docs-tasks/04-3d-viewer.mdindex 37f4f525d..7ebfbd428 100644--- a/docs-tasks/04-3d-viewer.md+++ b/docs-tasks/04-3d-viewer.md@@ -12,7 +12,7 @@ Developers using the viewer component directly — loading models, controlling a## What this document must cover### 1. Overview-The viewer is the rendering layer of 3D Agent — a full-featured three.js WebGL scene manager. Key capabilities:+The viewer is the rendering layer of three.ws — a full-featured three.js WebGL scene manager. Key capabilities:- Load glTF 2.0 and GLB files (including Draco-compressed meshes and KTX2 textures)- Interactive orbit camera (drag to rotate, scroll to zoom, right-click to pan)- Full animation playback with speed controldiff --git a/docs-tasks/06-web-component-api.md b/docs-tasks/06-web-component-api.mdindex 096774606..65d85234b 100644--- a/docs-tasks/06-web-component-api.md+++ b/docs-tasks/06-web-component-api.md@@ -12,7 +12,7 @@ Developers embedding `<agent-3d>` in their own pages or apps. Needs to be a comp## What this document must cover### 1. Overview-`<agent-3d>` is a custom HTML element (Web Component) that encapsulates the entire 3D Agent stack. Drop a script tag, use the element — no framework required.+`<agent-3d>` is a custom HTML element (Web Component) that encapsulates the entire three.ws stack. Drop a script tag, use the element — no framework required.```html<script type="module" src="https://cdn.three.wsagent-3d.js"></script>diff --git a/docs-tasks/07-widget-types.md b/docs-tasks/07-widget-types.mdindex 42d2cfd7b..5dd9a5b12 100644--- a/docs-tasks/07-widget-types.md+++ b/docs-tasks/07-widget-types.md@@ -12,7 +12,7 @@ Developers and non-technical users who want to embed pre-built 3D experiences on## What this document must cover### 1. What is a widget?-A widget is a pre-configured, embeddable view of a 3D agent or model. Unlike the raw `<agent-3d>` element (which requires you to configure everything), widgets are opinionated — each one is built for a specific use case. You pick a widget type, supply your model URL and options, and get a polished embed.+A widget is a pre-configured, embeddable view of a three.ws or model. Unlike the raw `<agent-3d>` element (which requires you to configure everything), widgets are opinionated — each one is built for a specific use case. You pick a widget type, supply your model URL and options, and get a polished embed.```html<agent-3d widget="turntable" model="./product.glb"></agent-3d>diff --git a/docs-tasks/08-agent-manifest.md b/docs-tasks/08-agent-manifest.mdindex b2ac16e4f..fd8af3f6b 100644--- a/docs-tasks/08-agent-manifest.md+++ b/docs-tasks/08-agent-manifest.md@@ -21,19 +21,19 @@ The manifest is the configuration file that defines an agent — its identity, a### 2. Loading a manifest```html<!-- By platform agent ID (resolves via /api/agents/:id) -->-<agent-3d agent-id="aria-guide"></agent-3d>+<agent-three.ws-id="aria-guide"></agent-3d><!-- By HTTPS URL -->-<agent-3d agent-id="https://example.com/aria/manifest.json"></agent-3d>+<agent-three.ws-id="https://example.com/aria/manifest.json"></agent-3d><!-- By IPFS CID -->-<agent-3d agent-id="ipfs://QmXyz..."></agent-3d>+<agent-three.ws-id="ipfs://QmXyz..."></agent-3d><!-- By Arweave ID -->-<agent-3d agent-id="ar://txid..."></agent-3d>+<agent-three.ws-id="ar://txid..."></agent-3d><!-- On-chain (ERC-8004): chainId:registryAddress:agentId -->-<agent-3d agent-id="8453:0x1234...:42"></agent-3d>+<agent-three.ws-id="8453:0x1234...:42"></agent-3d>```### 3. Full manifest schema@@ -177,7 +177,7 @@ Works the same for IPFS: `ipfs://<manifest-cid>` → relative URLs resolved agaiOptions:- **HTTPS** — host on any CDN (GitHub Pages, S3, Vercel)- **IPFS** — pin with Pinata, Filebase, or Web3.Storage-- **3D Agent Platform** — upload via the editor; platform hosts it for you+- **three.ws Platform** — upload via the editor; platform hosts it for you- **Arweave** — permanent storageMinimum CORS requirements: manifest file must be accessible cross-origin (CORS header: `Access-Control-Allow-Origin: *`).diff --git a/docs-tasks/09-skills-system.md b/docs-tasks/09-skills-system.mdindex 92d49a212..998e097af 100644--- a/docs-tasks/09-skills-system.md+++ b/docs-tasks/09-skills-system.md@@ -193,7 +193,7 @@ Walk through the wave skill as a minimal working example.Skills can be published:- As static files on any CDN (GitHub Releases, Vercel, S3)- Via npm as part of a package-- Via the 3D Agent platform (coming soon)+- Via the three.ws platform (coming soon)Convention: name the manifest `manifest.json` and co-locate `handlers.js` in the same directory.diff --git a/docs-tasks/10-memory-system.md b/docs-tasks/10-memory-system.mdindex 6329c4ec6..320e1dfdc 100644--- a/docs-tasks/10-memory-system.md+++ b/docs-tasks/10-memory-system.md@@ -12,7 +12,7 @@ Developers building agents that need to remember things — user preferences, pa## What this document must cover### 1. What is agent memory?-Agent memory allows a 3D agent to remember across sessions. Without memory, every conversation starts fresh. With memory, the agent can:+Agent memory allows a three.ws to remember across sessions. Without memory, every conversation starts fresh. With memory, the agent can:- Recall a user's name and preferences- Reference past conversations- Track what tasks have been completeddiff --git a/docs-tasks/11-erc8004-blockchain-identity.md b/docs-tasks/11-erc8004-blockchain-identity.mdindex 52ad3b738..6563ba2e2 100644--- a/docs-tasks/11-erc8004-blockchain-identity.md+++ b/docs-tasks/11-erc8004-blockchain-identity.md@@ -12,7 +12,7 @@ Developers and crypto-native users who want to register their AI agent on-chain## What this document must cover### 1. What is ERC-8004?-ERC-8004 is the proposed Ethereum standard for on-chain 3D agent identity registration. It defines:+ERC-8004 is the proposed Ethereum standard for on-chain three.ws identity registration. It defines:- A registry smart contract where agents are registered as on-chain entries- A standard JSON structure for agent metadata (pinned to IPFS)- A resolution protocol for looking up agents by address, ENS name, or chain:registry:id@@ -65,7 +65,7 @@ Contract addresses for each chain are stored in `/src/erc8004/abi.js` under `REG### 5. Registering an agent**Step 1: Connect your wallet**-Click "Connect Wallet" in the 3D Agent app. Supported:+Click "Connect Wallet" in the three.ws app. Supported:- MetaMask (injected)- WalletConnect (mobile wallets)- Privy (email + social login with embedded wallet)@@ -119,7 +119,7 @@ const agent = await resolveAgent({ ens: 'myagent.eth' });**In the web component:**```html<!-- chain:registry:id format -->-<agent-3d agent-id="8453:0xRegistryAddress:42"></agent-3d>+<agent-three.ws-id="8453:0xRegistryAddress:42"></agent-3d>```### 7. ENS integration@@ -160,7 +160,7 @@ When your agent's GLB model is validated (via the validator), the result can beThis creates a verifiable audit trail of your model's technical quality.### 10. The `on-chain agent` URL format-3D Agent supports a special route for on-chain agents:+three.ws supports a special route for on-chain agents:```https://three.ws/a/<chainId>/<agentId>diff --git a/docs-tasks/12-authentication.md b/docs-tasks/12-authentication.mdindex 9f6a3ed78..3c25ef7d8 100644--- a/docs-tasks/12-authentication.md+++ b/docs-tasks/12-authentication.md@@ -4,7 +4,7 @@`public/docs/authentication.md`## Target audience-Developers integrating 3D Agent into their app who need to handle user authentication — wallet-based, email-based, or API key auth. Also useful for self-hosters setting up auth infrastructure.+Developers integrating three.ws into their app who need to handle user authentication — wallet-based, email-based, or API key auth. Also useful for self-hosters setting up auth infrastructure.## Word count1500–2500 words@@ -12,7 +12,7 @@ Developers integrating 3D Agent into their app who need to handle user authentic## What this document must cover### 1. Authentication overview-3D Agent supports three authentication methods:+three.ws supports three authentication methods:- **Wallet auth (SIWE)** — Sign-In With Ethereum, the web3-native approach- **Social/email auth (Privy)** — Email, Google, Twitter login with embedded wallet- **API keys** — For programmatic server-to-server access@@ -53,7 +53,7 @@ const nonce = await fetch('/api/auth/siwe/nonce').then(r => r.text());const message = new SiweMessage({domain: window.location.host,address: walletAddress,- statement: 'Sign in to 3D Agent',+ statement: 'Sign in to three.ws',uri: window.location.origin,version: '1',chainId: 1,diff --git a/docs-tasks/13-api-reference.md b/docs-tasks/13-api-reference.mdindex 556f7b233..8c0cacc2f 100644--- a/docs-tasks/13-api-reference.md+++ b/docs-tasks/13-api-reference.md@@ -4,7 +4,7 @@`public/docs/api-reference.md`## Target audience-Developers integrating with the 3D Agent platform programmatically — fetching agents, managing widgets, posting memory, or using the LLM proxy. This is a REST API reference.+Developers integrating with the three.ws platform programmatically — fetching agents, managing widgets, posting memory, or using the LLM proxy. This is a REST API reference.## Word count2500–3500 words (this is a large reference doc)@@ -246,7 +246,7 @@ Render the on-chain agent page (`/a/<chainId>/<agentId>`).### 11. MCP API**POST /api/mcp**-Model Context Protocol endpoint — allows Claude and other MCP-compatible clients to interact with 3D Agent as a tool server.+Model Context Protocol endpoint — allows Claude and other MCP-compatible clients to interact with three.ws as a tool server.See MCP documentation for full details.diff --git a/docs-tasks/14-embedding-guide.md b/docs-tasks/14-embedding-guide.mdindex 529fd2402..1284209d0 100644--- a/docs-tasks/14-embedding-guide.md+++ b/docs-tasks/14-embedding-guide.md@@ -4,7 +4,7 @@`public/docs/embedding.md`## Target audience-Developers and no-code builders who want to embed a 3D agent or widget on their website, app, or platform. Covers all embedding methods from one-liner to advanced iframe.+Developers and no-code builders who want to embed a three.ws or widget on their website, app, or platform. Covers all embedding methods from one-liner to advanced iframe.## Word count1500–2500 words@@ -12,7 +12,7 @@ Developers and no-code builders who want to embed a 3D agent or widget on their## What this document must cover### 1. Overview of embedding options-Four ways to embed a 3D agent:+Four ways to embed a three.ws:| Method | Complexity | Control | Use case ||--------|-----------|---------|---------|@@ -66,7 +66,7 @@ For third-party pages where you can't load external scripts, or CMS platforms wiheight="500"frameborder="0"allow="camera; microphone; xr-spatial-tracking"- title="3D Agent"+ title="three.ws"></iframe>```@@ -157,7 +157,7 @@ GET https://three.ws/api/widgets/oembed?url=<widget-url>```### 7. Method 4: Claude Artifact-3D Agent can be embedded inside Claude.ai artifacts — useful for AI-generated interactive demos.+three.ws can be embedded inside Claude.ai artifacts — useful for AI-generated interactive demos.The artifact bundle is a zero-dependency, self-contained file:```htmldiff --git a/docs-tasks/15-gltf-validation.md b/docs-tasks/15-gltf-validation.mdindex 2f72f2934..69a7cd149 100644--- a/docs-tasks/15-gltf-validation.md+++ b/docs-tasks/15-gltf-validation.md@@ -18,7 +18,7 @@ The validator checks a GLB or glTF 2.0 file against the official Khronos specifi- **Hints** — best practice suggestions- **Info** — informational messages (not problems)-3D Agent integrates `[email protected]` (the official Khronos CLI tool compiled to WASM).+three.ws integrates `[email protected]` (the official Khronos CLI tool compiled to WASM).### 2. Running validation**In the viewer (UI):**@@ -175,7 +175,7 @@ if (report.issues.numErrors > 0) process.exit(1);- **Textures:** PNG for albedo with transparency, JPG for opaque maps; use KTX2 for GPU compression- **Animations:** Name clips descriptively ("idle", "wave", "run") — agents use names to find clips- **Clean up:** Remove unused materials, textures, shape keys before exporting-- **Test in multiple viewers:** model-viewer.dev, Babylon.js sandbox, and 3D Agent+- **Test in multiple viewers:** model-viewer.dev, Babylon.js sandbox, and three.ws## ToneTechnical but accessible to 3D artists who may not be coders. Clear error table with actionable fixes. The on-chain section can be more technical.diff --git a/docs-tasks/16-permissions-and-delegation.md b/docs-tasks/16-permissions-and-delegation.mdindex 4432dc3f4..486fed072 100644--- a/docs-tasks/16-permissions-and-delegation.md+++ b/docs-tasks/16-permissions-and-delegation.md@@ -19,7 +19,7 @@ Without a permission system:- An agent given your API key could make unlimited requests- There's no way for a user to revoke what they previously granted-3D Agent uses **ERC-7710 delegation** as its permission model — a standard for granting on-chain capabilities to agents (or any address) with specific constraints.+three.ws uses **ERC-7710 delegation** as its permission model — a standard for granting on-chain capabilities to agents (or any address) with specific constraints.### 2. ERC-7710 overviewERC-7710 defines a "delegation" standard:diff --git a/docs-tasks/17-avatar-creation.md b/docs-tasks/17-avatar-creation.mdindex f5e2e7668..26494e51d 100644--- a/docs-tasks/17-avatar-creation.md+++ b/docs-tasks/17-avatar-creation.md@@ -42,10 +42,10 @@ The quickest way to get a personalized 3D avatar.- Facial blend shapes for expressions- Skin, hair, eye color matched to photo- Clothing options during generation-- GLB format ready for 3D Agent+- GLB format ready for three.ws**Customization after generation:**-- Load the GLB in the 3D Agent editor+- Load the GLB in the three.ws editor- Adjust materials (skin tone, clothing color)- Add accessories- The avatar rig is compatible with standard animation clips@@ -65,7 +65,7 @@ Character Studio is a React-based avatar builder:**Technical implementation:**- Located in `/character-studio/` — separate React SPA- Built with Vite-- Exports a GLB that conforms to the 3D Agent avatar spec (compatible skeleton and blend shapes)+- Exports a GLB that conforms to the three.ws avatar spec (compatible skeleton and blend shapes)**Asset library:**Character Studio includes a library of:@@ -78,7 +78,7 @@ Character Studio includes a library of:### 4. Path 3: Upload your own GLBIf you have a 3D model (from Blender, Maya, Mixamo, Ready Player Me, etc.):-1. Open the 3D Agent app: https://three.ws/app+1. Open the three.ws app: https://three.ws/app2. Drag and drop your GLB file into the viewer3. The model loads and validates automatically4. Save to your account via the editor@@ -136,14 +136,14 @@ After creating the avatar, set the agent's name:### 9. Saving and publishingOnce your avatar is created:-1. **Save to account** — stores GLB and manifest to your 3D Agent account (free)+1. **Save to account** — stores GLB and manifest to your three.ws account (free)2. **Publish** — makes the agent publicly discoverable (optional)3. **Register on-chain** — creates permanent ERC-8004 identity (optional, gas required)The publish modal is at `/src/editor/publish-modal.js`.### 10. Avatar spec for developers-If you're building tools that output avatars for 3D Agent, target this spec:+If you're building tools that output avatars for three.ws, target this spec:- **Format:** GLB (binary glTF 2.0)- **Skeleton:** Humanoid rig (Mixamo or VRM-compatible naming)- **Animations:** Named clips at the root level of the GLBdiff --git a/docs-tasks/18-mcp-integration.md b/docs-tasks/18-mcp-integration.mdindex e36e7b684..9b27b0e1c 100644--- a/docs-tasks/18-mcp-integration.md+++ b/docs-tasks/18-mcp-integration.md@@ -4,7 +4,7 @@`public/docs/mcp.md`## Target audience-Developers who want to use 3D Agent as a tool server for Claude and other MCP-compatible AI systems. Assumes familiarity with MCP concepts and Claude's tool-use API.+Developers who want to use three.ws as a tool server for Claude and other MCP-compatible AI systems. Assumes familiarity with MCP concepts and Claude's tool-use API.## Word count1500–2000 words@@ -12,7 +12,7 @@ Developers who want to use 3D Agent as a tool server for Claude and other MCP-co## What this document must cover### 1. What is MCP?-Model Context Protocol (MCP) is an open standard for connecting AI assistants to external tool servers. When 3D Agent exposes an MCP server, Claude (and other MCP-compatible LLMs) can:+Model Context Protocol (MCP) is an open standard for connecting AI assistants to external tool servers. When three.ws exposes an MCP server, Claude (and other MCP-compatible LLMs) can:- Load 3D models into the viewer- Play animations- Run glTF validation@@ -20,7 +20,7 @@ Model Context Protocol (MCP) is an open standard for connecting AI assistants to- Register agents on-chain- Control the 3D scene via natural language-Think of it as making your 3D Agent a tool that Claude can use.+Think of it as making your three.ws a tool that Claude can use.### 2. Starting the MCP serverThe MCP server is exposed at:@@ -36,7 +36,7 @@ npm run devThe MCP server configuration is at `/.mcp.json`.-### 3. Connecting Claude Code to 3D Agent+### 3. Connecting Claude Code to three.wsAdd to your Claude Code configuration (`~/.claude/settings.json`):```json{diff --git a/docs-tasks/19-ar-webxr.md b/docs-tasks/19-ar-webxr.mdindex ea9e6b56c..46e63ca5c 100644--- a/docs-tasks/19-ar-webxr.md+++ b/docs-tasks/19-ar-webxr.md@@ -4,7 +4,7 @@`public/docs/ar.md`## Target audience-Developers who want to add AR (Augmented Reality) viewing to their 3D Agent embeds. Brief and practical — covers all three AR methods.+Developers who want to add AR (Augmented Reality) viewing to their three.ws embeds. Brief and practical — covers all three AR methods.## Word count1000–1500 words@@ -12,7 +12,7 @@ Developers who want to add AR (Augmented Reality) viewing to their 3D Agent embe## What this document must cover### 1. AR overview-3D Agent supports three AR methods:+three.ws supports three AR methods:| Method | Platform | How it works ||--------|----------|-------------|| iOS QuickLook | iPhone/iPad (Safari) | Opens native AR viewer via `.usdz` or `.reality` |diff --git a/docs-tasks/21-sdk-library.md b/docs-tasks/21-sdk-library.mdindex 258573c8d..efcdf3f31 100644--- a/docs-tasks/21-sdk-library.md+++ b/docs-tasks/21-sdk-library.md@@ -4,7 +4,7 @@`public/docs/sdk.md`## Target audience-Developers who want to use 3D Agent as a library in their own JavaScript/TypeScript projects — not just embedding a web component but importing functions and classes for more advanced integration.+Developers who want to use three.ws as a library in their own JavaScript/TypeScript projects — not just embedding a web component but importing functions and classes for more advanced integration.## Word count1500–2500 words@@ -12,13 +12,13 @@ Developers who want to use 3D Agent as a library in their own JavaScript/TypeScr## What this document must cover### 1. SDK overview-The 3D Agent SDK (`@3dagent/sdk`) provides:+The three.ws SDK (`@3dagent/sdk`) provides:- The `<agent-3d>` web component (same as the CDN version)- Programmatic APIs for agents, widgets, and ERC-8004- Utility functions for IPFS, manifest loading, glTF validation- TypeScript types for all APIs-The SDK is separate from the full platform — you can use the SDK to build entirely custom interfaces while leveraging the 3D Agent infrastructure.+The SDK is separate from the full platform — you can use the SDK to build entirely custom interfaces while leveraging the three.ws infrastructure.### 2. Installation@@ -201,7 +201,7 @@ npm run build:artifact### 12. The LobeHub pluginA pre-built integration with the LobeHub AI chat platform:- Located in `/lobehub-plugin/`-- Exposes 3D Agent capabilities as LobeHub tools+- Exposes three.ws capabilities as LobeHub tools- Install from the LobeHub plugin marketplace- Full docs in `/lobehub-plugin/README.md`diff --git a/docs-tasks/22-deployment-self-hosting.md b/docs-tasks/22-deployment-self-hosting.mdindex 50c355c64..8660df908 100644--- a/docs-tasks/22-deployment-self-hosting.md+++ b/docs-tasks/22-deployment-self-hosting.md@@ -4,7 +4,7 @@`public/docs/deployment.md`## Target audience-Developers and organizations who want to self-host the 3D Agent platform — either for privacy, compliance, customization, or cost control. Assumes comfort with Vercel/cloud deployment and environment variables.+Developers and organizations who want to self-host the three.ws platform — either for privacy, compliance, customization, or cost control. Assumes comfort with Vercel/cloud deployment and environment variables.## Word count2000–3000 words@@ -12,7 +12,7 @@ Developers and organizations who want to self-host the 3D Agent platform — eit## What this document must cover### 1. Deployment overview-3D Agent is designed to deploy on Vercel but will work on any Node.js host that supports serverless functions. The platform consists of:+three.ws is designed to deploy on Vercel but will work on any Node.js host that supports serverless functions. The platform consists of:- **Frontend** — Vite-built multi-page SPA (static files)- **API routes** — Node.js serverless functions (in `/api/`)- **Database** — PostgreSQL (Neon DB recommended)@@ -122,7 +122,7 @@ node scripts/apply-delegations-schema.js- `delegations` table — ERC-7710 permission grants### 5. S3 storage setup-3D Agent stores GLB files and generated thumbnails in S3:+three.ws stores GLB files and generated thumbnails in S3:```bash# Create bucketdiff --git a/docs-tasks/23-tutorial-first-agent.md b/docs-tasks/23-tutorial-first-agent.mdindex 1b1b2390a..8f3de669b 100644--- a/docs-tasks/23-tutorial-first-agent.md+++ b/docs-tasks/23-tutorial-first-agent.md@@ -1,10 +1,10 @@-# Agent Task: Write Tutorial — "Build Your First 3D Agent"+# Agent Task: Write Tutorial — "Build Your First three.ws"## Output file`public/docs/tutorials/first-agent.md`## Target audience-Complete beginners to 3D Agent. They have basic web development knowledge (HTML, JS). They want to end up with a live, talking 3D agent on a page they control. Step-by-step tutorial, not a reference doc.+Complete beginners to three.ws. They have basic web development knowledge (HTML, JS). They want to end up with a live, talking three.ws on a page they control. Step-by-step tutorial, not a reference doc.## Word count2000–3000 words@@ -37,7 +37,7 @@ For beginners: just use the sample avatar URL and come back to this later.<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>My 3D Agent</title>+ <title>My three.ws</title><style>body { margin: 0; background: #0a0a0a; display: flex; justify-content: center; align-items: center; min-height: 100vh; }agent-3d { width: 400px; height: 600px; border-radius: 16px; overflow: hidden; }diff --git a/docs-tasks/24-tutorial-custom-skill.md b/docs-tasks/24-tutorial-custom-skill.mdindex 2e61ef7af..44e5feaa9 100644--- a/docs-tasks/24-tutorial-custom-skill.md+++ b/docs-tasks/24-tutorial-custom-skill.md@@ -255,7 +255,7 @@ export async function my_tool(args, ctx) {### Step 10: Publishing your skill to the communitySkills are just static files — share your manifest URL in:-- The 3D Agent Discord #skills channel+- The three.ws Discord #skills channel- GitHub as a topic: `3dagent-skill`- The community skill registry (coming soon)diff --git a/docs-tasks/25-tutorial-register-onchain.md b/docs-tasks/25-tutorial-register-onchain.mdindex e43733618..b586846e5 100644--- a/docs-tasks/25-tutorial-register-onchain.md+++ b/docs-tasks/25-tutorial-register-onchain.md@@ -13,7 +13,7 @@ Users and developers who want to give their agent a permanent blockchain identit### Learning objectivesBy the end, the reader will have:-- Created a 3D agent on the platform+- Created a three.ws on the platform- Connected an Ethereum wallet- Registered the agent on Base (chain ID 8453)- An on-chain agent URL they can share@@ -31,7 +31,7 @@ Start with motivation — concrete benefits:- An Ethereum wallet with ~$1 worth of ETH on Base- No Base ETH? Bridge from Ethereum at bridge.base.org (costs ~$2 in ETH gas)- Or use a faucet: base-sepolia-faucet.com (testnet, free)-- Your agent created on 3D Agent (covered in Step 1)+- Your agent created on three.ws (covered in Step 1)### Step 1: Create your agentIf you haven't already:@@ -65,7 +65,7 @@ Use Coinbase (they support Base natively) or any exchange that supports Base wit3. Register on Base Sepolia first to practice### Step 3: Connect your wallet-1. In the 3D Agent app, click "Connect Wallet" (top right)+1. In the three.ws app, click "Connect Wallet" (top right)2. Choose your wallet:- MetaMask — click MetaMask icon- WalletConnect — scan QR with mobile walletdiff --git a/docs-tasks/26-tutorial-embed-on-website.md b/docs-tasks/26-tutorial-embed-on-website.mdindex 21a7b263d..01429ae46 100644--- a/docs-tasks/26-tutorial-embed-on-website.md+++ b/docs-tasks/26-tutorial-embed-on-website.md@@ -1,10 +1,10 @@-# Agent Task: Write Tutorial — "Embed a 3D Agent on Your Website"+# Agent Task: Write Tutorial — "Embed a three.ws on Your Website"## Output file`public/docs/tutorials/embed-on-website.md`## Target audience-Developers and no-code builders who have a website and want to add a 3D agent to it. Multiple paths covered: code-based embedding and platform-generated snippets.+Developers and no-code builders who have a website and want to add a three.ws to it. Multiple paths covered: code-based embedding and platform-generated snippets.## Word count1500–2000 words@@ -13,7 +13,7 @@ Developers and no-code builders who have a website and want to add a 3D agent to### Learning objectivesBy the end, the reader will know how to:-- Add a 3D agent to a static HTML page+- Add a three.ws to a static HTML page- Add it to a React/Next.js app- Add it to WordPress, Webflow, or Squarespace (no-code)- Use the iframe widget (simplest path for non-developers)@@ -92,7 +92,7 @@ export default function Page() {return (<main><h1>Welcome</h1>- <Agent3D agentId="your-agent-id" mode="floating" />+ <Agentthree.wsId="your-agent-id" mode="floating" /></main>);}@@ -138,13 +138,13 @@ Then use a Custom HTML block in the editor with the `<agent-3d>` element.2. Paste the complete snippet (script + element together):```html<script type="module" src="https://cdn.three.wsagent-3d.js"></script>-<agent-3d agent-id="your-id" style="width:100%;height:500px"></agent-3d>+<agent-three.ws-id="your-id" style="width:100%;height:500px"></agent-3d>```For floating mode across all pages: Settings → Advanced → Code Injection → Footer, paste:```html<script type="module" src="https://cdn.three.wsagent-3d.js"></script>-<agent-3d agent-id="your-id" mode="floating"></agent-3d>+<agent-three.ws-id="your-id" mode="floating"></agent-3d>```### Controlling when the agent appearsdiff --git a/docs-tasks/28-animation-system.md b/docs-tasks/28-animation-system.mdindex d01c1e89f..09557fadb 100644--- a/docs-tasks/28-animation-system.md+++ b/docs-tasks/28-animation-system.md@@ -4,7 +4,7 @@`public/docs/animation-system.md`## Target audience-3D artists and developers who want to understand how animations work in 3D Agent — from loading clips to the agent emotion system and how animations blend.+3D artists and developers who want to understand how animations work in three.ws — from loading clips to the agent emotion system and how animations blend.## Word count2000–2500 words@@ -12,7 +12,7 @@## What this document must cover### 1. Overview-3D Agent's animation system has three layers:+three.ws's animation system has three layers:1. **Clip playback** — standard glTF animation clips (walk, wave, idle, etc.) played by the AnimationMixer2. **Morph target blending** — per-frame facial expression control driven by the emotion system3. **Procedural animation** — head tilt, lean, and gaze control driven by emotion state (no clips needed)@@ -188,7 +188,7 @@ el.agent.protocol.dispatch('gesture', { name: 'wave' });Or via the LLM `wave` tool (built-in).-### 9. Building animations for 3D Agent+### 9. Building animations for three.wsFor 3D artists creating avatars:**Recommended clip set:**diff --git a/docs-tasks/29-speech-voice.md b/docs-tasks/29-speech-voice.mdindex 09a4bedea..54ac50c88 100644--- a/docs-tasks/29-speech-voice.md+++ b/docs-tasks/29-speech-voice.md@@ -12,7 +12,7 @@ Developers adding voice capabilities to their agents — both text-to-speech (ag## What this document must cover### 1. Overview-3D Agent supports bidirectional voice:+three.ws supports bidirectional voice:- **Text-to-Speech (TTS)** — the agent speaks responses aloud- **Speech-to-Text (STT)** — users speak instead of typing@@ -79,10 +79,10 @@ The `<agent-3d>` element shows a mic button automatically when:```html<!-- Voice enabled (default) -->-<agent-3d agent-id="my-agent"></agent-3d>+<agent-three.ws-id="my-agent"></agent-3d><!-- Voice disabled -->-<agent-3d agent-id="my-agent" voice="false"></agent-3d>+<agent-three.ws-id="my-agent" voice="false"></agent-3d>```**Programmatic control:**@@ -175,7 +175,7 @@ button.addEventListener('click', () => {### 9. Disabling audioTo run the agent silently (text only):```html-<agent-3d agent-id="my-agent" muted></agent-3d>+<agent-three.ws-id="my-agent" muted></agent-3d>```Or programmatically:diff --git a/docs-tasks/30-widget-studio-guide.md b/docs-tasks/30-widget-studio-guide.mdindex 3951ff1f7..83264ee24 100644--- a/docs-tasks/30-widget-studio-guide.md+++ b/docs-tasks/30-widget-studio-guide.md@@ -12,7 +12,7 @@ Non-technical users and developers who want to create embeddable 3D widgets with## What this document must cover### 1. What is Widget Studio?-Widget Studio is the visual builder for creating embeddable 3D agent widgets. No code required — configure your widget through a form, preview it live, and copy the embed code.+Widget Studio is the visual builder for creating embeddable three.ws widgets. No code required — configure your widget through a form, preview it live, and copy the embed code.Access: https://three.ws/studio@@ -82,7 +82,7 @@ Each widget type has specific settings. Common settings across all types:- Primary color (used for buttons, highlights)- Font family (system | serif | monospace)- Rounded corners (0px to 24px)-- Show/hide branding ("Powered by 3D Agent")+- Show/hide branding ("Powered by three.ws")**Step 5: Preview**The right panel shows a live preview of your widget at the configured dimensions. Try:diff --git a/docs-tasks/31-security.md b/docs-tasks/31-security.mdindex 55ed86526..08bad7191 100644--- a/docs-tasks/31-security.md+++ b/docs-tasks/31-security.md@@ -4,7 +4,7 @@`public/docs/security.md`## Target audience-Security-conscious developers and organizations evaluating 3D Agent for their applications. Covers the security model, what data is processed where, and how to configure secure deployments.+Security-conscious developers and organizations evaluating three.ws for their applications. Covers the security model, what data is processed where, and how to configure secure deployments.## Word count1500–2000 words@@ -12,7 +12,7 @@ Security-conscious developers and organizations evaluating 3D Agent for their ap## What this document must cover### 1. Security overview-3D Agent is designed with these security principles:+three.ws is designed with these security principles:- **Client-side processing** — 3D files never leave the browser- **Defense in depth** — multiple independent security layers- **Least privilege** — agents only access what's explicitly granted@@ -22,7 +22,7 @@ Security-conscious developers and organizations evaluating 3D Agent for their ap### 2. Data handling**3D models (GLB files):**-- Loaded directly in the browser — never uploaded to 3D Agent servers unless you explicitly save to your account+- Loaded directly in the browser — never uploaded to three.ws servers unless you explicitly save to your account- Canvas rendering happens entirely in WebGL on the client- Screenshots are generated client-side (canvas.toDataURL())@@ -33,7 +33,7 @@ Security-conscious developers and organizations evaluating 3D Agent for their ap**Wallet data:**- Private keys never leave the wallet (MetaMask, Privy, WalletConnect)-- 3D Agent only receives wallet addresses and signed messages+- three.ws only receives wallet addresses and signed messages- SIWE auth uses signed challenges — password-free**Memory:**diff --git a/docs-tasks/32-multi-agent-scenes.md b/docs-tasks/32-multi-agent-scenes.mdindex eed9e6a0b..844684341 100644--- a/docs-tasks/32-multi-agent-scenes.md+++ b/docs-tasks/32-multi-agent-scenes.md@@ -4,7 +4,7 @@`public/docs/multi-agent.md`## Target audience-Developers building scenes with multiple 3D agents — like a panel discussion, a marketplace with multiple characters, or a game. Covers how to run multiple `<agent-3d>` elements, have them interact, and share a stage.+Developers building scenes with multiple three.wss — like a panel discussion, a marketplace with multiple characters, or a game. Covers how to run multiple `<agent-3d>` elements, have them interact, and share a stage.## Word count1200–2000 wordsdiff --git a/docs-tasks/34-smart-contracts.md b/docs-tasks/34-smart-contracts.mdindex 28bc2d09b..d39d49832 100644--- a/docs-tasks/34-smart-contracts.md+++ b/docs-tasks/34-smart-contracts.md@@ -16,7 +16,7 @@ Three Solidity contracts make up the ERC-8004 registry:| Contract | Purpose ||----------|---------|-| `IdentityRegistry.sol` | Register and resolve 3D agents on-chain |+| `IdentityRegistry.sol` | Register and resolve three.wss on-chain || `ReputationRegistry.sol` | Submit and read on-chain agent reviews || `ValidationRegistry.sol` | Record glTF validation attestations |@@ -26,7 +26,7 @@ Built with Foundry. Source in `/contracts/src/`.### 2. IdentityRegistry-**Purpose:** The canonical on-chain registry for 3D agent identities. Stores IPFS CIDs pointing to agent manifests.+**Purpose:** The canonical on-chain registry for three.ws identities. Stores IPFS CIDs pointing to agent manifests.**Key functions:**diff --git a/docs-tasks/35-character-studio.md b/docs-tasks/35-character-studio.mdindex 963a48be3..494b8f448 100644--- a/docs-tasks/35-character-studio.md+++ b/docs-tasks/35-character-studio.md@@ -12,11 +12,11 @@ Users who want to create custom 3D avatars using the Character Studio — a visu## What this document must cover### 1. What is Character Studio?-Character Studio is a browser-based 3D avatar builder included with 3D Agent. It lets you create a fully customized humanoid avatar without any 3D modeling experience.+Character Studio is a browser-based 3D avatar builder included with three.ws. It lets you create a fully customized humanoid avatar without any 3D modeling experience.Access: https://three.ws/studio (avatar tab)-It's a separate React SPA (in `/character-studio/`) that outputs a GLB file compatible with all 3D Agent features — animations, emotion system, AR viewing, and embedding.+It's a separate React SPA (in `/character-studio/`) that outputs a GLB file compatible with all three.ws features — animations, emotion system, AR viewing, and embedding.### 2. Getting started1. Go to https://three.ws/studio@@ -100,14 +100,14 @@ Character Studio avatars use a Mixamo-compatible skeleton:This means:- Mixamo animations work directly on Character Studio avatars-- The 3D Agent animation library is compatible+- The three.ws animation library is compatible- You can download animations from Mixamo and attach them### 7. Exporting your avatarAfter customizing:1. Click "Export" → "Download GLB"2. The GLB downloads to your computer-3. Import it into the 3D Agent editor (drag-and-drop)+3. Import it into the three.ws editor (drag-and-drop)4. Or host it on your own CDNAlternatively:@@ -152,7 +152,7 @@ Character Studio and the Avaturn selfie-to-avatar pipeline are complementary:- **Avaturn**: photorealistic avatar from a selfie, less customization- **Character Studio**: fully customizable but stylized, no selfie needed-You can also combine them: generate an Avaturn avatar, then modify it in the 3D Agent editor to change clothing, colors, and accessories.+You can also combine them: generate an Avaturn avatar, then modify it in the three.ws editor to change clothing, colors, and accessories.## ToneUser-friendly guide — non-technical users are the primary audience. Walk through the UI clearly. The limitations section sets expectations honestly.diff --git a/docs-tasks/36-contributing.md b/docs-tasks/36-contributing.mdindex 0853b8216..0f1091281 100644--- a/docs-tasks/36-contributing.md+++ b/docs-tasks/36-contributing.md@@ -4,7 +4,7 @@`public/docs/contributing.md`## Target audience-Developers who want to contribute to the 3D Agent open-source project — bug fixes, features, documentation, skill contributions. Covers the full contribution workflow.+Developers who want to contribute to the three.ws open-source project — bug fixes, features, documentation, skill contributions. Covers the full contribution workflow.## Word count1500–2000 words@@ -136,7 +136,7 @@ Follow conventional commits:One subject line, imperative mood ("add" not "added"), no period at end. Under 72 characters.### 10. Contributing a skill-Skills are the best way to extend 3D Agent without touching core code:+Skills are the best way to extend three.ws without touching core code:1. Create your skill directory (see Skills documentation for format)2. Host it on GitHub Pages, Vercel, or any CDNdiff --git a/docs-tasks/37-configuration-reference.md b/docs-tasks/37-configuration-reference.mdindex b92c8576d..e21428a46 100644--- a/docs-tasks/37-configuration-reference.md+++ b/docs-tasks/37-configuration-reference.md@@ -4,7 +4,7 @@`public/docs/configuration.md`## Target audience-Developers setting up a self-hosted 3D Agent instance or configuring their development environment. This is a complete reference for all environment variables and configuration files.+Developers setting up a self-hosted three.ws instance or configuring their development environment. This is a complete reference for all environment variables and configuration files.## Word count1500–2000 words@@ -12,7 +12,7 @@ Developers setting up a self-hosted 3D Agent instance or configuring their devel## What this document must cover### 1. Overview-3D Agent is configured via:+three.ws is configured via:- **Environment variables** (`.env` / `.env.local`) — server secrets and API keys- **`vercel.json`** — routing, headers, and edge config- **`vite.config.js`** — build configurationdiff --git a/docs-tasks/38-troubleshooting-faq.md b/docs-tasks/38-troubleshooting-faq.mdindex 9716ab397..79c015fa0 100644--- a/docs-tasks/38-troubleshooting-faq.md+++ b/docs-tasks/38-troubleshooting-faq.md@@ -4,7 +4,7 @@`public/docs/troubleshooting.md`## Target audience-Anyone having problems with 3D Agent — developers debugging integrations, users whose agents aren't working, self-hosters with server issues. Organized by symptom, not by system.+Anyone having problems with three.ws — developers debugging integrations, users whose agents aren't working, self-hosters with server issues. Organized by symptom, not by system.## Word count2000–3000 words@@ -195,7 +195,7 @@ Organize into sections by symptom category. Each problem should have: **Symptom*### FAQ-**Is 3D Agent free?**+**Is three.ws free?**The core platform is free to use. API costs (Anthropic, ElevenLabs) are passed through at cost. IPFS pinning requires your own provider keys.**Can I use any 3D model, or does it have to be a humanoid?**diff --git a/docs-tasks/40-changelog-versioning.md b/docs-tasks/40-changelog-versioning.mdindex 45739180e..0462e2bcf 100644--- a/docs-tasks/40-changelog-versioning.md+++ b/docs-tasks/40-changelog-versioning.md@@ -12,7 +12,7 @@ Developers who want to know what changed between versions, how to migrate, and h## What this document must cover### 1. Versioning policy-3D Agent uses Semantic Versioning (semver):+three.ws uses Semantic Versioning (semver):- **Major** (X.0.0) — breaking changes to the web component API, agent manifest format, or SDK- **Minor** (1.X.0) — new features, backwards-compatible- **Patch** (1.5.X) — bug fixes, no API changesdiff --git a/docs/API.md b/docs/API.mdindex b0fc7c6f7..f4b2072fa 100644--- a/docs/API.md+++ b/docs/API.md@@ -1,6 +1,6 @@# API Reference-Complete reference for all public classes, methods, and properties in 3D Agent.+Complete reference for all public classes, methods, and properties in three.ws.---diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.mdindex cea26afd7..3e82d74ab 100644--- a/docs/ARCHITECTURE.md+++ b/docs/ARCHITECTURE.md@@ -1,12 +1,12 @@# Architecture-This document provides a deep technical overview of how 3D Agent is structured, how data flows through the system, and how each module fulfills its responsibilities.+This document provides a deep technical overview of how three.ws is structured, how data flows through the system, and how each module fulfills its responsibilities.---## High-Level Overview-3D Agent is a single-page application (SPA) that runs entirely in the browser. There is no backend server — all model parsing, rendering, and validation happens client-side using WebGL 2.0.+three.ws is a single-page application (SPA) that runs entirely in the browser. There is no backend server — all model parsing, rendering, and validation happens client-side using WebGL 2.0.```┌─────────────────────────────────────────────────────────────┐diff --git a/docs/DEPLOYMENT.md b/docs/DEPLOYMENT.mdindex 763b24d60..96eb47fc8 100644--- a/docs/DEPLOYMENT.md+++ b/docs/DEPLOYMENT.md@@ -1,6 +1,6 @@# Deployment Guide-This guide covers building and deploying 3D Agent to production.+This guide covers building and deploying three.ws to production.---@@ -146,7 +146,7 @@ This allows:### Adding a New Origin-To allow a new domain to embed 3D Agent:+To allow a new domain to embed three.ws:1. Add the origin to the `origin` array in `cors.json`2. Redeploy@@ -167,7 +167,7 @@ The production deployment uses `three.ws`. To use a custom domain:## Embedding-3D Agent supports embedding via `<iframe>` with kiosk mode for a clean, UI-free experience:+three.ws supports embedding via `<iframe>` with kiosk mode for a clean, UI-free experience:```html<iframe@@ -193,7 +193,7 @@ Add `kiosk=true` to the hash to:The model URL **must** allow cross-origin requests from the embedding page. If the model is on a different domain:- Configure the CDN/server to include `Access-Control-Allow-Origin` headers-- Or serve the model from the same domain as 3D Agent+- Or serve the model from the same domain as three.ws### Custom Camera Position@@ -209,7 +209,7 @@ The coordinates are in Three.js world space (x, y, z).## Self-Hosting-To host 3D Agent on your own infrastructure:+To host three.ws on your own infrastructure:### With a Static File Server@@ -308,7 +308,7 @@ For self-hosting, download these files and update the paths in `src/environments## Environment Variables-3D Agent does not require any environment variables. All configuration is done via:+three.ws does not require any environment variables. All configuration is done via:- URL hash parameters (runtime)- `src/environments.js` (build-time)diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.mdindex 2b3c0807a..48dd33c9c 100644--- a/docs/DEVELOPMENT.md+++ b/docs/DEVELOPMENT.md@@ -1,6 +1,6 @@# Development Guide-Everything you need to know to work on 3D Agent locally.+Everything you need to know to work on three.ws locally.---diff --git a/docs/MCP.md b/docs/MCP.mdindex cc971209d..e8947b2f6 100644--- a/docs/MCP.md+++ b/docs/MCP.md@@ -1,6 +1,6 @@-# 3D Agent MCP Server+# three.ws MCP Server-The 3D Agent MCP server lets any Model Context Protocol client — Claude Desktop,+The three.ws MCP server lets any Model Context Protocol client — Claude Desktop,Claude Code, custom agents built on the Claude Agent SDK, or any otherMCP-compatible app — list, render, and manage a user's 3D avatars.@@ -71,7 +71,7 @@ and emit the returned HTML as an inline artifact.## Credits-3D Agent provides authentication, storage, MCP access, and multi-tenant+three.ws provides authentication, storage, MCP access, and multi-tenantinfrastructure. The avatar creation engine is pluggable — the defaultbuild uses the Avaturn SDK under the hood, but the provider can beswapped at [src/avatar-creator.js](../src/avatar-creator.js).diff --git a/docs/SMOKE_TEST.md b/docs/SMOKE_TEST.mdindex 916b7764d..92c2c5ac4 100644--- a/docs/SMOKE_TEST.md+++ b/docs/SMOKE_TEST.md@@ -1,4 +1,4 @@-# 3D Agent — Smoke Test Report+# three.ws — Smoke Test Report**Run date:** 2026-04-17**Commit:** 91ddf12diff --git a/docs/WIDGETS.md b/docs/WIDGETS.mdindex 826a42708..9ad7be4d3 100644--- a/docs/WIDGETS.md+++ b/docs/WIDGETS.md@@ -188,7 +188,7 @@ Returns standard [oEmbed v1.0](https://oembed.com) JSON, type `rich`.{"type": "rich","version": "1.0",- "provider_name": "3D Agent",+ "provider_name": "three.ws","provider_url": "https://three.ws/","title": "…","html": "<iframe …></iframe>",diff --git a/docs/api-inventory.md b/docs/api-inventory.mdindex 186289b23..4d279aacd 100644--- a/docs/api-inventory.md+++ b/docs/api-inventory.md@@ -115,7 +115,7 @@ Generated reference of every HTTP endpoint under `/api/`. Paths reflect the exte| `/api/erc8004/import` | POST | session | Import on-chain agent into local `agent_identities` | `{chainId,agentId}` | `{agent}` || `/api/erc8004/pin` | POST | session | Pin raw GLB/JSON/image bytes (IPFS + R2 fallback) | raw body | `{cid,url}` || `/api/explore` | GET | public | Paginated indexed ERC-8004 directory | `?only3d&chain&q&cursor&limit` | `{agents[],next_cursor}` |-| `/api/showcase` | GET | public (rate-limited) | Public directory, 3D agents only, keyset pagination | `?chainIds&sort&limit&cursor` | `{agents[],next_cursor}` |+| `/api/showcase` | GET | public (rate-limited) | Public directory, three.wss only, keyset pagination | `?chainIds&sort&limit&cursor` | `{agents[],next_cursor}` |## Permissions (ERC-7710 delegations)diff --git a/embed-test.html b/embed-test.htmlindex 71e37fd70..42b7bc937 100644--- a/embed-test.html+++ b/embed-test.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>3D Agent Embed Test</title>+ <title>three.ws Embed Test</title><style>body {margin: 0;@@ -22,7 +22,7 @@</style></head><body>- <h1>3D Agent Web Component Test</h1>+ <h1>three.ws Web Component Test</h1><p>Testing the <code><agent-3d></code> web component embed.</p><script type="module" src="https://three.ws/dist-lib/agent-3d.js"></script>diff --git a/embed.html b/embed.htmlindex b5f320190..596f2d1d8 100644--- a/embed.html+++ b/embed.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>Embed editor — 3D Agent</title>+ <title>Embed editor — three.ws</title><style>html,body {diff --git a/examples/minimal.html b/examples/minimal.htmlindex c986b3a83..b35a96f6a 100644--- a/examples/minimal.html+++ b/examples/minimal.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>Minimal embed — 3D Agent</title>+ <title>Minimal embed — three.ws</title><style>body {margin: 0;diff --git a/home.css b/home.cssindex 02369d653..01be74324 100644--- a/home.css+++ b/home.css@@ -101,26 +101,44 @@pointer-events: none;}-/* ── Sticky 2-column hero overlay ───────────────────────────────────────── */+/* ── Avatar centered in its depth-1 parallax layer ─────────────────────── */-.h-hero-sticky {+.h-avatar-stage {+ position: absolute;+ inset: 0;+ display: flex;+ align-items: center;+ justify-content: center;+ pointer-events: none;+}++.h-avatar-wrap {+ position: relative;+ width: clamp(340px, 42vw, 560px);+ aspect-ratio: 1;+ display: flex;+ align-items: center;+ justify-content: center;+ pointer-events: auto;+}++/* ── Sticky text pinned bottom-left (same as features page act-content) ─── */++.h-hero-text {position: sticky;top: 0;height: 100vh;margin-bottom: -100vh;z-index: 20;- display: grid;- grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);- align-items: center;- gap: var(--space-2xl);- max-width: 1280px;- margin-left: auto;- margin-right: auto;- padding: calc(var(--space-2xl) + 2rem) var(--space-lg) var(--space-2xl);+ display: flex;+ flex-direction: column;+ justify-content: flex-end;+ padding: 0 var(--space-lg) clamp(2.5rem, 6vh, 5rem);pointer-events: none;+ max-width: 640px;}-.h-hero-sticky > * {+.h-hero-text > * {pointer-events: auto;}diff --git a/home.html b/home.htmlindex c0dee7b38..9b98cbf0e 100644--- a/home.html+++ b/home.html@@ -3,20 +3,20 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>3D Agent — Give Your AI a Body</title>+ <title>three.ws — Give Your AI a Body</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="author" content="nirholas" /><metaname="description"- content="Drop any GLB model into 3D Agent — view it, animate it, embed it anywhere, and give it a verifiable on-chain identity."+ content="Drop any GLB model into three.ws — view it, animate it, embed it anywhere, and give it a verifiable on-chain identity."/><meta name="theme-color" content="#000000" /><meta property="og:type" content="website" />- <meta property="og:title" content="3D Agent — Give Your AI a Body" />+ <meta property="og:title" content="three.ws — Give Your AI a Body" /><metaproperty="og:description"- content="Drop any GLB model into 3D Agent — view it, animate it, embed it anywhere."+ content="Drop any GLB model into three.ws — view it, animate it, embed it anywhere."/><meta property="og:url" content="https://three.ws/home" />@@ -40,8 +40,8 @@<a href="#main-content" class="h-skip-link">Skip to main content</a><header><h1>- <a href="/" aria-label="3D Agent home"- ><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a+ <a href="/" aria-label="three.ws home"+ ><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="home-nav" aria-label="Primary">@@ -65,7 +65,7 @@<div class="h-layer" style="--depth: 4" aria-hidden="true"><div class="h-hero-grid"></div></div>- <!-- Depth 3: ghost model -->+ <!-- Depth 3: ghost model drifting in background --><div class="h-layer" style="--depth: 3" aria-hidden="true"><model-viewerclass="h-ghost-model"@@ -84,73 +84,72 @@loading="lazy"></model-viewer></div>- <!-- Depth 2: mesh + glows -->+ <!-- Depth 2: atmosphere --><div class="h-layer" style="--depth: 2" aria-hidden="true"><div class="h-hero-mesh"></div><div class="h-hero-glow-a"></div><div class="h-hero-glow-b"></div></div>- <!-- Depth 0.5: vignette -->+ <!-- Depth 1: main avatar centered in its own parallax layer -->+ <div class="h-layer" style="--depth: 1">+ <div class="h-avatar-stage">+ <div class="h-avatar-wrap">+ <div class="h-avatar-ring"></div>+ <div class="h-avatar-glow"></div>+ <model-viewer+ class="h-avatar-viewer"+ src="/avatars/cz.glb"+ alt="3D Agent avatar"+ camera-controls+ disable-zoom+ rotation-per-second="18deg"+ interaction-prompt="none"+ shadow-intensity="0.8"+ shadow-softness="1"+ exposure="1.05"+ tone-mapping="aces"+ environment-image="neutral"+ camera-orbit="20deg 68deg 3.4m"+ field-of-view="28deg"+ loading="eager"+ ></model-viewer>+ <div class="h-avatar-badge">+ <span class="h-avatar-badge-label">agent</span>+ <span>0x3d…a9f</span>+ </div>+ </div>+ </div>+ </div>+ <!-- Depth 0.5: vignette closest to camera --><div class="h-layer" style="--depth: 0.5" aria-hidden="true"><div class="h-vignette"></div></div>- <!-- Sticky overlay: 2-column text + avatar -->- <div class="h-hero-sticky">- <div class="h-hero-content">- <div class="h-eyebrow h-reveal">- <span class="h-eyebrow-dot"></span>- <span>Browser-native · No install</span>- </div>- <h2 class="h-title h-reveal">Give your AI<br />agent a <em>body</em>.</h2>- <p class="h-subtitle h-reveal">- Drop any GLB model into 3D Agent — view it, animate it, embed it anywhere,- and give it a verifiable on-chain identity. No plugins. No server uploads.- Just open and go.- </p>- <div class="h-cta-row h-reveal">- <a href="/" class="h-btn-primary">- <span>Launch Viewer</span>- <span class="arrow">→</span>- </a>- <a href="/widgets" class="h-btn-ghost">Explore Widgets</a>- </div>- <ul class="h-standards h-reveal" aria-label="Supported formats and standards">- <li>glTF 2.0</li>- <li>GLB</li>- <li>ERC-8004</li>- <li>A2A</li>- <li>MCP</li>- </ul>+ <!-- Sticky text pinned to bottom-left — same pattern as features page -->+ <div class="h-hero-text">+ <div class="h-eyebrow h-reveal">+ <span class="h-eyebrow-dot"></span>+ <span>Browser-native · No install</span></div>-- <div class="h-hero-visual h-reveal" aria-hidden="true">- <div class="h-avatar-ring"></div>- <div class="h-avatar-glow"></div>- <model-viewer- class="h-avatar-viewer"- src="/avatars/cz.glb"- alt="3D Agent avatar"- camera-controls- disable-zoom- auto-rotate- auto-rotate-delay="0"- rotation-per-second="18deg"- interaction-prompt="none"- shadow-intensity="0.8"- shadow-softness="1"- exposure="1.05"- tone-mapping="aces"- environment-image="neutral"- camera-orbit="20deg 68deg 3.4m"- field-of-view="28deg"- loading="eager"- ></model-viewer>- <div class="h-avatar-badge">- <span class="h-avatar-badge-label">agent</span>- <span>0x3d…a9f</span>- </div>+ <h2 class="h-title h-reveal">Give your AI<br />agent a <em>body</em>.</h2>+ <p class="h-subtitle h-reveal">+ Drop any GLB — view it, animate it, embed it anywhere, and give it a+ verifiable on-chain identity. No plugins. No server uploads.+ </p>+ <div class="h-cta-row h-reveal">+ <a href="/" class="h-btn-primary">+ <span>Launch Viewer</span>+ <span class="arrow">→</span>+ </a>+ <a href="/features" class="h-btn-ghost">See features →</a></div>+ <ul class="h-standards h-reveal" aria-label="Supported formats and standards">+ <li>glTF 2.0</li>+ <li>GLB</li>+ <li>ERC-8004</li>+ <li>A2A</li>+ <li>MCP</li>+ </ul></div><div class="h-scroll-hint" aria-hidden="true">@@ -288,7 +287,7 @@</div><div class="h-id-row"><span class="h-id-key">name</span>- <span class="h-id-val">"3D Agent"</span>+ <span class="h-id-val">"three.ws"</span></div><div class="h-id-row"><span class="h-id-key">agentId</span>@@ -326,7 +325,7 @@<footer class="h-footer"><p>- 3D Agent ·+ three.ws ·<a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>· <a href="/features">Docs</a> ·<a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>diff --git a/index.html b/index.htmlindex c8f330c1e..de0f9d1cd 100644--- a/index.html+++ b/index.html@@ -3,20 +3,20 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>3D Agent — Give Your AI a Body</title>+ <title>three.ws — Give Your AI a Body</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="author" content="nirholas" /><metaname="description"- content="Drop any GLB model into 3D Agent — view it, animate it, embed it anywhere, and give it a verifiable on-chain identity."+ content="Drop any GLB model into three.ws — view it, animate it, embed it anywhere, and give it a verifiable on-chain identity."/><meta name="theme-color" content="#000000" /><meta property="og:type" content="website" />- <meta property="og:title" content="3D Agent — Give Your AI a Body" />+ <meta property="og:title" content="three.ws — Give Your AI a Body" /><metaproperty="og:description"- content="Drop any GLB model into 3D Agent — view it, animate it, embed it anywhere."+ content="Drop any GLB model into three.ws — view it, animate it, embed it anywhere."/><meta property="og:url" content="https://three.ws/" />@@ -753,8 +753,8 @@<a href="#main-content" class="skip-link">Skip to main content</a><header><h1>- <a href="/" aria-label="3D Agent home"- ><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a+ <a href="/" aria-label="three.ws home"+ ><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav" aria-label="Primary">@@ -823,11 +823,11 @@<div class="hero-avatar scroll-reveal"><div class="hero-avatar-ring" aria-hidden="true"></div><div class="hero-avatar-pulse" aria-hidden="true"></div>- <a href="/app" class="hero-avatar-link" aria-label="Open the 3D Agent viewer">+ <a href="/app" class="hero-avatar-link" aria-label="Open the three.ws viewer"><model-viewerclass="hero-avatar-viewer"src="/avatars/cz.glb"- alt="3D Agent avatar"+ alt="three.ws avatar"autoplayanimation-name="IdleV4.2(maya_head)"disable-zoom@@ -1164,7 +1164,7 @@<footer class="features-footer"><p>- 3D Agent ·+ three.ws ·<a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>diff --git a/lobehub-plugin/LICENSE b/lobehub-plugin/LICENSEindex d237cbd54..bbb838721 100644--- a/lobehub-plugin/LICENSE+++ b/lobehub-plugin/LICENSE@@ -1,6 +1,6 @@MIT License-Copyright (c) 2026 3D Agent+Copyright (c) 2026 three.wsPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealdiff --git a/lobehub-plugin/README.md b/lobehub-plugin/README.mdindex 7eddd8eea..433b3fda7 100644--- a/lobehub-plugin/README.md+++ b/lobehub-plugin/README.md@@ -14,7 +14,7 @@ Render an embodied 3D avatar in the LobeChat sidebar. The avatar reacts to the Lhttps://three.ws/.well-known/lobehub-plugin.json```3. Click **Install**. LobeChat will show the plugin settings dialog.-4. Enter your **Agent ID** (UUID from the 3D Agent dashboard at `https://three.ws/dashboard`).+4. Enter your **Agent ID** (UUID from the three.ws dashboard at `https://three.ws/dashboard`).5. Click **Save**. The 3D avatar appears in the right sidebar.---@@ -23,7 +23,7 @@ Render an embodied 3D avatar in the LobeChat sidebar. The avatar reacts to the L| Setting | Type | Required | Default | Description || ----------- | -------- | -------- | ---------------------------- | -------------------------------------- |-| `agentId` | `string` | Yes | — | Agent UUID from the 3D Agent dashboard |+| `agentId` | `string` | Yes | — | Agent UUID from the three.ws dashboard || `apiOrigin` | `string` | No | `https://three.ws/` | Override for self-hosted instances |---@@ -134,7 +134,7 @@ Output: `dist/bundle.js` — tree-shaken, browser-targeted. React and react-dom| Avatar never appears | Wrong `agentId` | Copy UUID from dashboard; ensure agent has an avatar || "Loading agent…" stuck | Bridge handshake failed | Check browser console for `[3d-agent]` messages; verify `apiOrigin` is reachable || `speak` does nothing | LobeChat hasn't installed the plugin | Confirm plugin is active in LobeChat Plugin Store |-| CORS error | Self-hosted origin not allowed | Add origin to `CORS_ORIGINS` in your 3D Agent deployment |+| CORS error | Self-hosted origin not allowed | Add origin to `CORS_ORIGINS` in your three.ws deployment || Timeout errors | Network latency | The bridge has a 10 s timeout; the iframe may still be loading the web component |---diff --git a/lobehub-plugin/assets/icon-256.svg b/lobehub-plugin/assets/icon-256.svgindex 9f69d2ba9..bdfac2796 100644--- a/lobehub-plugin/assets/icon-256.svg+++ b/lobehub-plugin/assets/icon-256.svg@@ -11,7 +11,7 @@</defs><!-- Background --><rect width="256" height="256" rx="48" fill="url(#bg)"/>- <!-- Stylised 3D cube wireframe representing the 3D agent -->+ <!-- Stylised 3D cube wireframe representing the three.ws --><!-- Front face --><polygon points="88,96 168,96 168,168 88,168" fill="none" stroke="url(#glow)" stroke-width="5" stroke-linejoin="round"/><!-- Top face (parallelogram) -->diff --git a/lobehub-plugin/dev/index.html b/lobehub-plugin/dev/index.htmlindex 6ad1f602a..5729011ad 100644--- a/lobehub-plugin/dev/index.html+++ b/lobehub-plugin/dev/index.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>3D Agent — LobeHub Plugin Dev Harness</title>+ <title>three.ws — LobeHub Plugin Dev Harness</title><meta name="viewport" content="width=device-width, initial-scale=1" /><style>*,@@ -152,7 +152,7 @@<div id="sidebar"><div id="sidebar-header"><span id="status-dot" class="status-dot"></span>- 3D Agent sidebar+ three.ws sidebar</div><iframe id="agent-frame" title="Agent embed"></iframe></div>@@ -196,7 +196,7 @@<h2>Inject tool call (simulates LobeChat calling the plugin API)</h2><div class="row"><label style="width: 60px">Text</label>- <input type="text" id="speak-text" value="Hello! I am your 3D agent." />+ <input type="text" id="speak-text" value="Hello! I am your three.ws." /></div><div class="row"><label style="width: 60px">Sentiment</label>diff --git a/lobehub-plugin/manifest.json b/lobehub-plugin/manifest.jsonindex 223fd5a42..40de0aa4e 100644--- a/lobehub-plugin/manifest.json+++ b/lobehub-plugin/manifest.json@@ -2,7 +2,7 @@"identifier": "3dagent","schemaVersion": 1,"meta": {- "title": "3D Agent",+ "title": "three.ws","description": "Render a 3D avatar that reacts to the chat.","avatar": "https://three.ws/favicon.ico","tags": ["avatar", "3d", "agent"]diff --git a/lobehub-plugin/package.json b/lobehub-plugin/package.jsonindex 8f894d4d0..eed6b84cf 100644--- a/lobehub-plugin/package.json+++ b/lobehub-plugin/package.json@@ -1,7 +1,7 @@{"name": "@3dagent/lobehub-plugin","version": "1.0.0",- "description": "3D Agent for LobeHub — sidebar plugin that renders an embodied avatar",+ "description": "three.ws for LobeHub — sidebar plugin that renders an embodied avatar","private": true,"type": "module","main": "dist/index.js",@@ -31,6 +31,6 @@"avatar","agent"],- "author": "3D Agent",+ "author": "three.ws","license": "MIT"}diff --git a/lobehub-plugin/src/AgentPane.tsx b/lobehub-plugin/src/AgentPane.tsxindex 04c77c932..5d31e88e1 100644--- a/lobehub-plugin/src/AgentPane.tsx+++ b/lobehub-plugin/src/AgentPane.tsx@@ -7,7 +7,7 @@ export interface AgentPaneProps {}/**- * Sidebar plugin component that renders a 3D agent avatar and+ * Sidebar plugin component that renders a three.ws avatar and* forwards LobeChat tool-call payloads to the agent via the bridge.** LobeChat delivers tool calls by postMessage into the plugin iframe:@@ -142,7 +142,7 @@ export const AgentPane: React.FC<AgentPaneProps> = ({ settings }) => {<iframeref={iframeRef}src={embedUrl}- title={`3D Agent ${settings.agentId}`}+ title={`three.ws ${settings.agentId}`}style={{width: '100%',height: '100%',diff --git a/lobehub-plugin/src/config-schema.ts b/lobehub-plugin/src/config-schema.tsindex c9bff1b1f..635268a7e 100644--- a/lobehub-plugin/src/config-schema.ts+++ b/lobehub-plugin/src/config-schema.ts@@ -13,14 +13,14 @@ export const settingsSchema = {agentId: {type: 'string' as const,title: 'Agent ID',- description: 'The ID of the 3D agent to render',+ description: 'The ID of the three.ws to render',placeholder: 'e.g., agent-xyz-123',required: true,},apiOrigin: {type: 'string' as const,title: 'API Origin',- description: 'Base URL of the 3D Agent server',+ description: 'Base URL of the three.ws server',default: DEFAULT_API_ORIGIN,placeholder: DEFAULT_API_ORIGIN,required: false,diff --git a/lobehub-plugin/src/index.ts b/lobehub-plugin/src/index.tsindex 8b28123a0..d777c41fd 100644--- a/lobehub-plugin/src/index.ts+++ b/lobehub-plugin/src/index.ts@@ -1,7 +1,7 @@/*** @3dagent/lobehub-plugin*- * Entry point for the 3D Agent LobeHub plugin.+ * Entry point for the three.ws LobeHub plugin.* Exports the main React component and configuration.*/diff --git a/profile.html b/profile.htmlindex fad7f3cbc..0bd07a217 100644--- a/profile.html+++ b/profile.html@@ -312,7 +312,7 @@</head><body><header class="profile-page-header">- <a href="/" aria-label="Back to 3D Agent home">← 3D Agent</a>+ <a href="/" aria-label="Back to three.ws home">← three.ws</a><button class="profile-copy-btn" id="copy-profile-btn" aria-label="Copy profile link">copy link</button>diff --git a/prompts/README.md b/prompts/README.mdindex d5804cdef..0662b898e 100644--- a/prompts/README.md+++ b/prompts/README.md@@ -1,6 +1,6 @@# Build prompts — priority stack-Self-contained task prompts for building the 3D Agent platform toward the **CZ demo**: a user (starting with CZ) signs in with their wallet, sees their own embodied avatar agent, can embed it into LobeHub / Claude, and its identity lives onchain.+Self-contained task prompts for building the three.ws platform toward the **CZ demo**: a user (starting with CZ) signs in with their wallet, sees their own embodied avatar agent, can embed it into LobeHub / Claude, and its identity lives onchain.Each file is designed to be dropped into a fresh Claude Code agent without extra context.diff --git a/prompts/archive/final-integration/01-embed-bridges.md b/prompts/archive/final-integration/01-embed-bridges.mdindex daf3828b3..55bef9d8f 100644--- a/prompts/archive/final-integration/01-embed-bridges.md+++ b/prompts/archive/final-integration/01-embed-bridges.md@@ -2,7 +2,7 @@## Context-The `<agent-3d>` web component is the sole distribution channel for the 3D Agent product. It's embedded inside third-party sites (Claude.ai artifacts, LobeHub plugins, customer pages). When an agent lives inside an iframe, the host page has no way to talk to it and vice versa — you can't tell the agent to speak, change avatar, or react to chat messages. You also can't hear the agent's events (skill calls, action logs, state changes) from the parent.+The `<agent-3d>` web component is the sole distribution channel for the three.ws product. It's embedded inside third-party sites (Claude.ai artifacts, LobeHub plugins, customer pages). When an agent lives inside an iframe, the host page has no way to talk to it and vice versa — you can't tell the agent to speak, change avatar, or react to chat messages. You also can't hear the agent's events (skill calls, action logs, state changes) from the parent.Sprint-100 mapped two bridge modules to fill this gap:diff --git a/prompts/archive/final-integration/05-lobehub-real-integration.md b/prompts/archive/final-integration/05-lobehub-real-integration.mdindex db57d7bb7..1d1177cd6 100644--- a/prompts/archive/final-integration/05-lobehub-real-integration.md+++ b/prompts/archive/final-integration/05-lobehub-real-integration.md@@ -2,7 +2,7 @@## Context-[lobehub-plugin/](../../lobehub-plugin/) is the package that lets LobeChat users drop a 3D Agent avatar into their chat sidebar. Today it is **scaffolding only**: a manifest that looks right, a React component with `TODO: Hook into Lobe's onAssistantMessage event`, and a bridge that posts messages into a void because the host receiver didn't exist.+[lobehub-plugin/](../../lobehub-plugin/) is the package that lets LobeChat users drop a three.ws avatar into their chat sidebar. Today it is **scaffolding only**: a manifest that looks right, a React component with `TODO: Hook into Lobe's onAssistantMessage event`, and a bridge that posts messages into a void because the host receiver didn't exist.By the time you run this prompt, the receiver side (prompt 01 — `EmbedActionBridge`) may or may not be complete:@@ -46,7 +46,7 @@ Everything under:- `api` entries either all resolve to real endpoints or the `api` array is omitted if this is iframe-only.- `ui.url` points to `https://three.ws/lobehub/iframe/` and that route actually serves HTML.- `settings` schema matches what the React component reads (`agentId`, `apiOrigin`).-2. **Iframe host.** `public/lobehub/iframe/index.html` renders `<agent-3d agent-id="{{agentId}}">` with correct styling for a 420–640px sidebar frame. Transparent background, no scrollbars, respects the `agentId` query param (the LobeHub host passes settings as querystring or fragment — implement whichever the real manifest spec requires).+2. **Iframe host.** `public/lobehub/iframe/index.html` renders `<agent-three.ws-id="{{agentId}}">` with correct styling for a 420–640px sidebar frame. Transparent background, no scrollbars, respects the `agentId` query param (the LobeHub host passes settings as querystring or fragment — implement whichever the real manifest spec requires).3. **React plugin package.** `lobehub-plugin/src/`:- `AgentPane.tsx` — remove the `TODO: Hook into Lobe's onAssistantMessage` placeholder. Use whatever `@lobehub/ui` / `@lobehub/chat-plugin-sdk` package exposes for assistant-message observation. If the SDK shape is unstable, document fallback to the `window.addEventListener('lobe:assistantMessage', …)` path explicitly with a README note + a clear code comment explaining why this fallback exists.- `bridge.ts` — align with the final wire protocol from prompt 01. Every `op` in the manifest's `api` array (`render_agent`, `speak`, `gesture`, `emote`) has a matching bridge method. Handshake, timeout, origin check.diff --git a/prompts/archive/final-integration/07-qa-smoke-test.md b/prompts/archive/final-integration/07-qa-smoke-test.mdindex eb24ecdb6..52b868e7c 100644--- a/prompts/archive/final-integration/07-qa-smoke-test.md+++ b/prompts/archive/final-integration/07-qa-smoke-test.md@@ -137,7 +137,7 @@ Run each flow in the dev server (`npm run dev`) against a real browser. Chrome/E## `docs/SMOKE_TEST.md` structure```markdown-# 3D Agent — Smoke Test Report+# three.ws — Smoke Test Report**Run date:** YYYY-MM-DD**Commit:** <git sha>diff --git a/prompts/avatar-edit/02-outfit-and-materials.md b/prompts/avatar-edit/02-outfit-and-materials.mdindex 187c317ee..e5d933541 100644--- a/prompts/avatar-edit/02-outfit-and-materials.md+++ b/prompts/avatar-edit/02-outfit-and-materials.md@@ -53,7 +53,7 @@ Two buttons. Reset removes the key from the patch (PATCH with `null` on that fie### 6. Embed consistency-`<agent-3d agent-id="…">` embeds MUST apply the same overrides. Verify that [src/element.js](../../src/element.js) routes through the resolver which includes `meta.edits`, and that the viewer applies them.+`<agent-three.ws-id="…">` embeds MUST apply the same overrides. Verify that [src/element.js](../../src/element.js) routes through the resolver which includes `meta.edits`, and that the viewer applies them.## Don't do this@@ -66,7 +66,7 @@ Two buttons. Reset removes the key from the patch (PATCH with `null` on that fie- [ ] Open `/agent/:id/edit` → Outfit tab → change "Shirt" color to red → save → preview updates.- [ ] Refresh `/agent/:id` → shirt still red.-- [ ] `<agent-3d agent-id="…">` in a separate HTML file → shirt red.+- [ ] `<agent-three.ws-id="…">` in a separate HTML file → shirt red.- [ ] Reset → shirt returns to GLB default.- [ ] Download the base GLB → it has NOT been modified.- [ ] `npm run build` passes.diff --git a/prompts/avatar-edit/05-outfits-and-accessories.md b/prompts/avatar-edit/05-outfits-and-accessories.mdindex edd009034..90ef6fb83 100644--- a/prompts/avatar-edit/05-outfits-and-accessories.md+++ b/prompts/avatar-edit/05-outfits-and-accessories.md@@ -95,7 +95,7 @@ Ship a small preset pack of outfits and accessories, plus a dashboard panel to a- Open `#edit/<agentId>/outfits`.- Apply a hat → dashboard preview shows it parented to the head bone. PATCH persists `meta.appearance.accessories` with the hat id.- Apply an outfit preset bound to a morph target → morph influence is set. Persisted.- - Reload main app with `<agent-3d agent-id="...">` — the same hat + outfit re-apply on boot.+ - Reload main app with `<agent-three.ws-id="...">` — the same hat + outfit re-apply on boot.- Remove the hat → disposed, gone from the record.- Apply a second hat → replaces the first (not additive).- Apply earrings → two accessories allowed.diff --git a/prompts/build/02-03-selfie-to-avatar-pipeline.md b/prompts/build/02-03-selfie-to-avatar-pipeline.mdindex 3de265a35..c64bbb05a 100644--- a/prompts/build/02-03-selfie-to-avatar-pipeline.md+++ b/prompts/build/02-03-selfie-to-avatar-pipeline.md@@ -7,7 +7,7 @@ description: 'Wire the uploaded selfie to the avatar-generation pipeline (Avatur## Why it matters-The magic moment itself. A JPEG on R2 must become a rigged GLB at `/api/avatars/:id` that loads in the viewer. After this prompt, the user takes a selfie and — within a minute or two — sees themselves as a 3D agent.+The magic moment itself. A JPEG on R2 must become a rigged GLB at `/api/avatars/:id` that loads in the viewer. After this prompt, the user takes a selfie and — within a minute or two — sees themselves as a three.ws.## Prerequisitesdiff --git a/prompts/build/04-05-share-and-copy-embed.md b/prompts/build/04-05-share-and-copy-embed.mdindex 0fc7d8079..ce1062603 100644--- a/prompts/build/04-05-share-and-copy-embed.md+++ b/prompts/build/04-05-share-and-copy-embed.md@@ -18,7 +18,7 @@ On the public agent page, a new panel labeled "Share this agent" with three tabs1. **Link** — `https://three.ws/a/:id` with copy button.2. **iframe** — `<iframe src="https://three.ws/a/:id/embed" width="480" height="540" style="border:0" allow="xr-spatial-tracking; fullscreen"></iframe>` with copy button.-3. **Web component** — `<script type="module" src="https://three.ws/lib/agent-3d.js"></script>\n<agent-3d agent="<id>"></agent-3d>` with copy button.+3. **Web component** — `<script type="module" src="https://three.ws/lib/agent-3d.js"></script>\n<agent-three.ws="<id>"></agent-3d>` with copy button.Each tab shows a live preview of what the embed will look like (for web component and iframe). All three are read-only `<textarea>` or `<pre>` with a copy button that confirms with a 1s "Copied" pill.diff --git a/prompts/build/04-05-visitor-chat.md b/prompts/build/04-05-visitor-chat.mdindex 0683d24a8..73c460555 100644--- a/prompts/build/04-05-visitor-chat.md+++ b/prompts/build/04-05-visitor-chat.md@@ -66,7 +66,7 @@ In [public/agent/index.html](../../public/agent/index.html):- File / image upload in chat.- Multi-turn tool use (the brain has a single system + user turn in v1).- Memory writes from chat — the agent doesn't learn from strangers in v1.-- A "powered by 3D Agent" badge in the chat UI (covered elsewhere).+- A "powered by three.ws" badge in the chat UI (covered elsewhere).## Acceptancediff --git a/prompts/build/04-06-copy-snippet-multi-target.md b/prompts/build/04-06-copy-snippet-multi-target.mdindex 02f4e63b2..192d4e79f 100644--- a/prompts/build/04-06-copy-snippet-multi-target.md+++ b/prompts/build/04-06-copy-snippet-multi-target.md@@ -51,7 +51,7 @@ function generate(target, opts) { ... }| Target | Output || :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- || `iframe` | `<iframe src="https://<origin>/agent/<id>/embed?size=<s>&theme=<t>&bg=<bg>&name=<n>" width="<w>" height="<h>" style="border:0;background:transparent" loading="lazy"></iframe>` |-| `web-component` | `<script type="module" src="https://<origin>/dist-lib/index.js"></script>\n<agent-3d agent-id="<id>" size="<s>" theme="<t>" bg="<bg>" name="<n>"></agent-3d>` |+| `web-component` | `<script type="module" src="https://<origin>/dist-lib/index.js"></script>\n<agent-three.ws-id="<id>" size="<s>" theme="<t>" bg="<bg>" name="<n>"></agent-3d>` || `claude-artifact` | The single-file snippet from `05-01-claude-artifact-single-file-bundle` — refer to the target output there. If that pillar hasn't shipped, output a placeholder `<!-- Claude Artifact target not yet available -->` and disable the Copy button with a tooltip. || `lobehub-plugin` | JSON plugin manifest snippet (from `05-03`). Same degrade-gracefully fallback. || `link` | `https://<origin>/agent/<id>` |diff --git a/prompts/build/05-01-claude-artifact-embed.md b/prompts/build/05-01-claude-artifact-embed.mdindex 98f1fc6e3..5ea3826dc 100644--- a/prompts/build/05-01-claude-artifact-embed.md+++ b/prompts/build/05-01-claude-artifact-embed.md@@ -18,7 +18,7 @@ The novel unlock of pillar 5. A Claude user pastes an agent URL into a chat →- [public/agent/embed.html](../../public/agent/embed.html)- Claude Artifacts documentation — find the CSP / iframe / allowed-source rules that apply. Link them in the PR description.-- [src/agent-resolver.js](../../src/agent-resolver.js) — lets `<agent-3d agent-id="X">` resolve without a manifest URL.+- [src/agent-resolver.js](../../src/agent-resolver.js) — lets `<agent-three.ws-id="X">` resolve without a manifest URL.## Build thisdiff --git a/prompts/build/05-01-claude-artifact-export.md b/prompts/build/05-01-claude-artifact-export.mdindex cca73f50a..f9cb18664 100644--- a/prompts/build/05-01-claude-artifact-export.md+++ b/prompts/build/05-01-claude-artifact-export.md@@ -25,7 +25,7 @@ Claude Artifacts are self-contained HTML documents. A user pastes the artifact i- **Auth:** public; rate-limited.- **Output:** a single, self-contained HTML document (content-type `text/html; charset=utf-8`) that:1. Loads the built web-component bundle from the production origin (`<script type="module" src="https://three.ws/dist-lib/agent-3d.js">`).- 2. Renders `<agent-3d agent-id="<id>" host="claude"></agent-3d>`.+ 2. Renders `<agent-three.ws-id="<id>" host="claude"></agent-3d>`.3. Sets a viewport meta tag, a dark background, and sane mobile defaults.4. Includes Open Graph meta tags (reusing the 04-01 OG image) so previews of the artifact render correctly outside Claude too.diff --git a/prompts/build/05-02-claude-artifact-copy-button.md b/prompts/build/05-02-claude-artifact-copy-button.mdindex 5b10d6143..23d2e7f04 100644--- a/prompts/build/05-02-claude-artifact-copy-button.md+++ b/prompts/build/05-02-claude-artifact-copy-button.md@@ -13,7 +13,7 @@ Extend the SnippetPicker (`04-06`) for the `claude-artifact` target to generateFormat (this goes in the clipboard):```-Please create an artifact that embeds this 3D agent:+Please create an artifact that embeds this three.ws:<iframe src="https://three.ws/api/agents/<id>/artifact.html?size=card&bg=transparent" style="width:100%;height:520px;border:0;background:transparent"></iframe>@@ -38,7 +38,7 @@ In `src/components/snippet-picker.jsx`, `claude-artifact` target:```jscase 'claude-artifact':- return `Please create an artifact that embeds this 3D agent:\n\n<iframe src="${origin}/api/agents/${agent.id}/artifact.html?size=${size}&bg=${bg}" style="width:100%;height:520px;border:0;background:transparent"></iframe>\n\nShow it prominently. Let me interact with it by posting messages to the iframe — types are speak, emote, gesture, look-at.`;+ return `Please create an artifact that embeds this three.ws:\n\n<iframe src="${origin}/api/agents/${agent.id}/artifact.html?size=${size}&bg=${bg}" style="width:100%;height:520px;border:0;background:transparent"></iframe>\n\nShow it prominently. Let me interact with it by posting messages to the iframe — types are speak, emote, gesture, look-at.`;```Size/bg flow through from the picker controls.diff --git a/prompts/build/05-02-lobehub-plugin-manifest.md b/prompts/build/05-02-lobehub-plugin-manifest.mdindex 80ddba850..67d95d0fb 100644--- a/prompts/build/05-02-lobehub-plugin-manifest.md+++ b/prompts/build/05-02-lobehub-plugin-manifest.md@@ -26,7 +26,7 @@ Serve a valid LobeChat plugin manifest with:- `identifier`: `3dagent`- `version`: from `package.json`-- `api`: a single tool — `showAgent(agentId: string)` — that returns a `text/html` widget embedding `<agent-3d agent-id="<id>" host="lobehub"></agent-3d>`.+- `api`: a single tool — `showAgent(agentId: string)` — that returns a `text/html` widget embedding `<agent-three.ws-id="<id>" host="lobehub"></agent-3d>`.- `ui`: if LobeChat supports an inline widget mode, declare it. Otherwise use a standard iframe.### Endpoint — `POST /api/lobehub/show-agent`@@ -61,6 +61,6 @@ No new secrets unless absolutely needed. If LobeChat requires a signed plugin to## Acceptance- [ ] `GET /api/lobehub/manifest.json` validates against the LobeChat plugin schema (paste into LobeChat plugin installer → no errors).-- [ ] In the user's Lobehub fork, invoking the `3dagent.showAgent(<id>)` tool renders the 3D agent in the chat pane.+- [ ] In the user's Lobehub fork, invoking the `3dagent.showAgent(<id>)` tool renders the three.ws in the chat pane.- [ ] A blocked embed policy yields a friendly error, not a silent failure.- [ ] `host=lobehub` responds to LobeChat's theme postMessage.diff --git a/prompts/build/05-03-lobehub-plugin-manifest.md b/prompts/build/05-03-lobehub-plugin-manifest.mdindex 4596b833b..9cf946ad2 100644--- a/prompts/build/05-03-lobehub-plugin-manifest.md+++ b/prompts/build/05-03-lobehub-plugin-manifest.md@@ -4,7 +4,7 @@## Why it matters-User has a Lobehub fork and it's the _primary_ integration target per the priority stack. Lobehub plugins are installed via a plugin manifest (JSON) that registers tools + UI surfaces. Our avatar needs to show up in Lobehub as an installable plugin so any Lobehub user can add their 3D agent to their chat.+User has a Lobehub fork and it's the _primary_ integration target per the priority stack. Lobehub plugins are installed via a plugin manifest (JSON) that registers tools + UI surfaces. Our avatar needs to show up in Lobehub as an installable plugin so any Lobehub user can add their three.ws to their chat.## What to builddiff --git a/prompts/build/05-03-mcp-spawn-agent-tool.md b/prompts/build/05-03-mcp-spawn-agent-tool.mdindex 6cba34c8b..18a3ca49d 100644--- a/prompts/build/05-03-mcp-spawn-agent-tool.md+++ b/prompts/build/05-03-mcp-spawn-agent-tool.md@@ -28,7 +28,7 @@ Pillar 5's reach. Any MCP-compatible host (Claude, Claude Desktop, Lobehub) that```json{"content": [- { "type": "text", "text": "Render this 3D agent: <name>" },+ { "type": "text", "text": "Render this three.ws: <name>" },{"type": "resource","resource": {diff --git a/prompts/build/05-06-lobehub-chat-role-follow.md b/prompts/build/05-06-lobehub-chat-role-follow.mdindex d367c42a5..18dec4837 100644--- a/prompts/build/05-06-lobehub-chat-role-follow.md+++ b/prompts/build/05-06-lobehub-chat-role-follow.md@@ -83,7 +83,7 @@ When idle (no chat activity for 5s), gently look back to the camera and settle t## Test plan-1. Start Lobehub fork locally. Enable the 3D agent plugin for a chat.+1. Start Lobehub fork locally. Enable the three.ws plugin for a chat.2. Type slowly in the box → agent gaze follows, patience blend visible.3. Send → user pulse brief.4. Assistant streams a cheerful reply → celebration grows over tokens.diff --git a/prompts/build/06-09-cross-chain-resolver.md b/prompts/build/06-09-cross-chain-resolver.mdindex 6445c6366..5149f6ab5 100644--- a/prompts/build/06-09-cross-chain-resolver.md+++ b/prompts/build/06-09-cross-chain-resolver.md@@ -33,7 +33,7 @@ An agent identifier in the wild looks like `did:erc8004:<chainId>:<tokenId>` or- If input parses as a chain-qualified ID, hit `/api/onchain/agent/:chain/:token` first.- On miss, fall back to live RPC read of `tokenURI(tokenId)` from IdentityRegistry on that chain.- Cache hits in `sessionStorage` for 5 minutes.-4. Update `<agent-3d agent-id="…">` to accept the qualified format.+4. Update `<agent-three.ws-id="…">` to accept the qualified format.5. Bare numeric IDs (no chain) default to the production primary chain (configurable via env, default `1`).## Out of scope@@ -46,13 +46,13 @@ An agent identifier in the wild looks like `did:erc8004:<chainId>:<tokenId>` or- [ ] `parseAgentId('did:erc8004:1:42')` → `{ chainId: 1, tokenId: 42n }`.- [ ] `parseAgentId('base:7')` → `{ chainId: 8453, tokenId: 7n }`.-- [ ] `<agent-3d agent-id="did:erc8004:11155111:1">` resolves via indexer.+- [ ] `<agent-three.ws-id="did:erc8004:11155111:1">` resolves via indexer.- [ ] Indexer miss falls back to RPC and caches.- [ ] `npm run build` passes.## Test plan1. Boot anvil; mint a test agent on chain 31337; index it.-2. `<agent-3d agent-id="did:erc8004:31337:1">` resolves.+2. `<agent-three.ws-id="did:erc8004:31337:1">` resolves.3. Visit a hardcoded `did:erc8004:1:99999` (does not exist) — graceful "not found" UI.4. Confirm cache hit on a second resolution within 5 min.diff --git a/prompts/build/08-01-marketing-landing.md b/prompts/build/08-01-marketing-landing.mdindex a9b922fc5..73ace61d0 100644--- a/prompts/build/08-01-marketing-landing.md+++ b/prompts/build/08-01-marketing-landing.md@@ -29,7 +29,7 @@ This is the marketing surface that turns shared agent links into new signups. LoStructure above the fold:1. **Headline (1 line)**: "Your agent, with a face. Embeddable anywhere."-2. **Sub (1 line)**: "Take a selfie, get a 3D agent with identity, memory, and wallet. Drop it into Claude, Lobehub, your portfolio — same body, anywhere."+2. **Sub (1 line)**: "Take a selfie, get a three.ws with identity, memory, and wallet. Drop it into Claude, Lobehub, your portfolio — same body, anywhere."3. **Live hero** — a real embedded agent ([public/agent/embed.html](../../public/agent/embed.html) as an iframe, or `<agent-avatar>` with a curated `agent-id`) doing a slow idle. Must actually load, not a video.4. **Primary CTA**: "Make yours →" → `/register` (or `/dashboard/selfie` if signed in).5. **Secondary CTA**: "See one in Claude" → opens the Claude Artifact link (prompt `05-01`).@@ -52,7 +52,7 @@ Footer: small, with links to docs (if they exist), GitHub, pricing (defer until### SEO- `<meta>` description summarizing the product.-- OG image that actually shows a 3D agent, not a logo.+- OG image that actually shows a three.ws, not a logo.- JSON-LD structured data for SoftwareApplication.- `robots.txt` already allows; confirm sitemap.xml includes `/`.diff --git a/prompts/claude-artifact/README.md b/prompts/claude-artifact/README.mdindex 198a0a36e..e5c0e910f 100644--- a/prompts/claude-artifact/README.md+++ b/prompts/claude-artifact/README.md@@ -1,6 +1,6 @@# Claude Artifact embed task prompts-Self-contained prompt files for shipping an embodied 3D Agent avatar as a **Claude.ai Artifact**. Each file is designed to be dropped into a fresh Claude Code session without extra context.+Self-contained prompt files for shipping an embodied three.ws avatar as a **Claude.ai Artifact**. Each file is designed to be dropped into a fresh Claude Code session without extra context.Priority 5 in the overall stack (see [../README.md](../README.md)). Sibling to [../lobehub-embed/](../lobehub-embed/).diff --git a/prompts/complete/03-claude-artifact.md b/prompts/complete/03-claude-artifact.mdindex 348640ed1..c983f9129 100644--- a/prompts/complete/03-claude-artifact.md+++ b/prompts/complete/03-claude-artifact.md@@ -24,7 +24,7 @@ Output shape — a minimal HTML document inline-styled and inline-scripted, usin<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>CZ — 3D Agent</title>+ <title>CZ — three.ws</title><style>html,body {@@ -40,7 +40,7 @@ Output shape — a minimal HTML document inline-styled and inline-scripted, usin</style></head><body>- <agent-3d agent="{agentId}" eager></agent-3d>+ <agent-three.ws="{agentId}" eager></agent-3d><script src="https://three.ws/dist-lib/agent-3d.umd.cjs"></script></body></html>diff --git a/prompts/complete/05-reputation-dashboard.md b/prompts/complete/05-reputation-dashboard.mdindex 304b628ff..f02111b0d 100644--- a/prompts/complete/05-reputation-dashboard.md+++ b/prompts/complete/05-reputation-dashboard.md@@ -12,7 +12,7 @@ Ship a standalone dashboard at `/reputation/` that works against **any** agent iCreate `public/reputation/index.html` — a self-contained page with:-- Header: agent avatar (pulled via `<agent-3d agent="{id}">` small inline), name, chain + agentId.+- Header: agent avatar (pulled via `<agent-three.ws="{id}">` small inline), name, chain + agentId.- Stats row: total reviews, avg rating, last-review timestamp.- Review list: paginated, newest-first, shows reviewer address (truncated), rating, comment, tx link to the chain's explorer.- Submit form: star rating (1–5), comment textarea, submit button. Gated on wallet connection (reuse [src/erc8004/agent-registry.js](../../src/erc8004/agent-registry.js) `connectWallet()`).diff --git a/prompts/complete/09-cz-landing-claim.md b/prompts/complete/09-cz-landing-claim.mdindex a44b16308..4ade0b880 100644--- a/prompts/complete/09-cz-landing-claim.md+++ b/prompts/complete/09-cz-landing-claim.md@@ -60,7 +60,7 @@ Imports allowed: [src/erc8004/agent-registry.js](../../src/erc8004/agent-registrThe embed-copy CTA writes this to clipboard:```html-<agent-3d agent="cz" chain="84532" src="/avatars/cz.glb" eager></agent-3d>+<agent-three.ws="cz" chain="84532" src="/avatars/cz.glb" eager></agent-3d><script src="https://three.ws/dist-lib/agent-3d.umd.cjs"></script>```diff --git a/prompts/cz-demo/01-cz-landing-page.md b/prompts/cz-demo/01-cz-landing-page.mdindex 11c8df95b..85041dae6 100644--- a/prompts/cz-demo/01-cz-landing-page.md+++ b/prompts/cz-demo/01-cz-landing-page.md@@ -28,7 +28,7 @@ Ship a `/cz` route with a curated layout, strong hero copy, and the CZ avatar re- Wires up the first-interaction hook: `window.addEventListener('cz:viewer-ready', ...)` fires a `CustomEvent('cz:greet')` exactly once after viewer.load completes and 300ms settle — consumed by [03](./03-scripted-first-interaction.md).- If the on-chain hydrate from [onchain/01-hydrate-agent-from-chain.md](../onchain/01-hydrate-agent-from-chain.md) is available, hydrates name/description from `(chainId, agentId)` provided in `opts`. Falls back to hard-coded copy if not (the demo works without the onchain hydration being live).3. Hero copy (final, ship as-is; tweak if the reviewer asks):- - Eyebrow: `A 3D agent with a passport`+ - Eyebrow: `A three.ws with a passport`- H1: `This is CZ. Say hi.`- Subtitle: `A signed, embodied, portable agent you can embed anywhere — inside a Claude Artifact, a chat sidebar, or your own site.`- CTAs: `Chat with CZ` · `Embed this agent` · `Register your own`@@ -43,7 +43,7 @@ Ship a `/cz` route with a curated layout, strong hero copy, and the CZ avatar re- Visiting `/cz` cold (cleared cache) shows the poster PNG within 500ms and the GLB first frame within 2s on a cabled connection.- No `/api/` calls block the first paint. Any API call is fire-and-forget + cached.- No `console.error` on load.-- `document.title` set to `CZ — 3D Agent`.+- `document.title` set to `CZ — three.ws`.- OG meta tags present: `og:title`, `og:description`, `og:image`, `og:url`, `twitter:card=summary_large_image`.- Copy exact match to the final strings above.- Escape route: URL param `?raw=1` (or `#cz&raw=1`) disables the landing overlay and shows the bare viewer — useful for debugging / recording.@@ -65,7 +65,7 @@ Ship a `/cz` route with a curated layout, strong hero copy, and the CZ avatar re2. `npx vite build` passes.3. `npx vite` then open `/cz` (or `/#cz` depending on variant):- Poster visible → GLB loads → poster fades.- - Window title is `CZ — 3D Agent`.+ - Window title is `CZ — three.ws`.- DevTools Lighthouse on mobile: LCP under 2.5s.- `window.dispatchEvent(new Event('cz:greet'))` and nothing crashes (proper hook even before [03](./03-scripted-first-interaction.md) lands).4. Test with `#cz&raw=1`: landing UI gone; bare viewer behind.diff --git a/prompts/discover-rename/01-rename-discover-to-my-agents.md b/prompts/discover-rename/01-rename-discover-to-my-agents.mdindex 0f2ff8ef3..33f4934f2 100644--- a/prompts/discover-rename/01-rename-discover-to-my-agents.md+++ b/prompts/discover-rename/01-rename-discover-to-my-agents.md@@ -12,7 +12,7 @@ Move the personal "On-chain Agents in your linked wallets" page from `/discover`1. Visiting `/my-agents` renders the page that `/discover` used to render.2. Visiting `/discover` returns a **301** to `/my-agents` (server-side redirect via `vercel.json`, not client JS).3. The nav link in `index.html` (`#discoverLink`) labels the link **"My Agents"** and points to `/my-agents`.-4. The page `<title>` is "My Agents · 3D Agent".+4. The page `<title>` is "My Agents · three.ws".5. Page heading stays "On-chain Agents" (this is accurate — it describes the content), but the **subtitle** becomes "Agents owned by your linked wallets" (drops the word "discover").6. Empty-state copy: "No wallets linked / Link a wallet to see your on-chain agents." (replaces "discover your on-chain agents").7. Every other reference to `/discover` in the repo is either updated to `/my-agents` OR is the redirect rule itself.@@ -29,7 +29,7 @@ Move the personal "On-chain Agents in your linked wallets" page from `/discover`2. **Update page chrome** in `public/my-agents/index.html`:- - `<title>On-chain Agents · 3D Agent</title>` → `<title>My Agents · 3D Agent</title>`+ - `<title>On-chain Agents · three.ws</title>` → `<title>My Agents · three.ws</title>`- `<meta name="description">` → "Your ERC-8004 agents across every supported chain."- Update subtitle and (downstream) any empty-state strings emitted by `my-agents.js`.diff --git a/prompts/discover-rename/02-rebrand-explore-as-discover.md b/prompts/discover-rename/02-rebrand-explore-as-discover.mdindex cc40d5cac..527922dea 100644--- a/prompts/discover-rename/02-rebrand-explore-as-discover.md+++ b/prompts/discover-rename/02-rebrand-explore-as-discover.md@@ -21,7 +21,7 @@ If 01 isn't done, stop and run 01 first.1. `/discover` renders the community ERC-8004 directory (the page formerly at `/explore`).2. `/explore` returns a **301** to `/discover`.3. The `/discover` → `/my-agents` redirect from task 01 is **removed** (it would now shadow the community page).-4. Page `<title>` becomes "Discover · 3D Agent". `<h2>` text "Every agent, every chain." is preserved (good copy).+4. Page `<title>` becomes "Discover · three.ws". `<h2>` text "Every agent, every chain." is preserved (good copy).5. The "ERC-8004 Agent Directory" chip stays — it's a useful sub-label.6. Canonical URL `<link rel="canonical">` is updated to `https://three.ws/discover`.7. All nav surfaces show "Discover" pointing to `/discover` — no leftover "Explore" links.@@ -38,7 +38,7 @@ If 01 isn't done, stop and run 01 first.2. **Update page chrome** in the new `public/discover/index.html`:- - `<title>Explore · 3D Agent</title>` → `<title>Discover · 3D Agent</title>`+ - `<title>Explore · three.ws</title>` → `<title>Discover · three.ws</title>`- `<meta name="description">` — replace "Browse every ERC-8004 agent…" with the same sentence but starting "Discover every ERC-8004 agent registered on-chain across 20+ EVM networks." (keeps SEO weight).- `<link rel="canonical" href="…/explore">` → `…/discover`.- Update `<script src="/explore/explore.js">` → `<script src="/discover/discover.js">`.diff --git a/prompts/discover-rename/04-tests-and-qa.md b/prompts/discover-rename/04-tests-and-qa.mdindex 3a6e0522c..f0d0bcb4b 100644--- a/prompts/discover-rename/04-tests-and-qa.md+++ b/prompts/discover-rename/04-tests-and-qa.md@@ -23,8 +23,8 @@ Lock in the rename with automated checks and a manual QA pass so the next deploy2. **Add or extend route tests** in the appropriate test file:- - Static check (always works): assert `public/discover/index.html` exists and contains `Discover · 3D Agent` and `ERC-8004 Agent Directory`.- - Static check: assert `public/my-agents/index.html` exists and contains `My Agents · 3D Agent`.+ - Static check (always works): assert `public/discover/index.html` exists and contains `Discover · three.ws` and `ERC-8004 Agent Directory`.+ - Static check: assert `public/my-agents/index.html` exists and contains `My Agents · three.ws`.- Static check: assert `public/explore/` directory does not exist (was moved).- `vercel.json` parse test: assert a redirect from `/explore` → `/discover` (permanent) exists, and assert no redirect from `/discover` → `/my-agents` exists (would shadow the page).diff --git a/prompts/drop-edit-embed/07-widget-metadata.md b/prompts/drop-edit-embed/07-widget-metadata.mdindex 944e5c29a..9a3ec340b 100644--- a/prompts/drop-edit-embed/07-widget-metadata.md+++ b/prompts/drop-edit-embed/07-widget-metadata.md@@ -37,7 +37,7 @@ For widgets with no avatar thumbnail:- Render a server-side SVG (served as `image/svg+xml`) with:- Dark background `#0b0d10`.- Widget name in large text (truncate at ~40 chars).- - A small `◎` glyph (match the `3D Agent` brand — same glyph used in the Widget Studio type-picker).+ - A small `◎` glyph (match the `three.ws` brand — same glyph used in the Widget Studio type-picker).- Dimensions `1200x630` (Open Graph sweet spot).- Slack, Discord, X, and iMessage accept SVG for OG. WordPress sometimes strips SVG — acceptable trade-off; note it.- Cache header: `public, max-age=3600, s-maxage=86400`.@@ -53,7 +53,7 @@ Verify the oEmbed endpoint returns, at minimum:{"type": "rich","version": "1.0",- "provider_name": "3D Agent",+ "provider_name": "three.ws","provider_url": "https://three.ws/","title": "<widget.name>","html": "<iframe src=\"https://three.ws/w/<id>\" width=\"600\" height=\"600\" frameborder=\"0\" allow=\"autoplay; fullscreen\" allowfullscreen></iframe>",diff --git a/prompts/embed/01-og-oembed.md b/prompts/embed/01-og-oembed.mdindex e89cdf76b..9ecfbf49d 100644--- a/prompts/embed/01-og-oembed.md+++ b/prompts/embed/01-og-oembed.md@@ -7,7 +7,7 @@ When anyone pastes an agent URL like `https://three.ws/agent/ab12cd` into Slack,## Shared context- Routes already exist: `/agent/:id` (home card) and `/agent/:id/embed` (bare avatar). Do not change those.-- [public/agent/index.html](../../public/agent/index.html) is the HTML shell the home route renders. It currently has static `<title>Agent Home — 3D Agent</title>` and no OG / Twitter / oEmbed meta tags.+- [public/agent/index.html](../../public/agent/index.html) is the HTML shell the home route renders. It currently has static `<title>Agent Home — three.ws</title>` and no OG / Twitter / oEmbed meta tags.- The share panel on that page is already built and works. You only need to improve what link-previewers see — do not touch the share-panel UI.- Agent records are fetched via `GET /api/agents/:id` → `{ agent: { id, name, description, avatar_id, ... } }` (see [api/agents/[id].js](../../api/agents/[id].js)).- Avatar records: `GET /api/avatars/:id` → `{ avatar: { url, thumbnail_url, ... } }`. Use `thumbnail_url` if present; otherwise render the OG image from the GLB (see "OG image implementation" below).@@ -30,7 +30,7 @@ New file: `api/agent-og.js`.New file: `api/agent-oembed.js`.- Spec: https://oembed.com/ — type `rich` with an HTML payload that is a sandboxed iframe pointing at `/agent/:id/embed`.-- Required fields: `type`, `version: "1.0"`, `provider_name: "3D Agent"`, `provider_url`, `title`, `html`, `width`, `height`, `thumbnail_url`, `thumbnail_width`, `thumbnail_height`, `author_name` (agent name).+- Required fields: `type`, `version: "1.0"`, `provider_name: "three.ws"`, `provider_url`, `title`, `html`, `width`, `height`, `thumbnail_url`, `thumbnail_width`, `thumbnail_height`, `author_name` (agent name).- Validate `url` is on the same origin and matches `/agent/[A-Za-z0-9_-]+` — reject otherwise with 404.- If `format=xml`, return oEmbed XML. Otherwise JSON. Default JSON.- Cache header: `public, max-age=900`.@@ -45,7 +45,7 @@ Add these tags. Use placeholder `__AGENT__` tokens for any per-agent values —<!-- unfurl (populated at runtime from identity) --><meta property="og:type" content="website" /><meta property="og:title" content="Agent" id="og-title" />-<meta property="og:description" content="An embodied 3D agent." id="og-description" />+<meta property="og:description" content="An embodied three.ws." id="og-description" /><meta property="og:image" content="" id="og-image" /><meta property="og:url" content="" id="og-url" /><meta name="twitter:card" content="summary_large_image" />diff --git a/prompts/embed/02-agent-id-resolver.md b/prompts/embed/02-agent-id-resolver.mdindex 6aabe8c2c..1e29d7377 100644--- a/prompts/embed/02-agent-id-resolver.md+++ b/prompts/embed/02-agent-id-resolver.md@@ -1,10 +1,10 @@-# Task 02 — `<agent-3d agent-id="...">` native resolver+# Task 02 — `<agent-three.ws-id="...">` native resolver## Why this existsThe `<agent-3d>` web component in [src/element.js](../../src/element.js) today only accepts `src="agent://chain/id"` or a manifest URL. The share panel on `/agent/:id` exposes a web-component snippet, but for a fresh hosted agent (no on-chain record, no manifest file yet), there is no way to embed via the component — only iframe works.-We want: `<agent-3d agent-id="ab12cd">` resolves directly against the hosted API (`/api/agents/:id` + `/api/avatars/:avatarId`) and builds an in-memory manifest on the fly. Zero on-chain dependency. Zero filesystem manifest required.+We want: `<agent-three.ws-id="ab12cd">` resolves directly against the hosted API (`/api/agents/:id` + `/api/avatars/:avatarId`) and builds an in-memory manifest on the fly. Zero on-chain dependency. Zero filesystem manifest required.## Shared context@@ -73,7 +73,7 @@ webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/scrChange it to use `agent-id`:```js-webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-3d agent-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,+webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-three.ws-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,```**Only this one line.** Do not touch anything else in `public/agent/index.html` — task 01 is editing `<head>` there.@@ -93,11 +93,11 @@ webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/scr1. `node --check src/agent-resolver.js src/element.js` passes.2. `npx vite build` — note result (the web-component bundle should still build).-3. Manual test — write a tiny ad-hoc HTML page (do not commit it) that loads `<agent-3d agent-id="REAL_AGENT_ID">` against a local or deployed backend and confirm:+3. Manual test — write a tiny ad-hoc HTML page (do not commit it) that loads `<agent-three.ws-id="REAL_AGENT_ID">` against a local or deployed backend and confirm:- Avatar GLB loads in the stage- Agent name appears in the chrome- Console shows no unhandled errors-4. Edge case: `<agent-3d agent-id="does-not-exist">` — confirm it dispatches the manifest-error event without throwing uncaught.+4. Edge case: `<agent-three.ws-id="does-not-exist">` — confirm it dispatches the manifest-error event without throwing uncaught.## Reportingdiff --git a/prompts/embed/04-public-agent-page.md b/prompts/embed/04-public-agent-page.mdindex d2ecae2df..76fb813f8 100644--- a/prompts/embed/04-public-agent-page.md+++ b/prompts/embed/04-public-agent-page.md@@ -14,7 +14,7 @@ This is the canonical URL a user shares when they want the world to see their ag### Metadata-- `<title>` — "{{name}} · 3D Agent".+- `<title>` — "{{name}} · three.ws".- `<meta name="description">` — agent's description or fallback.- Open Graph + Twitter card: image (OG endpoint), URL, title, description. See existing `api/agent-og.js`.diff --git a/prompts/embed/README.md b/prompts/embed/README.mdindex e4be6cd17..46a9895d5 100644--- a/prompts/embed/README.md+++ b/prompts/embed/README.md@@ -17,7 +17,7 @@ All three tasks can run simultaneously in separate chats. File ownership is disj| Task | What it ships | File ownership || ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ || [01-og-oembed.md](./01-og-oembed.md) | Link unfurls — OG image + oembed endpoint so pasted `/agent/:id` links preview on Slack/X/Discord | owns `api/agent-og.js`, `api/agent-oembed.js`; edits `<head>` of `public/agent/index.html` + `vercel.json` |-| [02-agent-id-resolver.md](./02-agent-id-resolver.md) | Native `<agent-3d agent-id="...">` attribute so the web-component embed works without a manifest URL | owns `src/agent-resolver.js`; edits `src/element.js` only |+| [02-agent-id-resolver.md](./02-agent-id-resolver.md) | Native `<agent-three.ws-id="...">` attribute so the web-component embed works without a manifest URL | owns `src/agent-resolver.js`; edits `src/element.js` only || [03-embed-allowlist.md](./03-embed-allowlist.md) | Per-agent embed referrer allowlist + dashboard UI for owners to gate where their avatar renders | owns `api/agents/[id]/embed-policy.js`, new dashboard panel; edits `public/agent/embed.html` + `vercel.json` |## Rules that apply to all tasksdiff --git a/prompts/final-integration/00-README.md b/prompts/final-integration/00-README.mdindex e99a7a591..89326aaa5 100644--- a/prompts/final-integration/00-README.md+++ b/prompts/final-integration/00-README.md@@ -1,6 +1,6 @@# Final Integration — Close the 28% Gap to 100%-This folder contains **7 parallel-safe prompts** that finish the 3D Agent platform: they build the 3 sprint-100 modules that were never created, wire the 4 orphan modules that shipped without integration, and close out the LobeHub plugin integration, camera-capture decision, and end-to-end smoke test.+This folder contains **7 parallel-safe prompts** that finish the three.ws platform: they build the 3 sprint-100 modules that were never created, wire the 4 orphan modules that shipped without integration, and close out the LobeHub plugin integration, camera-capture decision, and end-to-end smoke test.The audit that produced these prompts found that ~72% of the stated work is wired and functional. Files exist for most sprint-100 deliverables but many are orphans — real code, zero import sites. Three files mapped in the sprint-100 plan were never written at all.diff --git a/prompts/lobehub-embed/00-fork-sidebar-fastpath.md b/prompts/lobehub-embed/00-fork-sidebar-fastpath.mdindex ae86a911d..e5e64bb1a 100644--- a/prompts/lobehub-embed/00-fork-sidebar-fastpath.md+++ b/prompts/lobehub-embed/00-fork-sidebar-fastpath.md@@ -19,7 +19,7 @@ Run this **before** touching 01–08. It unblocks the experience now; the rest pAfter this task ships, the user opens their LobeHub fork in the browser and sees:-- A **right-hand sidebar panel** (fixed width, collapsible) that renders their 3D agent inside an iframe for the whole session.+- A **right-hand sidebar panel** (fixed width, collapsible) that renders their three.ws inside an iframe for the whole session.- The avatar reacts to the currently active chat: when the LLM streams a token, the avatar mouths / sways; when the user sends, the avatar does a subtle acknowledgment.- The panel has a header with the agent's name + a chevron to collapse/expand + a gear icon that opens the full agent page in a new tab.- Closing/reopening the app remembers collapsed state (localStorage).@@ -69,7 +69,7 @@ export function AgentDock() {<iframeref={iframeRef}src={`${ORIGIN}/agent/${agentId}/embed?bg=transparent&host=lobehub`}- title="3D Agent"+ title="three.ws"allow="autoplay; microphone"style={{ border: 0, width: '100%', height: '100%', background: 'transparent' }}/>@@ -218,7 +218,7 @@ Push the main content left by `360px` when the dock is expanded (search the forkAdd an input in the fork's settings page for the user to set their `agentId`. Persisting via the Zustand store above. One-line addition in the existing Settings form — do not build a whole settings panel.```tsx-<SettingsField label="3D Agent ID">+<SettingsField label="three.ws ID"><inputtype="text"placeholder="agt_xxxxx"diff --git a/prompts/lobehub-embed/01-plugin-manifest.md b/prompts/lobehub-embed/01-plugin-manifest.mdindex f3ba64585..1d02a3ada 100644--- a/prompts/lobehub-embed/01-plugin-manifest.md+++ b/prompts/lobehub-embed/01-plugin-manifest.md@@ -1,4 +1,4 @@-# Task 01 — LobeHub plugin manifest for 3D Agent+# Task 01 — LobeHub plugin manifest for three.ws## Context@@ -14,7 +14,7 @@ We already publish an A2A-style card at `.well-known/agent-card.json` ([agent-ca## Goal-Produce a LobeHub plugin manifest, hosted at a stable public URL under this deployment, that lets any LobeHub instance install the 3D Agent plugin and get an embodied avatar in chat.+Produce a LobeHub plugin manifest, hosted at a stable public URL under this deployment, that lets any LobeHub instance install the three.ws plugin and get an embodied avatar in chat.## Deliverablediff --git a/prompts/lobehub-embed/README.md b/prompts/lobehub-embed/README.mdindex de99e3ead..65235bee6 100644--- a/prompts/lobehub-embed/README.md+++ b/prompts/lobehub-embed/README.md@@ -16,7 +16,7 @@ Dispatch **task 00 first** — it ships the demo today. Then pick plugin, SDK, o## Why this series matters-LobeHub is the **primary** integration target for embodied-agent rendering inside a host chat. When a LobeHub chat talks to a 3D Agent, the agent should render **embodied** — a 3D avatar driven by the [Empathy Layer](../../src/agent-avatar.js) — inside the chat UI, not as invisible JSON.+LobeHub is the **primary** integration target for embodied-agent rendering inside a host chat. When a LobeHub chat talks to a three.ws, the agent should render **embodied** — a 3D avatar driven by the [Empathy Layer](../../src/agent-avatar.js) — inside the chat UI, not as invisible JSON.## Task indexdiff --git a/prompts/onboarding-flow/00-README.md b/prompts/onboarding-flow/00-README.mdindex f5b28f87a..15b5db74d 100644--- a/prompts/onboarding-flow/00-README.md+++ b/prompts/onboarding-flow/00-README.md@@ -2,7 +2,7 @@## Goal-Restructure the 3D Agent user journey into a clear funnel: **anonymous playground → sign in → create avatar → customize → embed** (with optional on-chain).+Restructure the three.ws user journey into a clear funnel: **anonymous playground → sign in → create avatar → customize → embed** (with optional on-chain).Current state is fragmented: the homepage advertises a 3-step flow that doesn't match what actually works, the `/create` page is wired to a selfie-to-GLB pipeline that isn't functional, and the Avaturn iframe entry point (which _did_ work) was removed from the UI during a rewrite. This band of tasks fixes all of it.diff --git a/prompts/onboarding-flow/04-agent-page-hub.md b/prompts/onboarding-flow/04-agent-page-hub.mdindex 91a459dcf..37f7c633e 100644--- a/prompts/onboarding-flow/04-agent-page-hub.md+++ b/prompts/onboarding-flow/04-agent-page-hub.md@@ -29,7 +29,7 @@ Add a primary actions row to the agent hub page with four CTAs. Each CTA either- **Icon:** code brackets `</>`- **Action:** open an "Embed" modal with copy-to-clipboard for:- **iframe snippet** — `<iframe src="https://three.ws/agent/:id" width="400" height="600" frameborder="0"></iframe>`- - **web component snippet** — `<agent-3d agent-id=":id"></agent-3d>` plus `<script src="https://three.ws/agent-3d.js"></script>`+ - **web component snippet** — `<agent-three.ws-id=":id"></agent-3d>` plus `<script src="https://three.ws/agent-3d.js"></script>`- **Always enabled** — never gated behind on-chain or wallet- Uses existing `<agent-3d>` component at [src/element.js:183](../../src/element.js#L183)diff --git a/prompts/onchain/03-agent-by-address-resolver.md b/prompts/onchain/03-agent-by-address-resolver.mdindex 68d2c6dc5..207d0aa28 100644--- a/prompts/onchain/03-agent-by-address-resolver.md+++ b/prompts/onchain/03-agent-by-address-resolver.md@@ -40,7 +40,7 @@ Extend [src/agent-resolver.js](../../src/agent-resolver.js):export async function resolveAgentByAddress(addr, opts) { … }```-`<agent-3d agent-address="0x…">` — add support in [src/element.js](../../src/element.js). If present and no `agent-id` / `src`, resolve via address and render.+`<agent-three.ws-address="0x…">` — add support in [src/element.js](../../src/element.js). If present and no `agent-id` / `src`, resolve via address and render.### 3. Caching@@ -63,7 +63,7 @@ If `addr` looks like an ENS name (`*.eth`), resolve to address first using `ethe- [ ] `curl /api/agents/by-address/0xabc…` returns an agent record sourced from chain.- [ ] Second call is served from cache (measure with server timing header `X-Cache: HIT`).- [ ] `/refresh` forces a re-read.-- [ ] `<agent-3d agent-address="0x…">` in an HTML page renders the avatar.+- [ ] `<agent-three.ws-address="0x…">` in an HTML page renders the avatar.- [ ] Unregistered address → 404 JSON.- [ ] `npm run build` passes.diff --git a/prompts/onchain/04-ens-naming.md b/prompts/onchain/04-ens-naming.mdindex d067ea21d..039948515 100644--- a/prompts/onchain/04-ens-naming.md+++ b/prompts/onchain/04-ens-naming.md@@ -27,7 +27,7 @@ Task 03 must be shipped.### 2. Web component attribute```html-<agent-3d agent-name="vitalik.eth"></agent-3d>+<agent-three.ws-name="vitalik.eth"></agent-3d>```In [src/element.js](../../src/element.js), add this as a fourth resolution path (after `src`, `agent-id`, `agent-address`).@@ -51,7 +51,7 @@ URL shapes:## Acceptance-- [ ] `curl /api/agents/by-name/vitalik.eth` — 404 `not_registered` (expected, Vitalik has no 3D agent yet) but shows the resolved address in the body.+- [ ] `curl /api/agents/by-name/vitalik.eth` — 404 `not_registered` (expected, Vitalik has no three.ws yet) but shows the resolved address in the body.- [ ] An agent registered under an address with an ENS name resolves via name + renders the name in the header.- [ ] Unknown name → 404.- [ ] Basenames resolve via Base mainnet resolver.diff --git a/prompts/onchain/README.md b/prompts/onchain/README.mdindex bb55d2c00..a09005fd4 100644--- a/prompts/onchain/README.md+++ b/prompts/onchain/README.md@@ -1,6 +1,6 @@# Onchain (priority 6) — task prompts-Self-contained prompt files for wiring the 3D Agent platform to its on-chain identity. Each file is designed to be dropped into a fresh Claude Code session without extra context.+Self-contained prompt files for wiring the three.ws platform to its on-chain identity. Each file is designed to be dropped into a fresh Claude Code session without extra context.## The big thing that is already donediff --git a/prompts/parallel-finish/04-link-wallet-api.md b/prompts/parallel-finish/04-link-wallet-api.mdindex ff4937243..3885129f4 100644--- a/prompts/parallel-finish/04-link-wallet-api.md+++ b/prompts/parallel-finish/04-link-wallet-api.md@@ -29,7 +29,7 @@ The linking flow is: authenticated user requests a nonce → signs a SIWE-like m### `POST /api/auth/wallets/nonce` (authenticated)-Input: `{}`. Output: `{ nonce, message }` — `message` is the exact string the wallet must sign. Include `issuedAt`, `domain`, `address: null` (filled by client), and a human-readable purpose line `Link this wallet to 3D Agent account <email>`.+Input: `{}`. Output: `{ nonce, message }` — `message` is the exact string the wallet must sign. Include `issuedAt`, `domain`, `address: null` (filled by client), and a human-readable purpose line `Link this wallet to three.ws account <email>`.### `GET /api/auth/wallets`diff --git a/prompts/parallel-finish/09-lobehub-plugin.md b/prompts/parallel-finish/09-lobehub-plugin.mdindex 5e0db8f33..0938f8179 100644--- a/prompts/parallel-finish/09-lobehub-plugin.md+++ b/prompts/parallel-finish/09-lobehub-plugin.md@@ -4,7 +4,7 @@Repo root: `/workspaces/3D-Agent`. Read [/CLAUDE.md](../../CLAUDE.md) first.-LobeHub is a self-hostable chat UI fork. We want to publish a standalone plugin under `lobehub-plugin/` that users can install into their Lobe fork to get a 3D agent pane that reacts to assistant messages. Today the dashboard only shows a copy-paste React snippet — insufficient for a real plugin.+LobeHub is a self-hostable chat UI fork. We want to publish a standalone plugin under `lobehub-plugin/` that users can install into their Lobe fork to get a three.ws pane that reacts to assistant messages. Today the dashboard only shows a copy-paste React snippet — insufficient for a real plugin.This is a **new top-level package**, fully isolated from the rest of the monorepo. It does not need to be published to npm in this task; just produce a working, locally-installable TS-React package with a manifest.@@ -41,7 +41,7 @@ lobehub-plugin/"identifier": "3dagent","schemaVersion": 1,"meta": {- "title": "3D Agent",+ "title": "three.ws","description": "Render a 3D avatar that reacts to the chat.","avatar": "https://three.ws/favicon.ico","tags": ["avatar", "3d", "agent"]diff --git a/prompts/parallel-finish/12-hydrate-from-chain.md b/prompts/parallel-finish/12-hydrate-from-chain.mdindex 53c0b373e..526a467c0 100644--- a/prompts/parallel-finish/12-hydrate-from-chain.md+++ b/prompts/parallel-finish/12-hydrate-from-chain.md@@ -4,7 +4,7 @@Repo root: `/workspaces/3D-Agent`. Read [/CLAUDE.md](../../CLAUDE.md) and [src/CLAUDE.md](../../src/CLAUDE.md) first.-Today, if a user has already minted an ERC-8004 agent on-chain, signing into 3D Agent does **not** auto-discover it. They have to re-register via `/deploy`, which creates a dupe. We need a "import my on-chain agents" flow.+Today, if a user has already minted an ERC-8004 agent on-chain, signing into three.ws does **not** auto-discover it. They have to re-register via `/deploy`, which creates a dupe. We need a "import my on-chain agents" flow.The crawler at [api/cron/erc8004-crawl.js](../../api/cron/erc8004-crawl.js) indexes all agents into `erc8004_agents_index`. We use that index, filter by owner = user's linked wallets, and offer one-click import.diff --git a/prompts/portable-embed/00-README.md b/prompts/portable-embed/00-README.mdindex 0f671bf44..eb3e6d847 100644--- a/prompts/portable-embed/00-README.md+++ b/prompts/portable-embed/00-README.md@@ -2,7 +2,7 @@## The end state-Anyone with the share URL sees a public, interactive 3D agent page. Anyone with the embed snippet can paste it into their Substack / blog / docs / README and the avatar loads with chrome-free styling. Owners can get a one-click snippet from the agent's page.+Anyone with the share URL sees a public, interactive three.ws page. Anyone with the embed snippet can paste it into their Substack / blog / docs / README and the avatar loads with chrome-free styling. Owners can get a one-click snippet from the agent's page.## Current statediff --git a/prompts/sprint-100/01-wallet-signin-button.md b/prompts/sprint-100/01-wallet-signin-button.mdindex c924a0530..33e3b74dc 100644--- a/prompts/sprint-100/01-wallet-signin-button.md+++ b/prompts/sprint-100/01-wallet-signin-button.md@@ -42,7 +42,7 @@ export function wireSigninButton(buttonEl) // attaches click handler + swaps UI${location.host} wants you to sign in with your Ethereum account:${address}- Sign in to 3D Agent.+ Sign in to three.ws.URI: ${location.origin}Version: 1diff --git a/prompts/sprint-100/11-share-panel.md b/prompts/sprint-100/11-share-panel.mdindex 631282d54..d6a472b76 100644--- a/prompts/sprint-100/11-share-panel.md+++ b/prompts/sprint-100/11-share-panel.md@@ -40,7 +40,7 @@ Renders a modal with these rows:3. **Web-component snippet**:```html<script type="module" src="${embedOrigin}/dist-lib/agent-3d.js"></script>- <agent-3d agent-id="${agent.id}"></agent-3d>+ <agent-three.ws-id="${agent.id}"></agent-3d>```4. **OG preview** — render an `<img src="${embedOrigin}/api/a-og?id=${agent.id}">` at 1200×630 scaled down, with copy-OG-URL button.5. **QR code** — generate client-side (see constraint) pointing to the Link row.diff --git a/prompts/sprint-100/12-agent-id-attribute.md b/prompts/sprint-100/12-agent-id-attribute.mdindex 04904fdc8..b5d00bda2 100644--- a/prompts/sprint-100/12-agent-id-attribute.md+++ b/prompts/sprint-100/12-agent-id-attribute.md@@ -1,4 +1,4 @@-# 12 — `<agent-3d agent-id="...">` attribute resolver+# 12 — `<agent-three.ws-id="...">` attribute resolver## Why@@ -57,7 +57,7 @@ Also observe `attributeChangedCallback` for `agent-id` (add to `observedAttribut- `node --check` clean on all edited files.- `npm run build:lib` rebuilds `dist-lib/agent-3d.js` cleanly.-- `<agent-3d agent-id="demo">` on a test page boots the demo agent. Removing the attribute and setting a new one re-boots.+- `<agent-three.ws-id="demo">` on a test page boots the demo agent. Removing the attribute and setting a new one re-boots.## Reportdiff --git a/prompts/sprint-100/16-lobehub-plugin-manifest.md b/prompts/sprint-100/16-lobehub-plugin-manifest.mdindex 4091e6226..d23854f90 100644--- a/prompts/sprint-100/16-lobehub-plugin-manifest.md+++ b/prompts/sprint-100/16-lobehub-plugin-manifest.md@@ -29,8 +29,8 @@ New static file + new endpoint. No edits to anything existing."api": [],"identifier": "3d-agent","meta": {- "title": "3D Agent",- "description": "Embed any on-chain or off-chain 3D agent as an embodied avatar inside your chat.",+ "title": "three.ws",+ "description": "Embed any on-chain or off-chain three.ws as an embodied avatar inside your chat.","avatar": "https://three.ws/favicon.png","tags": ["3d", "avatar", "embodied-agent", "erc-8004"]},@@ -42,7 +42,7 @@ New static file + new endpoint. No edits to anything existing."agentId": {"type": "string","title": "Agent ID",- "description": "Paste a 3D Agent ID or ENS name"+ "description": "Paste a three.ws ID or ENS name"}}},diff --git a/prompts/sprint-100/21-og-meta-polish.md b/prompts/sprint-100/21-og-meta-polish.mdindex 754faeb12..2042fca58 100644--- a/prompts/sprint-100/21-og-meta-polish.md+++ b/prompts/sprint-100/21-og-meta-polish.md@@ -27,8 +27,8 @@ Additive edits to two existing server files, plus optionally a new thumbnail ren```html<meta property="og:type" content="profile" />-<meta property="og:title" content="${agent.name} — 3D Agent" />-<meta property="og:description" content="${agent.bio || 'An embodied 3D agent'}" />+<meta property="og:title" content="${agent.name} — three.ws" />+<meta property="og:description" content="${agent.bio || 'An embodied three.ws'}" /><meta property="og:image" content="${ogImageUrl}" /><meta property="og:image:width" content="1200" /><meta property="og:image:height" content="630" />diff --git a/prompts/sprint-100/22-cz-landing-page.md b/prompts/sprint-100/22-cz-landing-page.mdindex 06feb366f..a439c2913 100644--- a/prompts/sprint-100/22-cz-landing-page.md+++ b/prompts/sprint-100/22-cz-landing-page.md@@ -26,7 +26,7 @@ Entirely new folder + routes. No edits to existing app code.`/cz` route:-- Full-bleed dark theme with a 3D agent embed front-and-center (uses `<agent-3d agent-id="cz-preview">` or similar hardcoded agent id).+- Full-bleed dark theme with a three.ws embed front-and-center (uses `<agent-three.ws-id="cz-preview">` or similar hardcoded agent id).- Copy: `Welcome, CZ. Claim your on-chain agent.`- Button: `Connect wallet to claim` → uses the wallet flow from [src/wallet-auth.js](../../src/wallet-auth.js) if present, else falls back to `connectWallet()` from `erc8004/agent-registry.js`.- After connection, show `[ ⬢ Sign claim transaction ]`.diff --git a/prompts/wallet-auth/02-siwe-nonce-endpoint.md b/prompts/wallet-auth/02-siwe-nonce-endpoint.mdindex ce7ae132b..4f1af27a7 100644--- a/prompts/wallet-auth/02-siwe-nonce-endpoint.md+++ b/prompts/wallet-auth/02-siwe-nonce-endpoint.md@@ -23,7 +23,7 @@ Do not touch `api/auth/login.js`, `api/auth/register.js`, `api/auth/me.js`, or `- Inserts into `auth_nonces` with `purpose` defaulting to `'siwe-login'` and `issued_to` = lowercased `address` if provided.- Responds `200 { nonce, expiresAt, domain, statement, chainId, version }` — include the full SIWE message fields so the client can build the exact string to sign.-Suggested `statement`: `"Sign in to 3D Agent. This request will not trigger a transaction or cost gas."`+Suggested `statement`: `"Sign in to three.ws. This request will not trigger a transaction or cost gas."`Include `domain = new URL(env.APP_ORIGIN).host` and `chainId` as a server-advertised number (1 for mainnet, or whatever matches `env.SIWE_CHAIN_ID` — add that env var with a default of 1).diff --git a/prompts/widget-studio/03-talking-agent-widget.md b/prompts/widget-studio/03-talking-agent-widget.mdindex 36fa5ee31..3b714c773 100644--- a/prompts/widget-studio/03-talking-agent-widget.md+++ b/prompts/widget-studio/03-talking-agent-widget.md@@ -62,7 +62,7 @@ const TALKING_AGENT_DEFAULTS = {voiceInput: true, // enable mic buttonvoiceOutput: true, // text-to-speech responseschatPosition: 'right', // 'right' | 'bottom' | 'overlay'- poweredByBadge: true, // tasteful "powered by 3D Agent" badge+ poweredByBadge: true, // tasteful "powered by three.ws" badge// Rate limits (visitor side)visitorRateLimit: { msgsPerMinute: 8, msgsPerSession: 50 },};diff --git a/prompts/widget-studio/04-erc8004-passport-widget.md b/prompts/widget-studio/04-erc8004-passport-widget.mdindex bdd832424..590f587f3 100644--- a/prompts/widget-studio/04-erc8004-passport-widget.md+++ b/prompts/widget-studio/04-erc8004-passport-widget.md@@ -134,7 +134,7 @@ The badge layout is meant for embedding inline in a website header or sidebarMust render cleanly at small sizes. Use CSS `container-type: inline-size` and `@container` queries to adapt layout.-### 7. "Powered by 3D Agent" link+### 7. "Powered by three.ws" linkIn badge layout only, show a subtle 10px "3dagent" link in the bottom corner. In portrait/landscape, make it optional via config (default on).diff --git a/prompts/widget-studio/README.md b/prompts/widget-studio/README.mdindex 723939b79..df54eb7b7 100644--- a/prompts/widget-studio/README.md+++ b/prompts/widget-studio/README.md@@ -1,6 +1,6 @@# Widget Studio — Build Prompts-A no-code Widget Studio for the 3D Agent platform. Users pick an avatar, choose a widget type, brand it, and get a stable embed URL tied to their account. No code required — but the generated HTML is always shown and copyable.+A no-code Widget Studio for the three.ws platform. Users pick an avatar, choose a widget type, brand it, and get a stable embed URL tied to their account. No code required — but the generated HTML is always shown and copyable.## Why these prompts existdiff --git a/public/.well-known/3d-agent-card.schema.json b/public/.well-known/3d-agent-card.schema.jsonindex 1ab8db9b6..f02bb0cfa 100644--- a/public/.well-known/3d-agent-card.schema.json+++ b/public/.well-known/3d-agent-card.schema.json@@ -1,13 +1,13 @@{"$schema": "https://json-schema.org/draft/2020-12/schema","$id": "https://three.ws/.well-known/3d-agent-card.schema.json",- "title": "3D Agent Card v1",+ "title": "three.ws Card v1","description": "Strict superset of the ERC-8004 registration card (https://eips.ethereum.org/EIPS/eip-8004#registration-v1) for agents whose primary embodiment is a 3D model. Pointed to by the ERC-721 tokenURI on the Identity Registry.","type": "object","required": ["type", "name", "description", "model"],"properties": {"type": {- "description": "Conformance URI. MUST include the ERC-8004 registration-v1 URI; SHOULD include the 3D Agent Card v1 URI.",+ "description": "Conformance URI. MUST include the ERC-8004 registration-v1 URI; SHOULD include the three.ws Card v1 URI.","oneOf": [{ "type": "string" },{ "type": "array", "items": { "type": "string" }, "minItems": 1 }@@ -60,7 +60,7 @@"model": {"type": "object",- "description": "3D embodiment. Required for 3D Agent Card v1.",+ "description": "3D embodiment. Required for three.ws Card v1.","required": ["uri", "format", "sha256"],"properties": {"uri": {diff --git a/public/.well-known/agent-card.json b/public/.well-known/agent-card.jsonindex a0bf12845..2492d7278 100644--- a/public/.well-known/agent-card.json+++ b/public/.well-known/agent-card.json@@ -1,9 +1,9 @@{- "name": "3D Agent",+ "name": "three.ws","description": "AI-powered 3D model viewer and validation agent. Load glTF/GLB models, run validation, inspect materials, and manage avatar assets.","url": "https://three.ws/","provider": {- "organization": "3D Agent",+ "organization": "three.ws","url": "https://three.ws/"},"version": "1.5.1",diff --git a/public/.well-known/agent-registration.json b/public/.well-known/agent-registration.jsonindex 3a44ad189..adedc4ae4 100644--- a/public/.well-known/agent-registration.json+++ b/public/.well-known/agent-registration.json@@ -3,7 +3,7 @@"https://eips.ethereum.org/EIPS/eip-8004#registration-v1","https://three.ws/specs/3d-agent-card-v1"],- "name": "3D Agent",+ "name": "three.ws","description": "AI-powered 3D model viewer and validation agent. Drag and drop glTF, GLB, and 3D files to preview instantly in your browser. Supports real-time rendering, model validation, environment maps, and animation playback via Three.js and WebGL.","image": "https://three.ws/og-image.png","active": true,diff --git a/public/.well-known/ai-plugin.json b/public/.well-known/ai-plugin.jsonindex 01f51bd3f..7e4001aa2 100644--- a/public/.well-known/ai-plugin.json+++ b/public/.well-known/ai-plugin.json@@ -1,6 +1,6 @@{"schema_version": "v1",- "name_for_human": "3D Agent",+ "name_for_human": "three.ws","name_for_model": "3d_agent","description_for_human": "AI-powered 3D model viewer. Drag and drop glTF, GLB, and 3D files to preview instantly in your browser.","description_for_model": "A web-based 3D model viewer that supports glTF and GLB file formats. Users can drag-and-drop 3D models to preview them with real-time rendering powered by Three.js and WebGL.",diff --git a/public/.well-known/lobehub-plugin.json b/public/.well-known/lobehub-plugin.jsonindex 13b8130d7..dbe230f6c 100644--- a/public/.well-known/lobehub-plugin.json+++ b/public/.well-known/lobehub-plugin.json@@ -2,12 +2,12 @@"$schema": "https://lobehub.com/schema/plugin-manifest/v1.json","identifier": "3d-agent","version": "1.0.0",- "author": "3D Agent",+ "author": "three.ws","createdAt": "2026-04-17","homepage": "https://three.ws/","meta": {- "title": "3D Agent",- "description": "Embed any on-chain or off-chain 3D agent as an embodied avatar inside your chat.",+ "title": "three.ws",+ "description": "Embed any on-chain or off-chain three.ws as an embodied avatar inside your chat.","avatar": "https://three.ws/favicon.png","tags": ["3d", "avatar", "embodied-agent", "erc-8004"]},@@ -18,7 +18,7 @@"agentId": {"type": "string","title": "Agent ID",- "description": "Paste a 3D Agent ID or ENS name"+ "description": "Paste a three.ws ID or ENS name"}}},diff --git a/public/.well-known/openapi.yaml b/public/.well-known/openapi.yamlindex 0d65e978c..33cab9d3c 100644--- a/public/.well-known/openapi.yaml+++ b/public/.well-known/openapi.yaml@@ -1,6 +1,6 @@openapi: 3.0.0info:- title: 3D Agent API+ title: three.ws APIdescription: >AI-powered 3D avatar management platform. Supports OAuth 2.1 (with PKCE),session cookies, and API keys for authentication. Avatars are stored asdiff --git a/public/.well-known/validators.json b/public/.well-known/validators.jsonindex 1b12ea56d..dae5ea9e7 100644--- a/public/.well-known/validators.json+++ b/public/.well-known/validators.json@@ -1,6 +1,6 @@{"$schema": "https://three.ws/specs/validators-v1",- "description": "Allow-listed ERC-8004 ValidationRegistry validators for 3D Agent Card v1 attestations. See specs/VALIDATORS.md.",+ "description": "Allow-listed ERC-8004 ValidationRegistry validators for three.ws Card v1 attestations. See specs/VALIDATORS.md.","updatedAt": "2026-04-27","mainnet": [],"testnet": []diff --git a/public/agent-edit/index.html b/public/agent-edit/index.htmlindex 90907bb07..bb5fc544c 100644--- a/public/agent-edit/index.html+++ b/public/agent-edit/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Edit Persona · 3D Agent</title>+ <title>Edit Persona · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -513,7 +513,7 @@<body><header><div class="header-left">- <a class="brand" href="/">3D Agent</a>+ <a class="brand" href="/">three.ws</a><span class="header-title" id="header-title">Edit Persona</span></div><div class="header-actions">diff --git a/public/agent/index.html b/public/agent/index.htmlindex 7c1647a6d..649c06498 100644--- a/public/agent/index.html+++ b/public/agent/index.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>Agent Home — 3D Agent</title>+ <title>Agent Home — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><metaname="description"@@ -22,7 +22,7 @@<!-- unfurl (populated at runtime from identity) --><meta property="og:type" content="website" /><meta property="og:title" content="Agent" id="og-title" />- <meta property="og:description" content="An embodied 3D agent." id="og-description" />+ <meta property="og:description" content="An embodied three.ws." id="og-description" /><meta property="og:image" content="" id="og-image" /><meta property="og:url" content="" id="og-url" /><meta name="twitter:card" content="summary_large_image" />@@ -688,7 +688,7 @@</head><body><div class="agent-page-header">- <a href="/">← 3D Agent</a>+ <a href="/">← three.ws</a></div><div class="agent-page-hero">@@ -829,7 +829,7 @@const snippets = {iframe: `<iframe src="${embedUrl}" width="420" height="520" style="border:0;border-radius:12px" allow="autoplay; xr-spatial-tracking"></iframe>`,link: agentUrl,- webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-3d agent-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,+ webcomponent: `<script type="module" src="${origin}/dist-lib/agent-3d.js"><\/script>\n<agent-three.ws-id="${identity.id}" style="width:420px;height:520px"></agent-3d>`,};let current = 'iframe';@@ -873,7 +873,7 @@if (!id) return;const origin = location.origin;const name = identity.name || 'Agent';- const desc = identity.description || 'An embodied 3D agent.';+ const desc = identity.description || 'An embodied three.ws.';const agentUrl = `${origin}/agent/${id}`;const img = `${origin}/api/agent/${id}/og`;const setAttr = (elId, attr, value) => {@@ -892,7 +892,7 @@'href',`${origin}/api/oembed?url=${encodeURIComponent(agentUrl)}`,);- document.title = `${name} — 3D Agent`;+ document.title = `${name} — three.ws`;}main().catch((err) => {diff --git a/public/agents/README.md b/public/agents/README.mdindex 0a228489d..1cacc4358 100644--- a/public/agents/README.md+++ b/public/agents/README.md@@ -1,6 +1,6 @@# Agents Directory-Public directory of registered agents across the 3D Agent ecosystem.+Public directory of registered agents across the three.ws ecosystem.## Featuresdiff --git a/public/agents/index.html b/public/agents/index.htmlindex 76aec4c95..d7aeac0fd 100644--- a/public/agents/index.html+++ b/public/agents/index.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>Agents Directory — 3D Agent</title>+ <title>Agents Directory — three.ws</title><style>* {margin: 0;diff --git a/public/artifact-example.html b/public/artifact-example.htmlindex 4c5a0b661..4e3f503d7 100644--- a/public/artifact-example.html+++ b/public/artifact-example.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>3D Agent — Artifact Example</title>+ <title>three.ws — Artifact Example</title><style>html,body {diff --git a/public/artifact.js b/public/artifact.jsindex 35902bc92..920bf038f 100644--- a/public/artifact.js+++ b/public/artifact.js@@ -1,4 +1,4 @@-// artifact.js — zero-dep 3D Agent viewer for Claude.ai Artifacts+// artifact.js — zero-dep three.ws viewer for Claude.ai Artifacts// Self-contained ES module. No imports from this repo.// Usage: <div data-agent-id="YOUR_ID"></div>// <script type="module" src="https://three.ws/artifact.js"></script>diff --git a/public/artifact/README.md b/public/artifact/README.mdindex 8415f0ef3..79d2ea0d6 100644--- a/public/artifact/README.md+++ b/public/artifact/README.md@@ -1,8 +1,8 @@-# Citing a 3D Agent artifact in Claude.ai+# Citing a three.ws artifact in Claude.ai`GET https://three.ws/api/artifact?agent=<agentId>`-Paste the URL into a Claude.ai conversation. Claude recognises it as an HTML artifact and renders the interactive 3D agent inline.+Paste the URL into a Claude.ai conversation. Claude recognises it as an HTML artifact and renders the interactive three.ws inline.## Worked examplediff --git a/public/artifact/index.html b/public/artifact/index.htmlindex e8d16c9bd..aab2f9e39 100644--- a/public/artifact/index.html+++ b/public/artifact/index.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>3D Agent Artifact Demo</title>+ <title>three.ws Artifact Demo</title><style>* {margin: 0;@@ -110,11 +110,11 @@</head><body><div class="container">- <h1>3D Agent Artifact Viewer</h1>+ <h1>three.ws Artifact Viewer</h1><div class="info"><p>- This demo shows how a 3D Agent renders inside a Claude Artifact. The bundle is+ This demo shows how a three.ws renders inside a Claude Artifact. The bundle isself-contained — no external dependencies or iframes.</p></div>diff --git a/public/artifact/snippet.html b/public/artifact/snippet.htmlindex e3b84d34c..90012d07e 100644--- a/public/artifact/snippet.html+++ b/public/artifact/snippet.html@@ -1,4 +1,4 @@-<!-- Paste this into a Claude Artifact to embed a 3D Agent -->+<!-- Paste this into a Claude Artifact to embed a three.ws --><script src="https://three.ws/artifact.js"></script><div id="agent3d" data-agent-id="your-agent-id-here" data-origin="https://three.ws/"></div>diff --git a/public/cz/README.md b/public/cz/README.mdindex a9b588405..251bdb27e 100644--- a/public/cz/README.md+++ b/public/cz/README.md@@ -2,7 +2,7 @@The CZ landing page is served at `/cz/` and provides:-- Full-bleed dark landing page with centered 3D agent avatar+- Full-bleed dark landing page with centered three.ws avatar- **Claim CZ** button — initiates wallet connection and claim flow- **Copy embed** button — copies `<agent-3d>` snippet to clipboard- Footer — displays on-chain state (chain, agentId, metadataURI)diff --git a/public/cz/cz.js b/public/cz/cz.jsindex cb7540549..e365def89 100644--- a/public/cz/cz.js+++ b/public/cz/cz.js@@ -109,7 +109,7 @@ function showSuccess() {agentNameDisplay.textContent = AGENT_NAME;const origin = location.origin;snippetScript.textContent = `<script type="module"\n src="${origin}/agent-3d/latest/agent-3d.js">\n<\/script>`;- snippetTag.textContent = `<agent-3d agent-id="${AGENT_ID}" kiosk></agent-3d>`;+ snippetTag.textContent = `<agent-three.ws-id="${AGENT_ID}" kiosk></agent-3d>`;snippetIframe.textContent = `<iframe\n src="${origin}/agent/${AGENT_ID}/embed"\n allow="microphone"\n width="400" height="600">\n</iframe>`;show(stepSuccess);}diff --git a/public/cz/index.html b/public/cz/index.htmlindex 17fdf98db..c3dd8a5e1 100644--- a/public/cz/index.html+++ b/public/cz/index.html@@ -3,8 +3,8 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>CZ · Claim Your 3D Agent</title>- <meta name="description" content="Connect your wallet and claim your on-chain 3D agent." />+ <title>CZ · Claim Your three.ws</title>+ <meta name="description" content="Connect your wallet and claim your on-chain three.ws." /><meta name="theme-color" content="#080814" /><link rel="icon" href="/favicon.ico" /><link rel="stylesheet" href="./cz.css" />@@ -16,7 +16,7 @@</head><body><header>- <span class="logo">⬡ 3D Agent</span>+ <span class="logo">⬡ three.ws</span></header><main><div class="agent-wrap">diff --git a/public/dashboard/actions.html b/public/dashboard/actions.htmlindex b5ba57d59..9618f09fc 100644--- a/public/dashboard/actions.html+++ b/public/dashboard/actions.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Action Log — 3D Agent</title>+ <title>Action Log — three.ws</title><style>:root {color-scheme: dark;diff --git a/public/dashboard/dashboard.js b/public/dashboard/dashboard.jsindex 065c32084..f3b861e45 100644--- a/public/dashboard/dashboard.js+++ b/public/dashboard/dashboard.js@@ -876,7 +876,7 @@ function renderMcp(root) {<pre><code>${esc(origin)}/api/mcp</code></pre><h3 class="section">Claude Desktop / Claude Code (remote)</h3>- <p class="muted">Add a Custom Connector in Claude. When prompted, sign in with your 3D Agent account.</p>+ <p class="muted">Add a Custom Connector in Claude. When prompted, sign in with your three.ws account.</p><pre><code>${esc(JSON.stringify({@@ -1003,7 +1003,7 @@ async function renderEmbed(root) {const webComponentSnippet = ['<!-- Zero-install web component. Works in plain HTML, React, Vue, Svelte. -->',`<script type="module" src="${origin}/lib.js"></script>`,- `<agent-3d agent-id="${esc(agent.id)}"`,+ `<agent-three.ws-id="${esc(agent.id)}"`,' style="width:320px;height:420px;display:block;border-radius:16px;overflow:hidden">','</agent-3d>',].join('\n');@@ -1276,7 +1276,7 @@ function bindOnchainDeploy(body, agent) {const result = await registerAgent({glbFile,name: agent.name || 'Agent',- description: agent.description || `3D agent ${agent.id}`,+ description: agent.description || `three.ws ${agent.id}`,apiToken: token.value.trim() || undefined,onStatus: (msg) => say(msg),});diff --git a/public/dashboard/embed-policy.html b/public/dashboard/embed-policy.htmlindex e0f17ec8a..26d8b1d6f 100644--- a/public/dashboard/embed-policy.html+++ b/public/dashboard/embed-policy.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Embed policy · 3D Agent</title>+ <title>Embed policy · three.ws</title><link rel="icon" href="/favicon.ico" /><style>body[data-auth-pending] {@@ -301,7 +301,7 @@<label for="brain-mode">Payment mode</label><select id="brain-mode"><option value="we-pay">- We-pay — 3D Agent covers API costs (quota-limited)+ We-pay — three.ws covers API costs (quota-limited)</option><option value="key-proxy">Key-proxy — calls routed through your proxy URLdiff --git a/public/dashboard/index.html b/public/dashboard/index.htmlindex debfb0000..9485fbef1 100644--- a/public/dashboard/index.html+++ b/public/dashboard/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Dashboard · 3D Agent</title>+ <title>Dashboard · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -1030,7 +1030,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><div class="row"><span id="user-email" class="muted"></span><button class="btn sec" onclick="signOut()">Sign out</button>diff --git a/public/dashboard/sessions.html b/public/dashboard/sessions.htmlindex e046d82bc..0a4dcddcd 100644--- a/public/dashboard/sessions.html+++ b/public/dashboard/sessions.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Sessions · 3D Agent</title>+ <title>Sessions · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -191,7 +191,7 @@</head><body data-auth-pending><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><button class="btn sec" onclick="signOut()">Sign out</button></header><main>diff --git a/public/dashboard/storage.html b/public/dashboard/storage.htmlindex ac65499df..28da1e14a 100644--- a/public/dashboard/storage.html+++ b/public/dashboard/storage.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Storage · 3D Agent</title>+ <title>Storage · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {diff --git a/public/dashboard/usage.html b/public/dashboard/usage.htmlindex 57e176257..365c77aca 100644--- a/public/dashboard/usage.html+++ b/public/dashboard/usage.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>LLM Usage — 3D Agent</title>+ <title>LLM Usage — three.ws</title><style>body {font-family:diff --git a/public/dashboard/wallets.html b/public/dashboard/wallets.htmlindex 45466c1c0..a896c6db3 100644--- a/public/dashboard/wallets.html+++ b/public/dashboard/wallets.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Linked Wallets · Dashboard · 3D Agent</title>+ <title>Linked Wallets · Dashboard · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -182,7 +182,7 @@</head><body data-auth-pending><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><div class="row"><span class="muted" id="user-email"></span><button class="btn sec" onclick="signOut()">Sign out</button>diff --git a/public/discover/index.html b/public/discover/index.htmlindex 0be2d1005..3f2c514d8 100644--- a/public/discover/index.html+++ b/public/discover/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Discover · 3D Agent</title>+ <title>Discover · three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><metaname="description"@@ -13,7 +13,7 @@<link rel="canonical" href="https://three.ws/discover" /><meta property="og:type" content="website" />- <meta property="og:title" content="Discover · 3D Agent" />+ <meta property="og:title" content="Discover · three.ws" /><metaproperty="og:description"content="Browse every ERC-8004 agent registered on-chain across 20+ EVM networks. Filter by 3D avatar, chain, and keywords."@@ -21,7 +21,7 @@<meta property="og:url" content="https://three.ws/discover" /><meta property="og:image" content="https://three.ws/og-image.png" /><meta name="twitter:card" content="summary_large_image" />- <meta name="twitter:title" content="Discover · 3D Agent" />+ <meta name="twitter:title" content="Discover · three.ws" /><metaname="twitter:description"content="The on-chain index of ERC-8004 agents. Every agent, every chain."@@ -39,7 +39,7 @@<body class="features-page explore-page"><header><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/app">Viewer</a>diff --git a/public/docs-widgets.html b/public/docs-widgets.htmlindex bbd3fda7a..31478f644 100644--- a/public/docs-widgets.html+++ b/public/docs-widgets.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Widget Docs — 3D Agent</title>+ <title>Widget Docs — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><metaname="description"@@ -12,7 +12,7 @@<meta name="theme-color" content="#0a0a0a" /><meta property="og:type" content="article" />- <meta property="og:title" content="3D Agent — Widget Docs" />+ <meta property="og:title" content="three.ws — Widget Docs" /><metaproperty="og:description"content="Embed 3D widgets on any site. URL params, postMessage API, oEmbed, privacy."@@ -126,7 +126,7 @@<body class="gallery-body"><header class="gallery-header"><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/">Viewer</a>@@ -431,7 +431,7 @@ img-src https://three.ws/ data:;</code></pre><footer class="gallery-footer"><p>- 3D Agent · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> ·+ three.ws · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> ·<a href="/docs/widgets">Docs</a> ·<a href="https://github.com/nirholas/3D">GitHub</a></p>diff --git a/public/docs/agent-manifest.md b/public/docs/agent-manifest.mdindex effdd57ea..fc0c57960 100644--- a/public/docs/agent-manifest.md+++ b/public/docs/agent-manifest.md@@ -44,7 +44,7 @@ The `<agent-3d>` element accepts several source forms. Priority when multiple at<agent-3d manifest="https://cdn.acme.com/aria/manifest.json"></agent-3d><!-- Backend agent ID (platform-hosted) -->-<agent-3d agent-id="aria-guide"></agent-3d>+<agent-three.ws-id="aria-guide"></agent-3d><!-- Bare GLB — no manifest, viewer mode only --><agent-3d body="./product.glb"></agent-3d>@@ -515,7 +515,7 @@ Supported chain aliases for `agent://` URIs: `base` (8453), `base-mainnet` (8453| **HTTPS (CDN)** | Host on any CDN — GitHub Pages, S3, Vercel, Cloudflare R2. CORS header required: `Access-Control-Allow-Origin: *`. || **IPFS** | Pin with Pinata, Filebase, or Web3.Storage. Use `ipfs://` URIs for all bundle-relative assets so they travel with the CID. || **Arweave** | Permanent storage. Use `ar://` prefix. |-| **Platform editor** | Upload via the 3D Agent editor; the platform pins to IPFS and hosts the manifest for you. |+| **Platform editor** | Upload via the three.ws editor; the platform pins to IPFS and hosts the manifest for you. |Minimum CORS requirement: the manifest JSON itself (and any files fetched at runtime from the same origin) must include `Access-Control-Allow-Origin: *` or the browser will block the fetch.diff --git a/public/docs/api-reference.md b/public/docs/api-reference.mdindex 525d2cf1c..9f4bc2312 100644--- a/public/docs/api-reference.md+++ b/public/docs/api-reference.md@@ -822,7 +822,7 @@ GET /api/mcpDELETE /api/mcp```-Model Context Protocol endpoint — exposes 3D Agent as a JSON-RPC 2.0 tool server compatible with Claude and other MCP clients.+Model Context Protocol endpoint — exposes three.ws as a JSON-RPC 2.0 tool server compatible with Claude and other MCP clients.**Authentication:** Bearer OAuth access token or API key.diff --git a/public/docs/ar.md b/public/docs/ar.mdindex 7382b8c86..6eab0b67c 100644--- a/public/docs/ar.md+++ b/public/docs/ar.md@@ -1,6 +1,6 @@# AR & WebXR-3D Agent supports three AR methods, each targeting a different platform:+three.ws supports three AR methods, each targeting a different platform:| Method | Platform | Mechanism ||--------|----------|-----------|diff --git a/public/docs/architecture.md b/public/docs/architecture.mdindex c38fdadd9..ef85bdba3 100644--- a/public/docs/architecture.md+++ b/public/docs/architecture.md@@ -1,8 +1,8 @@# Architecture Overview-This document describes how 3D Agent is put together, how data moves through it, and where the seams are if you want to extend, self-host, or integrate it with another stack. It assumes familiarity with modern JavaScript, WebGL/three.js at a high level, and the basics of EVM blockchains and content-addressed storage.+This document describes how three.ws is put together, how data moves through it, and where the seams are if you want to extend, self-host, or integrate it with another stack. It assumes familiarity with modern JavaScript, WebGL/three.js at a high level, and the basics of EVM blockchains and content-addressed storage.-3D Agent is simultaneously a glTF viewer, an LLM-driven character runtime, an on-chain identity layer, and a distributable web component. These concerns are split into four layers that communicate through a single event bus rather than direct method calls. Most of the interesting design decisions live at the seams.+three.ws is simultaneously a glTF viewer, an LLM-driven character runtime, an on-chain identity layer, and a distributable web component. These concerns are split into four layers that communicate through a single event bus rather than direct method calls. Most of the interesting design decisions live at the seams.---diff --git a/public/docs/authentication.md b/public/docs/authentication.mdindex f6e90c1e3..5f2ed8b59 100644--- a/public/docs/authentication.md+++ b/public/docs/authentication.md@@ -1,6 +1,6 @@# Authentication-3D Agent supports three authentication methods. Which one you need depends on how you're building:+three.ws supports three authentication methods. Which one you need depends on how you're building:| Method | Best for ||--------|----------|@@ -105,7 +105,7 @@ const { nonce, csrf, expiresAt } = await fetch('/api/auth/siwe/nonce', {const message = new SiweMessage({domain: window.location.host,address: walletAddress,- statement: 'Sign in to 3D Agent. This does not cost anything and proves wallet ownership.',+ statement: 'Sign in to three.ws. This does not cost anything and proves wallet ownership.',uri: window.location.origin,version: '1',chainId: 1,@@ -300,7 +300,7 @@ Or revoke via the dashboard. Revocation takes effect immediately — the key wil## OAuth 2.1 (Third-Party App Integration)-If you're building a third-party app that users authorize to access their 3D Agent account — similar to how OAuth works with GitHub or Google — use the OAuth 2.1 endpoints. This is distinct from API keys (which you create for yourself).+If you're building a third-party app that users authorize to access their three.ws account — similar to how OAuth works with GitHub or Google — use the OAuth 2.1 endpoints. This is distinct from API keys (which you create for yourself).| Endpoint | Description ||----------|-------------|@@ -313,7 +313,7 @@ If you're building a third-party app that users authorize to access their 3D AgePKCE (S256) is mandatory. The authorization server metadata is at `/.well-known/oauth-authorization-server`.-For most use cases, API keys are simpler. OAuth is the right choice when you're building a product where your users grant your app access to their 3D Agent data.+For most use cases, API keys are simpler. OAuth is the right choice when you're building a product where your users grant your app access to their three.ws data.---@@ -332,7 +332,7 @@ const { nonce } = await fetch('/api/auth/wallets/nonce', {}).then(r => r.json());// 2. Sign the nonce with the new wallet-const message = `Link wallet to 3D Agent\nNonce: ${nonce}`;+const message = `Link wallet to three.ws\nNonce: ${nonce}`;const signature = await signer.signMessage(message);// 3. Submitdiff --git a/public/docs/avatar-creation.md b/public/docs/avatar-creation.mdindex c4ac65c4f..9ed671f73 100644--- a/public/docs/avatar-creation.md+++ b/public/docs/avatar-creation.md@@ -39,7 +39,7 @@ Good lighting and a plain background give the best results. Photos can be JPEG oThe photos are prepared and sent to the Avaturn pipeline. After a brief processing step, an Avaturn editor opens in a modal where you can adjust clothing, accessories, and other details before exporting.-When you click export, the GLB is fetched and saved to your 3D Agent account automatically.+When you click export, the GLB is fetched and saved to your three.ws account automatically.### What if camera access doesn't work?@@ -104,7 +104,7 @@ If you already have a 3D model — from Blender, Maya, Mixamo, Ready Player Me,3. The model loads and validates automatically4. Save to your account via the editor toolbar-The 3D Agent viewer accepts any valid glTF 2.0 binary (`.glb`) file. If your model has features like facial blend shapes and a humanoid skeleton, the full emotion and gesture system activates. If it doesn't, the viewer degrades gracefully — no crash, just no facial animation.+The three.ws viewer accepts any valid glTF 2.0 binary (`.glb`) file. If your model has features like facial blend shapes and a humanoid skeleton, the full emotion and gesture system activates. If it doesn't, the viewer degrades gracefully — no crash, just no facial animation.### Converting from other formats@@ -268,7 +268,7 @@ For permanent, verifiable identity, you can register the agent on-chain under ER## Developer spec: targeting the avatar format-If you are building a tool that generates avatars for 3D Agent (a pipeline, a custom studio, a converter), target this specification:+If you are building a tool that generates avatars for three.ws (a pipeline, a custom studio, a converter), target this specification:| Property | Target ||----------|--------|diff --git a/public/docs/changelog.md b/public/docs/changelog.mdindex 7cfeb82d5..7cd3ea128 100644--- a/public/docs/changelog.md+++ b/public/docs/changelog.md@@ -1,12 +1,12 @@# Changelog & Versioning-This document covers how 3D Agent is versioned, what has changed across releases, and how to upgrade safely.+This document covers how three.ws is versioned, what has changed across releases, and how to upgrade safely.---## Versioning Policy-3D Agent follows [Semantic Versioning](https://semver.org/) (`MAJOR.MINOR.PATCH`):+three.ws follows [Semantic Versioning](https://semver.org/) (`MAJOR.MINOR.PATCH`):| Segment | When it increments | Example ||---|---|---|diff --git a/public/docs/character-studio.md b/public/docs/character-studio.mdindex 897cf11c4..2d8919270 100644--- a/public/docs/character-studio.md+++ b/public/docs/character-studio.md@@ -1,8 +1,8 @@# Character Studio-Character Studio is a browser-based 3D avatar builder built into 3D Agent. It lets you design a fully customized humanoid avatar — body, hair, face, clothing, and accessories — using a point-and-click interface with no 3D modeling experience required.+Character Studio is a browser-based 3D avatar builder built into three.ws. It lets you design a fully customized humanoid avatar — body, hair, face, clothing, and accessories — using a point-and-click interface with no 3D modeling experience required.-The result is a GLB/VRM file that works with every 3D Agent feature: animations, the emotion system, AR viewing, and web embedding.+The result is a GLB/VRM file that works with every three.ws feature: animations, the emotion system, AR viewing, and web embedding.**Access:** [https://three.ws/studio](https://three.ws/studio) → Avatar tab@@ -99,7 +99,7 @@ Every customization change updates the preview instantly — no waiting for asse1. Click **Export** → **Download GLB**2. The file downloads to your computer-3. Drag and drop it into the 3D Agent editor, or host it on your own CDN+3. Drag and drop it into the three.ws editor, or host it on your own CDN### Save to Your Account@@ -124,7 +124,7 @@ Optimized avatars render faster and use less GPU memory, which matters in scenes## Morph Targets and the Emotion System-Every avatar created in Character Studio includes the full set of morph targets required by the 3D Agent emotion system. These are baked into the exported file automatically — you don't need to add them manually.+Every avatar created in Character Studio includes the full set of morph targets required by the three.ws emotion system. These are baked into the exported file automatically — you don't need to add them manually.The included morph targets are:@@ -159,7 +159,7 @@ RightUpperLeg → RightLowerLeg → RightFootThis means:- **Mixamo animations work directly** — download any animation from Mixamo and attach it-- **The 3D Agent animation library is fully compatible** — all built-in clips (idle, wave, gesture, walk) work out of the box+- **The three.ws animation library is fully compatible** — all built-in clips (idle, wave, gesture, walk) work out of the box- **Retargeting** is handled automatically by the animation manager---@@ -204,7 +204,7 @@ The core of the system is `CharacterManager` in `character-studio/src/library/ch## Character Studio vs. Avaturn-3D Agent supports two avatar creation paths. They're complementary, not competing:+three.ws supports two avatar creation paths. They're complementary, not competing:| | Character Studio | Avaturn ||---|---|---|@@ -213,7 +213,7 @@ The core of the system is `CharacterManager` in `character-studio/src/library/ch| Customization | Full control over every feature | Limited post-generation edits || Account needed to start | No | Yes |-**Using both together:** Generate an Avaturn avatar from a selfie to get a photorealistic starting point, import the resulting GLB into the 3D Agent editor, then adjust clothing colors and accessories manually.+**Using both together:** Generate an Avaturn avatar from a selfie to get a photorealistic starting point, import the resulting GLB into the three.ws editor, then adjust clothing colors and accessories manually.---@@ -224,4 +224,4 @@ The core of the system is `CharacterManager` in `character-studio/src/library/ch- **Asset library scope.** Customization is limited to items in the included asset library. Adding entirely new clothing shapes requires creating a 3D asset and submitting it to the library.- **Granular face morphing.** Individual face feature morphing (e.g., nose width, cheekbone height via sliders) is not yet available — face customization is preset-based.-For cases that need more control than Character Studio provides, create your avatar in Blender or another 3D tool and import the GLB directly into the 3D Agent editor.+For cases that need more control than Character Studio provides, create your avatar in Blender or another 3D tool and import the GLB directly into the three.ws editor.diff --git a/public/docs/configuration.md b/public/docs/configuration.mdindex 76a1ae7c0..bcf6462ef 100644--- a/public/docs/configuration.md+++ b/public/docs/configuration.md@@ -1,6 +1,6 @@# Configuration Reference-3D Agent is configured through a combination of environment variables and a handful of configuration files. This document is a complete reference for self-hosters and developers setting up a local development environment.+three.ws is configured through a combination of environment variables and a handful of configuration files. This document is a complete reference for self-hosters and developers setting up a local development environment.**Configuration files at a glance:**diff --git a/public/docs/contributing.md b/public/docs/contributing.mdindex cd664afbc..d7650815e 100644--- a/public/docs/contributing.md+++ b/public/docs/contributing.md@@ -1,4 +1,4 @@-# Contributing to 3D Agent+# Contributing to three.wsThanks for your interest in contributing. This guide covers everything you need to get started — from setting up a local environment to submitting a pull request that will get merged.@@ -233,7 +233,7 @@ test: add coverage for manifest normalization edge cases## Contributing a Skill-Skills are the best way to extend 3D Agent without touching core code. A skill is a hosted directory of assets and a manifest — it runs in an isolated context and communicates via a defined message protocol.+Skills are the best way to extend three.ws without touching core code. A skill is a hosted directory of assets and a manifest — it runs in an isolated context and communicates via a defined message protocol.1. **Use the template.** Copy `examples/skills/wave/` as your starting point — it demonstrates the minimal structure a skill needs.diff --git a/public/docs/deployment.md b/public/docs/deployment.mdindex c04b001eb..5eb044560 100644--- a/public/docs/deployment.md+++ b/public/docs/deployment.md@@ -1,12 +1,12 @@# Deployment & Self-Hosting-This guide covers everything you need to run your own instance of 3D Agent — from a one-click Vercel deploy to a fully self-hosted setup on any Node.js infrastructure.+This guide covers everything you need to run your own instance of three.ws — from a one-click Vercel deploy to a fully self-hosted setup on any Node.js infrastructure.---## Platform overview-3D Agent is a full-stack platform. A complete deployment has six moving parts:+three.ws is a full-stack platform. A complete deployment has six moving parts:| Layer | What it does | Recommended provider ||---|---|---|@@ -77,7 +77,7 @@ Without `ANTHROPIC_API_KEY`, the chat API falls back to client-side pattern matc### Object storage (required for GLB/asset uploads)-3D Agent uses an S3-compatible interface. Cloudflare R2 is recommended because it has zero egress fees — even a viral spike only costs you storage and requests.+three.ws uses an S3-compatible interface. Cloudflare R2 is recommended because it has zero egress fees — even a viral spike only costs you storage and requests.```envS3_ENDPOINT=https://<account-id>.r2.cloudflarestorage.com@@ -202,7 +202,7 @@ Each script reads `DATABASE_URL` from `.env.local` then `.env` then the process## S3-compatible storage setup-3D Agent stores GLB model files and generated thumbnails in your S3 bucket. The API uses the `@aws-sdk/client-s3` package, which works with any S3-compatible endpoint.+three.ws stores GLB model files and generated thumbnails in your S3 bucket. The API uses the `@aws-sdk/client-s3` package, which works with any S3-compatible endpoint.### Cloudflare R2 (recommended)diff --git a/public/docs/editor.md b/public/docs/editor.mdindex b70b63ef8..95450bcfd 100644--- a/public/docs/editor.md+++ b/public/docs/editor.md@@ -1,6 +1,6 @@# Editor Guide-The 3D Agent editor lets you inspect and modify an agent's 3D model, adjust materials and textures, build the agent manifest, and publish the result to the platform. This guide covers the full workflow from opening a file through publishing.+The three.ws editor lets you inspect and modify an agent's 3D model, adjust materials and textures, build the agent manifest, and publish the result to the platform. This guide covers the full workflow from opening a file through publishing.---diff --git a/public/docs/embedding.md b/public/docs/embedding.mdindex f8dca5eb0..3e49ad9cd 100644--- a/public/docs/embedding.md+++ b/public/docs/embedding.md@@ -1,6 +1,6 @@# Embedding Guide-> **Audience:** Developers and no-code builders who want to add a 3D agent to a website, app, or platform.+> **Audience:** Developers and no-code builders who want to add a three.ws to a website, app, or platform.---@@ -249,7 +249,7 @@ For third-party pages, CMS platforms with strict CSP, or any context where you cheight="500"frameborder="0"allow="camera; microphone; xr-spatial-tracking"- title="3D Agent"+ title="three.ws"></iframe>```@@ -418,7 +418,7 @@ Widget pages include the oEmbed discovery link tag, so platforms that scan `<hea## Claude Artifact-3D Agent can be embedded inside Claude.ai artifacts for AI-generated interactive 3D demos.+three.ws can be embedded inside Claude.ai artifacts for AI-generated interactive 3D demos.### Using the artifact API@@ -633,7 +633,7 @@ if (prefersReduced) el.setAttribute('auto-rotate', 'false');```html<agent-3d src="agent://base/42">- <img src="./leo-poster.webp" alt="Coach Leo (3D agent, requires JavaScript)" />+ <img src="./leo-poster.webp" alt="Coach Leo (three.ws, requires JavaScript)" /></agent-3d>```diff --git a/public/docs/erc8004.md b/public/docs/erc8004.mdindex ad6f6fa32..688659ead 100644--- a/public/docs/erc8004.md+++ b/public/docs/erc8004.md@@ -27,7 +27,7 @@ Once registered, an agent has properties that no platform can revoke:## Why register on-chain?-The honest answer: you don't have to. The 3D Agent platform works without blockchain identity. But if you want your agent to exist beyond this platform, registration gives you things a database can't:+The honest answer: you don't have to. The three.ws platform works without blockchain identity. But if you want your agent to exist beyond this platform, registration gives you things a database can't:**Discoverability without a central server.** Anyone with a wallet and a chain ID can find your agent. There is no API key required, no account to create. The registry is a public contract.@@ -155,7 +155,7 @@ The Validation Registry is not yet deployed on mainnet. It is available on all t### Step 1: Connect your wallet-The 3D Agent app supports any injected EIP-1193 provider:+The three.ws app supports any injected EIP-1193 provider:- **MetaMask** — browser extension, desktop- **WalletConnect** — mobile wallets (Rainbow, Zerion, Trust, etc.)- **Privy** — email or social login with an embedded wallet (no browser extension required)@@ -238,7 +238,7 @@ The document your `tokenURI` resolves to is an *agent card* — a JSON file pinn}```-The `type` array declares both the base ERC-8004 spec and the 3D Agent Card v1 extension. The `model` block (required by the extension) provides a content-addressable pointer to the GLB and a SHA-256 hash so consumers can verify the model bytes independently of the hosting location. The `services` array lists endpoints for different consumers — the `avatar` entry is the raw GLB, the `3D` entry is a renderer URL that works in any browser.+The `type` array declares both the base ERC-8004 spec and the three.ws Card v1 extension. The `model` block (required by the extension) provides a content-addressable pointer to the GLB and a SHA-256 hash so consumers can verify the model bytes independently of the hosting location. The `services` array lists endpoints for different consumers — the `avatar` entry is the raw GLB, the `3D` entry is a renderer URL that works in any browser.---@@ -292,10 +292,10 @@ The resolver caches results per page session. Pass `{ fresh: true }` to bypass t```html<!-- CAIP-10 format in the agent-id attribute -->-<agent-3d agent-id="eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432:42"></agent-3d>+<agent-three.ws-id="eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432:42"></agent-3d><!-- Shorthand -->-<agent-3d agent-id="onchain:8453:42"></agent-3d>+<agent-three.ws-id="onchain:8453:42"></agent-3d>```The `<agent-3d>` element boots the full agent runtime — 3D rendering, memory, skills, and conversation — using the on-chain identity as its manifest source.@@ -593,7 +593,7 @@ The same MAINNET addresses apply to all 15 mainnets. The same TESTNET addresses| Resource | Path ||----------|------|-| 3D Agent Card v1 spec | [/specs/3D_AGENT_CARD.md](../../specs/3D_AGENT_CARD.md) |+| three.ws Card v1 spec | [/specs/3D_AGENT_CARD.md](../../specs/3D_AGENT_CARD.md) || ENS/DNS agent claim spec | [/specs/ENS_AGENT_CLAIM.md](../../specs/ENS_AGENT_CLAIM.md) || Contract ABIs + addresses | [/src/erc8004/abi.js](../../src/erc8004/abi.js) || Registration flow | [/src/erc8004/agent-registry.js](../../src/erc8004/agent-registry.js) |diff --git a/public/docs/examples.md b/public/docs/examples.mdindex 23897069c..988f8f9c6 100644--- a/public/docs/examples.md+++ b/public/docs/examples.md@@ -1,6 +1,6 @@# Examples Gallery-Copy-paste ready code for common 3D Agent use cases. Each example runs as-is — swap your own model URL and go.+Copy-paste ready code for common three.ws use cases. Each example runs as-is — swap your own model URL and go.---diff --git a/public/docs/introduction.md b/public/docs/introduction.mdindex 469c2f138..9b20ecead 100644--- a/public/docs/introduction.md+++ b/public/docs/introduction.md@@ -1,8 +1,8 @@# Introduction & Overview-## What is 3D Agent?+## What is three.ws?-3D Agent is an open-source, browser-native platform for creating, hosting, and embedding interactive AI agents that live inside 3D avatars. It combines a WebGL 3D viewer — built on [three.js](https://threejs.org) with full glTF 2.0 / GLB support — with an AI agent runtime that gives each avatar personality, memory, skills, and optionally an on-chain identity.+three.ws is an open-source, browser-native platform for creating, hosting, and embedding interactive AI agents that live inside 3D avatars. It combines a WebGL 3D viewer — built on [three.js](https://threejs.org) with full glTF 2.0 / GLB support — with an AI agent runtime that gives each avatar personality, memory, skills, and optionally an on-chain identity.The result is an agent that doesn't just respond in a chat box. It occupies a three-dimensional body, plays animations, responds to voice, and can be embedded into any web page with a single script tag and a custom HTML element.@@ -20,7 +20,7 @@ The result is an agent that doesn't just respond in a chat box. It occupies a th### Embodied AI-Most AI interfaces are text boxes. 3D Agent is different: the AI runtime is bound to a 3D avatar that expresses emotion, plays animations, and exists inside a rendered scene. When an agent speaks, a talk animation plays. When something goes wrong, the avatar can express that state visually. The connection between what an agent says and what it does in 3D space is a first-class concern, not an afterthought.+Most AI interfaces are text boxes. three.ws is different: the AI runtime is bound to a 3D avatar that expresses emotion, plays animations, and exists inside a rendered scene. When an agent speaks, a talk animation plays. When something goes wrong, the avatar can express that state visually. The connection between what an agent says and what it does in 3D space is a first-class concern, not an afterthought.This matters in product contexts where trust, presence, and brand identity are important — a 3D character carrying your brand is more memorable than a floating modal.@@ -38,7 +38,7 @@ The element exposes a full JavaScript API (`say()`, `ask()`, `installSkill()`, `### Decentralized-Agent identity can be registered on-chain using ERC-8004, the standard for 3D agent identity. Once registered, an agent has a canonical address — `agent://base/42`, for example — that resolves to an IPFS-hosted manifest bundle containing the avatar, skills, memory config, and persona. Memories can be stored on IPFS. Signed ERC-7710 delegations let agents perform scoped, time-bound on-chain actions without per-transaction signing prompts.+Agent identity can be registered on-chain using ERC-8004, the standard for three.ws identity. Once registered, an agent has a canonical address — `agent://base/42`, for example — that resolves to an IPFS-hosted manifest bundle containing the avatar, skills, memory config, and persona. Memories can be stored on IPFS. Signed ERC-7710 delegations let agents perform scoped, time-bound on-chain actions without per-transaction signing prompts.For developers who don't need any of this, on-chain identity is entirely optional. A bare GLB URL is enough to get started.@@ -99,13 +99,13 @@ The `<agent-3d>` element accepts a manifest via the `src`, `manifest`, or `agent### ERC-8004-ERC-8004 is the on-chain standard used to register 3D agent identity. A registered agent has a numeric ID tied to a specific chain (e.g., Base), an owner address, and a content-addressed pointer to its manifest bundle on IPFS. Registration makes an agent discoverable at a canonical URI (`agent://base/42`) and enables sharing, oEmbed previews, and delegated permissions. Registration is optional — agents work entirely without it.+ERC-8004 is the on-chain standard used to register three.ws identity. A registered agent has a numeric ID tied to a specific chain (e.g., Base), an owner address, and a content-addressed pointer to its manifest bundle on IPFS. Registration makes an agent discoverable at a canonical URI (`agent://base/42`) and enables sharing, oEmbed previews, and delegated permissions. Registration is optional — agents work entirely without it.---## Architecture at a Glance-3D Agent is organized into four layers, each building on the one below.+three.ws is organized into four layers, each building on the one below.### Viewer Layer@@ -160,21 +160,21 @@ The embed layer is what developers interact with. `Agent3DElement` (`<agent-3d>`### vs. `<model-viewer>` (Google)-[`<model-viewer>`](https://modelviewer.dev) is a solid, well-maintained web component for displaying glTF models with AR support. It excels at simple 3D display and is the right choice if that's all you need. 3D Agent adds the entire AI agent stack on top: LLM runtime, skill system, memory, voice I/O, emotion system, and on-chain identity. It also adds Widget Studio for no-code embeds and a manifest format for portable agent definitions. If you want a talking, interactive character rather than a static viewer, 3D Agent is the right tool.+[`<model-viewer>`](https://modelviewer.dev) is a solid, well-maintained web component for displaying glTF models with AR support. It excels at simple 3D display and is the right choice if that's all you need. three.ws adds the entire AI agent stack on top: LLM runtime, skill system, memory, voice I/O, emotion system, and on-chain identity. It also adds Widget Studio for no-code embeds and a manifest format for portable agent definitions. If you want a talking, interactive character rather than a static viewer, three.ws is the right tool.### vs. General LLM Chatbots-General-purpose chat interfaces (embedded or hosted) are text-first. They have no awareness of 3D space, no avatar, and no ability to control a scene. 3D Agent's agent layer is purpose-built to bridge LLM outputs to three.js operations: the model can trigger animations, adjust camera position, highlight hotspots, and express emotions through the avatar. It also has native glTF understanding — the LLM can reason about the loaded model's structure via the validator tool.+General-purpose chat interfaces (embedded or hosted) are text-first. They have no awareness of 3D space, no avatar, and no ability to control a scene. three.ws's agent layer is purpose-built to bridge LLM outputs to three.js operations: the model can trigger animations, adjust camera position, highlight hotspots, and express emotions through the avatar. It also has native glTF understanding — the LLM can reason about the loaded model's structure via the validator tool.### vs. Unity / Unreal WebGL Exports-Game engine WebGL exports ship a large runtime (~10–50 MB) and require their own asset pipeline. They are not designed to be embedded as lightweight web components. 3D Agent is browser-native: no game engine, no plugin, no proprietary format. The CDN bundle is compact, the element self-initializes with a script tag, and the viewer runs on standard WebGL 2.0 available in every modern browser. The trade-off is that 3D Agent is not a general-purpose game engine — it is optimized for avatar-centric, interactive AI agent experiences.+Game engine WebGL exports ship a large runtime (~10–50 MB) and require their own asset pipeline. They are not designed to be embedded as lightweight web components. three.ws is browser-native: no game engine, no plugin, no proprietary format. The CDN bundle is compact, the element self-initializes with a script tag, and the viewer runs on standard WebGL 2.0 available in every modern browser. The trade-off is that three.ws is not a general-purpose game engine — it is optimized for avatar-centric, interactive AI agent experiences.---## Quick Start-The minimum to get a 3D agent on screen is two lines of HTML:+The minimum to get a three.ws on screen is two lines of HTML:```html<script type="module" src="https://cdn.three.wsagent-3d.js"></script>diff --git a/public/docs/mcp.md b/public/docs/mcp.mdindex d634cfb71..8b5c26997 100644--- a/public/docs/mcp.md+++ b/public/docs/mcp.md@@ -1,6 +1,6 @@# MCP Integration-Model Context Protocol (MCP) lets Claude and other MCP-compatible AI systems interact with your 3D Agent account directly. When connected, Claude can list your avatars, render them as interactive 3D viewers, validate and inspect glTF files, and generate optimization suggestions — all through natural language.+Model Context Protocol (MCP) lets Claude and other MCP-compatible AI systems interact with your three.ws account directly. When connected, Claude can list your avatars, render them as interactive 3D viewers, validate and inspect glTF files, and generate optimization suggestions — all through natural language.This document covers the MCP server's tools, authentication, client configuration, and how to test locally.@@ -8,9 +8,9 @@ This document covers the MCP server's tools, authentication, client configuratio## What is MCP?-[Model Context Protocol](https://modelcontextprotocol.io) is an open standard that connects AI assistants to external tool servers via JSON-RPC 2.0. Once your MCP client points at the 3D Agent server, the LLM sees a curated set of tools it can call autonomously during a conversation.+[Model Context Protocol](https://modelcontextprotocol.io) is an open standard that connects AI assistants to external tool servers via JSON-RPC 2.0. Once your MCP client points at the three.ws server, the LLM sees a curated set of tools it can call autonomously during a conversation.-For 3D Agent specifically, this means Claude can:+For three.ws specifically, this means Claude can:- Browse and search your avatar library without you copy-pasting URLs- Render any avatar inline as an interactive `<model-viewer>` HTML artifactdiff --git a/public/docs/memory.md b/public/docs/memory.mdindex 2fd377f48..3240c1bd0 100644--- a/public/docs/memory.md+++ b/public/docs/memory.md@@ -1,6 +1,6 @@# Memory System-Agent memory lets a 3D agent remember things between sessions. Without it, every conversation starts fresh — the agent has no idea who you are, what you talked about last time, or what preferences you've stated. With memory, the agent builds up a persistent model of the user and context that it draws on automatically at the start of each conversation.+Agent memory lets a three.ws remember things between sessions. Without it, every conversation starts fresh — the agent has no idea who you are, what you talked about last time, or what preferences you've stated. With memory, the agent builds up a persistent model of the user and context that it draws on automatically at the start of each conversation.This document covers how agent memory works, how to configure storage modes, and how to read and write memories from code.@@ -8,7 +8,7 @@ This document covers how agent memory works, how to configure storage modes, and## Two layers-Memory in the 3D Agent runtime has two distinct layers:+Memory in the three.ws runtime has two distinct layers:**In-memory store** ([agent-memory.js](../../src/agent-memory.js)) — A fast, typed, salience-ranked store that lives in the JavaScript runtime. Loaded on boot, queried during conversations, written as things happen. Persists to `localStorage` immediately and optionally syncs to a backend API.diff --git a/public/docs/permissions.md b/public/docs/permissions.mdindex c521a7e9f..697bfda3a 100644--- a/public/docs/permissions.md+++ b/public/docs/permissions.md@@ -2,7 +2,7 @@As agents become more capable — signing blockchain transactions, calling external APIs, spending tokens on behalf of users — the question of *what the agent is allowed to do* becomes critical. Without a permission system, any skill a user installs could make unlimited on-chain actions. There would be no way to limit scope, set an expiry, or revoke access after the fact.-3D Agent solves this with **ERC-7710 delegation**: a standard for granting on-chain capabilities to agents with precise, enforceable constraints. Think of it as OAuth scopes, but for blockchain operations — the user signs once, the delegation encodes the full scope, and smart contracts enforce it on every redemption.+three.ws solves this with **ERC-7710 delegation**: a standard for granting on-chain capabilities to agents with precise, enforceable constraints. Think of it as OAuth scopes, but for blockchain operations — the user signs once, the delegation encodes the full scope, and smart contracts enforce it on every redemption.---diff --git a/public/docs/quick-start.md b/public/docs/quick-start.mdindex 89c25e487..492cff46d 100644--- a/public/docs/quick-start.md+++ b/public/docs/quick-start.md@@ -1,6 +1,6 @@-# Quick Start — 3D Agent+# Quick Start — three.ws-Get a live 3D agent on your page in under 10 minutes.+Get a live three.ws on your page in under 10 minutes.---@@ -21,7 +21,7 @@ The fastest path. No npm, no bundler, no build step.<html><head><meta charset="utf-8">- <title>My 3D Agent</title>+ <title>My three.ws</title><style>agent-3d { width: 400px; height: 500px; display: block; }</style>@@ -141,7 +141,7 @@ The chat input and microphone button appear automatically when `brain` is set. TIf you've registered an agent on the platform, load it by its UUID instead:```html-<agent-3d agent-id="a1b2c3d4-e5f6-7890-abcd-ef1234567890"></agent-3d>+<agent-three.ws-id="a1b2c3d4-e5f6-7890-abcd-ef1234567890"></agent-3d>```The element fetches the agent manifest — which includes the model URL, instructions, skills, and memory configuration — from the API. No other attributes needed.diff --git a/public/docs/reputation.md b/public/docs/reputation.mdindex 79870ebd6..55e089e8d 100644--- a/public/docs/reputation.md+++ b/public/docs/reputation.md@@ -1,6 +1,6 @@# Reputation System-The reputation system lets anyone leave a permanent, publicly verifiable score for a registered 3D Agent. Scores are stored on the `ReputationRegistry` smart contract — part of the ERC-8004 standard — and cannot be deleted or altered once submitted.+The reputation system lets anyone leave a permanent, publicly verifiable score for a registered three.ws. Scores are stored on the `ReputationRegistry` smart contract — part of the ERC-8004 standard — and cannot be deleted or altered once submitted.---diff --git a/public/docs/sdk.md b/public/docs/sdk.mdindex caf5ae863..5c67ec3b2 100644--- a/public/docs/sdk.md+++ b/public/docs/sdk.md@@ -1,6 +1,6 @@# SDK & Library-This document covers programmatic use of 3D Agent beyond simple embedding. There are two distributable artifacts you can import into your own project:+This document covers programmatic use of three.ws beyond simple embedding. There are two distributable artifacts you can import into your own project:| Artifact | Package | Use case ||---|---|---|diff --git a/public/docs/security.md b/public/docs/security.mdindex 38bbad9ed..ddcdfa713 100644--- a/public/docs/security.md+++ b/public/docs/security.md@@ -1,10 +1,10 @@# Security-3D Agent is designed for developers and organizations that need to reason carefully about what data goes where, who can call what, and how identities are established. This document covers the full security model: data handling, embed isolation, authentication, on-chain identity, and operational guidance for self-hosters.+three.ws is designed for developers and organizations that need to reason carefully about what data goes where, who can call what, and how identities are established. This document covers the full security model: data handling, embed isolation, authentication, on-chain identity, and operational guidance for self-hosters.## Security principles-**Client-side processing** — 3D files (GLB/GLTF) are loaded directly in the browser via WebGL. They never transit 3D Agent servers unless you explicitly save to your account. Screenshots are generated client-side via `canvas.toDataURL()`.+**Client-side processing** — 3D files (GLB/GLTF) are loaded directly in the browser via WebGL. They never transit three.ws servers unless you explicitly save to your account. Screenshots are generated client-side via `canvas.toDataURL()`.**Defense in depth** — authentication, rate limiting, CORS, CSP, cookie hardening, and on-chain validation operate as independent layers. No single bypass compromises the whole system.@@ -25,7 +25,7 @@ Models loaded into the viewer are processed entirely on your device:- The browser fetches and decodes the GLB file directly — no proxy, no server touch- WebGL rendering runs in your GPU via a sandboxed canvas context- Screenshots (`canvas.toDataURL()`) are generated client-side and never uploaded automatically-- Models are only sent to 3D Agent servers if you explicitly use the avatar registration flow (which pins to IPFS via Storacha)+- Models are only sent to three.ws servers if you explicitly use the avatar registration flow (which pins to IPFS via Storacha)### Conversation data@@ -39,7 +39,7 @@ Conversation history lives in `localStorage` by default. Cloud memory sync is op### Wallet data-Private keys never leave your wallet (MetaMask, Privy, WalletConnect). 3D Agent receives only:+Private keys never leave your wallet (MetaMask, Privy, WalletConnect). three.ws receives only:- Your wallet address (public by design)- Signed messages and SIWE challengesdiff --git a/public/docs/skills.md b/public/docs/skills.mdindex 8566d7aa6..da5351cbb 100644--- a/public/docs/skills.md+++ b/public/docs/skills.md@@ -1,6 +1,6 @@# Skills System-Skills are the extension mechanism for 3D agents — modular, portable capability bundles that tell an agent *what it can do* and *how to do it*. A skill packages together the LLM instructions, the tool schema, and the JavaScript handler that runs when the tool is called. Because a skill is just a directory of files served from any URL, the same wave skill can be installed in every agent you build without copying any code.+Skills are the extension mechanism for three.wss — modular, portable capability bundles that tell an agent *what it can do* and *how to do it*. A skill packages together the LLM instructions, the tool schema, and the JavaScript handler that runs when the tool is called. Because a skill is just a directory of files served from any URL, the same wave skill can be installed in every agent you build without copying any code.This document covers how to install skills, how to write them, the full context API available to handlers, the security model, and the lifecycle events that let host pages observe skill execution.diff --git a/public/docs/smart-contracts.md b/public/docs/smart-contracts.mdindex ee73d3900..8ae16df73 100644--- a/public/docs/smart-contracts.md+++ b/public/docs/smart-contracts.md@@ -1,10 +1,10 @@# ERC-8004 Smart Contracts-Three Solidity contracts make up the ERC-8004 registry system for 3D agent identities. This document covers the contract interfaces, deployed addresses, how to read from and write to each registry using ethers.js v6, and how to deploy your own instance.+Three Solidity contracts make up the ERC-8004 registry system for three.ws identities. This document covers the contract interfaces, deployed addresses, how to read from and write to each registry using ethers.js v6, and how to deploy your own instance.| Contract | Source | Purpose ||---|---|---|-| `IdentityRegistry` | `contracts/src/IdentityRegistry.sol` | ERC-721 token registry — register and resolve 3D agent identities on-chain |+| `IdentityRegistry` | `contracts/src/IdentityRegistry.sol` | ERC-721 token registry — register and resolve three.ws identities on-chain || `ReputationRegistry` | `contracts/src/ReputationRegistry.sol` | Submit and aggregate signed feedback scores for agents || `ValidationRegistry` | `contracts/src/ValidationRegistry.sol` | Record immutable attestations of off-chain validation results (glTF schema, behavioral tests, etc.) |@@ -49,7 +49,7 @@ const { identityRegistry, reputationRegistry, validationRegistry } =## IdentityRegistry-`IdentityRegistry` is the canonical on-chain registry for 3D agent identities. Each agent is minted as an ERC-721 token; the token URI points to an ERC-8004 registration JSON (typically hosted on IPFS). The contract extends `ERC721Enumerable`, so all standard ERC-721 enumeration methods work.+`IdentityRegistry` is the canonical on-chain registry for three.ws identities. Each agent is minted as an ERC-721 token; the token URI points to an ERC-8004 registration JSON (typically hosted on IPFS). The contract extends `ERC721Enumerable`, so all standard ERC-721 enumeration methods work.### Registrationdiff --git a/public/docs/troubleshooting.md b/public/docs/troubleshooting.mdindex b9017f9db..cc4eb76ca 100644--- a/public/docs/troubleshooting.md+++ b/public/docs/troubleshooting.md@@ -501,7 +501,7 @@ Organized by symptom. Find your problem, check the likely causes, follow the fix## FAQ-**Is 3D Agent free?**+**Is three.ws free?**The core platform is free. API usage costs (Anthropic for LLM, ElevenLabs for TTS) are charged at cost — you supply your own API keys. IPFS pinning for on-chain registration requires a Pinata JWT or uses the default R2 backend.diff --git a/public/docs/tutorials/embed-on-website.md b/public/docs/tutorials/embed-on-website.mdindex 6102b909f..dde17265f 100644--- a/public/docs/tutorials/embed-on-website.md+++ b/public/docs/tutorials/embed-on-website.md@@ -1,6 +1,6 @@-# Embed a 3D Agent on Your Website+# Embed a three.ws on Your Website-This tutorial walks you through every path for adding a 3D agent to your site — from a no-code copy-paste to a full React integration. Pick the path that matches how you build.+This tutorial walks you through every path for adding a three.ws to your site — from a no-code copy-paste to a full React integration. Pick the path that matches how you build.**What you'll learn:**- Get an embed snippet from the Studio (no coding required)@@ -51,7 +51,7 @@ The Studio offers two snippet formats. Here's what each one looks like and when></script><!-- Where you want the agent -->-<agent-3d agent-id="42" chain-id="8453" mode="floating"></agent-3d>+<agent-three.ws-id="42" chain-id="8453" mode="floating"></agent-3d>```The iframe is the safer default for platforms where you can't control the `<head>` (Notion, Substack, Medium). The web component is the right choice anywhere you control the full page — it gives you CSS theming, JS events, and better performance.@@ -117,7 +117,7 @@ For an inline embed with explicit dimensions:**Lazy loading is on by default.** The agent won't boot until it scrolls into the viewport (powered by `IntersectionObserver`). Add `eager` to load immediately regardless:```html-<agent-3d agent-id="42" chain-id="8453" eager></agent-3d>+<agent-three.ws-id="42" chain-id="8453" eager></agent-3d>```---@@ -185,7 +185,7 @@ export default function Page() {return (<main><h1>Welcome</h1>- <Agent3D agentId="42" mode="floating" />+ <Agentthree.wsId="42" mode="floating" /></main>);}@@ -314,7 +314,7 @@ add_action('wp_head', 'add_3dagent_script');Then add a **Custom HTML** block in the Gutenberg editor wherever you want the agent:```html-<agent-3d agent-id="42" chain-id="8453"></agent-3d>+<agent-three.ws-id="42" chain-id="8453"></agent-3d>```---@@ -431,13 +431,13 @@ Set a background color with the `background` attribute:```html<!-- Transparent (default) — composites over your page -->-<agent-3d agent-id="42" background="transparent"></agent-3d>+<agent-three.ws-id="42" background="transparent"></agent-3d><!-- Dark scene background -->-<agent-3d agent-id="42" background="dark"></agent-3d>+<agent-three.ws-id="42" background="dark"></agent-3d><!-- Light scene background -->-<agent-3d agent-id="42" background="light"></agent-3d>+<agent-three.ws-id="42" background="light"></agent-3d>```---@@ -460,7 +460,7 @@ Or if the parent truly needs to stack above the agent, wrap the `<agent-3d>` in**Agent is too small / too large**Set explicit `width` and `height` attributes (CSS length values):```html-<agent-3d agent-id="42" width="480px" height="640px"></agent-3d>+<agent-three.ws-id="42" width="480px" height="640px"></agent-3d>```**Next.js hydration error**diff --git a/public/docs/tutorials/first-agent.md b/public/docs/tutorials/first-agent.mdindex f482f407f..8bde412e0 100644--- a/public/docs/tutorials/first-agent.md+++ b/public/docs/tutorials/first-agent.md@@ -1,4 +1,4 @@-# Build Your First 3D Agent+# Build Your First three.wsBy the end of this tutorial you will have a live, talking 3D character on a page you can share with anyone. No build tools, no framework, no prior 3D experience required — just a text editor and a browser.@@ -61,7 +61,7 @@ Create a new folder somewhere on your computer. Inside it, create a file called<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>My 3D Agent</title>+ <title>My three.ws</title><style>body {margin: 0;@@ -415,7 +415,7 @@ Here's the complete `index.html` all in one place:<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>My 3D Agent</title>+ <title>My three.ws</title><style>body {margin: 0;@@ -490,7 +490,7 @@ Now that you have a working agent, here's what to explore next:- [Memory system](../memory.md) — the agent can remember things across conversations using local storage or IPFS.**Make it permanent:**-- [ERC-8004 registration](../erc8004.md) — register your agent on-chain for a permanent, decentralized identity. Once registered, anyone can load your agent by its on-chain ID: `<agent-3d agent-id="42" chain-id="8453">`.+- [ERC-8004 registration](../erc8004.md) — register your agent on-chain for a permanent, decentralized identity. Once registered, anyone can load your agent by its on-chain ID: `<agent-three.ws-id="42" chain-id="8453">`.**Embed it anywhere:**- [Embedding guide](../embedding.md) — embed Aria as a floating bubble in the corner of any existing website, or as an iframe widget with a single line of code.diff --git a/public/docs/tutorials/register-onchain.md b/public/docs/tutorials/register-onchain.mdindex 6f0635c7e..33462581b 100644--- a/public/docs/tutorials/register-onchain.md+++ b/public/docs/tutorials/register-onchain.md@@ -1,6 +1,6 @@# Tutorial: Register Your Agent On-Chain-Give your 3D agent a permanent blockchain identity anyone can verify.+Give your three.ws a permanent blockchain identity anyone can verify.---@@ -30,7 +30,7 @@ Base is a Layer 2 network built on Ethereum. Transactions cost a fraction of a c- **Buy directly on Base** — Coinbase supports Base withdrawals natively. Any exchange that supports Base works.- **Use the testnet for free practice** — Base Sepolia (chain ID 84532) is a test network where ETH has no real value. Get free testnet ETH from the [Coinbase Base Sepolia faucet](https://www.coinbase.com/faucets/base-ethereum-sepolia-faucet). This is the best option if you want to try the flow before spending real money.-**A 3D agent.** Step 1 covers creating one if you don't have one yet.+**A three.ws.** Step 1 covers creating one if you don't have one yet.---@@ -83,7 +83,7 @@ If you already have ETH on Base, skip ahead to Step 3.## Step 3: Connect your wallet-1. In the 3D Agent app, click **Connect Wallet** in the top-right corner+1. In the three.ws app, click **Connect Wallet** in the top-right corner2. Choose how you want to connect:- **MetaMask** — click the MetaMask icon and approve in the extension- **Coinbase Wallet** — click the Coinbase icon@@ -91,7 +91,7 @@ If you already have ETH on Base, skip ahead to Step 3.- **Email login** — enter your email address; a self-custodied embedded wallet is created automatically via Privy (no browser extension needed)- **Google login** — same as email, just faster-3. If you're prompted to sign a message ("Sign in to 3D Agent..."), sign it — this proves wallet ownership and costs no gas.+3. If you're prompted to sign a message ("Sign in to three.ws..."), sign it — this proves wallet ownership and costs no gas.4. Your shortened address appears in the header: `0xABcd…EF12 · Base`@@ -207,7 +207,7 @@ Replace `0xRegistryAddress` with the Identity Registry contract address shown onOn your agent's page, click the QR icon in the Passport widget. A scannable code appears — save it or screenshot it for physical printouts, conference badges, or business cards.**Include it in a README or profile:**-A Markdown link works: `[My 3D Agent](https://three.ws/a/8453/42)`+A Markdown link works: `[My three.ws](https://three.ws/a/8453/42)`---diff --git a/public/docs/validation.md b/public/docs/validation.mdindex dd01ae1d2..5d55bb220 100644--- a/public/docs/validation.md+++ b/public/docs/validation.md@@ -1,6 +1,6 @@# glTF Validation-3D Agent integrates the official [Khronos glTF-Validator](https://github.com/KhronosGroup/glTF-Validator) (compiled to WebAssembly) to check every GLB or glTF 2.0 file against the specification before it is presented or registered. Validation runs automatically after a model loads, and its result drives both the UI and the agent's emotional response.+three.ws integrates the official [Khronos glTF-Validator](https://github.com/KhronosGroup/glTF-Validator) (compiled to WebAssembly) to check every GLB or glTF 2.0 file against the specification before it is presented or registered. Validation runs automatically after a model loads, and its result drives both the UI and the agent's emotional response.---@@ -183,7 +183,7 @@ The minimum check suite for a `pass` verdict includes:- `glb-schema` — file parses as valid GLB with all required chunks- `gltf-validator` — Khronos validator reports zero errors- `manifest-integrity` — the agent card's `model.sha256` matches the actual bytes-- `card-schema` — the card validates against the 3D Agent Card v1 spec+- `card-schema` — the card validates against the three.ws Card v1 spec### Signed attestation (off-chain)@@ -264,7 +264,7 @@ Following these guidelines before exporting will avoid the most common validatioCheck your file in at least two other viewers before registering it:- [model-viewer.dev](https://modelviewer.dev/) — good baseline for web use- [Babylon.js sandbox](https://sandbox.babylonjs.com/) — strict PBR interpretation-- 3D Agent itself — run validation and read the report+- three.ws itself — run validation and read the report---diff --git a/public/docs/viewer.md b/public/docs/viewer.mdindex 9358c6c49..784af61c3 100644--- a/public/docs/viewer.md+++ b/public/docs/viewer.md@@ -1,6 +1,6 @@# 3D Viewer-The viewer is the rendering layer of 3D Agent — a full-featured three.js WebGL scene manager. It handles model loading, camera control, animation playback, lighting, and more. You interact with it directly via the `<agent-3d>` web component or programmatically through the `Viewer` class.+The viewer is the rendering layer of three.ws — a full-featured three.js WebGL scene manager. It handles model loading, camera control, animation playback, lighting, and more. You interact with it directly via the `<agent-3d>` web component or programmatically through the `Viewer` class.## Overviewdiff --git a/public/docs/web-component.md b/public/docs/web-component.mdindex 87c6303b1..526b1db12 100644--- a/public/docs/web-component.md+++ b/public/docs/web-component.md@@ -1,6 +1,6 @@# `<agent-3d>` Web Component API Reference-`<agent-3d>` is a custom HTML element that ships the entire 3D Agent stack in a single script tag. Drop the loader, use the element — no build step, no framework required.+`<agent-3d>` is a custom HTML element that ships the entire three.ws stack in a single script tag. Drop the loader, use the element — no build step, no framework required.```html<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"diff --git a/public/docs/widgets.md b/public/docs/widgets.mdindex 32f93283e..d69eb9ae9 100644--- a/public/docs/widgets.md+++ b/public/docs/widgets.md@@ -359,7 +359,7 @@ Response:{"type": "rich","version": "1.0",- "provider_name": "3D Agent",+ "provider_name": "three.ws","provider_url": "https://three.ws/","title": "My Widget","html": "<iframe …></iframe>",diff --git a/public/embed.js b/public/embed.jsindex a4abe61c8..2a4dc4d24 100644--- a/public/embed.js+++ b/public/embed.js@@ -1,4 +1,4 @@-// 3D Agent — script-tag embed.+// three.ws — script-tag embed.// <script async src="https://three.ws/embed.js" data-widget="wdgt_..."></script>//// Injects a sandboxed iframe at the script tag's location, sized via data-*@@ -45,7 +45,7 @@var iframe = document.createElement('iframe');iframe.src = src;- iframe.title = '3D Agent widget ' + widgetId;+ iframe.title = 'three.ws widget ' + widgetId;iframe.loading = 'lazy';iframe.allow = 'autoplay; xr-spatial-tracking; clipboard-write';iframe.setAttribute('width', width);diff --git a/public/features/index.html b/public/features/index.htmlindex ff922dad1..4b4441e90 100644--- a/public/features/index.html+++ b/public/features/index.html@@ -4,19 +4,19 @@<meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />- <title>Features · 3D Agent</title>+ <title>Features · three.ws</title><meta name="author" content="nirholas" /><metaname="description"- content="3D Agent: a verifiable, on-chain identity for every AI avatar. ERC-8004 native, with a built-in empathy layer and one-click deploy across 20+ EVM chains."+ content="three.ws: a verifiable, on-chain identity for every AI avatar. ERC-8004 native, with a built-in empathy layer and one-click deploy across 20+ EVM chains."/><meta name="theme-color" content="#000000" /><meta property="og:type" content="website" />- <meta property="og:title" content="Features · 3D Agent" />+ <meta property="og:title" content="Features · three.ws" /><metaproperty="og:description"- content="ERC-8004 native 3D agents with an empathy layer. Deploy on-chain in one transaction."+ content="ERC-8004 native three.wss with an empathy layer. Deploy on-chain in one transaction."/><meta property="og:url" content="https://three.ws/features" /><meta property="og:image" content="https://three.ws/og-image.png" />@@ -39,7 +39,7 @@<header><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav" aria-label="Primary"><a href="/app">Viewer</a>@@ -133,7 +133,7 @@<span class="act-eyebrow-dot"></span><span>Live, in your browser</span></div>- <h2 id="act1-title">A 3D agent is <em>one tag</em> away.</h2>+ <h2 id="act1-title">A three.ws is <em>one tag</em> away.</h2><p class="act-lede">No SDK. No iframe. Drop a single web component into any page and you have alazy-loading, render-anywhere AI avatar with built-in identity, memory, and@@ -141,7 +141,7 @@</p><div class="act-code" aria-label="Embed code"><pre><code><script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script>-<agent-3d agent-id="<span class="code-em" data-role="code-agent-id">0x3d…a9f</span>"></agent-3d></code></pre>+<agent-three.ws-id="<span class="code-em" data-role="code-agent-id">0x3d…a9f</span>"></agent-3d></code></pre><buttontype="button"class="act-code-copy"@@ -393,12 +393,12 @@</ul><footer class="features-footer"><p>- 3D Agent ·+ three.ws ·<ahref="https://github.com/nirholas/3D"target="_blank"rel="noopener"- aria-label="3D Agent on GitHub (opens in a new tab)"+ aria-label="three.ws on GitHub (opens in a new tab)">GitHub</a>· Built ondiff --git a/public/first-meet/index.html b/public/first-meet/index.htmlindex befed6937..bb1053fdb 100644--- a/public/first-meet/index.html+++ b/public/first-meet/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />- <title>Meet Your Agent · 3D Agent</title>+ <title>Meet Your Agent · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {diff --git a/public/lobehub/README.md b/public/lobehub/README.mdindex 68e7f5f26..e5b08cd39 100644--- a/public/lobehub/README.md+++ b/public/lobehub/README.md@@ -1,4 +1,4 @@-# 3D Agent — LobeHub Plugin+# three.ws — LobeHub PluginEmbeds a rigged 3D avatar agent into any LobeHub instance via the plugin manifest + iframe bridge.diff --git a/public/lobehub/iframe/boot.js b/public/lobehub/iframe/boot.jsindex 4185b2857..09cbb38e4 100644--- a/public/lobehub/iframe/boot.js+++ b/public/lobehub/iframe/boot.js@@ -1,4 +1,4 @@-// LobeHub iframe bridge for 3D Agent.+// LobeHub iframe bridge for three.ws.//// Primary protocol: v1 spec envelope// { v: 1, source: 'agent-host'|'agent-3d', id, inReplyTo?, kind, op, payload }diff --git a/public/lobehub/iframe/index.html b/public/lobehub/iframe/index.htmlindex f099650f6..a0c5ad12f 100644--- a/public/lobehub/iframe/index.html+++ b/public/lobehub/iframe/index.html@@ -2,7 +2,7 @@<html lang="en"><head><meta charset="utf-8" />- <title>3D Agent — LobeHub Embed</title>+ <title>three.ws — LobeHub Embed</title><meta name="viewport" content="width=device-width, initial-scale=1" /><meta name="robots" content="noindex" /><style>diff --git a/public/lobehub/plugin.json b/public/lobehub/plugin.jsonindex 8880092cb..0a1565b4e 100644--- a/public/lobehub/plugin.json+++ b/public/lobehub/plugin.json@@ -2,10 +2,10 @@"$schema": "https://lobehub.com/schema/plugin-manifest/v1.json","identifier": "3d-agent","version": "0.1.0",- "author": "3D Agent",+ "author": "three.ws","homepage": "https://three.ws/","meta": {- "title": "3D Agent",+ "title": "three.ws","description": "Embodied 3D avatar agent with continuous emotion blending. Renders a rigged glTF avatar inside chat, responds with gestures, speech, and on-chain ERC-8004 identity.","avatar": "https://three.ws/icon.svg","tags": ["3d", "avatar", "agent", "embodied", "empathy", "erc-8004"]diff --git a/public/login.html b/public/login.htmlindex 997fca49d..abcf075b3 100644--- a/public/login.html+++ b/public/login.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Sign in · 3D Agent</title>+ <title>Sign in · three.ws</title><link rel="icon" href="/favicon.ico" /><link rel="stylesheet" href="/wallet-connect.css" /><style>@@ -166,7 +166,7 @@</head><body><form class="card" id="f">- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>Welcome back</h1><p class="sub">Sign in to manage your avatars.</p><label for="email">Email or username</label>diff --git a/public/my-agents/index.html b/public/my-agents/index.htmlindex c52f66bca..f2db5fc54 100644--- a/public/my-agents/index.html+++ b/public/my-agents/index.html@@ -4,7 +4,7 @@<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><meta name="robots" content="noindex" />- <title>My Agents · 3D Agent</title>+ <title>My Agents · three.ws</title><meta name="description" content="Your ERC-8004 agents across every supported chain." /><link rel="canonical" href="https://three.ws/my-agents" /><link rel="icon" href="/favicon.ico" />@@ -12,7 +12,7 @@</head><body><header class="my-agents-header">- <div class="my-agents-header__brand"><a href="/">3D Agent</a></div>+ <div class="my-agents-header__brand"><a href="/">three.ws</a></div><nav class="my-agents-header__nav" aria-label="Page navigation"><a href="/app">Viewer</a><a href="/discover">Discover</a>diff --git a/public/register.html b/public/register.htmlindex 423c65fab..26d946a32 100644--- a/public/register.html+++ b/public/register.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Create account · 3D Agent</title>+ <title>Create account · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -119,7 +119,7 @@</head><body><form class="card" id="f">- <p class="brand">3D Agent</p>+ <p class="brand">three.ws</p><h1>Create account</h1><p class="sub">Pick a username and password — no email needed.</p><label for="username">Username</label>diff --git a/public/reputation/index.html b/public/reputation/index.htmlindex 34fe899de..ff0951486 100644--- a/public/reputation/index.html+++ b/public/reputation/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Agent Reputation — 3D Agent</title>+ <title>Agent Reputation — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><meta name="description" content="View and submit reviews for on-chain agents." /><meta name="theme-color" content="#0a0a0a" />diff --git a/public/studio/index.html b/public/studio/index.htmlindex 5cd5f3707..425a2c37b 100644--- a/public/studio/index.html+++ b/public/studio/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Widget Studio · 3D Agent</title>+ <title>Widget Studio · three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><metaname="description"@@ -23,7 +23,7 @@<body class="studio-body"><header class="studio-header"><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a><span class="studio-tag">Studio</span></h1><nav>diff --git a/public/validation/REPORT_FORMAT.md b/public/validation/REPORT_FORMAT.mdindex 079fcd562..ace4b27d0 100644--- a/public/validation/REPORT_FORMAT.md+++ b/public/validation/REPORT_FORMAT.md@@ -93,4 +93,4 @@ Validators can verify the hash by fetching the report from IPFS and recomputing- Only Ethereum-validated wallets can submit validations.- The `validator` address is recorded on-chain.- End-users can view all validations for an agent and choose which validators to trust.-- No endorsement or filtering by the 3D Agent team — raw records from all validators are visible.+- No endorsement or filtering by the three.ws team — raw records from all validators are visible.diff --git a/public/validation/index.html b/public/validation/index.htmlindex f3b7c491e..1b8784736 100644--- a/public/validation/index.html+++ b/public/validation/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Validation Records · 3D Agent</title>+ <title>Validation Records · three.ws</title><link rel="icon" href="/favicon.ico" /><style>:root {@@ -394,7 +394,7 @@</head><body><header>- <div class="brand"><a href="/">3D Agent</a></div>+ <div class="brand"><a href="/">three.ws</a></div><nav><a href="/">Home</a><a href="/dashboard">Dashboard</a>diff --git a/public/wallet/connect-button-solana.js b/public/wallet/connect-button-solana.jsindex 6df75b9ee..2e62c3e2a 100644--- a/public/wallet/connect-button-solana.js+++ b/public/wallet/connect-button-solana.js@@ -51,7 +51,7 @@ function buildSiwsMessage(address, nonce, { domain, uri, issuedAt, expirationTim`${domain} wants you to sign in with your Solana account:`,address,'',- 'Sign in to 3D Agent. This request will not trigger any blockchain transaction or cost any fees.',+ 'Sign in to three.ws. This request will not trigger any blockchain transaction or cost any fees.','',`URI: ${uri}`,'Version: 1',diff --git a/public/wallet/connect-button.js b/public/wallet/connect-button.jsindex 404b68075..2d7cf2223 100644--- a/public/wallet/connect-button.js+++ b/public/wallet/connect-button.js@@ -28,7 +28,7 @@ function defaultMessageBuilder(address, chainId, nonce, { domain, uri, issuedAt,`${domain} wants you to sign in with your Ethereum account:`,address,'',- 'Sign in to 3D Agent. This does not cost anything and proves wallet ownership.',+ 'Sign in to three.ws. This does not cost anything and proves wallet ownership.','',`URI: ${uri}`,'Version: 1',diff --git a/public/widgets-gallery/index.html b/public/widgets-gallery/index.htmlindex 8e6c3791c..b9e32ac76 100644--- a/public/widgets-gallery/index.html+++ b/public/widgets-gallery/index.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" />- <title>Widgets — 3D Agent</title>+ <title>Widgets — three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><metaname="description"@@ -12,8 +12,8 @@<meta name="theme-color" content="#0a0a0a" /><meta property="og:type" content="website" />- <meta property="og:site_name" content="3D Agent" />- <meta property="og:title" content="3D Agent — Widgets" />+ <meta property="og:site_name" content="three.ws" />+ <meta property="og:title" content="three.ws — Widgets" /><metaproperty="og:description"content="Embeddable 3D, no code. Drop a widget into any site, blog, or Notion doc."@@ -34,7 +34,7 @@<body class="gallery-body"><header class="gallery-header"><h1>- <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>3D Agent</a>+ <a href="/"><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a></h1><nav class="features-nav"><a href="/">Viewer</a>@@ -50,7 +50,7 @@<p class="eyebrow">Widget Studio</p><h2>Embeddable 3D, no code.</h2><p class="lede">- Drop a 3D agent — turntable, talking head, on-chain passport, or guided tour —+ Drop a three.ws — turntable, talking head, on-chain passport, or guided tour —into any site, blog, or Notion doc with one line of HTML.</p><div class="hero-badges">@@ -80,7 +80,7 @@<footer class="gallery-footer"><p>- 3D Agent · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> ·+ three.ws · <a href="/">Viewer</a> · <a href="/widgets">Widgets</a> ·<a href="/docs/widgets">Docs</a> ·<a href="https://github.com/nirholas/3D">GitHub</a></p>diff --git a/scripts/validate-agent-cards.mjs b/scripts/validate-agent-cards.mjsindex add3f802c..ddbd09b5e 100644--- a/scripts/validate-agent-cards.mjs+++ b/scripts/validate-agent-cards.mjs@@ -1,6 +1,6 @@#!/usr/bin/env node/**- * Validate every agent card in the repo against the 3D Agent Card v1 schema.+ * Validate every agent card in the repo against the three.ws Card v1 schema.** Inputs:* - public/.well-known/3d-agent-card.schema.json (the schema)diff --git a/sdk/src/permissions.d.ts b/sdk/src/permissions.d.tsindex e0c5aa472..354f08b76 100644--- a/sdk/src/permissions.d.ts+++ b/sdk/src/permissions.d.ts@@ -102,7 +102,7 @@ export interface PermissionsClientOptions {}/**- * HTTP client for the 3D Agent permissions API.+ * HTTP client for the three.ws permissions API.** `grant` and `revoke` are browser-only — they require a wallet-connected* `ethers.Signer` and will throw `PermissionError('browser_only', …)` in Node.js.diff --git a/sdk/src/permissions.js b/sdk/src/permissions.jsindex 5ac6a942c..00bdbf3f9 100644--- a/sdk/src/permissions.js+++ b/sdk/src/permissions.js@@ -1,7 +1,7 @@/*** @nirholas/agent-kit — Permissions module*- * ERC-7710 scoped delegation client for 3D Agent.+ * ERC-7710 scoped delegation client for three.ws.** Quick start:* import { PermissionsClient } from '@nirholas/agent-kit/permissions';@@ -31,7 +31,7 @@ export class PermissionError extends Error {}/**- * HTTP client for the 3D Agent permissions API.+ * HTTP client for the three.ws permissions API.** Methods `grant` and `revoke` require a browser-connected ethers v6 Signer and will* throw `PermissionError('browser_only', ...)` when called in a Node.js environment.diff --git a/specs/3D_AGENT_CARD.md b/specs/3D_AGENT_CARD.mdindex 7bcb03177..3ba13aee5 100644--- a/specs/3D_AGENT_CARD.md+++ b/specs/3D_AGENT_CARD.md@@ -1,4 +1,4 @@-# 3D Agent Card v1+# three.ws Card v1A strict superset of the [ERC-8004 registration card](https://eips.ethereum.org/EIPS/eip-8004#registration-v1) for agents whose primary embodiment is a 3D model. This is the JSON document the ERC-721 `tokenURI` resolves to on the Identity Registry.@@ -9,7 +9,7 @@ A strict superset of the [ERC-8004 registration card](https://eips.ethereum.org/## Why-ERC-8004 is format-agnostic — the agent card can describe anything. That works for text/LLM agents but says nothing about 3D. Without a shared schema, every 3D agent registry and viewer reinvents the same fields (model URI, hash, bounding box, license) incompatibly. v1 pins those fields so any 3D-aware consumer can:+ERC-8004 is format-agnostic — the agent card can describe anything. That works for text/LLM agents but says nothing about 3D. Without a shared schema, every three.ws registry and viewer reinvents the same fields (model URI, hash, bounding box, license) incompatibly. v1 pins those fields so any 3D-aware consumer can:1. Render the agent without parsing vendor-specific JSON.2. Verify the model bytes match the card (`sha256`).@@ -46,7 +46,7 @@ Only `model` is new and required. The block is intentionally small:## Conformance-A document conforms to 3D Agent Card v1 if:+A document conforms to three.ws Card v1 if:1. It validates against the JSON Schema linked above.2. Its `type` field includes both:diff --git a/specs/EMBED_HOST_PROTOCOL.md b/specs/EMBED_HOST_PROTOCOL.mdindex 50a770a7f..2aa4cc7de 100644--- a/specs/EMBED_HOST_PROTOCOL.md+++ b/specs/EMBED_HOST_PROTOCOL.md@@ -1,6 +1,6 @@# EMBED_HOST_PROTOCOL — v1-Versioned postMessage bus between a host page (Claude.ai, LobeHub, blog) and an embedded 3D Agent iframe.+Versioned postMessage bus between a host page (Claude.ai, LobeHub, blog) and an embedded three.ws iframe.---diff --git a/specs/EMBED_SPEC.md b/specs/EMBED_SPEC.mdindex a18d0f271..1dda5e688 100644--- a/specs/EMBED_SPEC.md+++ b/specs/EMBED_SPEC.md@@ -291,7 +291,7 @@ If the script fails to load, the element falls back to:```html<agent-3d src="agent://base/42"><!-- this content shows if JS disabled or script blocked -->- <img src="./leo-poster.webp" alt="Coach Leo (3D agent, requires JavaScript)" />+ <img src="./leo-poster.webp" alt="Coach Leo (three.ws, requires JavaScript)" /></agent-3d>```diff --git a/specs/ENS_AGENT_CLAIM.md b/specs/ENS_AGENT_CLAIM.mdindex 7912a42fc..e2540c468 100644--- a/specs/ENS_AGENT_CLAIM.md+++ b/specs/ENS_AGENT_CLAIM.md@@ -1,10 +1,10 @@# ENS / DNS Agent Claim — v1-A convention for letting a domain prove it owns a 3D Agent (and vice versa). Bidirectional binding between human-readable names and on-chain agent identities.+A convention for letting a domain prove it owns a three.ws (and vice versa). Bidirectional binding between human-readable names and on-chain agent identities.## Why-ERC-8004 gives an agent a CAIP-10 reference. Humans don't memorize `eip155:8453:0x8004A169…/42`. Without a name binding, every "this is the official 3D Agent for example.com" claim is just an unverifiable assertion in a card.+ERC-8004 gives an agent a CAIP-10 reference. Humans don't memorize `eip155:8453:0x8004A169…/42`. Without a name binding, every "this is the official three.ws for example.com" claim is just an unverifiable assertion in a card.This spec defines two records that are cheap to set, easy to verify, and require no new on-chain infrastructure.diff --git a/specs/SECURITY.md b/specs/SECURITY.mdindex b35fc7ef1..352e0ce82 100644--- a/specs/SECURITY.md+++ b/specs/SECURITY.md@@ -1,8 +1,8 @@-# Security & Threat Model — 3D Agent Card v1+# Security & Threat Model — three.ws Card v1-Scope: agents registered under [3D Agent Card v1](3D_AGENT_CARD.md) on the ERC-8004 Identity, Reputation, and Validation registries. For general site security contact info, see [/.well-known/security.txt](../public/.well-known/security.txt).+Scope: agents registered under [three.ws Card v1](3D_AGENT_CARD.md) on the ERC-8004 Identity, Reputation, and Validation registries. For general site security contact info, see [/.well-known/security.txt](../public/.well-known/security.txt).-This document enumerates abuse vectors specific to 3D agent registration and lists the current mitigation (or marks it open).+This document enumerates abuse vectors specific to three.ws registration and lists the current mitigation (or marks it open).## Vectorsdiff --git a/specs/VALIDATORS.md b/specs/VALIDATORS.mdindex 84447ccea..44fb971d3 100644--- a/specs/VALIDATORS.md+++ b/specs/VALIDATORS.md@@ -17,7 +17,7 @@ The minimum suite for "verified" status:| `glb-schema` | File parses as valid glTF/GLB; all required chunks present. || `gltf-validator` | Khronos `gltf-validator` reports zero errors (warnings allowed). || `manifest-integrity` | Card `model.sha256` matches the bytes at `model.uri`. |-| `card-schema` | Card validates against [3D Agent Card v1](3D_AGENT_CARD.md). |+| `card-schema` | Card validates against [three.ws Card v1](3D_AGENT_CARD.md). || `services-reachable` | Each `services[].endpoint` returns 2xx within 5s (informational). |A `pass` verdict requires zero `fail` suites. `warn` is allowed.diff --git a/src/account.js b/src/account.jsindex daed3864d..431b659f1 100644--- a/src/account.js+++ b/src/account.js@@ -1,4 +1,4 @@-// Lightweight client helpers for talking to the 3D Agent backend from the viewer.+// Lightweight client helpers for talking to the three.ws backend from the viewer.// Keeps the UI code in app.js/avatar-creator.js clean.const API = ''; // same origindiff --git a/src/agent-avatar.js b/src/agent-avatar.jsindex 26d9dffa5..61d0c2b63 100644--- a/src/agent-avatar.js+++ b/src/agent-avatar.js@@ -14,7 +14,7 @@* never snapping between moods, always drifting. Morph targets and head* orientation are updated every animation frame.*- * Nobody has done this before in a 3D agent system:+ * Nobody has done this before in a three.ws system:* you can feel 40% concerned + 30% curious + 30% neutral simultaneously,* and the avatar's face reflects all three at once — exactly as humans do.*/diff --git a/src/agent-skills.js b/src/agent-skills.jsindex 205e8ebcc..5e042c37d 100644--- a/src/agent-skills.js+++ b/src/agent-skills.js@@ -166,7 +166,7 @@ export class AgentSkills {description: 'Greet the user and introduce the agent',instruction: 'Say hello warmly, offer to help with 3D models or agent configuration',animationHint: 'wave',- voicePattern: "Hey! I'm {{name}}, your 3D agent. Drop a model or ask me anything.",+ voicePattern: "Hey! I'm {{name}}, your three.ws. Drop a model or ask me anything.",mcpExposed: true,inputSchema: { type: 'object', properties: { userName: { type: 'string' } } },handler: async (args, ctx) => {diff --git a/src/app.js b/src/app.jsindex 5d425e294..950c7e397 100644--- a/src/app.js+++ b/src/app.js@@ -198,7 +198,7 @@ class App {return;}- // /showcase — browsable marketplace of every indexed 3D agent.+ // /showcase — browsable marketplace of every indexed three.ws.if (options.showcase) {this._showShowcasePage();this._initAgentSystem();@@ -1430,5 +1430,5 @@ document.body.innerHTML += Footer();document.addEventListener('DOMContentLoaded', () => {const app = new App(document.body, location);window.VIEWER.app = app;- console.info('[3D Agent] Debugging data exported as `window.VIEWER`.');+ console.info('[three.ws] Debugging data exported as `window.VIEWER`.');});diff --git a/src/artifact/entry.js b/src/artifact/entry.jsindex 02414db7b..d0d52a7e1 100644--- a/src/artifact/entry.js+++ b/src/artifact/entry.js@@ -1,4 +1,4 @@-// 3D Agent Claude Artifact Bundle+// three.ws Claude Artifact Bundle// Lightweight viewer for agents inside Claude Artifacts// Loads three.js from CDN (esm.sh is allowed in artifact sandboxes)// Usage: <script src="artifact.js"></script>diff --git a/src/auth/walletconnect-bridge.js b/src/auth/walletconnect-bridge.jsindex 634ded381..1bd29d9be 100644--- a/src/auth/walletconnect-bridge.js+++ b/src/auth/walletconnect-bridge.js@@ -104,7 +104,7 @@ export async function signInWithWalletConnect({ projectId, chains } = {}) {`${domain} wants you to sign in with your Ethereum account:`,address,'',- 'Sign in to 3D Agent.',+ 'Sign in to three.ws.','',`URI: ${uri}`,'Version: 1',diff --git a/src/element.js b/src/element.jsindex dbd7ef488..4b7b406dc 100644--- a/src/element.js+++ b/src/element.js@@ -915,9 +915,9 @@ class Agent3DElement extends HTMLElement {brain: {provider: this.getAttribute('brain') ? 'anthropic' : 'none',model: this.getAttribute('brain') || undefined,- instructions: instructionsAttr || 'You are an embodied 3D agent.',+ instructions: instructionsAttr || 'You are an embodied three.ws.',},- instructions: instructionsAttr || 'You are an embodied 3D agent.',+ instructions: instructionsAttr || 'You are an embodied three.ws.',voice: { tts: { provider: 'browser' }, stt: { provider: 'browser' } },skills: (this.getAttribute('skills') || '').split(',')diff --git a/src/erc8004/badge.js b/src/erc8004/badge.jsindex c04572751..476b99920 100644--- a/src/erc8004/badge.js+++ b/src/erc8004/badge.js@@ -1,5 +1,5 @@/**- * <three-d-agent-badge> — embeddable trust badge for an ERC-8004 / 3D Agent Card v1 agent.+ * <three-d-agent-badge> — embeddable trust badge for an ERC-8004 / three.ws Card v1 agent.** Usage:* <script type="module" src="https://three.ws/erc8004/badge.js"></script>@@ -7,7 +7,7 @@** Attributes:* - agent CAIP-style ref: "eip155:<chainId>:<registry>/<tokenId>"- * - card-url Direct URL to a 3D Agent Card v1 JSON (alternative to `agent`)+ * - card-url Direct URL to a three.ws Card v1 JSON (alternative to `agent`)* - resolver Resolver base URL (default: https://three.ws/)** Verification performed (client-side):@@ -96,10 +96,10 @@ function statusFor(checks) {const LABELS = {loading: 'Verifying…',- verified: '3D Agent · Verified',- partial: '3D Agent · Partial',- unverified: '3D Agent · Unverified',- error: '3D Agent · Error',+ verified: 'three.ws · Verified',+ partial: 'three.ws · Partial',+ unverified: 'three.ws · Unverified',+ error: 'three.ws · Error',};class ThreeDAgentBadge extends HTMLElement {diff --git a/src/erc8004/showcase.js b/src/erc8004/showcase.jsindex d5890a567..4323388e0 100644--- a/src/erc8004/showcase.js+++ b/src/erc8004/showcase.js@@ -112,7 +112,7 @@ class ShowcasePage {<header class="showcase-hero"><div class="showcase-hero-inner"><div class="showcase-eyebrow">ERC-8004 · Directory</div>- <h1 class="showcase-title">Every 3D agent on-chain.</h1>+ <h1 class="showcase-title">Every three.ws on-chain.</h1><p class="showcase-subtitle">Browse every ERC-8004 agent with a <code>gltf</code> body — discovered across${supportedChainIds().length} chains and indexed from canonical registries. Click any@@ -121,7 +121,7 @@ class ShowcasePage {<div class="showcase-stats" data-role="stats"><div class="showcase-stat"><span class="showcase-stat-value" data-role="statTotal">—</span>- <span class="showcase-stat-label">3D agents</span>+ <span class="showcase-stat-label">three.wss</span></div><div class="showcase-stat"><span class="showcase-stat-value">${splitChains().mainnet.length}+${splitChains().testnet.length}</span>@@ -422,7 +422,7 @@ class ShowcasePage {out.innerHTML = `<div class="showcase-empty"><div class="showcase-empty-art">✨</div>- <h3>No 3D agents found.</h3>+ <h3>No three.wss found.</h3><p class="showcase-muted">Try a different chain filter, flip to ${this._net === 'mainnet' ? 'Testnet' : 'Mainnet'}, or<a href="/deploy">deploy your own</a>.diff --git a/src/erc8004/thumbnail.js b/src/erc8004/thumbnail.jsindex 8ac61594a..0ccdd9ab1 100644--- a/src/erc8004/thumbnail.js+++ b/src/erc8004/thumbnail.js@@ -2,7 +2,7 @@* Client-side GLB → PNG thumbnail renderer.** ERC-8004's `image` field is for 2D ERC-721 marketplace compatibility- * (OpenSea, wallets) which can't render GLB. When a user deploys a 3D agent+ * (OpenSea, wallets) which can't render GLB. When a user deploys a three.ws* without supplying a 2D poster, we render one from the GLB in an offscreen* canvas and pin it alongside the body.*/diff --git a/src/nich-agent.js b/src/nich-agent.jsindex 53fadd0d8..4c2b73ca3 100644--- a/src/nich-agent.js+++ b/src/nich-agent.js@@ -1,7 +1,7 @@/*** NichAgent — Voice + Chat Interface* ------------------------------------- * The conversational surface of the 3D agent.+ * The conversational surface of the three.ws.* Now protocol-aware: responses go through the AgentProtocol bus,* which drives the avatar's Empathy Layer and action timeline.*@@ -22,7 +22,7 @@ const SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecogni* @property {string} [title] Override identity.name in the panel header.* @property {{accent?:string, background?:string, caption?:string}} [theme]* CSS custom-property overrides (--nich-accent, --nich-bg, --nich-fg).- * @property {boolean} [showPoweredBy] Show "powered by 3D Agent" footer link.+ * @property {boolean} [showPoweredBy] Show "powered by three.ws" footer link.* @property {boolean} [voiceInput] Enable mic button (default true).* @property {boolean} [voiceOutput] Speak replies via speechSynthesis (default true).* @property {(text:string)=>Promise<{reply?:string,actions?:any[]}>} [onSend]@@ -188,7 +188,7 @@ export class NichAgent {this.container.appendChild(this.panel);this.toggleBtn = document.createElement('button');this.toggleBtn.className = 'nich-toggle';- this.toggleBtn.setAttribute('aria-label', 'Talk to 3D Agent');+ this.toggleBtn.setAttribute('aria-label', 'Talk to three.ws');this.toggleBtn.title = 'Talk to Agent';this.toggleBtn.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="currentColor">@@ -602,7 +602,7 @@ export class NichAgent {return 'Open the Performance folder in the controls panel for live FPS/MS/MB stats.';}if (lower.match(/\b(who|what).*(you|this|agent)\b/)) {- return `I'm ${this.identity?.name || '3D Agent'} — present, embodied, and here to help with your 3D work.`;+ return `I'm ${this.identity?.name || 'three.ws'} — present, embodied, and here to help with your 3D work.`;}if (lower.match(/\b(memory|remember|memories)\b/)) {const stats = this.identity?.memory?.stats;diff --git a/src/wallet-auth.js b/src/wallet-auth.jsindex 208b9f025..bb6a190e8 100644--- a/src/wallet-auth.js+++ b/src/wallet-auth.js@@ -22,7 +22,7 @@ export async function signInWithWallet() {`${location.host} wants you to sign in with your Ethereum account:`,address,'',- 'Sign in to 3D Agent.',+ 'Sign in to three.ws.','',`URI: ${location.origin}`,'Version: 1',diff --git a/src/wallet/connect-button.js b/src/wallet/connect-button.jsindex cd1bd4390..ed69057ea 100644--- a/src/wallet/connect-button.js+++ b/src/wallet/connect-button.js@@ -43,7 +43,7 @@ function defaultMessageBuilder(address, chainId, nonce, { domain, uri, issuedAt,`${domain} wants you to sign in with your Ethereum account:`,address,'',- 'Sign in to 3D Agent. This does not cost anything and proves wallet ownership.',+ 'Sign in to three.ws. This does not cost anything and proves wallet ownership.','',`URI: ${uri}`,'Version: 1',diff --git a/tests/discover-rename.test.js b/tests/discover-rename.test.jsindex 9a38db222..8b7f10995 100644--- a/tests/discover-rename.test.js+++ b/tests/discover-rename.test.js@@ -93,7 +93,7 @@ describe('discover/my-agents rename — static page contents', () => {const path = p('public/discover/index.html');expect(existsSync(path)).toBe(true);const html = readFileSync(path, 'utf8');- expect(html).toContain('<title>Discover · 3D Agent</title>');+ expect(html).toContain('<title>Discover · three.ws</title>');expect(html).toContain('ERC-8004 Agent Directory');});@@ -101,7 +101,7 @@ describe('discover/my-agents rename — static page contents', () => {const path = p('public/my-agents/index.html');expect(existsSync(path)).toBe(true);const html = readFileSync(path, 'utf8');- expect(html).toContain('<title>My Agents · 3D Agent</title>');+ expect(html).toContain('<title>My Agents · three.ws</title>');expect(html).toContain('On-chain Agents');});diff --git a/tests/features-page.test.js b/tests/features-page.test.jsindex a7ca52eb8..2d7ecd4fc 100644--- a/tests/features-page.test.js+++ b/tests/features-page.test.js@@ -21,7 +21,7 @@ describe('/features page — structure', () => {});it('has metadata: title, canonical, og:image', () => {- expect(html).toContain('<title>Features · 3D Agent</title>');+ expect(html).toContain('<title>Features · three.ws</title>');expect(html).toContain('rel="canonical"');expect(html).toContain('og:image');});diff --git a/tests/share-panel.test.js b/tests/share-panel.test.jsindex d56918a93..bbf7c2bc0 100644--- a/tests/share-panel.test.js+++ b/tests/share-panel.test.js@@ -123,7 +123,7 @@ describe('share-panel — buildIframeSnippet', () => {describe('share-panel — buildWebComponentSnippet', () => {it('produces an <agent-3d> snippet with the correct id', () => {const snippet = buildWebComponentSnippet({ origin: ORIGIN, agentId: ID });- expect(snippet).toContain(`<agent-3d agent-id="${ID}"`);+ expect(snippet).toContain(`<agent-three.ws-id="${ID}"`);expect(snippet).toContain(`src="${ORIGIN}/dist-lib/agent-3d.js"`);});diff --git a/vite.config.js b/vite.config.jsindex 805b5f388..1a7b6c760 100644--- a/vite.config.js+++ b/vite.config.js@@ -112,8 +112,8 @@ const appConfig = {registerType: 'autoUpdate',includeAssets: ['favicon.ico', 'pwa-192x192.png', 'pwa-512x512.png', 'pwa-icon.svg'],manifest: {- name: '3D Agent — AI-Powered 3D Model Viewer',- short_name: '3D Agent',+ name: 'three.ws — AI-Powered 3D Model Viewer',+ short_name: 'three.ws',description:'Drag and drop glTF, GLB, and 3D files to preview instantly in your browser.',theme_color: '#000000',