Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat: add wordmark logo to footer and update camera orbit for model viewer
nirholas5f743af0daf7
diff --git a/avatar-page.html b/avatar-page.htmlindex fa2e519aa..2b46dcfe3 100644--- a/avatar-page.html+++ b/avatar-page.html@@ -263,6 +263,7 @@<div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">+ <img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span><span>three.ws</span></div>diff --git a/index.html b/index.htmlindex c32650267..c61783966 100644--- a/index.html+++ b/index.html@@ -1193,7 +1193,7 @@shadow-intensity="0"exposure="0.7"environment-image="neutral"- camera-orbit="0deg 80deg 4m"+ camera-orbit="0deg 80deg 9m"field-of-view="35deg"loading="lazy"></model-viewer>@@ -1230,6 +1230,7 @@<div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">+ <img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span><span>three.ws</span></div>diff --git a/profile.html b/profile.htmlindex 201fa8632..65055599c 100644--- a/profile.html+++ b/profile.html@@ -351,7 +351,7 @@shadow-intensity="0"exposure="0.7"environment-image="neutral"- camera-orbit="0deg 80deg 4m"+ camera-orbit="0deg 80deg 9m"field-of-view="35deg"loading="lazy"></model-viewer>@@ -388,6 +388,7 @@<div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">+ <img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span><span>three.ws</span></div>diff --git a/profile.html.tmp.650204.1777424377882 b/profile.html.tmp.650204.1777424377882deleted file mode 100644index 8d7b8b66c..000000000--- a/profile.html.tmp.650204.1777424377882+++ /dev/null@@ -1,546 +0,0 @@-<!doctype html>-<html lang="en">- <head>- <meta charset="utf-8" />- <title>Agent Profile</title>- <meta name="viewport" content="width=device-width, initial-scale=1.0" />- <meta name="description" content="On-chain agent identity profile." />- <meta name="theme-color" content="#000000" />-- <link rel="shortcut icon" href="/favicon.ico" />- <link rel="preconnect" href="https://fonts.googleapis.com" />- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />- <link rel="stylesheet" href="/style.css" />- <link rel="stylesheet" href="/footer.css" />- <script defer src="/footer-newsletter.js"></script>- <link- href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap"- rel="stylesheet"- />- <script- type="module"- src="https://ajax.googleapis.com/ajax/libs/model-viewer/4.0.0/model-viewer.min.js"- ></script>-- <meta property="og:type" content="profile" />- <meta property="og:site_name" content="three.ws">- <meta property="og:url" content="" id="og-url">- <meta property="og:title" content="Agent Profile" id="og-title" />- <meta property="og:description" content="On-chain agent identity." id="og-description" />- <meta property="og:image" content="https://three.ws/assets/og-image.png" id="og-image">- <meta property="og:image:width" content="1200">- <meta property="og:image:height" content="630">- <meta name="twitter:card" content="summary_large_image">- <meta name="twitter:title" content="Agent Profile" id="tw-title">- <meta name="twitter:description" content="On-chain agent identity." id="tw-description">- <meta name="twitter:image" content="https://three.ws/assets/og-image.png" id="tw-image">-- <style>- body {- overflow: auto;- display: flex;- flex-direction: column;- min-height: 100vh;- }-- .profile-page-header {- display: flex;- align-items: center;- gap: 1rem;- padding: 1rem 1.618rem;- border-bottom: 1px solid rgba(255, 255, 255, 0.06);- justify-content: space-between;- }-- .profile-page-header a {- color: rgba(255, 255, 255, 0.4);- text-decoration: none;- font-size: 0.764rem;- }-- .profile-page-header a:hover {- color: rgba(255, 255, 255, 0.8);- }-- .profile-root {- max-width: 960px;- margin: 0 auto;- padding: 2.5rem 1.5rem 5rem;- width: 100%;- }-- /* ── Hero ────────────────────────────────────────────────────────── */- .up-hero {- display: flex;- align-items: center;- gap: 1.5rem;- margin-bottom: 2.5rem;- }-- .up-avatar-ring {- width: 72px;- height: 72px;- border-radius: 50%;- border: 1px solid rgba(255, 255, 255, 0.12);- background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.06) 0%, transparent 70%);- display: flex;- align-items: center;- justify-content: center;- flex-shrink: 0;- }-- .up-avatar-glyph {- font-size: 1.618rem;- color: rgba(255, 215, 0, 0.5);- }-- .up-address {- font-size: 1.382rem;- font-weight: 300;- color: #e5e5e5;- letter-spacing: -0.02em;- margin: 0 0 0.25rem;- }-- .up-muted {- color: rgba(255, 255, 255, 0.3);- font-size: 0.764rem;- margin: 0;- line-height: 1.5;- }-- .up-full-address {- font-family: monospace;- font-size: 0.618rem;- word-break: break-all;- }-- /* ── Chain filter pills ───────────────────────────────────────────── */- .up-chain-bar {- display: flex;- flex-wrap: wrap;- gap: 0.382rem;- margin-bottom: 1.618rem;- }-- .up-chain-pill {- background: transparent;- border: 1px solid rgba(255, 255, 255, 0.1);- color: rgba(255, 255, 255, 0.4);- font-size: 0.618rem;- padding: 0.25rem 0.618rem;- border-radius: 999px;- cursor: pointer;- font-family: inherit;- transition: color 0.15s, border-color 0.15s, background 0.15s;- }-- .up-chain-pill:hover {- color: rgba(255, 255, 255, 0.8);- border-color: rgba(255, 255, 255, 0.2);- }-- .up-chain-pill--active {- background: rgba(255, 215, 0, 0.1);- border-color: rgba(255, 215, 0, 0.3);- color: rgba(255, 215, 0, 0.9);- }-- /* ── Agent grid ──────────────────────────────────────────────────── */- .up-grid {- display: grid;- grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));- gap: 1rem;- }-- .up-empty {- color: rgba(255, 255, 255, 0.3);- font-size: 0.85rem;- grid-column: 1 / -1;- text-align: center;- padding: 3rem 0;- }-- .up-empty a {- color: rgba(255, 215, 0, 0.7);- text-decoration: none;- }-- .up-empty a:hover {- color: #ffd700;- }-- /* ── Card ────────────────────────────────────────────────────────── */- .up-card {- background: rgba(255, 255, 255, 0.02);- border: 1px solid rgba(255, 255, 255, 0.07);- border-radius: 12px;- overflow: hidden;- transition: border-color 0.15s, background 0.15s;- display: flex;- flex-direction: column;- }-- .up-card:hover {- border-color: rgba(255, 255, 255, 0.14);- background: rgba(255, 255, 255, 0.04);- }-- .up-card-thumb-link {- display: block;- text-decoration: none;- }-- .up-card-thumb {- width: 100%;- aspect-ratio: 1;- background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.03) 0%, transparent 70%);- overflow: hidden;- position: relative;- }-- .up-card-thumb-placeholder {- width: 100%;- height: 100%;- display: flex;- align-items: center;- justify-content: center;- font-size: 2.5rem;- color: rgba(255, 255, 255, 0.08);- }-- .up-card-body {- padding: 0.75rem 0.875rem 0.875rem;- display: flex;- flex-direction: column;- gap: 0.25rem;- flex: 1;- }-- .up-card-chain {- font-size: 0.55rem;- text-transform: uppercase;- letter-spacing: 0.1em;- color: rgba(255, 215, 0, 0.5);- font-weight: 500;- }-- .up-card-name {- font-size: 0.875rem;- font-weight: 500;- color: rgba(255, 255, 255, 0.85);- text-decoration: none;- line-height: 1.3;- display: -webkit-box;- -webkit-line-clamp: 2;- -webkit-box-orient: vertical;- overflow: hidden;- }-- .up-card-name:hover {- color: #fff;- }-- .up-card-desc {- font-size: 0.618rem;- color: rgba(255, 255, 255, 0.3);- margin: 0;- line-height: 1.5;- display: -webkit-box;- -webkit-line-clamp: 2;- -webkit-box-orient: vertical;- overflow: hidden;- }-- .up-card-footer {- display: flex;- align-items: center;- justify-content: space-between;- margin-top: auto;- padding-top: 0.382rem;- }-- .up-card-id {- font-size: 0.55rem;- font-family: monospace;- color: rgba(255, 255, 255, 0.18);- }-- .up-card-edit {- font-size: 0.618rem;- color: rgba(255, 215, 0, 0.4);- text-decoration: none;- transition: color 0.15s;- }-- .up-card-edit:hover {- color: rgba(255, 215, 0, 0.8);- }-- /* ── Error / loading ─────────────────────────────────────────────── */- .up-error {- text-align: center;- color: rgba(255, 255, 255, 0.3);- font-size: 0.85rem;- padding: 4rem 1rem;- }-- /* ── Copy button ─────────────────────────────────────────────────── */- .profile-copy-btn {- background: transparent;- border: 1px solid rgba(255, 255, 255, 0.1);- color: rgba(255, 255, 255, 0.4);- font-size: 0.618rem;- padding: 0.25rem 0.618rem;- border-radius: 6px;- cursor: pointer;- font-family: inherit;- transition: color 0.15s, border-color 0.15s;- }-- .profile-copy-btn:hover {- color: rgba(255, 255, 255, 0.8);- border-color: rgba(255, 255, 255, 0.2);- }-- .profile-copy-btn.copied {- color: #4ade80;- border-color: rgba(74, 222, 128, 0.3);- }-- @media (max-width: 480px) {- .up-hero {- flex-direction: column;- align-items: flex-start;- }-- .up-grid {- grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));- }- }- </style>- </head>- <body>- <header class="profile-page-header">- <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>- </header>-- <main>- <div class="profile-root" id="profile-root">- <div class="up-error">Loading profile…</div>- </div>- </main>-- <footer class="h-footer-horizon">- <div class="h-footer-glow-line" aria-hidden="true"></div>- <div class="h-footer-floor" aria-hidden="true"></div>- <div class="h-footer-haze" aria-hidden="true"></div>- <div class="h-footer-watermark" aria-hidden="true">three.ws</div>- <div class="h-footer-avatar" aria-hidden="true">- <model-viewer- src="/animations/robotexpressive.glb"- auto-rotate- auto-rotate-delay="0"- rotation-per-second="20deg"- interaction-prompt="none"- camera-controls="false"- disable-zoom- shadow-intensity="0"- exposure="0.7"- environment-image="neutral"- camera-orbit="0deg 80deg 9m"- field-of-view="35deg"- loading="lazy"- ></model-viewer>- </div>- <div class="h-footer-cta">- <div class="h-footer-newsletter">- <h3>Stay in the loop</h3>- <p>Get updates on new features, agent tooling, and protocol changes.</p>- <form class="h-footer-newsletter-form" data-newsletter-form novalidate>- <input- type="email"- class="h-footer-newsletter-input"- name="email"- placeholder="Enter your email"- aria-label="Email address"- autocomplete="email"- required- />- <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>- </button>- </form>- <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>- </div>- <div class="h-footer-community">- <h3>Join the community</h3>- <p>Follow along for builds, demos, and conversations with the team.</p>- <a class="h-footer-community-btn" href="https://x.com/nichxbt" target="_blank" rel="noopener">- <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>- Follow on X- </a>- </div>- </div>- <div class="h-footer-inner">- <div class="h-footer-brand-col">- <div class="h-footer-brand">- <span class="wordmark-dot" aria-hidden="true"></span>- <span>three.ws</span>- </div>- <p class="h-footer-tagline">Give your AI a body.</p>- <div class="h-footer-socials">- <a class="h-footer-social" href="https://x.com/nichxbt" target="_blank" rel="noopener" aria-label="three.ws on X">- <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>- </a>- <a class="h-footer-social" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="three.ws on GitHub">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>- </a>- </div>- </div>- <nav class="h-footer-links" aria-label="Footer">- <div class="h-footer-link-col">- <h4 class="h-footer-link-heading">Product</h4>- <a href="/create">Create</a>- <a href="/studio">Studio</a>- <a href="/widgets">Widgets</a>- <a href="/discover">Discover</a>- </div>- <div class="h-footer-link-col">- <h4 class="h-footer-link-heading">Developers</h4>- <a href="/docs">Docs</a>- <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>- <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>- </div>- <div class="h-footer-link-col">- <h4 class="h-footer-link-heading">Resources</h4>- <a href="/features">Features</a>- <a href="/dashboard">Dashboard</a>- </div>- </nav>- </div>- <div class="h-footer-bottom">- <p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>- <div class="h-footer-legal-links">- <a href="/legal/privacy">Privacy Policy</a>- <a href="/legal/tos">Terms of Use</a>- </div>- </div>- </footer>-- <script type="module">- import { mountUserProfile } from './src/erc8004/user-profile.js';-- const esc = (s) =>- String(s ?? '').replace(- /[&<>"']/g,- (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })[c],- );- const attr = (s) => esc(s).replace(/"/g, '"');-- const segments = location.pathname.split('/').filter(Boolean);- const slug = segments[1]; // /u/<slug>-- const root = document.getElementById('profile-root');- const copyBtn = document.getElementById('copy-profile-btn');-- if (!slug) {- root.innerHTML = `<div class="up-error">No profile specified.</div>`;- } else if (/^0x[0-9a-fA-F]{40}$/.test(slug)) {- // Legacy: on-chain wallet address profile- const short = slug.slice(0, 6) + '…' + slug.slice(-4);- document.title = `${short} — Agents`;- const profileUrl = `${location.origin}/u/${slug}`;- document.querySelector('#og-title')?.setAttribute('content', `${short} — Agents`);- document.querySelector('#og-description')?.setAttribute('content', `On-chain agent identity profile for ${slug}`);- document.querySelector('#og-url')?.setAttribute('content', profileUrl);- document.querySelector('#tw-title')?.setAttribute('content', `${short} — Agents`);- document.querySelector('#tw-description')?.setAttribute('content', `On-chain agent identity profile for ${slug}`);- mountUserProfile(root, slug).catch((err) => {- root.innerHTML = `<div class="up-error">Could not load profile: ${esc(err.message)}</div>`;- });- } else {- // Username-based profile- mountUsernameProfile(root, slug).catch((err) => {- root.innerHTML = `<div class="up-error">Could not load profile: ${esc(err.message)}</div>`;- });- }-- async function mountUsernameProfile(rootEl, username) {- rootEl.innerHTML = `<div class="up-error">Loading…</div>`;-- const res = await fetch(`/api/users/${encodeURIComponent(username)}`);- if (!res.ok) {- const data = await res.json().catch(() => ({}));- const msg = res.status === 404 ? 'User not found.' : (data.error_description || res.statusText);- rootEl.innerHTML = `<div class="up-error">${esc(msg)}</div>`;- return;- }- const { user, avatars } = await res.json();-- // Update page meta- const title = `@${user.username} — three.ws`;- document.title = title;- const profileUrl = `${location.origin}/u/${encodeURIComponent(user.username)}`;- document.querySelector('#og-title')?.setAttribute('content', title);- document.querySelector('#og-description')?.setAttribute('content', `${user.display_name || user.username}'s avatars on three.ws`);- document.querySelector('#og-url')?.setAttribute('content', profileUrl);- document.querySelector('#tw-title')?.setAttribute('content', title);- document.querySelector('#tw-description')?.setAttribute('content', `${user.display_name || user.username}'s public avatars on three.ws`);-- const avatarCards = avatars.map((a) => {- const thumb = a.thumbnail_url- ? `<img src="${attr(a.thumbnail_url)}" alt="${attr(a.name)}" style="width:100%;height:100%;object-fit:cover">`- : `<div class="up-card-thumb-placeholder">◎</div>`;- const tags = (a.tags || []).slice(0, 3).map((t) => `<span style="font-size:0.55rem;color:rgba(154,140,255,0.6);margin-right:4px">#${esc(t)}</span>`).join('');- return `- <article class="up-card">- <a href="/avatars/${attr(a.id)}" class="up-card-thumb-link" tabindex="-1" aria-hidden="true">- <div class="up-card-thumb">${thumb}</div>- </a>- <div class="up-card-body">- <a href="/avatars/${attr(a.id)}" class="up-card-name">${esc(a.name)}</a>- ${a.description ? `<p class="up-card-desc">${esc(a.description)}</p>` : ''}- <div class="up-card-footer">- <div>${tags}</div>- </div>- </div>- </article>- `;- }).join('');-- rootEl.innerHTML = `- <div class="up-hero">- <div class="up-avatar-ring">- <span class="up-avatar-glyph">◎</span>- </div>- <div class="up-hero-info">- <h1 class="up-address">${esc(user.display_name || user.username)}</h1>- <p class="up-muted">@${esc(user.username)}</p>- <p class="up-muted" style="margin-top:4px">${avatars.length} public avatar${avatars.length === 1 ? '' : 's'}</p>- </div>- </div>- <div class="up-grid">- ${avatarCards || `<p class="up-empty">No public avatars yet.</p>`}- </div>- `;- }-- // Copy profile URL to clipboard- copyBtn.addEventListener('click', async () => {- try {- await navigator.clipboard.writeText(location.href);- copyBtn.textContent = 'copied ✓';- copyBtn.classList.add('copied');- setTimeout(() => {- copyBtn.textContent = 'copy link';- copyBtn.classList.remove('copied');- }, 1800);- } catch {}- });- </script>- </body>-</html>diff --git a/public/dashboard/index.html b/public/dashboard/index.htmlindex 1ed28febf..707f6854a 100644--- a/public/dashboard/index.html+++ b/public/dashboard/index.html@@ -1156,7 +1156,7 @@shadow-intensity="0"exposure="0.7"environment-image="neutral"- camera-orbit="0deg 80deg 4m"+ camera-orbit="0deg 80deg 9m"field-of-view="35deg"loading="lazy"></model-viewer>@@ -1164,6 +1164,7 @@<div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">+ <img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span><span>three.ws</span></div>diff --git a/public/discover/discover.js b/public/discover/discover.jsindex 3a6f04ca8..df137506e 100644--- a/public/discover/discover.js+++ b/public/discover/discover.js@@ -36,6 +36,7 @@ const CHAINS = [const els = {search: document.querySelector('[data-role="search"]'),filters: document.querySelector('[data-role="filters"]'),+ sources: document.querySelector('[data-role="sources"]'),chain: document.querySelector('[data-role="chain"]'),grid: document.querySelector('[data-role="grid"]'),status: document.querySelector('[data-role="status"]'),@@ -75,9 +76,13 @@ const initialParams = new URLSearchParams(location.search);const initialFilter = initialParams.get('only3d') === '1' ? '3d' : 'all';const initialChain = initialParams.get('chain') || '';const initialQuery = initialParams.get('q') || '';+const initialSource = ['onchain', 'avatar'].includes(initialParams.get('source'))+ ? initialParams.get('source')+ : 'all';const state = {filter: initialFilter, // 'all' | '3d'+ source: initialSource, // 'all' | 'onchain' | 'avatar'chainId: initialChain,query: initialQuery,cursor: null,@@ -97,11 +102,17 @@ if (initialFilter !== 'all') {b.classList.toggle('active', b.dataset.filter === initialFilter);}}+if (els.sources && initialSource !== 'all') {+ for (const b of els.sources.querySelectorAll('[data-source]')) {+ b.classList.toggle('active', b.dataset.source === initialSource);+ }+}/** Sync state into URL via replaceState (no history spam). */function syncUrl() {const p = new URLSearchParams();if (state.filter === '3d') p.set('only3d', '1');+ if (state.source !== 'all') p.set('source', state.source);if (state.chainId) p.set('chain', state.chainId);if (state.query) p.set('q', state.query);const qs = p.toString();@@ -124,6 +135,17 @@ els.filters.addEventListener('click', (e) => {resetAndLoad();});+els.sources?.addEventListener('click', (e) => {+ const btn = e.target.closest('[data-source]');+ if (!btn) return;+ state.source = btn.dataset.source;+ for (const b of els.sources.querySelectorAll('[data-source]')) {+ b.classList.toggle('active', b.dataset.source === state.source);+ }+ syncUrl();+ resetAndLoad();+});+els.chain.addEventListener('change', () => {state.chainId = els.chain.value;syncUrl();@@ -189,6 +211,7 @@ async function loadPage() {const params = new URLSearchParams();if (state.filter === '3d') params.set('only3d', '1');+ if (state.source !== 'all') params.set('source', state.source);if (state.chainId) params.set('chain', state.chainId);if (state.query) params.set('q', state.query);if (state.cursor) params.set('cursor', state.cursor);@@ -240,6 +263,7 @@ els.status.addEventListener('click', (e) => {function clearAllFilters() {state.filter = 'all';+ state.source = 'all';state.chainId = '';state.query = '';els.search.value = '';@@ -248,6 +272,11 @@ function clearAllFilters() {for (const b of els.filters.querySelectorAll('[data-filter]')) {b.classList.toggle('active', b.dataset.filter === 'all');}+ if (els.sources) {+ for (const b of els.sources.querySelectorAll('[data-source]')) {+ b.classList.toggle('active', b.dataset.source === 'all');+ }+ }syncUrl();resetAndLoad();}diff --git a/public/discover/index.html b/public/discover/index.htmlindex cddc153c5..525c0671a 100644--- a/public/discover/index.html+++ b/public/discover/index.html@@ -115,6 +115,11 @@<button class="explore-chip active" data-filter="all">All agents</button><button class="explore-chip" data-filter="3d">3D only</button></div>+ <div class="explore-chips" data-role="sources">+ <button class="explore-chip active" data-source="all">All sources</button>+ <button class="explore-chip" data-source="onchain">Onchain</button>+ <button class="explore-chip" data-source="avatar">Avatars</button>+ </div><div class="explore-chain-select"><label for="explore-chain">Chain:</label><select id="explore-chain" data-role="chain">diff --git a/public/docs-widgets.html b/public/docs-widgets.htmlindex 8bfa5cf7f..1d30519ab 100644--- a/public/docs-widgets.html+++ b/public/docs-widgets.html@@ -458,7 +458,7 @@ img-src https://three.ws/ data:;</code></pre>shadow-intensity="0"exposure="0.7"environment-image="neutral"- camera-orbit="0deg 80deg 4m"+ camera-orbit="0deg 80deg 9m"field-of-view="35deg"loading="lazy"></model-viewer>@@ -466,6 +466,7 @@ img-src https://three.ws/ data:;</code></pre><div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">+ <img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span><span>three.ws</span></div>diff --git a/public/features/index.html b/public/features/index.htmlindex 57dc8572d..0b23d365b 100644--- a/public/features/index.html+++ b/public/features/index.html@@ -457,7 +457,7 @@shadow-intensity="0"exposure="0.7"environment-image="neutral"- camera-orbit="0deg 80deg 4m"+ camera-orbit="0deg 80deg 9m"field-of-view="35deg"loading="lazy"></model-viewer>@@ -465,6 +465,7 @@<div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">+ <img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span><span>three.ws</span></div>diff --git a/public/hydrate/index.html b/public/hydrate/index.htmlindex 2b44ae29e..24478583d 100644--- a/public/hydrate/index.html+++ b/public/hydrate/index.html@@ -360,13 +360,19 @@return { authenticated: false, wallets: [] };}+ const ct = res.headers.get('content-type') || '';+ if (!ct.includes('application/json')) {+ // API not running (e.g. `vite dev` without `vercel dev`).+ return { authenticated: false, wallets: [] };+ }+const data = await res.json();return {authenticated: true,wallets: data.wallets || [],};} catch (err) {- console.error('[hydrate] auth check failed', err);+ console.warn('[hydrate] auth check skipped:', err.message);return { authenticated: false, wallets: [] };}}diff --git a/public/widgets-gallery/index.html b/public/widgets-gallery/index.htmlindex 4ce193cd1..4eedfe6f1 100644--- a/public/widgets-gallery/index.html+++ b/public/widgets-gallery/index.html@@ -102,7 +102,7 @@shadow-intensity="0"exposure="0.7"environment-image="neutral"- camera-orbit="0deg 80deg 4m"+ camera-orbit="0deg 80deg 9m"field-of-view="35deg"loading="lazy"></model-viewer>@@ -110,6 +110,7 @@<div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">+ <img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span><span>three.ws</span></div>diff --git a/scripts/test-pages.mjs b/scripts/test-pages.mjsindex e71ab81c4..76c51a710 100644--- a/scripts/test-pages.mjs+++ b/scripts/test-pages.mjs@@ -52,6 +52,9 @@ const IGNORE_PATTERNS = [/blocked by CORS policy/,/three\.ws\/dist-lib/,/localhost:\d+\/api\//, // serverless functions need `vercel dev`, not `vite dev`+ /\/wallet\/connect-button.*\.js/, // cascades from esm.sh import in connect-button.js+ /\/node_modules\/vite\/dist\/client\/env\.mjs/, // Vite dev injection 404s in some flows+ /rpc\.\d+\.io/, // placeholder RPC URL from sample agent IDs];function shouldIgnore(text) {