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
Agent detail: owner action bar + deploy modal; NVIDIA artifact object format; forge-seed timeout fix
nirholasc8af50802c5b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8d83baeea..020c584a7 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -15,6 +15,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Activity: Outcome filter on agent trade feed** — The Oracle agent activity feed now has a Win / Loss / Open outcome filter alongside the existing tier and mode filters. Select Wins to see every Oracle call that resolved profitably, Losses to analyze missed calls, or Open to monitor positions still live. Outcome filters apply to both the REST pagination and the real-time SSE stream. (`/activity`) `[improvement]`- **Agent Activity — live oracle trading floor** — New page at /activity shows every Oracle conviction trade made by every autonomous 3D agent, in real time. Filter by tier (prime/strong/lean/watch) and mode (live/simulate). Each entry shows agent avatar, ticker, conviction score, size, and once settled outcome (win/loss/flat) and realized PnL. Win and open entries link directly to the agent's trader profile for one-click copy subscriptions. Platform-level KPIs (agents active, win rate, 7-day PnL) appear at the top. Auto-refreshes every 30 seconds. (`/activity`) `[feature]`- **Agent trading record — proof-of-edge on every agent profile** — Agent profiles now show a live TRADING RECORD panel that pulls directly from the Oracle's action ledger. Win rate, wins/losses/open, realized PnL, and ROI are computed from real settled trades. Below the summary, the 8 most recent Oracle trades appear as quick-glance rows: outcome dot (green/red/yellow), ticker, conviction tier, peak multiple, and realized PnL. When an agent has profitable exits, a 'Copy this trader' link lets visitors subscribe. The panel stays hidden until the agent has at least one Oracle action, so profiles without trading history are unchanged. (`/agents`) `[feature]`+- **Agents Index — browse every public 3D AI agent on three.ws** — A new /agents page lists every public agent on the platform: search by name or description, filter to on-chain-registered agents only, sort by popularity or newest, and paginate through the directory. Each card shows the agent's avatar, top skills, and chat count with a direct link to their profile. My Agents at /my-agents gives registered users a focused view of their own agents with quick Edit and Deploy links. (`/agents`) `[feature]`- **Agents: Oracle and Sniper trading status on agent cards** — The agents dashboard now shows live trading badges on each card. If an agent has Oracle conviction history, its win rate and realized PnL appear inline. If a sniper strategy is armed and active, the agent card shows the strategy's realized PnL. Both badges link to the relevant dashboard so you can drill in from the agents list. (`/dashboard/agents`) `[improvement]`- **Buy any coin directly on three.ws — Jupiter swap embedded in the coin page** — The Trade button on every launch profile now opens an in-platform Jupiter swap terminal instead of bouncing to pump.fun. The terminal is lazy-loaded only when you click, so cold page loads stay fast. Jupiter routes through every available liquidity source including pump.fun's AMM and bonding curve, so it works for both pre-graduation and graduated coins. The price chart now also shows volume bars alongside the price line — green for net-buy candles, red for net-sell — giving you an instant read on trade intensity at a glance. The agent panel shows a 'Copy trades' shortcut that takes you directly to the agent's copy-trade setup. And when Birdeye's OHLCV quota is exhausted, the chart falls back to GeckoTerminal automatically, so the chart never goes dark on an actively-trading coin. (`/launches`) `[feature, improvement]`- **Claim Your Wallet — see your verified pump.fun track record in seconds** — Any pump.fun trader can now paste their Solana wallet at /claim-wallet and instantly see their full track record: win rate, smart-money score, reputation label (smart_money / sniper / neutral / unproven), coin history with PnL per position, and a net PnL summary for the indexer window. A single click signs them in and publishes the track record as their official three.ws Trader Card — opening them up to followers and copy-trading fees automatically. (`/claim-wallet`) `[feature]`@@ -27,6 +28,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Every launch now has its own page — the full story of a coin in one place** — Until now, clicking a coin on the launches feed sent you out to pump.fun. Now every launch opens a rich profile that stays on three.ws and answers every question a trader actually has, all from real on-chain data: live price, market cap and graduation progress; the Coin Intelligence verdict from the coin's first ~90 seconds (a quality score plus organic-vs-bundle, sniping, holder concentration, fresh-wallet and funder-clustering signals, with any risk flags called out); the labeled outcome if it graduated or rugged, with its all-time-high multiple; a live price chart and a live trade tape that ticks every buy and sell as it lands; holder count and concentration; the agent behind the mint and its verifiable TraderScore; and the buyback-and-burn economics for agent-payment coins, each burn linking to its on-chain transaction. Watch a coin, share its page, jump into its 3D world, or open it in 3D — every number traces back to a real transaction. (`/launches`) `[feature]`- **Forge: fix 3D model generation on the free NVIDIA lane** — The free TRELLIS text-to-3D lane stopped producing models when NVIDIA changed their API to return a CDN URL instead of inline base64. The extractor now fetches that URL and buffers the file correctly, restoring zero-cost 3D generation. Also suppressed a log storm where every Solana RPC call that skipped a known-rate-limited provider emitted a redundant rotation message. (`/forge`) `[fix]`- **Home page now features Oracle — live conviction scores on the front page** — The three.ws home page now has an Oracle section between the Pump.fun token economy block and the pay-per-call block. It explains the four-pillar conviction system (Who · How · What · Move) and renders a live mini-feed of the current top-scoring coins fetched from /api/oracle/feed — each card shows the ticker, 0–100 score, tier pill, and four color-coded pillar bars. Clicking any card opens the Oracle drawer for that coin. The live dot pulses while data is streaming. (`/`) `[improvement]`+- **Home page: Top Traders widget + Oracle proof trades in coin drawer** — The home page now shows a live Top Traders widget ranked by 7-day composite score with direct links to copy each trader. The Oracle coin drawer now loads a proof-trades section showing every agent exit on that specific coin — multiple, P&L, and a one-click copy link — closing the loop between conviction and evidence. Trade feed cards also link coin images and symbols directly to their Oracle conviction page. (`/oracle`) `[feature, improvement]`- **IRL and XR: choose any of your 3D avatars from a bottom-sheet picker** — Both /irl and /xr now let you swap your 3D avatar without leaving the page. Tap Avatar (IRL) or Change (XR) to open a thumbnail grid of all your uploaded avatars. Selecting one hot-swaps the model in the scene instantly — camera, animations, half-body mode, and AR state all carry over. Signed-out users see a prompt to sign in; empty accounts link to the creation flow. (`/irl`) `[feature]`- **IRL: move your phone to look around your avatar in AR** — When you pin an avatar to the real world in IRL mode, rotating your phone now physically moves the camera — the avatar stays locked to its spot while your view orbits around it, exactly like Pokémon GO. On iOS the app requests motion sensor access as required by iOS 13+. Drag still works as a fallback when orientation is unavailable. The lock icon pulses while active tracking is on. (`/irl`) `[feature, improvement]`- **IRL: place your agent on the map — others nearby can see it** — Pin your 3D avatar to a real GPS coordinate in IRL mode and other users who walk within 150 metres see your agent appear in their AR view. Each nearby agent shows its name and distance as a floating label; tap it for a detail sheet with the option to pay via x402. Your own pin is removed automatically when you unpin the avatar or close the page. Requires location permission. (`/irl`) `[feature]`@@ -75,6 +77,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Trader leaderboard + copy-trading now available as MCP tools for agents** — Four new MCP tools close the autonomous copy-trading loop for any agent connected to three.ws: trader_leaderboard returns the top pump.fun traders ranked by composite TraderScore with win rate, realized P&L, ROI, and a copy/watch/skip recommendation for each; trader_profile fetches the full verifiable track record for one agent including recent trades with on-chain Solscan proof; copy_subscribe creates a non-custodial copy subscription — mirror a leader's future entries at your own sizing with hard daily budget caps; copy_status lists your active subscriptions and execution counts. An agent can now discover the best traders, vet their proof, and autonomously set up copy-trading without any human intervention. (`/leaderboard`) `[feature, sdk]`- **Trader profiles now work for any pump.fun wallet address** — The /trader page now handles raw Solana wallet addresses directly — not just agent UUIDs. Clicking a wallet from the Oracle leaderboard or the coin drawer's Who's In section opens a full wallet reputation profile: archetype badge, smart-money score, win/early-win/dump rates, and the coin footprint. Previously these links 404ed. (`/oracle`) `[fix, improvement]`- **Watchlist — save any coin and track it with live Oracle scores** — Every launch card now has a bookmark button. Tap it to add the coin to your Watchlist at /watchlist — a personal live board of every coin you're watching. Each card refreshes every 30 seconds with real price, market cap, volume, and graduation progress. If Oracle has scored the coin, a conviction badge appears right on the card: tier (PRIME / STRONG / LEAN), overall score, and a compact pillar breakdown — Pedigree, Structure, Narrative, Momentum — so the four reads that matter are always visible without opening the coin's full page. (`/watchlist`) `[feature]`+- **Watchlist: add any coin by pasting a mint address or pump.fun URL** — The /watchlist page now has a persistent add-by-address input at the top: paste a raw Solana mint address or a full pump.fun URL and the coin appears on your watchlist instantly — no need to navigate to the coin profile first. Pasting triggers auto-add with no extra click. The Watch button on the live trade feed now lets you pin any exited coin to your watchlist in one tap, with a star toggle that updates immediately. (`/watchlist`) `[improvement]`- **Watchlist: live Oracle conviction badges on every watched coin** — Your watchlist now shows the Oracle conviction score and tier for every pinned coin — prime, strong, lean, watch, or avoid — right on the card. Scores load with a single batch API call (/api/oracle/batch) after the cards render, so the page stays fast. Tap any badge to open the full Oracle breakdown. The smart-money radar coin drawer also now shows the full Oracle verdict (score, tier, and four pillar bars) alongside the existing pedigree data. (`/watchlist`) `[improvement]`- **Watchlist: Oracle auto-refresh + browser alerts on tier upgrade** — The watchlist now re-fetches Oracle conviction every 90 seconds for all watched coins. Enable the new 🔔 Alerts button to get browser push notifications the moment a watched coin upgrades to Strong or Prime conviction — even when you're on another tab. Alerts pause automatically when the tab is hidden and resume when you switch back. Tier history is stored locally so only real upgrades trigger a notification. (`/watchlist`) `[feature, improvement]`- **Win exit alerts — Telegram fires when an agent's trade resolves profitable** — The Oracle settle-loop now fires a Telegram notification to the signals channel whenever an agent's tracked position resolves as a win (graduated or ATH multiple ≥ 2×). The message shows agent name, realized PnL or peak multiple, conviction tier at entry, size, and direct links to pump.fun, Oracle, and the agent's track record. Simulate-mode wins are labelled [sim] so the channel clearly distinguishes paper trades from live exits. (`/oracle`) `[feature, improvement]`diff --git a/api/_providers/nvidia.js b/api/_providers/nvidia.jsindex df28bd1b5..19e65d1da 100644--- a/api/_providers/nvidia.js+++ b/api/_providers/nvidia.js@@ -176,6 +176,25 @@ async function extractGlbBase64(res) {} else {artDesc = ` artifact[0]=${typeof artifact0}`;}+ } else if (arts !== null && arts !== undefined && typeof arts === 'object') {+ // NVIDIA sometimes returns artifacts as an object with numeric string keys+ // (e.g. {"0": {"base64": "..."}}) — try to extract the same way as an array.+ const firstVal = arts['0'] ?? Object.values(arts)[0] ?? null;+ const firstB64 = firstVal?.base64 ?? (typeof firstVal === 'string' && !firstVal.startsWith('http') ? firstVal : null);+ if (firstB64) return { base64: firstB64 };+ const firstUrl = firstVal?.url ?? (typeof firstVal === 'string' && firstVal.startsWith('http') ? firstVal : null);+ if (firstUrl) {+ try {+ const artRes = await fetch(firstUrl, { signal: AbortSignal.timeout(POLL_TIMEOUT_MS) });+ if (artRes.ok) {+ const buf = Buffer.from(await artRes.arrayBuffer());+ if (buf.length > 0) return { base64: buf.toString('base64') };+ }+ } catch { /* fall through to diagnostic */ }+ }+ artDesc = ` artifacts(object)=${JSON.stringify(Object.keys(arts)).slice(0, 80)}`;+ } else {+ artDesc = ` artifacts=${arts === null ? 'null' : typeof arts}`;}return { base64: null, diag: `json keys=${topKeys}${artDesc}` };}diff --git a/api/cron/forge-seed-cron.js b/api/cron/forge-seed-cron.jsindex 0401fb8d8..255cfc849 100644--- a/api/cron/forge-seed-cron.js+++ b/api/cron/forge-seed-cron.js@@ -25,12 +25,12 @@ import { SEED_PROMPTS, OG_USERNAMES } from '../_lib/seed-prompts.js';import { randomUUID } from 'node:crypto';const ORIGIN = () => env.APP_ORIGIN || 'https://three.ws';-// Must be large enough for the image-intermediate path (textToImage → NIM FLUX,-// NIM_TIMEOUT_MS = 60 s in _mcp3d/text-to-image.js) yet leave the cron a small-// window to clean up and return. When the timeout fires, fetchJson returns+// Must be comfortably shorter than the function's maxDuration (70 s in vercel.json)+// so fetchJson's AbortSignal.timeout fires and is caught BEFORE Vercel's hard kill+// fires its own DOMException[TimeoutError]. When the timeout fires, fetchJson returns// { timedOut: true } — startNextJob treats that as a soft failure and rolls back// the pending user so the next tick can retry cleanly.-const FETCH_TIMEOUT_MS = 55_000;+const FETCH_TIMEOUT_MS = 48_000;const MAX_CONCURRENT_PENDING = 3;const MIN_JOB_AGE_SECONDS = 20;diff --git a/data/changelog.json b/data/changelog.jsonindex 1dd82ac75..e3e40cee2 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,20 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-16",+ "title": "Agent profile: deploy on-chain and edit controls for agent owners",+ "summary": "When you own an agent, its profile page (/agent/:id) now shows a full owner action bar in the hero section with one-click access to Edit Agent, Manage Agents, and — for agents not yet deployed — a Deploy on-chain button. The BLOCKCHAIN DETAILS section now mounts an inline deploy widget that shows the chain selector and signs on Solana (Metaplex Core) or any EVM chain, with a persistent success chip linking to the explorer once deployed.",+ "tags": ["improvement"],+ "link": "/agents"+ },+ {+ "date": "2026-06-16",+ "title": "Watchlist: add any coin by pasting a mint address or pump.fun URL",+ "summary": "The /watchlist page now has a persistent add-by-address input at the top: paste a raw Solana mint address or a full pump.fun URL and the coin appears on your watchlist instantly — no need to navigate to the coin profile first. Pasting triggers auto-add with no extra click. The Watch button on the live trade feed now lets you pin any exited coin to your watchlist in one tap, with a star toggle that updates immediately.",+ "tags": ["improvement"],+ "link": "/watchlist"+ },{"date": "2026-06-16","title": "Home page: Top Traders widget + Oracle proof trades in coin drawer",diff --git a/pages/agent-detail.html b/pages/agent-detail.htmlindex 4485e09ba..da8060c28 100644--- a/pages/agent-detail.html+++ b/pages/agent-detail.html@@ -242,6 +242,7 @@></div><div class="ad-hero-trust" id="ad-trust-pills"></div><avatar-actions id="ad-avatar-actions" mode="fork" style="display:none;margin:10px 0"></avatar-actions>+ <div id="ad-owner-bar" class="ad-owner-bar" hidden></div><div class="ad-hero-actions"><aid="ad-see-3d"@@ -628,6 +629,7 @@<h2>BLOCKCHAIN DETAILS</h2></div><div id="ad-onchain"></div>+ <div id="ad-deploy-slot" class="ad-deploy-slot"></div><div class="ad-row ad-row-split"><span class="ad-muted">Active</span><span id="ad-active">true</span></div>diff --git a/pages/claim-wallet.html b/pages/claim-wallet.htmlindex 2b309c0e7..ee3dd81a3 100644--- a/pages/claim-wallet.html+++ b/pages/claim-wallet.html@@ -111,7 +111,9 @@.cw-stats { grid-template-columns: repeat(2, 1fr); }}</style>- </head>++ <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Claim Your Wallet — Verified pump.fun Track Record","description":"Paste your Solana wallet to see your provable pump.fun track record — win rate, smart-money score, reputation label, and coin history. Sign in to claim it as your official three.ws Trader Card.","url":"https://three.ws/claim-wallet","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>+</head><body><header><div id="nav-container"></div></header><script src="/nav.js"></script>diff --git a/public/agents/index.html b/public/agents/index.htmlindex 0a3f76d02..a83e458a6 100644--- a/public/agents/index.html+++ b/public/agents/index.html@@ -120,7 +120,11 @@.hero h1 { font-size: 26px; }}</style>- </head>++ <meta name="twitter:title" content="Agents Index · three.ws">+ <meta name="twitter:description" content="Browse every registered agent on three.ws.">+ <meta name="twitter:image" content="https://three.ws/og-image.png">+</head><body><header><div id="nav-container"></div></header><script src="/nav.js"></script>diff --git a/public/changelog.json b/public/changelog.jsonindex edcee74a7..ec09b8764 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-16T08:55:35.038Z",+ "generated_at": "2026-06-16T09:36:36.000Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -96,6 +96,16 @@"feature"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "Agents Index — browse every public 3D AI agent on three.ws",+ "summary": "A new /agents page lists every public agent on the platform: search by name or description, filter to on-chain-registered agents only, sort by popularity or newest, and paginate through the directory. Each card shows the agent's avatar, top skills, and chat count with a direct link to their profile. My Agents at /my-agents gives registered users a focused view of their own agents with quick Edit and Deploy links.",+ "link": "/agents",+ "tags": [+ "feature"+ ]+ },{"date": "2026-06-16","type": "update",@@ -218,6 +228,17 @@"improvement"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "Home page: Top Traders widget + Oracle proof trades in coin drawer",+ "summary": "The home page now shows a live Top Traders widget ranked by 7-day composite score with direct links to copy each trader. The Oracle coin drawer now loads a proof-trades section showing every agent exit on that specific coin — multiple, P&L, and a one-click copy link — closing the loop between conviction and evidence. Trade feed cards also link coin images and symbols directly to their Oracle conviction page.",+ "link": "/oracle",+ "tags": [+ "feature",+ "improvement"+ ]+ },{"date": "2026-06-16","type": "update",@@ -711,6 +732,16 @@"feature"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "Watchlist: add any coin by pasting a mint address or pump.fun URL",+ "summary": "The /watchlist page now has a persistent add-by-address input at the top: paste a raw Solana mint address or a full pump.fun URL and the coin appears on your watchlist instantly — no need to navigate to the coin profile first. Pasting triggers auto-add with no extra click. The Watch button on the live trade feed now lets you pin any exited coin to your watchlist in one tap, with a star toggle that updates immediately.",+ "link": "/watchlist",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-06-16","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex ea7deedea..68d608605 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -78,6 +78,14 @@<category>feature</category><description>Agent profiles now show a live TRADING RECORD panel that pulls directly from the Oracle's action ledger. Win rate, wins/losses/open, realized PnL, and ROI are computed from real settled trades. Below the summary, the 8 most recent Oracle trades appear as quick-glance rows: outcome dot (green/red/yellow), ticker, conviction tier, peak multiple, and realized PnL. When an agent has profitable exits, a 'Copy this trader' link lets visitors subscribe. The panel stays hidden until the agent has at least one Oracle action, so profiles without trading history are unchanged.</description></item>+ <item>+ <title>Agents Index — browse every public 3D AI agent on three.ws</title>+ <link>https://three.ws/agents</link>+ <guid isPermaLink="false">2026-06-16:Agents Index — browse every public 3D AI agent on three.ws</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>A new /agents page lists every public agent on the platform: search by name or description, filter to on-chain-registered agents only, sort by popularity or newest, and paginate through the directory. Each card shows the agent's avatar, top skills, and chat count with a direct link to their profile. My Agents at /my-agents gives registered users a focused view of their own agents with quick Edit and Deploy links.</description>+ </item><item><title>Agents: Oracle and Sniper trading status on agent cards</title><link>https://three.ws/dashboard/agents</link>@@ -174,6 +182,14 @@<category>improvement</category><description>The three.ws home page now has an Oracle section between the Pump.fun token economy block and the pay-per-call block. It explains the four-pillar conviction system (Who · How · What · Move) and renders a live mini-feed of the current top-scoring coins fetched from /api/oracle/feed — each card shows the ticker, 0–100 score, tier pill, and four color-coded pillar bars. Clicking any card opens the Oracle drawer for that coin. The live dot pulses while data is streaming.</description></item>+ <item>+ <title>Home page: Top Traders widget + Oracle proof trades in coin drawer</title>+ <link>https://three.ws/oracle</link>+ <guid isPermaLink="false">2026-06-16:Home page: Top Traders widget + Oracle proof trades in coin drawer</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>The home page now shows a live Top Traders widget ranked by 7-day composite score with direct links to copy each trader. The Oracle coin drawer now loads a proof-trades section showing every agent exit on that specific coin — multiple, P&L, and a one-click copy link — closing the loop between conviction and evidence. Trade feed cards also link coin images and symbols directly to their Oracle conviction page.</description>+ </item><item><title>IRL and XR: choose any of your 3D avatars from a bottom-sheet picker</title><link>https://three.ws/irl</link>@@ -558,6 +574,14 @@<category>feature</category><description>Every launch card now has a bookmark button. Tap it to add the coin to your Watchlist at /watchlist — a personal live board of every coin you're watching. Each card refreshes every 30 seconds with real price, market cap, volume, and graduation progress. If Oracle has scored the coin, a conviction badge appears right on the card: tier (PRIME / STRONG / LEAN), overall score, and a compact pillar breakdown — Pedigree, Structure, Narrative, Momentum — so the four reads that matter are always visible without opening the coin's full page.</description></item>+ <item>+ <title>Watchlist: add any coin by pasting a mint address or pump.fun URL</title>+ <link>https://three.ws/watchlist</link>+ <guid isPermaLink="false">2026-06-16:Watchlist: add any coin by pasting a mint address or pump.fun URL</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>The /watchlist page now has a persistent add-by-address input at the top: paste a raw Solana mint address or a full pump.fun URL and the coin appears on your watchlist instantly — no need to navigate to the coin profile first. Pasting triggers auto-add with no extra click. The Watch button on the live trade feed now lets you pin any exited coin to your watchlist in one tap, with a star toggle that updates immediately.</description>+ </item><item><title>Watchlist: live Oracle conviction badges on every watched coin</title><link>https://three.ws/watchlist</link>diff --git a/public/features.json b/public/features.jsonindex 425a3447f..8fcc088e4 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-16T08:55:35.024Z",+ "generated_at": "2026-06-16T09:36:35.979Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/src/agent-detail.js b/src/agent-detail.jsindex 27a592e06..64bca5bb3 100644--- a/src/agent-detail.js+++ b/src/agent-detail.js@@ -635,6 +635,7 @@ function render(agent) {document.querySelector('.ad-main').classList.remove('loading');bindWalletActions(agent.isOwner);+ mountOwnerBar(agent);wireShareButton(agent);loadExtraSections(agent.id, agent.rawMetadata, agent.isOwner);@@ -1472,6 +1473,176 @@ function wireShareButton(agent) {});}+// ── Owner action bar (hero) + inline deploy slot (BLOCKCHAIN DETAILS) ────────++function mountOwnerBar(agent) {+ const bar = document.getElementById('ad-owner-bar');+ if (!bar) return;++ // Always reset so re-renders are idempotent.+ bar.innerHTML = '';+ bar.hidden = !agent.isOwner;+ if (!agent.isOwner) return;++ // Edit Agent+ const editLink = el('a', {+ class: 'ad-btn',+ href: `/agent-edit?id=${encodeURIComponent(agent.id)}`,+ });+ editLink.textContent = '✏ Edit Agent';+ bar.appendChild(editLink);++ // Dashboard link+ const dashLink = el('a', {+ class: 'ad-btn',+ href: '/dashboard-next/agents',+ });+ dashLink.textContent = 'Manage Agents';+ bar.appendChild(dashLink);++ // Deploy on-chain (only if not yet deployed)+ const alreadyDeployed = !!(+ (agent.rawMetadata?.onchain || agent.onchain)?.txHash+ );+ if (!alreadyDeployed) {+ const deployBtn = el('button', {+ class: 'ad-btn ad-btn-deploy',+ type: 'button',+ });+ deployBtn.textContent = '⬡ Deploy on-chain';+ deployBtn.addEventListener('click', () => openDeployModalFromDetail(agent));+ bar.appendChild(deployBtn);+ }++ // Mount inline OnchainDeployButton in BLOCKCHAIN DETAILS section.+ // This shows the success chip when deployed, or the full chain-select ++ // deploy button for owners who haven't deployed yet.+ mountDeploySlot(agent);+}++async function mountDeploySlot(agent) {+ const slot = document.getElementById('ad-deploy-slot');+ if (!slot) return;+ slot.innerHTML = '';+ if (!agent.isOwner) return;++ try {+ const [{ OnchainDeployButton }, ] = await Promise.all([+ import('./onchain/deploy-button.js'),+ import('./erc8004/deploy-button.css'),+ ]);+ const deployAgentObj = {+ id: agent.id,+ name: agent.name || '',+ description: agent.description || '',+ avatar_id: agent.avatar_id || null,+ skills: Array.isArray(agent.skills) && agent.skills.length ? agent.skills : undefined,+ onchain: agent.onchain || agent.rawMetadata?.onchain || null,+ };+ const btn = new OnchainDeployButton({ agent: deployAgentObj, container: slot });+ btn.mount();++ // When deploy succeeds, hide the "Deploy on-chain" button in the owner bar+ // (the success chip in the slot replaces the call-to-action).+ const observer = new MutationObserver(() => {+ if (deployAgentObj.onchain?.txHash && slot.querySelector('.deploy-chip--success')) {+ observer.disconnect();+ const heroDeployBtn = document.querySelector('#ad-owner-bar .ad-btn-deploy');+ if (heroDeployBtn) heroDeployBtn.remove();+ // Refresh the status badge to show the on-chain badge.+ import('./shared/onchain-badge.js').then(({ onchainBadgeEl }) => {+ document.getElementById('ad-onchain-badge')?.remove();+ const badge = onchainBadgeEl({ onchain: deployAgentObj.onchain }, { size: 'md' });+ if (badge) {+ badge.id = 'ad-onchain-badge';+ document.getElementById('ad-status')?.insertAdjacentElement('afterend', badge);+ }+ }).catch(() => {});+ }+ });+ observer.observe(slot, { childList: true, subtree: true });+ } catch (err) {+ log.warn('[agent-detail] deploy slot failed:', err?.message);+ }+}++async function openDeployModalFromDetail(agent) {+ try {+ const [{ OnchainDeployButton }] = await Promise.all([+ import('./onchain/deploy-button.js'),+ import('./erc8004/deploy-button.css'),+ ]);++ const overlay = document.createElement('div');+ overlay.style.cssText = `+ position:fixed;inset:0;z-index:1000;+ background:rgba(8,9,14,0.72);backdrop-filter:blur(6px);+ display:grid;place-items:center;padding:20px;+ `;+ overlay.innerHTML = `+ <div role="dialog" aria-modal="true" aria-label="Deploy agent on-chain" style="+ width:min(460px,100%);+ background:linear-gradient(180deg,rgba(22,24,32,0.97),rgba(16,17,24,0.97));+ border:1px solid rgba(255,255,255,0.1);border-radius:14px;padding:24px;+ box-shadow:0 20px 60px rgba(0,0,0,0.6);+ ">+ <div style="font-size:17px;font-weight:600;margin-bottom:6px;color:#e7e9ee">Deploy on-chain</div>+ <div style="font-size:12.5px;color:rgba(231,233,238,0.5);margin-bottom:18px">+ Register <strong style="color:#e7e9ee">${escapeText(agent.name || 'this agent')}</strong> on-chain.+ Pick a chain, sign one transaction — the asset becomes the agent's permanent on-chain identity.+ </div>+ <div data-slot="deploy-host" style="display:flex;justify-content:center;margin-bottom:18px"></div>+ <div style="display:flex;gap:8px;justify-content:flex-end">+ <button data-action="cancel" style="+ background:rgba(255,255,255,0.06);color:#e7e9ee;border:1px solid rgba(255,255,255,0.1);+ border-radius:8px;padding:7px 16px;font-size:13px;cursor:pointer;font-family:inherit;+ ">Close</button>+ </div>+ </div>+ `;+ document.body.appendChild(overlay);++ const deployHost = overlay.querySelector('[data-slot="deploy-host"]');+ const deployAgentObj = {+ id: agent.id,+ name: agent.name || '',+ description: agent.description || '',+ avatar_id: agent.avatar_id || null,+ skills: Array.isArray(agent.skills) && agent.skills.length ? agent.skills : undefined,+ onchain: agent.onchain || agent.rawMetadata?.onchain || null,+ };+ const deployBtn = new OnchainDeployButton({ agent: deployAgentObj, container: deployHost });+ deployBtn.mount();++ let deployed = false;+ const observer = new MutationObserver(() => {+ if (deployAgentObj.onchain?.txHash && deployHost.querySelector('.deploy-chip--success')) {+ deployed = true;+ }+ });+ observer.observe(deployHost, { childList: true, subtree: true });++ const close = () => {+ observer.disconnect();+ deployBtn.unmount();+ overlay.remove();+ document.removeEventListener('keydown', onKey);+ if (deployed) {+ // Refresh the owner bar so the deploy button disappears and the slot+ // shows the persistent success chip.+ agent.onchain = deployAgentObj.onchain;+ mountOwnerBar(agent);+ }+ };+ function onKey(e) { if (e.key === 'Escape') close(); }+ document.addEventListener('keydown', onKey);+ overlay.querySelector('[data-action="cancel"]').addEventListener('click', close);+ overlay.addEventListener('click', (e) => { if (e.target === overlay) close(); });+ } catch (err) {+ log.warn('[agent-detail] deploy modal failed:', err?.message);+ }+}+function bindWalletActions(isOwner) {// Receive / Withdraw / Swap act on funds the viewer controls, not the agent's// on-chain wallet — there is no client-side key for the agent address. Showingdiff --git a/vercel.json b/vercel.jsonindex 583c2c038..02c59038a 100644--- a/vercel.json+++ b/vercel.json@@ -66,7 +66,7 @@"maxDuration": 300},"api/cron/forge-seed-cron.js": {- "maxDuration": 55+ "maxDuration": 70},"api/cron/oracle-score.js": {"includeFiles": "{examples/skills/**,data/pages.json,data/_generated/**,sdk/src/sas-config.json}",