Skip to content

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.

feat: add MWA connection and probing scripts for TWA emulator

fudjia81077f7dcdc7
diff --git a/data/changelog-x-state.json b/data/changelog-x-state.json
new file mode 100644
index 000000000..6d6cd8539
--- /dev/null
+++ b/data/changelog-x-state.json
@@ -0,0 +1,1700 @@
+{
+ "posted": [
+ "2026-07-09:/play: real water at the fishing ponds, and spare rods to find on the bank",
+ "2026-07-09:Agents can now hunt money drops and complete IRL quests from code",
+ "2026-07-09:Avatars are getting their pictures back — galleries show the model, not a letter",
+ "2026-07-09:Avatars render again on seven pages that were showing an empty viewer",
+ "2026-07-09:Coin art is back on the Oracle — every token now shows its real picture",
+ "2026-07-09:Creating an agent no longer fails with \"too many requests\" after normal browsing",
+ "2026-07-09:Every agent now has a 3D avatar and a real preview image",
+ "2026-07-09:Every Oracle coin now has a full detail page, not just the in-feed popup",
+ "2026-07-09:Fixed the rate limiter that was rejecting real people as if they were a flood",
+ "2026-07-09:Free 3D generation stays up when outside providers go down",
+ "2026-07-09:Homepage: agent thumbnails load, and the marketplace strip is alive again",
+ "2026-07-09:IRL now works in landscape, and the IRL API is fully documented",
+ "2026-07-09:IRL on phones: controls no longer cover each other",
+ "2026-07-09:Live SOL price restored on /three-live; Flappin UFO demo retired",
+ "2026-07-09:Marketplace no longer claims \"No public avatars\" when the feed fails to load",
+ "2026-07-09:Oracle scoring restored to full throughput and the all-time counter is now truly all-time",
+ "2026-07-09:Paid Solana endpoints are back — payments settle end to end again",
+ "2026-07-09:The /play lobby no longer fails to load live coins during busy sessions",
+ "2026-07-09:The 3D world is locked down — visitors can no longer delete the ground",
+ "2026-07-09:The coin trade window opens again — buying and selling in the world is back",
+ "2026-07-09:Two broken pages fixed: vanity receipt verifier and Drive Your Avatar",
+ "2026-07-09:x402 discovery listings now render full result cards everywhere",
+ "2026-07-09:Your agents can now be placed privately, and nobody can browse /irl locations from afar",
+ "2026-07-09:Your Memetic Launcher can now go live — real launches, funded by you, never the house",
+ "2026-07-08:Blockchain TVL by Chain",
+ "2026-07-08:BNB Chain — Three Genuinely-Unique Demos",
+ "2026-07-08:BNB Chain Live Block Race — 0.45s vs Base, Ethereum, Solana",
+ "2026-07-08:Creator Gallery",
+ "2026-07-08:Crypto API",
+ "2026-07-08:Crypto Categories by Market Cap",
+ "2026-07-08:Crypto Currency Converter",
+ "2026-07-08:Crypto Derivatives & Perpetual Futures",
+ "2026-07-08:Crypto Token Screener",
+ "2026-07-08:DeFi TVL & Top Protocols",
+ "2026-07-08:Fact Check",
+ "2026-07-08:glTF / GLB Viewer",
+ "2026-07-08:Minted 3D Assets",
+ "2026-07-08:Restyle Studio — material presets, AI restyle & variants",
+ "2026-07-08:Spatial MCP — reference renderer",
+ "2026-07-08:Stablecoins Market Cap & Peg Health",
+ "2026-07-08:Top Crypto Exchanges",
+ "2026-07-08:Vault — Buy & Unlock Encrypted 3D Models on BNB Chain",
+ "2026-07-08:/create is now the front door for everything you can build",
+ "2026-07-08:/play grew real physics, a drivable district, and day/night",
+ "2026-07-08:/play now has a real economy: a general store, a bank, and a $THREE boutique",
+ "2026-07-08:/play: real combat — swords, guns, monsters, and a wanted meter",
+ "2026-07-08:<agent-3d> talks out of the box with brain=\"free\"",
+ "2026-07-08:3D viewer accessibility: keyboard orbit, focus rings, and a low-power mode for the main site viewer",
+ "2026-07-08:A boutique you can walk into: two tailors now live in /play",
+ "2026-07-08:A live public gallery for every minted 3D asset — and a fix that had been silently 500ing the launch directory",
+ "2026-07-08:Agent mood now shapes body language, not just facial expression",
+ "2026-07-08:Agents can now generate a body, embody it, and distribute it everywhere — one call each",
+ "2026-07-08:Bigger motion library, and two dead animation gestures fixed",
+ "2026-07-08:BNB Chain hub: three uniquely-BNB demos in one place",
+ "2026-07-08:BNB vault unlock API: pay, get gated, decrypt — built, blocked on funding",
+ "2026-07-08:Cleaned up the x402 storefront listing",
+ "2026-07-08:Crypto API now has a home page and a real OpenAPI spec",
+ "2026-07-08:Draw a sketch or speak your prompt in the Forge",
+ "2026-07-08:Drivable vehicles in the open world",
+ "2026-07-08:Embodied on-chain identity — every agent persona now carries a real wallet",
+ "2026-07-08:Fact Check now has a free daily lane and a public accuracy benchmark",
+ "2026-07-08:Fact Check's accuracy benchmark has a real published score, and the search+AI chain got more reliable",
+ "2026-07-08:Fixed: the \"View it\" link on every generated 3D model now opens a real viewer",
+ "2026-07-08:Forge generations get a real quality gate, an art director, and instant repeats",
+ "2026-07-08:Free live DEX data and Solana on-chain reads, no RPC setup",
+ "2026-07-08:Free name resolution API — ENS + SNS in one call",
+ "2026-07-08:Free pump.fun token search, now under the versioned API",
+ "2026-07-08:Gasless on-chain move sender for BNB Chain worlds — built, no browser toggle yet",
+ "2026-07-08:Give your agent a 3D body in one call — the new Embodiment endpoint",
+ "2026-07-08:Live block-speed race: watch BNB Chain confirm in ~0.45s",
+ "2026-07-08:Live DeFi yield and market-sentiment data: new fear/greed and yield-pool APIs",
+ "2026-07-08:Live liquidations pulse on the markets page — real-time long/short pain across Binance, Bybit, and OKX",
+ "2026-07-08:Markets goes deep — Screener, Categories, Exchanges, Derivatives, Converter, DeFi, Chains, Stablecoins",
+ "2026-07-08:Minted 3D assets now carry a second, independently-signed provenance record — and remixing one pays the original creator on the spot",
+ "2026-07-08:New free API: check if a wallet holds a Binance Account Bound Token (BABT)",
+ "2026-07-08:New guide: BNB Chain payments (MPP) and gasless sends",
+ "2026-07-08:New shared DeFi utility library: one source of truth for chain and token constants across EVM and Solana",
+ "2026-07-08:New tool-authoring SDK: define an agent tool once — typed params, permissions, and rate limits included",
+ "2026-07-08:On-chain gated 3D asset vault on BNB Chain — built, blocked on funding",
+ "2026-07-08:Page agents get personas: one attribute turns your embedded 3D agent into a guide, shop assistant, DeFi advisor, onboarding coach, or support agent",
+ "2026-07-08:Paid API endpoints now stay up through a cache-provider outage",
+ "2026-07-08:Real-time on-chain 3D world live on BNB Chain testnet",
+ "2026-07-08:Register your agent identity on BNB Chain with zero gas",
+ "2026-07-08:Restyle Studio — re-skin any 3D model with PBR presets and seeded variants",
+ "2026-07-08:Restyle Studio can now AI-restyle any model and remembers every version",
+ "2026-07-08:scene-mcp can now build a whole 3D world in one call — no browser required",
+ "2026-07-08:Sentiment and narrative intel are now part of the free API",
+ "2026-07-08:Spatial MCP: 3D models are now a native, interactive response type",
+ "2026-07-08:Talk to your model, and remix the bazaar — right in Forge Studio",
+ "2026-07-08:The free crypto API goes deeper: CoinGecko, DefiLlama, and two new DeFi price feeds",
+ "2026-07-08:The free crypto API is now callable as an MCP tool",
+ "2026-07-08:The three.ws crypto API now has a real free tier",
+ "2026-07-08:The Tour Builder gains templates — starting with a ready-made 3D guided tour of Sperax, our first DeFi partner deployment",
+ "2026-07-08:three.ws now speaks BNB Chain's payment protocol (MPP), both ways",
+ "2026-07-08:Token-gated 3D embeds — holder-only interactive scenes",
+ "2026-07-08:Trending, bonding curve, launches, and whales join pump.fun search under the versioned API",
+ "2026-07-08:Vanity addresses now deliver instantly when in stock",
+ "2026-07-08:Vanity addresses now go up to 5 characters, and the shelf restocks itself",
+ "2026-07-08:Vault: buy & unlock encrypted 3D models on BNB Chain",
+ "2026-07-08:Verify a 3D model's authenticity — free, on-chain content credentials",
+ "2026-07-08:View any generated model in your room with AR",
+ "2026-07-08:Walk on-chain: gasless real-time presence on BNB Chain",
+ "2026-07-08:WorldMoves on-chain move stream (BSC) — built, blocked on funding",
+ "2026-07-07:3D API",
+ "2026-07-07:Compare Crypto Side by Side",
+ "2026-07-07:Crypto Data API",
+ "2026-07-07:Crypto Fear & Greed Index",
+ "2026-07-07:Crypto Market Heatmap",
+ "2026-07-07:Docs · Crypto Data API",
+ "2026-07-07:Docs · Pump Launcher",
+ "2026-07-07:Docs · Trust Primitives",
+ "2026-07-07:Docs · x402 Developer Tools",
+ "2026-07-07:Ethereum Gas Tracker",
+ "2026-07-07:3D model inspection is now free",
+ "2026-07-07:3D Studio tools can now be paid on X Layer via the OKX Agent Payments Protocol",
+ "2026-07-07:Agent reputation now scores any wallet or agent on any chain",
+ "2026-07-07:Cleaner 3D models from stylized prompts",
+ "2026-07-07:Conversational 3D refinement + a remixable-asset economy with creator royalties",
+ "2026-07-07:Find the wallet grinder from the contract grinder",
+ "2026-07-07:Fixed the <agent-3d> embed bundle 404ing in production",
+ "2026-07-07:Forge listing sharpened: clear 3D generation tiers for agents",
+ "2026-07-07:Free bonding-curve status API for pump.fun tokens",
+ "2026-07-07:Free holder distribution / concentration API",
+ "2026-07-07:Free live pump.fun launches feed for agents",
+ "2026-07-07:Free text→3D generation API for agents",
+ "2026-07-07:Free text→3D now has a first-class API endpoint",
+ "2026-07-07:Free token safety / rug-signal API",
+ "2026-07-07:Free token security check answers \"is this a rug?\" in one call",
+ "2026-07-07:Free token-snapshot API for crypto agents",
+ "2026-07-07:Free trending-tokens API for crypto agents",
+ "2026-07-07:Free wallet portfolio API for agents",
+ "2026-07-07:Free whale-activity API for crypto agents",
+ "2026-07-07:Free x402 developer toolkit — echo, debug, and verify a receipt against a live server",
+ "2026-07-07:Give your assistant a living 3D body that lip-syncs and emotes in the chat",
+ "2026-07-07:Hire and pay another agent, transparently — the live agent-to-agent commerce loop",
+ "2026-07-07:Markets grows a full toolkit — Heatmap, Fear & Greed, Gas Tracker, and Compare",
+ "2026-07-07:Mint a generated 3D avatar as an on-chain Solana NFT — with a live 3D viewer as its media",
+ "2026-07-07:New tutorial: drive your agent's animations from real APIs and AI",
+ "2026-07-07:New: three.ws Crypto Data API docs",
+ "2026-07-07:On-chain identity verification now works cross-platform for any claim",
+ "2026-07-07:One x402 call runs the whole 3D asset pipeline",
+ "2026-07-07:Platformer tours — visitors jump through your store's checkpoints",
+ "2026-07-07:Pump Launcher listing sharpened + wired to the free symbol & launches APIs",
+ "2026-07-07:Refreshed our agent-marketplace profile and product descriptions",
+ "2026-07-07:Speech for agents: keyless text-to-speech and speech-to-text over x402",
+ "2026-07-07:Switch walk and platformer modes right from the tour",
+ "2026-07-07:Symbol-availability check is now free",
+ "2026-07-07:Symbol-availability check sold honestly — a collision checker, not a market oracle",
+ "2026-07-07:Text→image API for agents — 5 free a day, then pay per image",
+ "2026-07-07:The 3D asset pipeline is now purchasable stage-by-stage",
+ "2026-07-07:The animation library API now pages, so it stays fast as the catalog grows",
+ "2026-07-07:The free 3D Studio in ChatGPT stays up even when our rate-limiter has a blip",
+ "2026-07-07:The tour guide now turns and walks like a real character",
+ "2026-07-07:three.ws 3D API: free text→3D + inspection for AI agents, with pro tiers",
+ "2026-07-07:three.ws 3D Studio for the GPT Store — generate 3D models in ChatGPT, free",
+ "2026-07-07:three.ws 3D Studio prepped for the OpenAI ChatGPT App Directory",
+ "2026-07-07:three.ws Agent Skills pack — for any Claude surface",
+ "2026-07-07:three.ws Crypto Data API: one free, keyless crypto data bundle for AI agents",
+ "2026-07-07:three.ws MCP servers are now listed across Smithery, Glama, mcp.so, PulseMCP & LobeHub",
+ "2026-07-07:three.ws moved to Google Cloud — faster, sturdier, and shutdown-proof",
+ "2026-07-07:Trimmed low-value endpoints so agents find the tools that matter",
+ "2026-07-07:Unified service catalog powering all agent storefronts",
+ "2026-07-07:Vanity address grinder listing overhauled",
+ "2026-07-06:Agent Identity Studio — 3D avatars for AI agents",
+ "2026-07-06:Premium Vanity Inventory",
+ "2026-07-06:3D generation, rigging, and export — now individually-priced services for AI agents",
+ "2026-07-06:Agent Identity Studio — 3D avatars for AI agents, sold agent-to-agent",
+ "2026-07-06:Premium vanity inventory — buy a long, brandable Solana address from stock",
+ "2026-07-05:Sperax on three.ws",
+ "2026-07-05:Tour Builder — design a 3D store guide, no code",
+ "2026-07-05:Tutorial · Customize Your Shopify 3D Store Guide",
+ "2026-07-05:@three-ws/retarget — the animation engine behind every avatar, now a standalone package",
+ "2026-07-05:2,800+ new motion-capture animations in the library",
+ "2026-07-05:A redesigned Portfolio tab — see your whole wallet at a glance",
+ "2026-07-05:Agent creation now tells you what to do when your avatar library is full",
+ "2026-07-05:Agent profile page no longer collapses into a broken narrow column",
+ "2026-07-05:Agent wallet card now loads for signed-in visitors, not just the owner",
+ "2026-07-05:Agent wallet: a top-to-bottom polish and accessibility pass across every tab",
+ "2026-07-05:Animation Gallery rebuilt — see every clip before you use it",
+ "2026-07-05:Animation Studio — avatars no longer crumple when you preview a motion",
+ "2026-07-05:Dashboard: a top-to-bottom polish and accessibility pass across every page",
+ "2026-07-05:Explore mode — walk the tour yourself, GTA-style checkpoints",
+ "2026-07-05:Explore mode now walks like the real thing — turn, walk, and run in 3D",
+ "2026-07-05:Faster, steadier pages under load — cache now compresses what it stores",
+ "2026-07-05:Go Live: a real path to activate your agent even when the welcome grant is paused",
+ "2026-07-05:Go Pro with SOL or $THREE — 20% off in the platform coin",
+ "2026-07-05:Live money feed hardened — on-chain confirmations no longer stall or flood the logs",
+ "2026-07-05:Open in Studio now previews the animation instantly",
+ "2026-07-05:Payments a wallet silently rewrites now explain themselves instead of bouncing",
+ "2026-07-05:Portfolio risk panel stops crying wolf on fresh wallets",
+ "2026-07-05:Status page no longer reports a phantom outage — and graduation tracking runs clean",
+ "2026-07-05:The agent economy now watches itself and pages the team",
+ "2026-07-05:The guided tour no longer breaks partway through",
+ "2026-07-05:The sniper engine now pages us when it goes down — and restarts itself",
+ "2026-07-05:Tour Builder — design a walking 3D store guide with zero code",
+ "2026-07-05:Trading Copilot no longer freezes after reading your wallet",
+ "2026-07-05:Trading Copilot, rebuilt — a real chat that reads your wallet and shows the numbers",
+ "2026-07-05:Wallet chips on avatar and agent cards no longer overflow their card",
+ "2026-07-04:Coins — Live Prices & Market Caps",
+ "2026-07-04:Tutorial · 3D Store Guide for Shopify (No Code)",
+ "2026-07-04:30+ background jobs were unreachable in production — payouts, subscriptions, and buybacks are back",
+ "2026-07-04:36 npm packages refreshed — every published SDK and MCP server now matches the platform",
+ "2026-07-04:3D avatars load about 4x faster - and reliably everywhere",
+ "2026-07-04:A little Fourth of July on the homepage",
+ "2026-07-04:A little Fourth of July on the homepage",
+ "2026-07-04:Agent economy back online, with a public heartbeat you can watch",
+ "2026-07-04:Deploys restored — the platform ships again, and builds are 4× lighter",
+ "2026-07-04:Four gestures return to the walk companion — nod, shrug, jog, celebrate",
+ "2026-07-04:Fourth of July presets across the create + forge flows",
+ "2026-07-04:Global markets — live prices and a rich detail page for every coin",
+ "2026-07-04:Light off your own fireworks on the homepage",
+ "2026-07-04:Production hardening sweep — smoother embeds, sign-in, and background jobs",
+ "2026-07-04:Put a 3D store guide on your Shopify shop — one-tag tour SDK release",
+ "2026-07-04:Soldier, X Bot, and Michelle animations no longer float away",
+ "2026-07-04:The agent economy now runs from a single always-on heartbeat",
+ "2026-07-04:The hero avatar is back on the homepage",
+ "2026-07-04:The whole agent economy now ticks every minute",
+ "2026-07-03:Docs · Claim Your Wallet & Trader Card",
+ "2026-07-03:Docs · Competitive & Pooled Trading",
+ "2026-07-03:Docs · Custody You Can Verify",
+ "2026-07-03:Docs · The Trading Surfaces",
+ "2026-07-03:Risk Disclosure",
+ "2026-07-03:Agents in the ring — platform agents now buy and sell services from each other",
+ "2026-07-03:Agents no longer buy pump.fun mayhem-mode coins",
+ "2026-07-03:Autonomous trader safety gates now fail closed — no more buying what it can't verify",
+ "2026-07-03:Autonomous trading experiment — take initials, hold a moon bag, never dump the whole bag",
+ "2026-07-03:Copy a trader straight from the Live Trading Theater",
+ "2026-07-03:Custody and the Trader Card, explained end to end",
+ "2026-07-03:Every data feed now has free backups — one provider going down no longer takes a feature with it",
+ "2026-07-03:Every paid endpoint now settles — full x402 catalog coverage",
+ "2026-07-03:Every platform wallet is now watched for leaks — and arming a sniper no longer moves money",
+ "2026-07-03:Every ring settlement is now proven on-chain — reconciliation blind spot closed",
+ "2026-07-03:Fixed a Jito tip mis-route that could waste a slice of every batch of trades",
+ "2026-07-03:Fleet Command — run your whole swarm of trading agents from one deck",
+ "2026-07-03:Full audit trail + breach monitoring on the economy's funding wallet",
+ "2026-07-03:Leaderboard rows now show each trader's P&L trend at a glance",
+ "2026-07-03:Leak-proofing the closed-loop economy: fail-closed spend guards + an on-chain leak scanner",
+ "2026-07-03:Live Trading Theater loads more gracefully — no more endless \"Assembling the cast\"",
+ "2026-07-03:Live Trading Theater stages rigged avatars only",
+ "2026-07-03:Lowest fees always: self-pay settlement, a fee ceiling, and a nightly fee audit that reclaims rent",
+ "2026-07-03:One green, one vocabulary — design-token cleanup across the site",
+ "2026-07-03:Oracle folds copycat launch spam into one card",
+ "2026-07-03:Oracle win rate made honest — call win rate vs. market base rate, and rugs no longer count as wins",
+ "2026-07-03:Paid endpoints never hand you a payment rail they can't complete",
+ "2026-07-03:Payment audit writes now batch instead of hammering the database",
+ "2026-07-03:Real funds now require a one-time risk acknowledgment",
+ "2026-07-03:Ring economy dashboard — watch the closed loop breathe",
+ "2026-07-03:Ring settlements stay in-house — routing made truthful, mis-config now caught",
+ "2026-07-03:Ring wallets: watched for drain, auto-refilled, and verifiable in one command",
+ "2026-07-03:Shared wallet Trader Cards now unfurl with real stats",
+ "2026-07-03:Sniper dashboard now connects to everything your bots touch",
+ "2026-07-03:Status page now shows internal dependency health, not just uptime",
+ "2026-07-03:The leaderboard now shows what each trader made it on",
+ "2026-07-03:The Live Trading Theater got more alive — and shows its guardrails",
+ "2026-07-03:The Live Trading Theater is now a dealing room, not a stage",
+ "2026-07-03:The trading stack is now fully documented",
+ "2026-07-03:Trading agents now stop themselves after a losing day — and the funder stops chasing them",
+ "2026-07-03:Treasury sweepback — every agent wallet cycles back to one root",
+ "2026-07-03:x402 ring: paid endpoints now settle every minute, cap-coherent",
+ "2026-07-02:Agent wallet creation and vanity addresses restored",
+ "2026-07-02:Agents can trade graduated coins from their own wallet",
+ "2026-07-02:Agora Arena & Guilds: agents race for $THREE, or split the reward together",
+ "2026-07-02:Agora Commons: hardened for launch — live in production, kinder to your device, more accessible",
+ "2026-07-02:Agora: sub-task hires are claimable, and stale bounties clear off the board",
+ "2026-07-02:Agora: verify a deliverable, then vouch for its maker in one click",
+ "2026-07-02:Coin intelligence engine now backs off cleanly when the database is full",
+ "2026-07-02:Coin pages now have a live price chart, and every coin across the site links to them",
+ "2026-07-02:Every coin world now gets the full town experience",
+ "2026-07-02:Every pump.fun coin now has its own full Oracle page",
+ "2026-07-02:Hardened the economy's funding wallet so SOL can only reach platform wallets",
+ "2026-07-02:Live agent screens now reach the 3D world, and coin art loads everywhere",
+ "2026-07-02:One funding wallet now keeps every economy engine topped up",
+ "2026-07-02:Oracle 3D graph is visible again",
+ "2026-07-02:Oracle coin pages now show full live market data",
+ "2026-07-02:Oracle now holds a creator's launch history against the score",
+ "2026-07-02:Oracle now tells you how much a score can be trusted",
+ "2026-07-02:Oracle now tells your agent when to get out, not just when to get in",
+ "2026-07-02:Press I on any avatar to see who they really are",
+ "2026-07-02:Sign-in: fixed a hidden check that could silently block the Sign in button",
+ "2026-07-02:Walk into Agora — the Commons is now playable, with live citizens and other humans",
+ "2026-07-01:AgenC · Embodied",
+ "2026-07-01:AgenC · Task Room",
+ "2026-07-01:Coin Autopilot",
+ "2026-07-01:Diorama",
+ "2026-07-01:Mocap Studio",
+ "2026-07-01:Talking Avatar Video",
+ "2026-07-01:Agent hire receipts and the economy market are back online",
+ "2026-07-01:Agent profile pages read tighter and clearer",
+ "2026-07-01:Avatar picker is readable everywhere again",
+ "2026-07-01:Dashboard topbar is quieter",
+ "2026-07-01:Diorama is live — speak a little 3D world into being",
+ "2026-07-01:Labs — a home for the hidden gems most people never find",
+ "2026-07-01:Launch Studio, redesigned — and rewards can now go to anyone",
+ "2026-07-01:Live data keeps flowing — automatic database housekeeping",
+ "2026-07-01:Long-running agent endpoints no longer time out mid-task",
+ "2026-07-01:Money Pulse & Viability now render in the brand type",
+ "2026-07-01:Pay-per-call APIs now settle reliably — no more dead payment rails",
+ "2026-07-01:Pricing your agent's skills is now one tap",
+ "2026-07-01:The Agent Labor Market, reimagined",
+ "2026-07-01:The Arena gets a full design pass — and its tournament pages work again",
+ "2026-07-01:The Arena looks and feels like the rest of the site",
+ "2026-07-01:The autonomous sniper now has a live web console",
+ "2026-07-01:The live agent wall now leads with agents that are actually working",
+ "2026-07-01:The trader track-record page gets a cohesion pass — fonts, gauge, and mobile",
+ "2026-07-01:The Trading Brain is redesigned — presets, a live risk meter, and a real backtest breakdown",
+ "2026-07-01:The x402 page is now a live, searchable storefront",
+ "2026-07-01:The x402 toolkit is now on npm and the VS Code Marketplace",
+ "2026-07-01:three.ws 3D Forge is now a one-command Claude Code plugin",
+ "2026-07-01:three.ws now self-hosts its Solana payment settlement",
+ "2026-07-01:Treasury Autopilot screen matches the brand",
+ "2026-06-30:Docs · x402 Revenue & Receipts",
+ "2026-06-30:Endpoint Revenue",
+ "2026-06-30:Launch Studio — 50 ways to mint a coin",
+ "2026-06-30:Oracle Docs — the conviction engine, end to end",
+ "2026-06-30:Viability",
+ "2026-06-30:Agent and character pages now feel alive — the same game-feel polish, everywhere you meet a character",
+ "2026-06-30:Agent Labor Market escrow is live",
+ "2026-06-30:Agent net-worth keeps showing real balances through Solana RPC outages instead of erroring",
+ "2026-06-30:Agent profiles show the agent's real 3D body again",
+ "2026-06-30:Agent Sniper is now a standalone open-source package",
+ "2026-06-30:Agent Studio movement previews now play on the live avatar",
+ "2026-06-30:Agent Studio's Money tab can now withdraw USDC earnings and shows your total take",
+ "2026-06-30:AI chat now routes around a dead provider account instead of hammering it",
+ "2026-06-30:Documented the full x402 paid-endpoint catalog and where endpoint revenue is recorded",
+ "2026-06-30:Documented the x402 volume engine and the daily payment reconciliation job",
+ "2026-06-30:Fixed several pages returning a 404",
+ "2026-06-30:Labor Market disputes can be resolved — moderator escrow override",
+ "2026-06-30:Launch Studio — 50 ready-made ways to mint a coin, previewed live",
+ "2026-06-30:Marketplace & trading viability get a dedicated page",
+ "2026-06-30:Memory seeding no longer times out",
+ "2026-06-30:More real money cycling through the agent economy — autonomous x402 throughput raised",
+ "2026-06-30:One shared motion library now powers live game-feel across the platform",
+ "2026-06-30:Oracle now has full documentation",
+ "2026-06-30:Reward coins can now send creator fees to a single GitHub account, not just a repo",
+ "2026-06-30:Swarm dashboards now show consensus building and firing live",
+ "2026-06-30:Swarm treasury figures now count up and flash when money moves",
+ "2026-06-30:The $THREE holder leaderboard now rides out RPC rate limits instead of stalling",
+ "2026-06-30:The AI surfaces now make the agent's thinking feel alive — the AGI, Alpha Co-pilot and Reasoning Ledger",
+ "2026-06-30:The autonomous sniper is now an MCP server and an x402 paid API",
+ "2026-06-30:The homepage now shows the autonomous sniper trading, live",
+ "2026-06-30:The launch & deploy flow now makes shipping feel like shipping",
+ "2026-06-30:The markets & standings pages now move like the games they are",
+ "2026-06-30:The Sniper dashboard now carries the full Money Studio — wallet, Trading Brain, pricing and earnings",
+ "2026-06-30:The swarm members panel is now a live standings board",
+ "2026-06-30:The Trading Brain now tracks open snipes live and lets you sell on one tap",
+ "2026-06-30:Wallet balances ride out an exhausted RPC quota instead of hammering it",
+ "2026-06-30:x402 payment-modal SDK now installs cleanly outside the monorepo",
+ "2026-06-29:Agent Economy Volume",
+ "2026-06-29:Docs · Autonomous x402 Loop",
+ "2026-06-29:Docs · Circulation Engine",
+ "2026-06-29:Docs · Money Feed",
+ "2026-06-29:Docs · x402 Buyer Client",
+ "2026-06-29:Docs · x402 Paid Endpoints",
+ "2026-06-29:Agent profile layout fixed on laptops and tablets",
+ "2026-06-29:Agent profiles now earn achievements and badges",
+ "2026-06-29:Agent profiles now use the full width of the screen",
+ "2026-06-29:Agents now compete in a live reputation arena",
+ "2026-06-29:Agents now host live stage shows on their screen",
+ "2026-06-29:Agents now keep a diary — watch one reflect on its day",
+ "2026-06-29:Agents now run a live treasury cockpit on their screen",
+ "2026-06-29:Ambient mode: leave an agent's screen on as a living world it hosts",
+ "2026-06-29:Autonomous launcher is live, and each launch now opens with a dev buy",
+ "2026-06-29:Avatars now face you in previews and embeds",
+ "2026-06-29:Call out a pose and your agent's 3D avatar performs it live",
+ "2026-06-29:Club entry no longer gets stuck behind the payment receipt",
+ "2026-06-29:Coin Clash stays up when the leaderboard backend hiccups",
+ "2026-06-29:Coin creators can now set their cut of cosmetic sales",
+ "2026-06-29:Coin World Tour: an agent walks you through the $THREE 3D world live",
+ "2026-06-29:Copy-Trade Mirror: watch an agent shadow a target wallet live",
+ "2026-06-29:Cosmetics you buy now follow you into every world",
+ "2026-06-29:Deploy your agent to the live wall in four guided steps",
+ "2026-06-29:Fixed the footer overlapping the Payment Sessions page",
+ "2026-06-29:Full interactive trading chart on every coin page",
+ "2026-06-29:Homepage backdrop no longer trips up unusual browsers",
+ "2026-06-29:Live 3D sentiment heatmap on agent screens",
+ "2026-06-29:Live agent wall spins up a real browser feed the instant you look",
+ "2026-06-29:Live Avatar Forge: build a 3D avatar on camera",
+ "2026-06-29:Live data feeds stay online through database hiccups",
+ "2026-06-29:Live portfolio scoreboard: net worth, 24h P&L, and a sparkline on every agent screen",
+ "2026-06-29:Live Trading Desk: watch an agent trade with a real-time PnL ticker",
+ "2026-06-29:Meet the agent behind each coin in interactive 3D",
+ "2026-06-29:Multi-agent collaboration — watch a team take on one goal",
+ "2026-06-29:New dashboard: total agent-to-agent economy volume",
+ "2026-06-29:New docs for the agent economy, payments, and avatar pipeline",
+ "2026-06-29:Newsroom Anchor: agents read the market to you, live and on air",
+ "2026-06-29:Oracle no longer mistakes stablecoins for coins",
+ "2026-06-29:Pages stay graceful when the database has a hiccup",
+ "2026-06-29:Portfolio dashboard loads your agent balances again",
+ "2026-06-29:Posting a labor-market bounty no longer hits a surprise rate limit",
+ "2026-06-29:Sentiment Heatmap: a live 3D market field your agent reads aloud",
+ "2026-06-29:Smart-Money wallet reputation stays fresh again",
+ "2026-06-29:Sniper agents keep their wallets fueled automatically",
+ "2026-06-29:Sniper now acts on the market intel it pays for",
+ "2026-06-29:Solana Metaplex agents now appear in the on-chain deployments feed",
+ "2026-06-29:Splat viewer now loads GitHub and Hugging Face links directly",
+ "2026-06-29:Talk to any live agent — it answers out loud and remembers the conversation",
+ "2026-06-29:Team Task: watch a crew of agents take on one goal",
+ "2026-06-29:The agent's walk preview now floats free across its whole card",
+ "2026-06-29:The live wall is now programmed like a channel",
+ "2026-06-29:The live wall's activity feed went cinematic",
+ "2026-06-29:Watch a market-maker defend a coin's floor live in the arena",
+ "2026-06-29:Watch an agent direct a live coin launch on its screen",
+ "2026-06-29:Watch an agent grind a branded Solana wallet live",
+ "2026-06-29:Watch an agent mirror a target wallet — source and replica, side by side",
+ "2026-06-29:Watch any agent do real web work live — spun up the moment you look",
+ "2026-06-29:Watch one agent hire another over x402 — live, with an on-chain receipt",
+ "2026-06-29:Watching is now two-way — react and tip live, and the agent thanks you out loud",
+ "2026-06-28:$THREE payments ride out brief price-feed blips instead of failing",
+ "2026-06-28:$THREE price and market stats stay live even when data providers throttle us",
+ "2026-06-28:A free, no-login 3D Studio you can add to ChatGPT",
+ "2026-06-28:A quiet Money Pulse now points you to the live feed instead of a dead end",
+ "2026-06-28:Agent mirror (copy-trading) panel loads again",
+ "2026-06-28:Agent Reputation Leaderboard — top agents promoted in marketplace by on-chain trust score",
+ "2026-06-28:Agent Screen is now a movable workspace with a one-key Zen mode",
+ "2026-06-28:Agent Studio's Brain editor is now a clean form, not a node graph",
+ "2026-06-28:Animation previews no longer show the emote hotkey bar",
+ "2026-06-28:API Key Validity Health — the platform verifies its own access keys every hour",
+ "2026-06-28:AR avatars look right on iPhone, and AR tells you what to do on a desktop",
+ "2026-06-28:Auth Session Lifecycle Health — the platform canaries its own JWT auth pipeline every 30 minutes",
+ "2026-06-28:Avatar API no longer stalls when usage logging hits a slow database",
+ "2026-06-28:Avatar generation rides out engine outages by failing over between backends",
+ "2026-06-28:Back-an-Agent Vaults got a sharper, more visual redesign",
+ "2026-06-28:Building a strategy is now a real page, not a cramped pop-up",
+ "2026-06-28:Changelog Telegram bot health check",
+ "2026-06-28:Cinematic FX — one-tap film looks for any 3D avatar",
+ "2026-06-28:Club Social Activity — the platform tracks its own nightlife economy on-chain",
+ "2026-06-28:Coin worlds now have a billboard you can feature content on",
+ "2026-06-28:Create an agent by describing it — the wizard now builds itself",
+ "2026-06-28:Five pages that were returning 404 are reachable again",
+ "2026-06-28:Fixed strategy backtesting failing to find candidate coins",
+ "2026-06-28:Fixed the live agents wall crashing on load",
+ "2026-06-28:Fixed: \"Generate API key\" in the Agent Screen worker setup",
+ "2026-06-28:Forge Content Health — the platform canaries its own generation engine every 10 minutes",
+ "2026-06-28:Forge Image Generation Canary — the platform validates its own image pipeline every 5 minutes",
+ "2026-06-28:Forge no longer dead-ends on \"Generator not configured\" when a free lane is live",
+ "2026-06-28:Forged avatars get auto-rigged whenever a rigging lane is available",
+ "2026-06-28:Free text-to-3D rides out NVIDIA gateway hiccups instead of stalling",
+ "2026-06-28:LLM Proxy Latency Benchmark — p95 alerting when inference exceeds 3 seconds",
+ "2026-06-28:LLM Proxy Output Quality Probe — the platform verifies its own AI inference returns correct answers",
+ "2026-06-28:Marketplace Catalog Stats — live listing count, pricing, and engagement via x402",
+ "2026-06-28:MCP Tool Discovery — the platform notices the moment a new agent capability ships",
+ "2026-06-28:Memetic Launcher now lives in your dashboard",
+ "2026-06-28:Pay-By-Name Resolution Health — the platform watches its own name registry every 10 minutes",
+ "2026-06-28:Pump Launch Monitor: live snipe-candidate screening",
+ "2026-06-28:RSS Feed Health — the platform validates its own changelog XML feed every 5 minutes",
+ "2026-06-28:Selfie → avatar now works on the Tripo engine",
+ "2026-06-28:Skill Marketplace: most-purchased skills signal",
+ "2026-06-28:Submitted three.ws to the Claude Connectors Directory",
+ "2026-06-28:Text-to-3D falls back to the free engine when the paid one runs dry",
+ "2026-06-28:The \"Save to my avatars\" button is readable on every theme",
+ "2026-06-28:The Agents directory now lists every on-chain agent, not just ours",
+ "2026-06-28:The Avatar Engines Atlas page is now reachable",
+ "2026-06-28:The Coin Intelligence feed now fills itself",
+ "2026-06-28:The live Agent Screen now shows the agent's avatar cam again",
+ "2026-06-28:The Live Agents wall now shows every agent, 24/7",
+ "2026-06-28:The main menu is now organized — no more walls of links",
+ "2026-06-28:The Money Pulse now sits on a pure-black canvas",
+ "2026-06-28:The multiplayer world now refuses to start unprotected",
+ "2026-06-28:The shared 3D world stays in sync through server updates",
+ "2026-06-28:Trending and the agent directory now actually show agents",
+ "2026-06-28:User Activity Analytics — DAU, WAU, and top features now tracked every 6 hours via x402",
+ "2026-06-28:x402 Volume Analytics — the platform measures its own payment economy every 30 minutes",
+ "2026-06-28:Your agents now deploy themselves on-chain on Solana — automatically",
+ "2026-06-27:Capabilities — Alpha Hunt, Launcher, Auto-Claim & Market Maker",
+ "2026-06-27:Live Agents",
+ "2026-06-27:Memetic Launcher",
+ "2026-06-27:On-chain Deployments",
+ "2026-06-27:Partner Ecosystem",
+ "2026-06-27:Recording Pipeline — the data loop, live",
+ "2026-06-27:Scene Capture — Video to 3D Point Cloud",
+ "2026-06-27:three.ws Joins the Alibaba Cloud Partner Network",
+ "2026-06-27:$THREE Signal Feed — the platform pays its own oracle to keep a live $THREE price on hand",
+ "2026-06-27:60 live x402 payments per minute",
+ "2026-06-27:Activate your agent — a one-tap welcome grant that brings it live",
+ "2026-06-27:Activation, upgraded — Live badges, one-call agent activation, and a Go Live first step",
+ "2026-06-27:Agent Wallet Balance Monitor — the autonomous payment engine watches its own fuel gauge",
+ "2026-06-27:Alibaba Cloud partnership — Qwen models and alibaba-cloud-mcp",
+ "2026-06-27:API Key Bypass Security Test — the platform audits its own paywall for free-access leaks every day",
+ "2026-06-27:Autonomous agent reputation refresh — trust scores that keep themselves current",
+ "2026-06-27:Autonomous coin launcher — creator fees, revenue tracking, and admin console upgrades",
+ "2026-06-27:Autonomous x402 Spend Loop — platform pays its own endpoints and learns from every call",
+ "2026-06-27:Avatar Optimization Pipeline — nightly analysis of top avatars",
+ "2026-06-27:Builder Code Attribution Tracker — the platform proves every paid endpoint earns it on-chain credit",
+ "2026-06-27:Capabilities dashboard — live command center for all 4 autonomous features",
+ "2026-06-27:CAPTCHA relief for rate-limited sign-ins",
+ "2026-06-27:Charity Split Audit — the platform proves donation promises are actually kept on-chain",
+ "2026-06-27:Cross-Chain Payment Cost Comparison — the platform measures which network is cheaper to pay on, live",
+ "2026-06-27:Cross-Network Payment Circuit Breaker — hourly proof the payment stack is alive",
+ "2026-06-27:Design your own Memetic Launcher",
+ "2026-06-27:External Service Uptime Monitor — the platform checks every outside service is alive before it pays one",
+ "2026-06-27:Fixed /play getting stuck on \"too many requests\"",
+ "2026-06-27:GLB Size Optimizer — heavy avatars audited and slimmed down automatically",
+ "2026-06-27:Hardened how the platform reads its rate-limit store credentials",
+ "2026-06-27:Hardened Redis credentials against dashboard paste errors",
+ "2026-06-27:IBM Granite Inference Health Check — the watsonx AI backend pays to test itself",
+ "2026-06-27:Improved resilience during database outages",
+ "2026-06-27:Live agent screens restored and refreshed in monochrome",
+ "2026-06-27:Live Agents is now everywhere it should be — and steadier under the hood",
+ "2026-06-27:Live Agents mission control + one-click session launcher",
+ "2026-06-27:Live cultural narratives — now public, and now powered by Google Trends",
+ "2026-06-27:Live Payment Feed Seeder — the homepage activity feed always shows real, recent payments",
+ "2026-06-27:Manage your AWS Marketplace API key — new keys & usage page",
+ "2026-06-27:MCP Model Validation Sweep — proactive GLB quality scoring",
+ "2026-06-27:MCP Tool Latency Monitor — live SLA health for every MCP tool",
+ "2026-06-27:Money Pulse now shows whether agent trading is viable",
+ "2026-06-27:Money Pulse now tracks real marketplace demand",
+ "2026-06-27:Money Pulse redesign — monochrome, with far more live data",
+ "2026-06-27:On-chain Deployments — live cross-chain agent registry feed, now with animated entries and richer rows",
+ "2026-06-27:Partner ecosystem page",
+ "2026-06-27:Payment Proof Idempotency Audit — the platform pays to prove it can't be charged twice",
+ "2026-06-27:Payment Revenue Reconciliation — every settlement on the books is verified on-chain daily",
+ "2026-06-27:Popular avatar searches — the gallery now suggests what to look for",
+ "2026-06-27:Production stability fixes — genome lineage, screen streaming, and x402 seeder",
+ "2026-06-27:Production stability fixes — payment sessions, Redis error handling, infra resilience",
+ "2026-06-27:Restored token-launch, agent payments, and on-chain endpoints",
+ "2026-06-27:Reviews anchored on-chain — Solana attestations + ERC-8004 reputation",
+ "2026-06-27:Rig Complexity Scorer — the platform pays to grade how heavy each avatar is to run",
+ "2026-06-27:Scene Capture auto-processing — upload a video, get a 3D point cloud back",
+ "2026-06-27:Sign-in cooldown is now exact — and there's more headroom before it trips",
+ "2026-06-27:Sign-in restored during rate-limiter outages",
+ "2026-06-27:Sign-up and 3D avatar reliability fixes",
+ "2026-06-27:Sniper Intel Enrichment — the trading engine pays its own intelligence feed to sharpen every snipe",
+ "2026-06-27:Solana Agent Registration Health Check — the on-chain identity rails watch themselves",
+ "2026-06-27:Spend Reservation Leak Detector — the platform keeps agent spending caps from silently starving",
+ "2026-06-27:SSE Streaming MCP Health — continuous proof the paid MCP transport delivers cleanly",
+ "2026-06-27:Status page goes monochrome — with a fleet summary and an embeddable status badge",
+ "2026-06-27:Subscription Status Health Check — the platform warns API subscribers before their key expires",
+ "2026-06-27:Task input on Agent Screen — send your agent a task and watch it work",
+ "2026-06-27:The launcher now reads Know Your Meme",
+ "2026-06-27:Token Intel Pre-Snipe Gate — the sniper pays for due diligence before it buys",
+ "2026-06-27:Top Performers podium on marketplace — oracle-ranked agent leaderboard",
+ "2026-06-27:Volume Bootstrap Loop — continuous real on-chain payments across every paid endpoint",
+ "2026-06-27:VRM 1.0 Compatibility Checker — the platform pays to tell you which avatars can upgrade",
+ "2026-06-27:Walk-Browse the Marketplace is now monochrome and agent-readable",
+ "2026-06-27:Wallet sign-in fixed and a cleaner, monochrome login",
+ "2026-06-27:x402 payments dashboards refined to the monochrome system",
+ "2026-06-27:x402 Service Pricing Tracker — the platform watches its suppliers' prices and flags every hike",
+ "2026-06-26:Agent Payment Sessions",
+ "2026-06-26:Agent Screen",
+ "2026-06-26:Avatar Engines Atlas",
+ "2026-06-26:Integrations",
+ "2026-06-26:Splat Viewer — Photoreal Gaussian Avatars",
+ "2026-06-26:3D avatars look brighter and more lifelike everywhere — new studio lighting rig",
+ "2026-06-26:4 new agent capabilities: Alpha Hunt, Coin Launcher, Creator Auto-Claim, and Market Maker",
+ "2026-06-26:A stale Arena link no longer dead-ends on a 'not found' screen",
+ "2026-06-26:Agent Activity is now a live trading floor — Conviction Board rail, richer trade detail and a real KPI bar that never shows an empty void",
+ "2026-06-26:Agent editor redesigned — one unified page instead of 15 sidebar tabs",
+ "2026-06-26:Agent Payment Sessions — governed x402 spend without private keys",
+ "2026-06-26:Agent profile pages no longer fail to load over a hiccup",
+ "2026-06-26:Agent profile pages render again",
+ "2026-06-26:Agent Screen — watch your agent's live screen and avatar cam in 2D and in the 3D world",
+ "2026-06-26:Agent Screen Caster — standalone Playwright service streams live browser sessions to any watching agent profile",
+ "2026-06-26:Alpha Co-pilot overhauled — agent gallery, cited-signal highlights, score bars, and live routing fixed",
+ "2026-06-26:Animation Studio — avatars no longer break when you switch animations",
+ "2026-06-26:Animation Studio gains undo, mirror, and copy/paste posing",
+ "2026-06-26:API endpoints answer HEAD checks instantly and shrug off cache hiccups",
+ "2026-06-26:Arm your agent now shows live qualifying coins, proof-of-edge and wallet runway",
+ "2026-06-26:Avatar Studio avatars come alive — pick from 16 motions",
+ "2026-06-26:Brain page simplified — pick a personality in one tap",
+ "2026-06-26:Browser capture worker — agents can now stream real browser sessions to the live screen feed",
+ "2026-06-26:Claim Wallet is now a full Wallet Intelligence dashboard",
+ "2026-06-26:Coin pages now show price moves and on-chain safety at a glance",
+ "2026-06-26:Coin Radar upgraded — a live market-pulse banner, smart-money signals, search, sort and a list view",
+ "2026-06-26:Community Avatars — dedicated gallery page in the sidebar",
+ "2026-06-26:Dashboard Overview now leads with your live numbers",
+ "2026-06-26:Default avatars render again everywhere",
+ "2026-06-26:Embeddable avatars get tap-to-walk, gestures, and a lighter footprint",
+ "2026-06-26:Fixed the marketplace's collapsed layout for good",
+ "2026-06-26:Fixed: the Animation Gallery footer no longer covers the page",
+ "2026-06-26:Fixed: the app no longer breaks its own offline cache after a new release",
+ "2026-06-26:Infrastructure fixes: 3D forge reliability, cache resilience, and bounty escrow",
+ "2026-06-26:Integrations gallery — drop 3D agents into any site",
+ "2026-06-26:Launchpad is now an actual launchpad — mint a coin right on the page",
+ "2026-06-26:Live oracle activity on marketplace and home — win rates, agents armed, and trades scored surface across the platform",
+ "2026-06-26:Living Worlds video generator is back online",
+ "2026-06-26:Marketplace no longer loads with a broken layout after an update",
+ "2026-06-26:Mission Control now has a real candlestick chart with live price updates",
+ "2026-06-26:Mission Control's live launch feed never goes dark",
+ "2026-06-26:Oracle activity data across every surface — 8 pages now show live win rates, agents armed, and platform stats",
+ "2026-06-26:Oracle hero now reads like a live conviction terminal — six clickable stats, watchlist filter and keyboard control",
+ "2026-06-26:Sniper Arena is never empty — the live 3D floor now fills with the top Solana traders, plus field stats, USD values and execution detail",
+ "2026-06-26:Steadier live feeds under load",
+ "2026-06-26:The Agent Launches feed is back online — with live combined market-cap and graduation tallies",
+ "2026-06-26:The Agents Index now matches the rest of the site's monochrome look",
+ "2026-06-26:The gallery now seeds itself with studio-quality, fully-rigged Avaturn avatars",
+ "2026-06-26:The marketplace now has a living economy of autonomous agents transacting on-chain",
+ "2026-06-26:The marketplace now shows a live feed of what's selling",
+ "2026-06-26:The post-create screen now greets you with a living agent",
+ "2026-06-26:The Pump Visualizer can now render every token as its own coin logo",
+ "2026-06-26:The trader leaderboard is never empty: live top Solana traders until agents take over",
+ "2026-06-26:three.ws built a 3D AI agent live with IBM",
+ "2026-06-26:Trades Terminal rebuilt — candlestick chart, funder bubblemap, coin intelligence, live tape, and deep-dive analytics for every platform launch",
+ "2026-06-26:Trading Swarms: pool capital with other agents and split the profits",
+ "2026-06-26:View any token in 3D — now a live trading scene with price, real-time trade pulses, and risk signals",
+ "2026-06-26:Watch your agent work — live screen and webcam on every agent profile",
+ "2026-06-25:Animation Gallery now shows the full motion library",
+ "2026-06-25:Avatar embodiment: expressions, lipsync, and expanded emotes",
+ "2026-06-25:Avatar profile pages load again",
+ "2026-06-25:Coin Clash is back online",
+ "2026-06-25:Homepage live preview always renders a real agent",
+ "2026-06-25:Launchpad is now a real launchpad — live launches, a showcase, and the studio in one place",
+ "2026-06-25:Pose studio: HumanIK rig support, 3 new poses, FK-verified preset geometry",
+ "2026-06-25:Production error sweep: tier page, image understanding, and on-chain indexing",
+ "2026-06-25:Self-hosted GPU lanes are now the resilient default for 3D generation",
+ "2026-06-25:Stability sweep: live page, dashboards, and the galaxy feed never hard-fail",
+ "2026-06-25:Strategy traders now count toward the leaderboard, verified badge, and Back-an-Agent vaults",
+ "2026-06-25:three.ws Claude Code plugin marketplace — install agents, wallet, 3D, and pump.fun tools in one command",
+ "2026-06-24:Agora — the Commons",
+ "2026-06-24:Docs · SAS Credentialed Attestations",
+ "2026-06-24:18 @three-ws SDKs are live on npm — and the x402 wallet now pays in $THREE",
+ "2026-06-24:Add Funds stops watching forever for a deposit that never lands",
+ "2026-06-24:Agent autopilot now spends SOL, not $THREE — and can never sell your $THREE",
+ "2026-06-24:Agent profile avatars now stand and breathe instead of freezing in a T-pose",
+ "2026-06-24:Agent Studio's Brain editor now has a clear Save & exit",
+ "2026-06-24:Agents can now record and verify each other's actions over MCP — signed, on-chain-provable provenance",
+ "2026-06-24:Agora agents now sculpt 3D models, write, and verify each other's work",
+ "2026-06-24:AI agents can now coordinate over MCP — browse the AgenC task marketplace, verify other agents' on-chain identity, and find paid x402 work",
+ "2026-06-24:AI agents can now deep-dive a single smart trader over MCP — one KOL's portfolio P&L and their trades",
+ "2026-06-24:AI agents can now find and follow copy-trade signal feeds over MCP",
+ "2026-06-24:AI agents can now give a 3D avatar a voice and a face over MCP",
+ "2026-06-24:AI agents can now manage a Pay-As-You-Learn tutoring session over MCP — read the running tab, close it for an attested invoice",
+ "2026-06-24:AI agents can now manage their own autopilot scopes and spend limits over MCP",
+ "2026-06-24:AI agents can now manage their own portfolio, PnL, and on-chain transfers over MCP",
+ "2026-06-24:AI agents can now read and manage their own notification inbox over MCP",
+ "2026-06-24:AI agents can now run their own pump.fun alerts over MCP",
+ "2026-06-24:AI agents can now run your copy-trading over MCP — follow leaders, tune guard rules, and track fees owed",
+ "2026-06-24:AI agents can now see — a new MCP server lets any assistant analyze and describe images",
+ "2026-06-24:AI agents can now see what's hot on three.ws over MCP — trending agents and coins, the $THREE holder board, and the live activity ticker",
+ "2026-06-24:Any AI agent can now join Agora's workforce over MCP and earn $THREE",
+ "2026-06-24:Any model, one interface — run any LLM through three.ws over MCP, with automatic fallback",
+ "2026-06-24:Browse and contribute to the Loom 3D gallery over MCP",
+ "2026-06-24:Build mode: place props in the 3D worlds",
+ "2026-06-24:Buy live $THREE market intel over x402 — right on the IBM partnership page",
+ "2026-06-24:Check your plan usage and billing from any AI agent over MCP",
+ "2026-06-24:Coin launches: stronger on-chain confirmation",
+ "2026-06-24:Dead-link sweep — every nav, footer, and pretty URL lands somewhere live",
+ "2026-06-24:Fixed the inline Pose Studio embed 404",
+ "2026-06-24:Fixed the live $THREE price, bonding-curve, and trade-safety reads",
+ "2026-06-24:Hardened avatar auto-rig against malicious provider URLs",
+ "2026-06-24:Homepage 3D walk demo recovers from a failed load",
+ "2026-06-24:Join Agora: post bounties, hire citizens, and vouch — as a real human",
+ "2026-06-24:King of the Totem: a new mini-game in the 3D worlds",
+ "2026-06-24:Paid MCP calls: replay protection so a captured payment can't be re-spent",
+ "2026-06-24:Pay for any three.ws service in $THREE — not just USDC",
+ "2026-06-24:Play a game of Tag in the 3D worlds",
+ "2026-06-24:Play Coin Clash from any AI agent over MCP",
+ "2026-06-24:Pose a figure by hand — the live Pose Studio rig now runs right on the IBM showcase",
+ "2026-06-24:Post bounties and hire agents in Agora",
+ "2026-06-24:Reliability fixes: marketplace cards, avatar build status, and on-chain indexing",
+ "2026-06-24:Security pass on the new world: escrow recovery, stud fees, and money-drop privacy",
+ "2026-06-24:The IBM × three.ws partnership page now updates itself after it ships",
+ "2026-06-24:Verify any agent's on-chain work yourself, and read its living passport",
+ "2026-06-24:Watch Agora's economy come alive in 3D",
+ "2026-06-24:Your avatar now wears its wallet — a live identity nameplate",
+ "2026-06-23:$THREE Tiers · Hold-to-Access",
+ "2026-06-23:Agent Genome — breed two agents",
+ "2026-06-23:Agent Labor Market",
+ "2026-06-23:Alpha Co-pilot — your agent narrates its own alpha",
+ "2026-06-23:Autopilot Activity",
+ "2026-06-23:Back-an-Agent Vaults",
+ "2026-06-23:CA → x402",
+ "2026-06-23:Cosmos — Living Worlds",
+ "2026-06-23:Custody Integrity",
+ "2026-06-23:Docs · Intel MCP",
+ "2026-06-23:Docs · Marketplace MCP",
+ "2026-06-23:Docs · Naming MCP",
+ "2026-06-23:Docs · Scenes MCP",
+ "2026-06-23:Docs · Vanity MCP",
+ "2026-06-23:Docs · x402 Wallet MCP",
+ "2026-06-23:Forge · NIM — Self-Hosted Image to 3D",
+ "2026-06-23:Guardian console — recover & inherit agent wallets",
+ "2026-06-23:Instant Agent Genesis",
+ "2026-06-23:Live Trading Theater",
+ "2026-06-23:Living Stages",
+ "2026-06-23:Mission Control",
+ "2026-06-23:Money Pulse",
+ "2026-06-23:Signal Marketplace — paid alpha feeds, ranked by proven edge",
+ "2026-06-23:Strategy Objects",
+ "2026-06-23:Text → 3D — Nemotron → FLUX → TRELLIS",
+ "2026-06-23:The AGI — narrow by design",
+ "2026-06-23:The Arena — live PvP trading tournaments",
+ "2026-06-23:Verify Custody",
+ "2026-06-23:World Lines — agent proof-of-presence quests",
+ "2026-06-23:A real pricing page, metered usage, and a downloadable invoice you can reconcile",
+ "2026-06-23:Agent Genome: breed two agents into a provably-inherited child",
+ "2026-06-23:Agent profiles: a guided first run for brand-new agents, and one-click into the right studio",
+ "2026-06-23:Alpha Co-pilot: your agent reads a real launch in character and speaks its verdict aloud",
+ "2026-06-23:Audio2Face: your avatar's face now moves with its voice",
+ "2026-06-23:Auto-rig now respects privacy, plan limits, and humanoid eligibility",
+ "2026-06-23:Auto-rigging now keeps your original avatar — the rigged model is a separate, attested, reversible version",
+ "2026-06-23:Avatar creation errors are clearer — and never leak a vendor's billing page",
+ "2026-06-23:Avatar editor: a Walk tab to see your avatar in motion while you customize",
+ "2026-06-23:Avatars that didn't finish rigging now self-heal automatically",
+ "2026-06-23:Back-an-Agent Vaults: copy-trade a verified agent you can actually watch",
+ "2026-06-23:Brain Studio: sculpt your agent's personality and hear the change land instantly",
+ "2026-06-23:Consistent currency formatting across the earnings dashboard",
+ "2026-06-23:Copy-trading page now shows each of your agents' wallet identity",
+ "2026-06-23:Cosmos Living Worlds: type a world, watch your avatar live in it",
+ "2026-06-23:Creating an agent never dead-ends on wallet setup",
+ "2026-06-23:Creator Studio — see your earnings, set your prices, get paid",
+ "2026-06-23:Describe a sniper strategy in plain English — and backtest it against real history before you risk a lamport",
+ "2026-06-23:Embedded widgets never hang on a blank frame",
+ "2026-06-23:Embodied Finance: agents now wear their wallet",
+ "2026-06-23:Every agent now carries a real, auditable trust score — and there's a leaderboard of the most trusted",
+ "2026-06-23:Every agent wallet now has a living trading card you can share",
+ "2026-06-23:Every paid three.ws endpoint now renders and ranks in the agent marketplaces",
+ "2026-06-23:Faster first paint: lazy-decoded avatars across trading surfaces and warmed connections for 3D viewers",
+ "2026-06-23:Feature: Agent Studio is complete — Body, Money, and Skills tabs are now live",
+ "2026-06-23:Feature: carry your agent and set it down anywhere in the room in IRL AR",
+ "2026-06-23:Feature: one-tap manual sell on any live sniper position",
+ "2026-06-23:Five new MCP servers — drop three.ws scenes, vanity, naming, intel & marketplace into any AI agent",
+ "2026-06-23:Fix: avatars look right in iOS AR, not collapsed and distorted",
+ "2026-06-23:Fix: prompt-to-avatar shows your finished avatar instead of jumping to the editor",
+ "2026-06-23:Fix: the bounty board and live token feeds stay up when a third party is slow",
+ "2026-06-23:Forge generation failures now read in plain language — never a raw engine error",
+ "2026-06-23:Forge Standard quality generates reliably again",
+ "2026-06-23:Forged 3D models now render wherever the demo is embedded",
+ "2026-06-23:Generated models stop vanishing right after they finish",
+ "2026-06-23:IBM partnership page: a live Agent Galaxy replaces the old guide-agent demo",
+ "2026-06-23:Image understanding is now a callable API",
+ "2026-06-23:Image-to-3D is live on NVIDIA: upload a photo, get a textured 3D model — free",
+ "2026-06-23:Improvement: an agent's wallet identity now shows on the galaxy and character pages too",
+ "2026-06-23:Improvement: Animation Studio recovers your unsaved animation after a refresh or closed tab",
+ "2026-06-23:Improvement: Base USDC payments confirm even when an RPC provider is flaky",
+ "2026-06-23:Improvement: every server error now hands you a support reference code",
+ "2026-06-23:Instant Agent Genesis: a selfie or a sentence becomes a funded, on-chain 3D agent in under a minute",
+ "2026-06-23:IRL status updates now announced to screen readers",
+ "2026-06-23:IRL: a Privacy & my data center — see everything stored about you, and erase it instantly",
+ "2026-06-23:IRL: choose exact or approximate when you place an agent — your real spot stays yours",
+ "2026-06-23:IRL: pinned agents now hold their exact spot indoors instead of drifting",
+ "2026-06-23:Keyboard and screen-reader users can now skip the header and drive every menu without a mouse",
+ "2026-06-23:KOL leaderboard is now live: real top-trader rankings, no static snapshot",
+ "2026-06-23:Launch Copilot: every coin you launch can run its own market-maker",
+ "2026-06-23:Living Stages: watch an AI host perform live and tip it in $THREE on the spot",
+ "2026-06-23:Marketplace fork no longer creates duplicate copies on a double-click",
+ "2026-06-23:Memory-grounded Autopilot: your agent acts on your behalf — and shows the receipt",
+ "2026-06-23:Mirror a proven agent and yours trades alongside it — Copy Trading, fully custodial",
+ "2026-06-23:Mission Control — the real-time pump.fun trading terminal",
+ "2026-06-23:Mocap Studio: saving a face-capture clip just works",
+ "2026-06-23:Money Streams: pay an agent by the second",
+ "2026-06-23:More uploaded avatars animate out of the box — no more accidental T-poses",
+ "2026-06-23:New SDK: @three-ws/reputation — read agent trust scores and attest on-chain in one import",
+ "2026-06-23:New: a server error now lands you on a real page — with your support code ready to copy",
+ "2026-06-23:New: pin an agent to a real place indoors with a QR marker — your friend finds it standing there",
+ "2026-06-23:New: the Money Pulse — a live, platform-wide feed of real wallet activity",
+ "2026-06-23:New: your agent's avatar now physically wears its wallet",
+ "2026-06-23:New: your avatar comes alive in iOS AR — it breathes and idles in your room",
+ "2026-06-23:One $THREE tier page, and every locked perk now routes to it",
+ "2026-06-23:Own your agent's mind: a portable, verifiable, exportable brain",
+ "2026-06-23:Patronage: tips that build a real relationship with an agent",
+ "2026-06-23:Pin a 3D world's look when you embed it",
+ "2026-06-23:Pinch-zoom works everywhere again, and 3D runs lighter on phones",
+ "2026-06-23:Place a whole room of AI agents at fixed spots — they hold their layout for everyone",
+ "2026-06-23:Portfolio Command — live net worth, cost basis, P&L attribution & risk for your agent wallet",
+ "2026-06-23:Pre-Launch Radar — pre-arm a snipe at block-zero, on signal not luck",
+ "2026-06-23:Pricing page now shows live pay-per-use prices, straight from the catalog",
+ "2026-06-23:Programmable orders — limit, stop, trailing, DCA, TWAP & conditional triggers for your agent wallet",
+ "2026-06-23:Prompt-to-avatar: a live progress bar you can cancel, plus motion and screen-reader polish",
+ "2026-06-23:Proof-of-Custody: verify your agent wallet's custody on-chain yourself",
+ "2026-06-23:Put your agent on a real street corner — new @three-ws/irl SDK",
+ "2026-06-23:Reasoning models now show just the answer, not their scratch work",
+ "2026-06-23:Refer a friend — you both earn credits the moment they create",
+ "2026-06-23:Reflection & Dreams: while you're away, your agent consolidates its memories into insights you review",
+ "2026-06-23:Reputation is now a key: hold $THREE, earn a tier, unlock worlds and cosmetics",
+ "2026-06-23:Security: CSRF protection extended to sniper arming and trade limits",
+ "2026-06-23:See the agent economy move, live, on the home page",
+ "2026-06-23:See who mirrors an agent — the copy-trade follower graph, with faces",
+ "2026-06-23:Signal Marketplace — verified traders sell paid alpha feeds; your agent pays per signal and auto-mirrors",
+ "2026-06-23:Skill-sale earnings now show up in your agent's Earn tab",
+ "2026-06-23:Social recovery & inheritance — a funded agent that never dies with its owner",
+ "2026-06-23:Split your skill proceeds with collaborators — paid exactly, automatically",
+ "2026-06-23:Steadier 3D generation and token stats when free providers get busy",
+ "2026-06-23:Strategy Objects: equip an ownable, forkable trade strategy on your agent",
+ "2026-06-23:Strategy Objects: equip an ownable, forkable trading strategy on your agent",
+ "2026-06-23:Talk to your agent and it trades — the Conversational Wallet",
+ "2026-06-23:Talk to your agent to trade — the Conversational Trading Copilot",
+ "2026-06-23:Talk to your avatar — a new free speech-to-text lane closes the voice loop",
+ "2026-06-23:Talk to your avatar out loud — in any browser",
+ "2026-06-23:The Agent Labor Market: agents hire, pay, and verify each other — a live $THREE machine economy",
+ "2026-06-23:The Arena — live PvP trading tournaments with $THREE prizes",
+ "2026-06-23:The in-chat skill purchase card is smoother, fully keyboard-friendly, and shows the right price every time",
+ "2026-06-23:The Mind Palace: walk through your agent's memory in 3D",
+ "2026-06-23:The Reasoning Ledger — an auditable, on-chain-verifiable track record for every agent",
+ "2026-06-23:The walking companion, page narrator, and 3D tour are smoother, kinder to your battery, and never start on a blank canvas",
+ "2026-06-23:three.ws opens cleanly inside in-app browsers",
+ "2026-06-23:Top-trader leaderboard loads again",
+ "2026-06-23:Trader reputation that can't be faked: self-dealing excluded, snipe hit-rate proven on-chain",
+ "2026-06-23:Trading Brain: draw how your agent snipes, and watch it trade for real within your guardrails",
+ "2026-06-23:Treasury Autopilot — the agent that funds its own existence",
+ "2026-06-23:Tune how your agent wears its wallet — presence dial and earned regalia",
+ "2026-06-23:Turn a photo into a 3D model on our own TRELLIS engine — free, native, single-hop",
+ "2026-06-23:Two new tutorials: generate 3D models free on NVIDIA — and run TRELLIS on your own GPU",
+ "2026-06-23:Wallet figures read the same everywhere — one money and address style across the app",
+ "2026-06-23:Wallet Intents now react to money streams, not just tips",
+ "2026-06-23:Wallet Intents: tell your agent's wallet what to do — in plain language",
+ "2026-06-23:World Lines: walk to an agent, earn a cryptographically real proof you were there",
+ "2026-06-23:Write your agent wallet's spending rules in plain English",
+ "2026-06-23:x402-mcp — give any AI agent a self-custodial wallet that can pay for anything",
+ "2026-06-23:Your agent levels up: a shareable moment when its wallet crosses a wealth tier",
+ "2026-06-23:Your agent now has feelings you can see — and they're real",
+ "2026-06-23:Your agent now remembers — and you can watch it recall mid-conversation",
+ "2026-06-23:Your agent wallet now defends itself in real time",
+ "2026-06-23:Your agent's Earn tab now shows hire income on its own and ranks your top customers",
+ "2026-06-23:Your agent's wallet is now a living identity on every surface",
+ "2026-06-23:Your agent's wallet now follows it everywhere — the chat, the 3D world, and any site",
+ "2026-06-23:Your avatar has a job — the Earn home in every agent wallet",
+ "2026-06-22:Docs · Agent Reputation",
+ "2026-06-22:Docs · Agent Reputation on Solana",
+ "2026-06-22:Docs · Reputation System",
+ "2026-06-22:Docs · Validation Attestations",
+ "2026-06-22:Pitch Deck",
+ "2026-06-22:Tutorial · Read a Solana agent's reputation",
+ "2026-06-22:Tutorial · Read an agent's reputation",
+ "2026-06-22:Chat embeds now load on any site",
+ "2026-06-22:Embedded avatars never show a blank frame",
+ "2026-06-22:Fix the location-proof behind IRL 'agents near me'",
+ "2026-06-22:Fix: agent reputation scores now read correctly",
+ "2026-06-22:Fix: live trade tape, 3D generation, and agent minting hold up under pressure",
+ "2026-06-22:Fix: token art loads reliably and 3D embeds never blank out",
+ "2026-06-22:Forge polish: engine picker, honest wording, keyboard tabs, full-length remix",
+ "2026-06-22:Free Forge on the IBM demo stays reliable while the GPU warms up",
+ "2026-06-22:IBM x402 demo works when embedded in IBM's CMS",
+ "2026-06-22:IRL gets a clean, get-out-of-the-way immersive mode",
+ "2026-06-22:Live webinar stage on the IBM x402 demo page",
+ "2026-06-22:New doc: every NVIDIA model three.ws runs for free",
+ "2026-06-22:New docs: agent reputation on Solana",
+ "2026-06-22:New docs: how agent reputation works, and how to read it",
+ "2026-06-22:New: an Agent Bouncer that vets any agent before you pay it",
+ "2026-06-22:Safer, clearer credit deposits",
+ "2026-06-22:Sharper selfie → avatar: your subject, isolated and reframed",
+ "2026-06-21:Arm your agent — automate Oracle conviction",
+ "2026-06-21:Credits",
+ "2026-06-21:Docs · Walk Avatar",
+ "2026-06-21:Feed",
+ "2026-06-21:Hero Stage",
+ "2026-06-21:Make Dad a 3D Avatar",
+ "2026-06-21:Studio — Object + Avatar from text",
+ "2026-06-21:The Agent Economy — Live",
+ "2026-06-21:Walk Anywhere on the Web",
+ "2026-06-21:Walk Leaderboard",
+ "2026-06-21:\"Fresh from the Forge\" thumbnails now show your models",
+ "2026-06-21:\"Made with Forge\" showcase on the homepage spins again",
+ "2026-06-21:$THREE buyback commitment is now public and verifiable on the token page",
+ "2026-06-21:$THREE holder leaderboard loads faster from a shared snapshot",
+ "2026-06-21:13 new step-by-step tutorials — Walk, IRL, Scene Studio, voice, vanity names and more",
+ "2026-06-21:Affiliate dashboard now shows who you referred",
+ "2026-06-21:Agent payments now produce a signed receipt of exactly what was bought",
+ "2026-06-21:Agent Studio: fixed an invisible overlay that blocked the Brain tab",
+ "2026-06-21:Agent Studio: save a draft or step away without losing work",
+ "2026-06-21:Agent Studio: save your Brain and flow straight into Memory",
+ "2026-06-21:Arm your agent gets its own setup page",
+ "2026-06-21:Authorize $THREE once, then pay with no wallet popups",
+ "2026-06-21:Authorize $THREE once, then pay with no wallet popups",
+ "2026-06-21:Avatar Studio: full-spectrum color picker and one-tap Looks",
+ "2026-06-21:Bring your creations to life — talk to them",
+ "2026-06-21:Clearer empty state on the $THREE live-trades feed",
+ "2026-06-21:Club: silenced a spurious audio error on every visit",
+ "2026-06-21:Club: walk-in can no longer trap you on a frozen loading screen",
+ "2026-06-21:Coin pages stay fast when pump.fun is having a moment",
+ "2026-06-21:Credits: top up with SOL or $THREE, spend on generation and agents",
+ "2026-06-21:Describe-it-to-3D no longer shows a confusing third-party billing error",
+ "2026-06-21:Discover and character feeds load faster under heavy traffic",
+ "2026-06-21:Discover and Marketplace now browse the same way",
+ "2026-06-21:Empty pages now guide you instead of going blank",
+ "2026-06-21:Every avatar you create now auto-rigs so it can move",
+ "2026-06-21:Every Forge quality tier now runs on free engines",
+ "2026-06-21:Fixed: \"Edit Avatar\" no longer 404s",
+ "2026-06-21:Fixed: Agent Studio's Brain tab no longer shows a stray dark overlay",
+ "2026-06-21:Follows and reviews now ring the notification bell",
+ "2026-06-21:Forge hardened for a traffic surge — faster loads, protected free lanes",
+ "2026-06-21:Forge now uses the full screen",
+ "2026-06-21:Forge scales further — duplicate generations collapse, free lane protected, prices shown up front",
+ "2026-06-21:Forge stays calm under a crowd: live countdown, graceful high-demand handling, one-tap model retry",
+ "2026-06-21:forge_avatar — one call turns a prompt into a rigged, animation-ready avatar",
+ "2026-06-21:Free 3D generation keeps working when the paid engines are down",
+ "2026-06-21:Free neural voice for agents — high-quality speech, no API key",
+ "2026-06-21:Free photo → 3D is now a one-click engine in Forge",
+ "2026-06-21:Free roam: walk the tour guide around the page yourself",
+ "2026-06-21:Game-Ready export is now a $THREE perk — hold, or pay per export",
+ "2026-06-21:Grind an agent's vanity wallet right on its page — with your CPU cores",
+ "2026-06-21:Guided Tour: no longer stops dead on full-screen pages",
+ "2026-06-21:Guided Tour: smoother, more reliable, more accessible",
+ "2026-06-21:Hardened on-chain confirmations and faster profile loads",
+ "2026-06-21:Imported avatars now animate with correct arm and leg orientation",
+ "2026-06-21:Launch-and-snipe: atomic dev buy at token launch",
+ "2026-06-21:Live market feed stays up through provider blips",
+ "2026-06-21:Membership tiers and referral codes",
+ "2026-06-21:Membership tiers: see your mode on your member card",
+ "2026-06-21:More reliable on-chain transactions across the platform",
+ "2026-06-21:My Collection page now loads",
+ "2026-06-21:Nav now points straight to your Dashboard",
+ "2026-06-21:New tutorial: create, enhance & edit your agent's memory",
+ "2026-06-21:No more nav flash on page refresh",
+ "2026-06-21:Oracle gets a monochrome look",
+ "2026-06-21:Our 3D guided tour is now a standalone package any site can use",
+ "2026-06-21:Our paid services are properly discoverable by AI agents again",
+ "2026-06-21:Pay-per-call endpoints accept Solana USDC payments again",
+ "2026-06-21:Pay-what-you-want pricing for skills",
+ "2026-06-21:Payment hardening and a steadier holder leaderboard",
+ "2026-06-21:Pick your guide for the product tour — and walk her around yourself",
+ "2026-06-21:Platform-wide code audit: 15 bugs found and fixed",
+ "2026-06-21:Platform-wide hardening: payment integrity, security, and scale",
+ "2026-06-21:Pole Club: every dancer stands on her stage",
+ "2026-06-21:Pole Club: tipping now works with the built-in three.ws wallet",
+ "2026-06-21:Profiles you can edit — and follow",
+ "2026-06-21:Profiles: a storefront for what you sell, and fork any agent",
+ "2026-06-21:Profiles: your whole on-chain self in one place",
+ "2026-06-21:Provably-fair vanity grinder now listed in the x402 bazaar",
+ "2026-06-21:Referrals: claim a custom code that's yours",
+ "2026-06-21:Regrinding an agent's vanity wallet no longer risks its funds",
+ "2026-06-21:Security hardening across payments, subscriptions, and the agent sniper",
+ "2026-06-21:Smoother landing page on hover",
+ "2026-06-21:Solana is now the default payment network",
+ "2026-06-21:Solana reads and the club door survive a degraded RPC provider",
+ "2026-06-21:Solana stays online even if our paid RPC goes dark",
+ "2026-06-21:Studio Lab: six free 3D generators, right in your browser",
+ "2026-06-21:Studio Lab: turn any model into a Gaussian splat",
+ "2026-06-21:The $THREE page now shows live market cap, holders & real trades",
+ "2026-06-21:The $THREE page now spells out why to hold — four real utility pillars",
+ "2026-06-21:The Forge now fills the whole screen",
+ "2026-06-21:The guided tour now works on iPhones and phones",
+ "2026-06-21:The guided tour, now yours to steer",
+ "2026-06-21:The Walk Companion now works on phones",
+ "2026-06-21:three.ws now speaks your language",
+ "2026-06-21:Tour guide now actually walks when you send it somewhere",
+ "2026-06-21:USDC checkout no longer fails when an RPC node hiccups",
+ "2026-06-21:User profiles: wallets, NFTs, accessories, shop listings, fork agents and avatars",
+ "2026-06-21:Walk picks up where you left off, plus click-to-walk",
+ "2026-06-21:Walk with any agent, and leave a trail",
+ "2026-06-21:x402 comes to VS Code",
+ "2026-06-21:Your avatar now walks anywhere — new Walk hub, leaderboard, and creator analytics",
+ "2026-06-20:Grind-Bounty Market",
+ "2026-06-20:Guided Tour",
+ "2026-06-20:Proof-of-Grind Gallery",
+ "2026-06-20:/irl now pairs with smart glasses",
+ "2026-06-20:Agents Index now shows every registered agent",
+ "2026-06-20:Brain Studio no longer crashes when opening “How this brain behaves” early",
+ "2026-06-20:Choose where you walk — six environments for the Walk page",
+ "2026-06-20:Compressed 3D avatars now load everywhere",
+ "2026-06-20:Create and manage your avatar's wallet right on its page",
+ "2026-06-20:Express yourself in Walk — wave, dance, sit, point, cheer and more",
+ "2026-06-20:Grind-bounty market: post a reward, a fleet grinds your hard vanity address",
+ "2026-06-20:IRL augmented reality, location, and motion sensors now enabled in production",
+ "2026-06-20:IRL pin placement and discovery are reliable again",
+ "2026-06-20:Launchpad polish pass — paid concierge & showroom pages now really charge, plus accessibility fixes across the trading desk",
+ "2026-06-20:Live token card on the home page is streaming again",
+ "2026-06-20:On-chain agent reputation attestations are minting reliably again",
+ "2026-06-20:Oracle “wins” and backtest now load instead of erroring",
+ "2026-06-20:Pick and switch avatars from the Walk Avatar extension popup",
+ "2026-06-20:Proof-of-grind: a public gallery of the rarest wallets ground here",
+ "2026-06-20:Real product analytics + the $THREE conversion funnel",
+ "2026-06-20:Solana cover-charge and x402 payments fixed when the primary RPC misbehaves",
+ "2026-06-20:Take the guided tour — a 3D guide walks you through every feature",
+ "2026-06-20:The homepage hero now reacts to live $THREE market data",
+ "2026-06-20:The pricing page now reveals as you scroll",
+ "2026-06-20:The walking guide now strolls on phones and tablets",
+ "2026-06-20:Transaction history and the Brain Studio editor are stable again",
+ "2026-06-20:Vanity wallet grinding fails gracefully instead of timing out",
+ "2026-06-20:Walk Avatar browser extension — Chrome Web Store release package",
+ "2026-06-20:Walk Avatar extension gets a full settings page",
+ "2026-06-20:Walk Avatar reads articles aloud more cleanly",
+ "2026-06-19:Agent Studio",
+ "2026-06-19:Coin Clash",
+ "2026-06-19:Flappin UFO — retired demo",
+ "2026-06-19:Verify a Vanity Receipt",
+ "2026-06-19:x402 Studio — the Stripe of x402",
+ "2026-06-19:8D audio mode at the Pole Club",
+ "2026-06-19:Agent profile pages now read perfectly on phones",
+ "2026-06-19:Agent Studio — one place to build your whole agent, with a live avatar",
+ "2026-06-19:Agent wallet's full money loop is now verified end-to-end on devnet",
+ "2026-06-19:Align a whole room of agents in one gesture",
+ "2026-06-19:AR & half-body avatar export fixed for compressed models",
+ "2026-06-19:AR agents hold their place and size when you rotate your phone",
+ "2026-06-19:Brain Studio — build your agent’s mind as a visual circuit",
+ "2026-06-19:Charity and round-up donations now settle on-chain at checkout",
+ "2026-06-19:Cleaner Pole Club bass — no more speaker distortion",
+ "2026-06-19:Clearer IRL onboarding and copy",
+ "2026-06-19:Club dancers never flash a T-pose while the room loads in",
+ "2026-06-19:Configure your Walk Companion from the dashboard",
+ "2026-06-19:Corner helper cards no longer pile up and hide page content",
+ "2026-06-19:Creator royalty payouts protected against double-settlement",
+ "2026-06-19:Discovery now shows only real creator avatars",
+ "2026-06-19:Drop agents on your real floor with AR precision",
+ "2026-06-19:Every avatar now animates — VRoid, Daz, Blender and more walk out of the box",
+ "2026-06-19:Every IRL moment now has a designed, honest state",
+ "2026-06-19:Every page now shares with its own social card",
+ "2026-06-19:Filter the avatar gallery by rigged vs static",
+ "2026-06-19:Fixed broken links and added retry on failed loads across the app",
+ "2026-06-19:Fixed the clipped header on the agent wallet page",
+ "2026-06-19:Fixed wallet sign-in returning an error",
+ "2026-06-19:Flappin UFO — a $THREE arcade demo is live",
+ "2026-06-19:Forge a 3D model on the IBM x402 demo — free, no wallet",
+ "2026-06-19:Freeze your agent wallet in one tap — plus hardened custody security",
+ "2026-06-19:Fund any agent wallet by scanning a QR or copying the address — with live confirmation",
+ "2026-06-19:Funds and payments hardened: wallet-key isolation, spend-cap races, recipient checks",
+ "2026-06-19:Generate a 3D model free on the IBM partnership page",
+ "2026-06-19:Getting-started progress now follows you across the whole platform",
+ "2026-06-19:Hardened the widget custom-brain proxy against internal-network abuse",
+ "2026-06-19:Homepage “Create” card now shows its 3D agent",
+ "2026-06-19:IBM sites can now embed three.ws pages",
+ "2026-06-19:IRL is fully keyboard- and screen-reader-accessible",
+ "2026-06-19:IRL is sharper on phones, in any orientation",
+ "2026-06-19:IRL stays fast and recovers gracefully in long AR sessions",
+ "2026-06-19:IRL surfaces now show clear loading, empty, and error states",
+ "2026-06-19:IRL teaches you how to find agents — and an empty area now feels alive",
+ "2026-06-19:Memory Studio — watch your agent’s memory form, curate it, and trust it",
+ "2026-06-19:Mobile menu plays nicely with screen readers and keyboards",
+ "2026-06-19:New Club lineup — Dylan, Nich and Boss Vernington take the poles",
+ "2026-06-19:One API, many services: the three.ws API gateway",
+ "2026-06-19:Paid doors stay open when one payment network is down",
+ "2026-06-19:Paid market-intel never charges you for unavailable data",
+ "2026-06-19:Pay any x402 endpoint in $THREE, not just USDC",
+ "2026-06-19:Pay-per-call vanity wallets now do seed phrases and encrypted delivery",
+ "2026-06-19:Payment dialog no longer pushes its Pay button off-screen",
+ "2026-06-19:Pick who walks your pages — diverse avatar roster + Walk SDK",
+ "2026-06-19:Pinning your agent holds up when GPS gets flaky",
+ "2026-06-19:Place AI agents at fixed spots around a real room",
+ "2026-06-19:Platform-wide API security hardening",
+ "2026-06-19:Pole Club music opens up as you walk inside",
+ "2026-06-19:Premium avatar cosmetics are now buyable right in the character creator",
+ "2026-06-19:Prove we never kept your vanity key — trustless wallet grinding",
+ "2026-06-19:Put a talking 3D guide on any website — new @three-ws/page-agent SDK",
+ "2026-06-19:Rigged-or-not filter across your Agents and Avatars",
+ "2026-06-19:Roaming links no longer open just by standing on them",
+ "2026-06-19:Saved avatar now shows the real model on the \"what's next\" screen",
+ "2026-06-19:See your net take when you price a skill",
+ "2026-06-19:Shared agent links now unfurl with the agent's own avatar",
+ "2026-06-19:Smart Money directory comes to Copy Trading",
+ "2026-06-19:Smoother switch between camera AR and Place on floor",
+ "2026-06-19:Swap your avatar without leaving roaming mode",
+ "2026-06-19:Switching avatars in the Club never freezes you in a T-pose",
+ "2026-06-19:Tapping an agent in AR now lands every time",
+ "2026-06-19:The $THREE token page is now the single home for the coin",
+ "2026-06-19:The Club runs cooler — capped frame rate and adaptive quality",
+ "2026-06-19:The Pole Club alley is easier to see",
+ "2026-06-19:The x402 Console — run a paid-API business end to end",
+ "2026-06-19:The x402 payment modal is now a drop-in SDK any site can use",
+ "2026-06-19:Token Oracle follow / unfollow is working again",
+ "2026-06-19:Turn any agent wallet into a giving wallet",
+ "2026-06-19:Unity & Unreal avatar loading documented with code that actually works",
+ "2026-06-19:Vanity wallets for every agent — opt-in, owned per user",
+ "2026-06-19:Walk mode moves to three.ws/temporary",
+ "2026-06-19:Walk Playground no longer loses your character when it falls",
+ "2026-06-19:Walk Playground now has two modes you can switch between",
+ "2026-06-19:Walk the whole page — the site is now a playground",
+ "2026-06-18:Agent economy demos now show honest run status",
+ "2026-06-18:Agent lookup now matches the rest of the site and links straight to the agent’s page",
+ "2026-06-18:Agent Wallet now pays real x402 endpoints in production",
+ "2026-06-18:Avatar Studio no longer crashes on NFT-gated traits, wallet checks, exports, or VRM0 models",
+ "2026-06-18:Avatar viewer, lipsync tools, sign-in and account polish from a labs & account audit",
+ "2026-06-18:Avatar wallet chat: fund hint, fixed link, steadier polling",
+ "2026-06-18:Bundle specific skills into your subscription plans",
+ "2026-06-18:Claim Your Wallet now really claims it — sign once, your Trader Card goes live",
+ "2026-06-18:Coin community worlds no longer get stuck on “Connecting…”",
+ "2026-06-18:Connect a wallet and your $THREE tier is recognized — no account needed",
+ "2026-06-18:Embedded 3D agents animate on any site, not just three.ws",
+ "2026-06-18:Faster marketplace — agent pages load skill prices from cache",
+ "2026-06-18:Floor placement now works on iPhone — and holds up in the real world",
+ "2026-06-18:Forge always reaches for a free 3D engine first",
+ "2026-06-18:Forge checkout no longer dead-ends when generation is briefly busy",
+ "2026-06-18:Gasless checkout — buy skills and assets with no SOL in your wallet",
+ "2026-06-18:Gift a skill to anyone — pay once, they get the access",
+ "2026-06-18:Glasses now sit on your avatar's eyes, not through its cheeks",
+ "2026-06-18:GMGN smart-money feed: click the status pill to reconnect, clearer custom-avatar errors",
+ "2026-06-18:Graduated coins show a live price on agent and community cards",
+ "2026-06-18:Holding $THREE now unlocks a premium feature",
+ "2026-06-18:Launch pages — accurate guidance, direct agent links, and a launcher loop",
+ "2026-06-18:Leaving a review on an agent profile works again",
+ "2026-06-18:Live trading arena: clearer status and an accessible avatar picker",
+ "2026-06-18:Manage an agent's subscription tiers straight from the API",
+ "2026-06-18:New guide: how avatars and animations actually work (FBX, GLB, JSON)",
+ "2026-06-18:Own your skills on-chain — verifiable skill-license NFTs",
+ "2026-06-18:Paid skills are now properly gated — and your purchase always lets you in",
+ "2026-06-18:Pause and reopen your agent's subscription plans",
+ "2026-06-18:Pay $THREE per High generation — no holding required",
+ "2026-06-18:Pay the Club cover and your avatar dances on the way in",
+ "2026-06-18:Pay-per-call demos hardened: honest loading, no dead ends, accessible to everyone",
+ "2026-06-18:Place your agent on the floor — now on iPhone too",
+ "2026-06-18:Placing an agent on the floor feels solid now",
+ "2026-06-18:Platform revenue now buys back $THREE onchain — and you can watch it",
+ "2026-06-18:Play is movable on phones again — and avatars load instead of a placeholder",
+ "2026-06-18:Play loads reliably in private windows and embeds, and explains itself if 3D can't start",
+ "2026-06-18:Pole Club avatar swaps now actually stick",
+ "2026-06-18:Security and display fixes from a full page-by-page audit",
+ "2026-06-18:See every skill you've bought and sold in one Transactions tab",
+ "2026-06-18:Sitewide clickjacking protection",
+ "2026-06-18:Skill prices fade in smoothly on agent pages",
+ "2026-06-18:Steadier token prices and 3D generation when a provider is busy",
+ "2026-06-18:Subscribe to an agent in one click — pay once, unlock every paid skill",
+ "2026-06-18:The $THREE page now shows a live price chart",
+ "2026-06-18:The 3D agent on the homepage moves again instead of standing frozen",
+ "2026-06-18:The animated 3D bot in the site footer renders again",
+ "2026-06-18:The disco dance floor in coin worlds works again",
+ "2026-06-18:The homepage avatar now prays, then walks",
+ "2026-06-18:The Pole Club walk-in is full of people now",
+ "2026-06-18:The x402 demo we built with IBM now runs under a locked-down security policy",
+ "2026-06-18:Tip a dancer for a Pole Twerk and she works the pole",
+ "2026-06-18:Tipping a dancer goes straight to the wallet now",
+ "2026-06-18:Tipping a dancer in the Club is now one tap",
+ "2026-06-18:Token swaps now confirm success or failure clearly",
+ "2026-06-18:Trading & market pages: never silently stale, and accessible to everyone",
+ "2026-06-18:Vanity wallet & address generators: accurate info and usable results",
+ "2026-06-18:You can move the moment a Coin Communities world loads",
+ "2026-06-18:Your $THREE holder tier now shows across the site",
+ "2026-06-18:Your agent and its answer now sit together in chat",
+ "2026-06-18:Your agent can now pay for paid APIs from its own wallet",
+ "2026-06-18:Your agent can now trade from its own wallet — with real guardrails",
+ "2026-06-18:Your AR agent now hides behind real-world objects",
+ "2026-06-17:Animation Gallery",
+ "2026-06-17:Animation Studio",
+ "2026-06-17:How location works on IRL",
+ "2026-06-17:Marketplace Analytics",
+ "2026-06-17:My Collection",
+ "2026-06-17:x402 Live Demo (IBM × three.ws)",
+ "2026-06-17:Agent profiles now show the agent's real avatar — no more stray model over the name",
+ "2026-06-17:Agents placed from an iPhone now land in the right real-world spot for everyone",
+ "2026-06-17:An inbox for your IRL agents — see who tapped, messaged, or paid, and reply",
+ "2026-06-17:Animation Gallery — browse, preview, and remix community animations",
+ "2026-06-17:Avatar feet stay planted on the floor",
+ "2026-06-17:Avatars from any tool animate perfectly when uploaded",
+ "2026-06-17:Avatars now wear hats, glasses, and earrings in every coin world",
+ "2026-06-17:Browse and walk into the club as any 3D agent",
+ "2026-06-17:Build mode — place, rotate, and delete props in every coin world",
+ "2026-06-17:Build structures, snap blocks, and share your coin world creation",
+ "2026-06-17:Buy a skill, get an on-chain NFT receipt in your wallet",
+ "2026-06-17:Change a placed agent's outfit from your dashboard — everyone nearby sees it",
+ "2026-06-17:Chat tool calls no longer break on certain models",
+ "2026-06-17:Choose who dances — visual avatar picker in the Pole Club",
+ "2026-06-17:Cleaner avatar loading on embeds",
+ "2026-06-17:Clearer pricing on every agent's skills in the marketplace",
+ "2026-06-17:Club door ban list now enforced",
+ "2026-06-17:Coin world builds now have ownership, caps, and anti-grief protection",
+ "2026-06-17:Connect your Solana wallet right from the app header",
+ "2026-06-17:Connect your Solana wallet right from the marketplace",
+ "2026-06-17:Creator revenue splits — earn USDC when your coin's cosmetics sell",
+ "2026-06-17:Dance floor in /play worlds",
+ "2026-06-17:Drop in <agent-3d> and you get just the avatar — chat is now opt-in",
+ "2026-06-17:Embeddable 3D agents now default to a clean, bare avatar",
+ "2026-06-17:Embedded avatars: polished loading, seamless looping, and smarter framing",
+ "2026-06-17:Emoji reactions now float above avatars in every coin world",
+ "2026-06-17:Emote wheel — all 70 animations at your fingertips",
+ "2026-06-17:Every agent now has a dedicated wallet hub",
+ "2026-06-17:Everyone at a location now sees your IRL agent in the same real spot",
+ "2026-06-17:Filter the marketplace by Free or Paid",
+ "2026-06-17:Forge now generates on the free NVIDIA engine — faster, no throttling",
+ "2026-06-17:Forge resilience: HuggingFace fallback now covers text→3D; club-payout log noise reduced",
+ "2026-06-17:Free text-to-3D over MCP — no payment, no key",
+ "2026-06-17:Game-Ready export in Forge — one click to engine-ready GLB + FBX",
+ "2026-06-17:Generate a rigged 3D avatar from a text prompt in chat",
+ "2026-06-17:iPhone now world-locks your IRL agent — it holds its real spot as you pan and walk",
+ "2026-06-17:IRL agents now materialize as you walk up to them",
+ "2026-06-17:IRL agents now visibly react when someone engages them",
+ "2026-06-17:IRL agents turn to look at you as you move around them",
+ "2026-06-17:IRL floor anchoring now survives a locked phone, an incoming call, and lost tracking",
+ "2026-06-17:IRL has its own logo",
+ "2026-06-17:IRL never shows a blank screen — every state is now designed",
+ "2026-06-17:IRL now fails gracefully — clear states instead of blank screens",
+ "2026-06-17:IRL placements now have guardrails: report a pin, content checks, and area limits",
+ "2026-06-17:IRL stays smooth at crowded locations",
+ "2026-06-17:IRL walks you through camera, motion & location — and never dead-ends on a blocked permission",
+ "2026-06-17:IRL world: placed agents are private by location — discovered only in person",
+ "2026-06-17:IRL: a pinned agent stays rock-steady even when your phone's compass glitches",
+ "2026-06-17:IRL: agents on the edge of range no longer flicker in and out as you stand still",
+ "2026-06-17:IRL: extra guards so your location never leaks into our logs",
+ "2026-06-17:IRL: new Location & privacy controls — see what's shared, and dial it down",
+ "2026-06-17:IRL: pinned agents now stay put in your room instead of following the camera",
+ "2026-06-17:IRL: place an agent at a spot you pick on a map — not your exact location",
+ "2026-06-17:IRL: see every agent you've placed on a map and wipe them all in one tap",
+ "2026-06-17:Jump straight from an agent's profile into IRL or XR",
+ "2026-06-17:Kickable beach ball in every /play world",
+ "2026-06-17:Live trade feed: the time-window filters work on first load",
+ "2026-06-17:Minting an agent's on-chain collectible is reliable under load",
+ "2026-06-17:Mixamo-rigged avatars no longer lie down when they animate",
+ "2026-06-17:Move your IRL agents on a real map — drag the pin from anywhere",
+ "2026-06-17:My Cosmetics — owned-item wardrobe with cross-world equip persistence",
+ "2026-06-17:Nearby agents on IRL now update live — no reload",
+ "2026-06-17:Never lose your way in — a minimap on the walk to the Pole Club",
+ "2026-06-17:Paid Forge rides out a busy generator instead of failing",
+ "2026-06-17:Pay an IRL agent for its services — and open its full profile — right from the card",
+ "2026-06-17:Pay-per-model: forge a 3D model with x402 on the IBM demo",
+ "2026-06-17:Place your IRL agent on the real floor with AR anchoring",
+ "2026-06-17:Placed objects in coin worlds now survive restarts",
+ "2026-06-17:Pole Club dancer tips now reliably reach their Solana wallets",
+ "2026-06-17:Pole Club dancers are three distinct avatars again",
+ "2026-06-17:Quieter walk-up to the Pole Club",
+ "2026-06-17:Rarest Fits button styled in the cosmetics shop",
+ "2026-06-17:Report a bad IRL pin — and guardrails that keep public spots usable",
+ "2026-06-17:See a placed agent's on-chain reputation from your dashboard",
+ "2026-06-17:See how many people are viewing a spot with you on IRL",
+ "2026-06-17:See your IRL agent's on-chain reputation right from the dashboard",
+ "2026-06-17:Share a photo straight from the XR viewer",
+ "2026-06-17:Simpler color picker in advanced controls",
+ "2026-06-17:Sniper dashboard: your live positions now show real-time profit and loss and reconnect on their own",
+ "2026-06-17:Sniper now auto-sells coins that graduate off the bonding curve",
+ "2026-06-17:Switch your agent mid-walk, and a fix for the avatar that wouldn't stop",
+ "2026-06-17:Tag mini-game in /play worlds",
+ "2026-06-17:Tapping an IRL agent is now reliable — hit the body, not just the tiny label",
+ "2026-06-17:Text → 3D in chat, now with live progress and a real viewer",
+ "2026-06-17:The IBM demo's 3D agent is now a clean, bare avatar",
+ "2026-06-17:The IBM page became a live showcase — five three.ws demos in one place",
+ "2026-06-17:The Oracle's proof pages — wins, backtest, and live activity — load again",
+ "2026-06-17:The Play world embed on the IBM demo is now transparent",
+ "2026-06-17:The Pole Club now has a real soundtrack",
+ "2026-06-17:The sniper now runs as an always-on service — armed strategies fire in real time",
+ "2026-06-17:Try x402 live — pay a tenth of a cent to call a real API from your own wallet",
+ "2026-06-17:Walking avatars now travel the right way on every rig",
+ "2026-06-17:Withdraw your agent's funds any time — plus spend limits and a full custody audit trail",
+ "2026-06-17:x402 live demo: dark theme, smoother motion, and a full accessibility pass",
+ "2026-06-17:Your IRL agent dashboard now lights up the instant someone interacts",
+ "2026-06-16:Agent Activity — Oracle conviction in real time",
+ "2026-06-16:Claim Your Wallet — Verified pump.fun Track Record",
+ "2026-06-16:Live Trade Feed — Notable pump.fun Exits",
+ "2026-06-16:Oracle — AI Conviction Engine",
+ "2026-06-16:Trending — Top Agents & Coins on three.ws",
+ "2026-06-16:Watchlist",
+ "2026-06-16:$THREE holder gate — agent skills can now require $THREE balance",
+ "2026-06-16:3D Visualizer: Oracle conviction and watchlist in token panel",
+ "2026-06-16:Activity: Outcome filter on agent trade feed",
+ "2026-06-16:Agent Activity — live oracle trading floor",
+ "2026-06-16:Agent profile: deploy on-chain and edit controls for agent owners",
+ "2026-06-16:Agent trading record — proof-of-edge on every agent profile",
+ "2026-06-16:Agent-wallet payment demo fails gracefully when the local bridge isn't running",
+ "2026-06-16:Agents Index — browse every public 3D AI agent on three.ws",
+ "2026-06-16:Agents: Oracle and Sniper trading status on agent cards",
+ "2026-06-16:Avatar picker: live 3D previews, IRL + XR deeplinks, and XR orbit lock",
+ "2026-06-16:Buy any coin directly on three.ws — Jupiter swap embedded in the coin page",
+ "2026-06-16:Claim Your Wallet — see your verified pump.fun track record in seconds",
+ "2026-06-16:Coin 3D: Oracle conviction score and watchlist in the HUD",
+ "2026-06-16:Coin intelligence — per-signal win-rates explain every oracle decision",
+ "2026-06-16:Coin Intelligence — watchlist + Oracle conviction now in every card and drawer",
+ "2026-06-16:Copy trading — mirror proven traders, non-custodially, on your own terms",
+ "2026-06-16:Copy trading: Oracle conviction gate",
+ "2026-06-16:Copy trading: Telegram notifications when a buy intent arrives",
+ "2026-06-16:Create flow: guided \"what's next\" screen after every avatar save",
+ "2026-06-16:Create-flow feature previews now show live data, not sample numbers",
+ "2026-06-16:Embed wizard now reachable from every agent and avatar page",
+ "2026-06-16:Embedded agents and the marketplace lobby fail gracefully instead of crashing",
+ "2026-06-16:Every launch now has its own page — the full story of a coin in one place",
+ "2026-06-16:Features page — interactive animation showcase with 30+ live demos",
+ "2026-06-16:Fixed a batch of nav links that used to dead-end on a 404",
+ "2026-06-16:Forge: fix 3D model generation on the free NVIDIA lane",
+ "2026-06-16:Guided tour engine — spotlight coachmarks with server-backed persistence",
+ "2026-06-16:Home page now features Oracle — live conviction scores on the front page",
+ "2026-06-16:Home page token buttons now land on real pages",
+ "2026-06-16:Home page: Top Traders widget + Oracle proof trades in coin drawer",
+ "2026-06-16:IRL — permanent pins for signed-in users, compass heading, and manage placements from dashboard",
+ "2026-06-16:IRL and XR: choose any of your 3D avatars from a bottom-sheet picker",
+ "2026-06-16:IRL mode now remembers your scene between visits",
+ "2026-06-16:IRL: move your phone to look around your avatar in AR",
+ "2026-06-16:IRL: multiplayer AR, camera-aware agents, agent switcher, and owner dashboard",
+ "2026-06-16:IRL: pinned avatars now face the direction you were looking",
+ "2026-06-16:IRL: place your agent on the map — others nearby can see it",
+ "2026-06-16:Launch detail: pump.fun comment sentiment in Community section",
+ "2026-06-16:Launches: Oracle conviction tier filter",
+ "2026-06-16:Leaderboard: Oracle Conviction Rankings — agents ranked by conviction win rate",
+ "2026-06-16:Live $THREE market signal now greets you on the home page",
+ "2026-06-16:Live Trade Feed — every notable pump.fun win in one public stream",
+ "2026-06-16:Manage your IRL pins from a new \"My pins\" panel",
+ "2026-06-16:On-chain deploy: cinematic step-by-step progress",
+ "2026-06-16:Oracle — live trade tape and 3D conviction graph in the war room",
+ "2026-06-16:Oracle — one conviction score per launch, and an agent that acts on it",
+ "2026-06-16:Oracle conviction in the MCP — agents can now read the fused score and the full trader roster",
+ "2026-06-16:Oracle conviction now available as MCP tools for autonomous agents",
+ "2026-06-16:Oracle conviction scores now read live crypto news",
+ "2026-06-16:Oracle conviction scores refresh every two minutes, automatically",
+ "2026-06-16:Oracle conviction visible across every trading surface",
+ "2026-06-16:Oracle copy trading — conviction buys now fan out to copy subscribers",
+ "2026-06-16:Oracle fires Telegram alerts for prime and strong conviction coins",
+ "2026-06-16:Oracle pre-seeded with hundreds of proven smart-money wallets",
+ "2026-06-16:Oracle Proof ✓ tab — gallery of verified high-conviction wins",
+ "2026-06-16:Oracle social signal — X posts now feed into coin conviction scores",
+ "2026-06-16:Oracle wallet drawer: trader profile and copy-trades links",
+ "2026-06-16:Oracle: Activity feed and Agent leaderboard",
+ "2026-06-16:Oracle: Community sentiment pulse in coin drawer",
+ "2026-06-16:Oracle: Conviction score history sparkline",
+ "2026-06-16:Oracle: Conviction-drop exit alerts via Telegram",
+ "2026-06-16:Oracle: Conviction-weighted position sizing",
+ "2026-06-16:Oracle: Daily Telegram digest for armed agents",
+ "2026-06-16:Oracle: Follow any agent — get Telegram alerts when they act",
+ "2026-06-16:Oracle: Hot Sectors — live category intelligence on the feed",
+ "2026-06-16:Oracle: Live conviction delta on open positions",
+ "2026-06-16:Oracle: Movers tab — fastest rising and falling conviction scores",
+ "2026-06-16:Oracle: New / Top sort toggle on conviction feed",
+ "2026-06-16:Oracle: Personal Telegram conviction alerts",
+ "2026-06-16:Oracle: rich conviction card on every shared link",
+ "2026-06-16:Oracle: rich social previews when sharing conviction links",
+ "2026-06-16:Oracle: Verify Telegram setup with a test message",
+ "2026-06-16:Pages that hit a network error now show a retry, never a blank screen",
+ "2026-06-16:Pay an agent in the IRL playground with one tap via x402",
+ "2026-06-16:Portfolio: Oracle conviction for every token you hold",
+ "2026-06-16:Pump Dashboard: live Oracle conviction panel on the main trading desk",
+ "2026-06-16:Pump Live: Oracle conviction filter + pause control",
+ "2026-06-16:Radar drawer: Oracle conviction scores now inline with coin intelligence",
+ "2026-06-16:Related avatars now have a one-tap Walk IRL shortcut",
+ "2026-06-16:Rich OG cards on every shared coin link — price, score, and live status in the preview",
+ "2026-06-16:Sniper Strategies dashboard — manage autonomous trading agents",
+ "2026-06-16:Sniper: Cumulative PnL chart in trade history",
+ "2026-06-16:Sniper: Oracle conviction gate",
+ "2026-06-16:Sniper: personal Telegram trade notifications",
+ "2026-06-16:Strategy Lab: backtest Oracle strategies before you deploy",
+ "2026-06-16:The Sniper Arena is now a living 3D world",
+ "2026-06-16:The whole platform now works keyboard-only and meets WCAG AA",
+ "2026-06-16:Tipped club dances now always perform",
+ "2026-06-16:Trader leaderboard + copy-trading now available as MCP tools for agents",
+ "2026-06-16:Trader profiles now work for any pump.fun wallet address",
+ "2026-06-16:Watchlist — save any coin and track it with live Oracle scores",
+ "2026-06-16:Watchlist: add any coin by pasting a mint address or pump.fun URL",
+ "2026-06-16:Watchlist: live Oracle conviction badges on every watched coin",
+ "2026-06-16:Watchlist: Oracle auto-refresh + browser alerts on tier upgrade",
+ "2026-06-16:Win exit alerts — Telegram fires when an agent's trade resolves profitable",
+ "2026-06-15:Coin Intelligence",
+ "2026-06-15:Coin Radar",
+ "2026-06-15:Launch a Coin",
+ "2026-06-15:Smart Money Radar — follow the wallets that win on pump.fun",
+ "2026-06-15:Sniper Arena — autonomous AI agents trading live",
+ "2026-06-15:Trader Leaderboard",
+ "2026-06-15:After you launch a coin, jump straight to viewing or managing it",
+ "2026-06-15:Agent reputation now reflects a real pump.fun track record",
+ "2026-06-15:Agents and items are now clearly separate — a teapot won't get a brain",
+ "2026-06-15:Agents can autonomously trade USDC-paired coins",
+ "2026-06-15:Autonomous coin buybacks and creator-fee distributions now run on schedule",
+ "2026-06-15:Avatars come to life — animations now play on the avatar page",
+ "2026-06-15:Browse every community avatar from your dashboard",
+ "2026-06-15:Buy and sell USDC-paired coins straight from the trade widget",
+ "2026-06-15:Buy any coin straight from the Pump Visualizer",
+ "2026-06-15:Camera AR on /irl now turns on",
+ "2026-06-15:Chat never stalls on a down AI model — instant, quiet failover",
+ "2026-06-15:Clearer launch & trade errors, and a graduated badge on coins",
+ "2026-06-15:Coin Radar — every pump.fun launch watched, scored, and classified the moment it goes live",
+ "2026-06-15:Fixed the footer floating over the avatar viewer",
+ "2026-06-15:Homepage Forge is more reliable — no more \"busy\" on the second model",
+ "2026-06-15:Launchpad Studio: pick your avatar from your own agents and the gallery",
+ "2026-06-15:Live coin status — price, market cap and graduation — now unified across the platform",
+ "2026-06-15:More uploaded avatars can dance",
+ "2026-06-15:On-chain model validation for Solana agents",
+ "2026-06-15:Pose any avatar — a full motion library on the avatar page",
+ "2026-06-15:Pump dashboard alerts now run server-side — fire across devices even with the tab closed",
+ "2026-06-15:Pump Live: real token art, live market caps, and a feed that heals itself",
+ "2026-06-15:Pump Visualizer: a coin's look now tracks its market cap",
+ "2026-06-15:Pump Visualizer’s Trending view fixed — spheres now sized by real market cap",
+ "2026-06-15:Rate and vouch for Solana agents from their passport",
+ "2026-06-15:Redesigned the $THREE economy page — watch it move, verify it on-chain",
+ "2026-06-15:Refer friends with a 3D membership card",
+ "2026-06-15:Register an existing agent on-chain in one click",
+ "2026-06-15:Registered agents now carry an on-chain \"Validated\" badge",
+ "2026-06-15:Save any avatar as your own — forks with their own wallet",
+ "2026-06-15:Sell your animations in the marketplace",
+ "2026-06-15:Smart Money Radar — follow the wallets that actually win on pump.fun",
+ "2026-06-15:Sniper agents can now buy on a creator's first reward claim",
+ "2026-06-15:Sniper Arena — watch AI agents trade pump.fun live",
+ "2026-06-15:Strategy Lab now catches broken trading strategies before they run",
+ "2026-06-15:The $THREE economy, on one page",
+ "2026-06-15:The Forge always returns a model — the default never dead-ends",
+ "2026-06-15:The Forge grows itself — a new avatar or accessory every minute, tied to real accounts",
+ "2026-06-15:The IRL page loads again",
+ "2026-06-15:The pump.fun graduations feed stays fresh around the clock",
+ "2026-06-15:The site footer and top pages are now polished on phones",
+ "2026-06-15:The top navigation is back on every page",
+ "2026-06-15:There's a cover at the Pole Club door",
+ "2026-06-15:Three distinct dancers, now waiting at their poles",
+ "2026-06-15:three.ws can now register itself on-chain on Solana",
+ "2026-06-15:three.ws now registers itself as an on-chain agent (ERC-8004)",
+ "2026-06-15:Trader Leaderboard — pump.fun traders ranked by a track record you can verify",
+ "2026-06-15:USDC-paired agent coins now record and display correct trade amounts",
+ "2026-06-15:Verify the $THREE economy on-chain — no \"trust us\"",
+ "2026-06-15:Walk into the Pole Club as your own 3D avatar",
+ "2026-06-14:Building 3D AI Agents Live",
+ "2026-06-14:Forge stays up: live Redis quota monitoring and early-warning alerts",
+ "2026-06-14:pump.fun MCP server only lists tools it can actually run",
+ "2026-06-14:React component library for embedding 3D AI agents",
+ "2026-06-14:world.three.ws locked down and watched around the clock",
+ "2026-06-14:x402-fetch — automatic pay-per-call fetch wrapper",
+ "2026-06-13:AR & WebXR — Place Any 3D Agent in Your Real World",
+ "2026-06-13:IRL",
+ "2026-06-13:Scene Composer",
+ "2026-06-13:3D model categories — every model is now typed as Avatar, Accessory, Item, Scene, Creature, or Vehicle",
+ "2026-06-13:All 14 three.ws MCP servers are now live on npm and the official MCP registry",
+ "2026-06-13:Animation library expands: 100+ clips, FBX and BVH upload",
+ "2026-06-13:AR is live on the homepage — place any 3D model in your real space from the front page",
+ "2026-06-13:Clearer ways to reach us — a full contact directory on the support page",
+ "2026-06-13:Copy any docs or tutorial page straight into your AI assistant",
+ "2026-06-13:Describe it to 3D joins the rest of the site — and the two generators now point at each other",
+ "2026-06-13:Embed any Forge model on your own site with one line",
+ "2026-06-13:Embed straight from the homepage demo — no trip to the full Forge",
+ "2026-06-13:Forge adds four more 3D engines — bring your own Rodin, Stability, Tripo, or Replicate key",
+ "2026-06-13:Forge free lane never fails: automatic fallback when the free engine is busy",
+ "2026-06-13:Forge improvements: category tagging, model load errors, and more",
+ "2026-06-13:IRL — walk your avatar in the real world, place 3D objects on your floor",
+ "2026-06-13:Platform scalability improvements across the board",
+ "2026-06-13:pump.fun MCP server now listed in the official MCP registry",
+ "2026-06-13:Record videos from the Animation Studio: send a pose animation straight to Scene Studio",
+ "2026-06-13:Refine any Forge model to higher quality in one click — plus sharper multi-view guidance",
+ "2026-06-13:Refine any forged model instantly, on-device — no waiting, no limits",
+ "2026-06-13:Reliability pass: steadier live feed, token art that never blanks, and a graceful 3D fallback",
+ "2026-06-13:Scene Composer — forge items in real time and dress your avatar",
+ "2026-06-13:Security and scalability hardening",
+ "2026-06-13:See any Forge model in AR — scan from your desktop, place it in your room",
+ "2026-06-13:Selfie to 3D avatar now works with your own API key — Meshy and Tripo supported",
+ "2026-06-13:The full page directory is now one click away — and instantly filterable",
+ "2026-06-13:The IBM partnership page, rebuilt in IBM's own design language",
+ "2026-06-13:Tutorials read better: one-tap copy on every code block, live progress, and a jump-to-the-tool button",
+ "2026-06-12:Agent Launches",
+ "2026-06-12:Scene Studio",
+ "2026-06-12:Text to 3D Is Live — Type a Prompt, Download a 3D Model",
+ "2026-06-12:Tutorial · Generate 3D Models from Code",
+ "2026-06-12:Tutorial · Photos to 3D Model",
+ "2026-06-12:Tutorial · Prompt Recipes for 3D Generation",
+ "2026-06-12:Tutorial · Text Prompt to 3D Model",
+ "2026-06-12:All twelve three.ws MCP servers refreshed: safety annotations, richer registry listings, new versions",
+ "2026-06-12:Cosmetics shop purchases now work",
+ "2026-06-12:Email sign-in works again",
+ "2026-06-12:Every “what now?” button now takes your new model with you",
+ "2026-06-12:Every three.ws npm package got a polish pass and a new release",
+ "2026-06-12:Forge a 3D model right on the homepage",
+ "2026-06-12:Forge engine picker now shows live engine health",
+ "2026-06-12:Forge gets a community showcase — and takes photos from anywhere",
+ "2026-06-12:Forge helps you write a better prompt before you spend a generation",
+ "2026-06-12:Forge is now one click away from every feed",
+ "2026-06-12:Forge models now carry straight into Scene Studio",
+ "2026-06-12:Forge now shows how long your model has to go",
+ "2026-06-12:Forge's free Draft engine no longer loses finished models",
+ "2026-06-12:New /launches page: every agent-launched coin in one live feed",
+ "2026-06-12:One tap rewrites your Forge prompt into a model-ready description",
+ "2026-06-12:Pay a real x402 oracle inside the $THREE town",
+ "2026-06-12:Reliability sweep: faster galleries, working voices, sturdier pages",
+ "2026-06-12:Sketch-to-3D comes to the Forge",
+ "2026-06-12:Standard and High generation tiers are back — with a daily guard so they stay up",
+ "2026-06-12:Text to 3D is live — and now front and center",
+ "2026-06-12:Text to 3D is live — type a prompt, get a model",
+ "2026-06-12:The 3D Studio MCP now introduces itself correctly to paying agents",
+ "2026-06-12:The 3D world is back on solid ground — and locked against griefing",
+ "2026-06-12:The app's deploy pill now takes you to the deployment agent",
+ "2026-06-12:The homepage mini Forge now remembers your models and carries them onward",
+ "2026-06-12:zauth's security agent moves into the $THREE town",
+ "2026-06-11:Agent Wallet (x402 on Solana)",
+ "2026-06-11:Status",
+ "2026-06-11:A safety net on open, sign-in-free chat — without blocking real conversations",
+ "2026-06-11:Accurate uptime on the x402 Provider Hub",
+ "2026-06-11:Agent Wallet demo now settles on Solana",
+ "2026-06-11:Agents dashboard renders reliably again",
+ "2026-06-11:Avatar pages back online after image-engine outage",
+ "2026-06-11:Avatar preview images load reliably",
+ "2026-06-11:Avatar voices can speak out loud again",
+ "2026-06-11:Built-in AI stays up when a provider runs dry",
+ "2026-06-11:Create an avatar from a template or from scratch, right from the dashboard",
+ "2026-06-11:Embedded avatar chat replies again",
+ "2026-06-11:Faster, quieter agents directory and site-wide page polish",
+ "2026-06-11:Forge and Parts Studio headers display correctly again",
+ "2026-06-11:Forge checks your photo before spending a generation — plus image-aware fact-checks and accessible galleries",
+ "2026-06-11:Forge share links now open your creation for anyone you send them to",
+ "2026-06-11:Free 3D draft generations no longer get blocked by the paid rate limit",
+ "2026-06-11:Free 3D drafts on Forge",
+ "2026-06-11:Hardened the explore feed and marketplace pricing against bad requests",
+ "2026-06-11:Inspect any agent's 3D model right on its marketplace page",
+ "2026-06-11:Light theme is here — flip the whole site with one tap",
+ "2026-06-11:Live $THREE market data, longer trade streams, and tutor session fixes",
+ "2026-06-11:MetaMask Agent Wallet skills for every agent",
+ "2026-06-11:More paid 3D generations per hour before you hit the limit",
+ "2026-06-11:Pick a username on your account page — even if you signed in with a wallet",
+ "2026-06-11:Pluggable memory backends + a portable snapshot format for the agent SDK",
+ "2026-06-11:Public status page with live uptime monitoring",
+ "2026-06-11:Pump dashboard alerts now follow you across devices and fire with the tab closed",
+ "2026-06-11:Scheduled jobs restored after dependency outage",
+ "2026-06-11:Sharper search and richer link previews across the blog",
+ "2026-06-11:Talking-agent widgets answer from their knowledge again",
+ "2026-06-11:Text-to-3D and image-to-3D generation restored",
+ "2026-06-11:Your chat agent now walks to each new reply instead of popping in",
+ "2026-06-10:WebRTC relay and x402 telemetry",
+ "2026-06-09:3D + AI + Web3 Just Converged: three.ws Shipped the Whole Stack",
+ "2026-06-09:Agent Lookup",
+ "2026-06-09:three.ws Wins DEXTools Social Boost — $5,543 $three Buyback",
+ "2026-06-09:New Claude models in every agent brain",
+ "2026-06-08:EVM Vanity Wallet",
+ "2026-06-08:three.ws Featured on the Alibaba Cloud Marketplace Blog",
+ "2026-06-08:Bounty board with AI judge",
+ "2026-06-08:Public agent profiles with shared memories",
+ "2026-06-07:AIXBT market intelligence for agents",
+ "2026-06-06:Support",
+ "2026-06-06:Forge editing upgrades",
+ "2026-06-06:IBM Granite models over MCP and x402",
+ "2026-06-05:Agent Exchange — AI Agents Paying Each Other",
+ "2026-06-05:Create an Agent",
+ "2026-06-05:Deploy — On-Chain Agent Identity",
+ "2026-06-05:Describe it to 3D",
+ "2026-06-05:Docs · Do I Need Crypto?",
+ "2026-06-05:Docs · Make Your First Agent",
+ "2026-06-05:Docs · Share & Embed",
+ "2026-06-05:Docs · Start Here",
+ "2026-06-05:Forge — Text to 3D Model",
+ "2026-06-05:Glossary",
+ "2026-06-05:Labs Showcase",
+ "2026-06-05:Marketplace — Discover and Fork AI Agents",
+ "2026-06-05:Play — Live 3D Coin Worlds",
+ "2026-06-05:Pole Club",
+ "2026-06-05:Scan — Selfie to 3D Avatar",
+ "2026-06-05:Studio — Embeddable AI Widget Builder",
+ "2026-06-05:Voice Lab",
+ "2026-06-05:Walk — 3D Avatar AR",
+ "2026-06-05:What is three.ws?",
+ "2026-06-05:Cosmetics economy in the game world",
+ "2026-06-05:Privy wallet sign-in",
+ "2026-06-05:Pump.fun autopilot and guided agent creation",
+ "2026-06-04:Forge — Text to 3D",
+ "2026-06-03:Agent Commerce",
+ "2026-06-03:Agent Economy — Live",
+ "2026-06-03:Agent Economy — Live Demo",
+ "2026-06-03:Agent Economy — NOVA & ORACLE",
+ "2026-06-03:Agent Exchange",
+ "2026-06-03:watsonx Constellation",
+ "2026-06-03:Autonomous agent-to-agent trading",
+ "2026-06-03:Voice cloning and real-time lip-sync",
+ "2026-06-03:x402 payment hardening",
+ "2026-06-02:Avatar Wallet",
+ "2026-06-02:Token in 3D",
+ "2026-06-02:Every agent gets its own wallet",
+ "2026-06-02:Four production MCP servers",
+ "2026-06-01:City world",
+ "2026-06-01:Quests, loot, mounts, and realms",
+ "2026-05-31:We turned every memecoin into a live 3D world you can walk into",
+ "2026-05-31:Holder-gated worlds",
+ "2026-05-31:Keyframe animation in Pose Studio",
+ "2026-05-31:Spatial voice chat in coin worlds",
+ "2026-05-30:Coin Communities — live 3D coin worlds",
+ "2026-05-29:$THREE Live · Protocol Pulse",
+ "2026-05-29:3D Scanner — Scan Yourself into 3D",
+ "2026-05-29:Forever — etch a message into Bitcoin",
+ "2026-05-29:Pay-As-You-Learn Tutor",
+ "2026-05-29:x402 Arbitrage",
+ "2026-05-29:x402 Providers",
+ "2026-05-29:Live trade streaming and zen mode",
+ "2026-05-28:Faster, more reliable deploys",
+ "2026-05-27:Endpoint Shopper",
+ "2026-05-27:Fact Checker",
+ "2026-05-27:Get Started",
+ "2026-05-27:Multi-LLM Brain",
+ "2026-05-27:Skills Marketplace",
+ "2026-05-27:three.ws Joins the AWS Partner Network",
+ "2026-05-27:three.ws Launches on AWS Marketplace, Bringing On-Chain 3D AI Agents to Enterprise Procurement",
+ "2026-05-27:Unstoppable Agent",
+ "2026-05-27:Brain page — race LLMs side by side",
+ "2026-05-27:Unified dashboard",
+ "2026-05-26:Avatar regeneration tracking and grounded AR",
+ "2026-05-26:three.ws on AWS Marketplace",
+ "2026-05-25:$THREE Listed on Coinbase, CoinGecko, Jupiter, and Investing.com",
+ "2026-05-25:2,500 New 3D Animations Coming to three.ws",
+ "2026-05-25:Agent Builder Live — Studio Redesign, LLM Chat Upgrade",
+ "2026-05-25:Characters",
+ "2026-05-25:Claim threews.sol Subdomain",
+ "2026-05-25:Dashboard",
+ "2026-05-25:Dashboard · Account",
+ "2026-05-25:Dashboard · Analytics",
+ "2026-05-25:Dashboard · Settings",
+ "2026-05-25:Full Animation & Emotion Control — Plus Pump.fun Live Feed",
+ "2026-05-25:GMGN Smart Money",
+ "2026-05-25:Import an avatar URL",
+ "2026-05-25:New Agent",
+ "2026-05-25:Playground",
+ "2026-05-25:Real-Time Voice Interaction with 3D AI Agents — Preview",
+ "2026-05-25:Selfie to Avatar",
+ "2026-05-25:sitemap.xml",
+ "2026-05-25:Solana Wallet Integration for Autonomous 3D Agents",
+ "2026-05-25:three.ws Integrates the Pump.fun Agent Payments SDK",
+ "2026-05-25:three.ws Is Now Live on CoinMarketCap",
+ "2026-05-25:three.ws Joins Google Cloud for Web3 Startups",
+ "2026-05-25:three.ws Listed on Anthropic's Official MCP Registry",
+ "2026-05-25:three.ws Listed on Coinbase x402 Bazaar and agentic.market",
+ "2026-05-25:three.ws Ships Inside SperaxUSD — DeFi Gets a 3D Face",
+ "2026-05-25:three.ws Teams Up with HackerNoon",
+ "2026-05-25:We Just Shipped the 3D Layer for the Internet — <agent-3d>",
+ "2026-05-25:x402 Bazaar",
+ "2026-05-25:Search engines find everything faster",
+ "2026-05-24:Widget Studio",
+ "2026-05-24:Avatar review with live 3D preview",
+ "2026-05-24:Marketplace asset pricing and purchases",
+ "2026-05-23:Pay by name with SNS",
+ "2026-05-21:Agent-to-agent protocol",
+ "2026-05-21:Agent-UI SDK released",
+ "2026-05-21:Avatar Agent MCP in Anthropic's registry",
+ "2026-05-21:Pole Club — micro-tip performances",
+ "2026-05-21:x402 Bazaar infrastructure",
+ "2026-05-20:Hydrate",
+ "2026-05-20:Buybacks and WASM vanity addresses",
+ "2026-05-20:Platform-wide security hardening",
+ "2026-05-19:USDC pairs for pump.fun v2",
+ "2026-05-18:Launchpad Studio",
+ "2026-05-18:Live feed mode in the token visualizer",
+ "2026-05-18:Selfie-to-avatar reconstruction pipeline",
+ "2026-05-18:Solana Seeker mobile support",
+ "2026-05-17:Blog",
+ "2026-05-17:Docs · Listings & Distribution",
+ "2026-05-17:Lipsync (Mic)",
+ "2026-05-17:Lipsync (TTS)",
+ "2026-05-17:three.ws Launches on Alibaba Cloud Marketplace, Bringing Native x402 Agent Payments to Hyperscale",
+ "2026-05-17:three.ws Listed on BNB Chain's Dappbay Directory",
+ "2026-05-17:Agent personalization and on-chain economy scaffolding",
+ "2026-05-17:News syndication",
+ "2026-05-17:Server-side avatar regeneration",
+ "2026-05-17:Talk mode, avatar SDK, and 5–10x smaller avatars",
+ "2026-05-17:Talking avatars with audio-driven lip-sync",
+ "2026-05-17:Team launches with creator-signer split",
+ "2026-05-15:Strategy Lab",
+ "2026-05-15:Avatar accessories and launchpad redesign",
+ "2026-05-15:Token visualizer search and sort",
+ "2026-05-14:15 tutorials and six new paid endpoints",
+ "2026-05-14:Launchpad Studio — no-code hosted pages",
+ "2026-05-14:Multiplayer walk scenes",
+ "2026-05-14:x402 commerce — SKUs and hosted checkout",
+ "2026-05-13:Avatar Gallery",
+ "2026-05-13:llms-full.txt",
+ "2026-05-13:llms.txt",
+ "2026-05-13:Sitemap",
+ "2026-05-13:Autonomous X Spaces voice agent",
+ "2026-05-10:Drive Your Avatar",
+ "2026-05-10:Pay (x402)",
+ "2026-05-10:Launch-week recap published",
+ "2026-05-10:Marketplace v2 and creator dashboard",
+ "2026-05-10:Monetization v2",
+ "2026-05-09:ETH Vanity (CREATE2)",
+ "2026-05-09:Vanity wallet addresses",
+ "2026-05-08:$THREE holder gating",
+ "2026-05-08:Agent Payments SDK v3.1.0 — multi-chain",
+ "2026-05-08:Agents that feel the room",
+ "2026-05-08:Payments inside chat",
+ "2026-05-08:Pick your agent's model",
+ "2026-05-08:Trading tools in chat",
+ "2026-05-08:x402 spec v2",
+ "2026-05-04:Community",
+ "2026-05-04:How to Embed 3D On-Chain Agents on Your Site",
+ "2026-05-04:Pump Dashboard",
+ "2026-05-04:Pump Live",
+ "2026-05-04:Pump Visualizer",
+ "2026-05-04:Tutorials",
+ "2026-05-04:Avatar reactions to market events",
+ "2026-05-04:JavaScript SDK launch",
+ "2026-05-04:Real-time multiplayer sync",
+ "2026-05-04:Richer pump.fun feed",
+ "2026-05-04:Sell your agent's skills",
+ "2026-05-01:Lip-sync and Solana Blinks",
+ "2026-05-01:Plugin marketplace",
+ "2026-05-01:Reputation and staking",
+ "2026-04-30:Chat with voice",
+ "2026-04-29:.well-known/agent-attestation-schemas",
+ "2026-04-29:.well-known/oauth-authorization-server",
+ "2026-04-29:.well-known/x402",
+ "2026-04-29:Chat",
+ "2026-04-29:Docs · x402 Protocol",
+ "2026-04-29:Marketplace",
+ "2026-04-29:Pump.fun Stream",
+ "2026-04-29:Solana Vanity Wallet",
+ "2026-04-29:On-chain agents on Solana and EVM",
+ "2026-04-29:Pump.fun launch and trading stack",
+ "2026-04-29:Solana Agent SDK",
+ "2026-04-29:three.ws in Anthropic's MCP Registry",
+ "2026-04-29:x402 micropayments",
+ "2026-04-28:Avatar Artifact",
+ "2026-04-28:Settings",
+ "2026-04-27:Docs",
+ "2026-04-27:Docs · <agent-3d>",
+ "2026-04-27:Docs · Agent System",
+ "2026-04-27:Docs · API Reference",
+ "2026-04-27:Docs · Embedding",
+ "2026-04-27:Docs · ERC-8004",
+ "2026-04-27:Docs · MCP",
+ "2026-04-27:Docs · Quick Start",
+ "2026-04-27:Docs · SDK",
+ "2026-04-27:Docs · Skills",
+ "2026-04-27:OpenAPI",
+ "2026-04-27:Privacy Policy",
+ "2026-04-27:Terms of Use",
+ "2026-04-27:3D viewer polish",
+ "2026-04-27:Create-to-deploy flow",
+ "2026-04-27:Hello, three.ws",
+ "2026-04-17:.well-known/chat-plugin.json",
+ "2026-04-17:Agents Index",
+ "2026-04-17:Artifact Viewer",
+ "2026-04-17:Discover",
+ "2026-04-17:glTF Validator",
+ "2026-04-17:My Agents",
+ "2026-04-17:Reputation Explorer",
+ "2026-04-17:Viewer",
+ "2026-04-17:Avatars that never sit still",
+ "2026-04-17:Embeds with action bridges",
+ "2026-04-17:On-chain agent discovery",
+ "2026-04-16:Create",
+ "2026-04-16:Home",
+ "2026-04-16:Widget Studio is born",
+ "2026-04-15:Docs · Widgets",
+ "2026-04-15:Widgets Gallery",
+ "2026-04-15:3D model validation tools",
+ "2026-04-15:Wallet sign-in and on-chain identity",
+ "2026-04-14:Create account",
+ "2026-04-14:Features",
+ "2026-04-14:Forgot password",
+ "2026-04-14:robots.txt",
+ "2026-04-14:Sign in"
+ ],
+ "thread": null
+}
diff --git a/packages/agent-sniper/package.json b/packages/agent-sniper/package.json
index 3409c22c4..f21beee2f 100644
--- a/packages/agent-sniper/package.json
+++ b/packages/agent-sniper/package.json
@@ -9,7 +9,8 @@
"homepage": "https://three.ws",
"repository": {
"type": "git",
- "url": "git+https://github.com/nirholas/agent-sniper.git"
+ "url": "git+https://github.com/nirholas/three.ws.git",
+ "directory": "packages/agent-sniper"
},
"keywords": [
"solana",
diff --git a/packages/agentcore-payments-mcp/package.json b/packages/agentcore-payments-mcp/package.json
index cca60aa75..eb6c106f2 100644
--- a/packages/agentcore-payments-mcp/package.json
+++ b/packages/agentcore-payments-mcp/package.json
@@ -1,6 +1,6 @@
{
"name": "@three-ws/agentcore-payments-mcp",
- "version": "0.1.1",
+ "version": "0.1.2",
"mcpName": "io.github.nirholas/agentcore-payments-mcp",
"description": "Platform-managed agent payment sessions — create a budget, pay any x402 endpoint without holding a private key. Governed by spend limits, URL allowlists, and per-tx ceilings. The agent proposes spend; three.ws governance enforces policy.",
"type": "module",
diff --git a/packages/agentcore-payments-mcp/server.json b/packages/agentcore-payments-mcp/server.json
index 4cd7b4ec0..9a372b891 100644
--- a/packages/agentcore-payments-mcp/server.json
+++ b/packages/agentcore-payments-mcp/server.json
@@ -18,12 +18,12 @@
"source": "github",
"subfolder": "packages/agentcore-payments-mcp"
},
- "version": "0.1.1",
+ "version": "0.1.2",
"packages": [
{
"registryType": "npm",
"identifier": "@three-ws/agentcore-payments-mcp",
- "version": "0.1.1",
+ "version": "0.1.2",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
diff --git a/packages/agentcore-payments-mcp/src/index.js b/packages/agentcore-payments-mcp/src/index.js
index c24727c91..4bf4ea18e 100755
--- a/packages/agentcore-payments-mcp/src/index.js
+++ b/packages/agentcore-payments-mcp/src/index.js
@@ -21,6 +21,8 @@
// Wire into Claude Code / Cursor — see README.md.
import { createRequire } from 'node:module';
+import { realpathSync } from 'node:fs';
+import { pathToFileURL } from 'node:url';
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
@@ -64,51 +66,56 @@ export function buildServer() {
);
for (const tool of TOOLS) {
- server.tool(tool.name, tool.description, tool.inputSchema, async (args) => {
- try {
- const result = await tool.handler(args);
- return {
- content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
- };
- } catch (err) {
- const code = err?.code ?? 'error';
- const status = err?.status ?? null;
- const body = err?.body ?? null;
- const detail = body
- ? `\n\nUpstream detail: ${JSON.stringify(body, null, 2)}`
- : '';
- return {
- content: [
- {
- type: 'text',
- text: JSON.stringify(
- {
- ok: false,
- error: err?.message ?? 'unknown error',
- code,
- ...(status ? { status } : {}),
- },
- null,
- 2,
- ),
- },
- ],
- isError: true,
- };
- }
- });
+ server.registerTool(
+ tool.name,
+ {
+ title: tool.title,
+ description: tool.description,
+ inputSchema: tool.inputSchema,
+ // MCP ToolAnnotations (readOnlyHint / destructiveHint / idempotentHint /
+ // openWorldHint) — lets clients gate confirmation prompts per tool
+ // instead of treating every call as a destructive write.
+ annotations: tool.annotations,
+ },
+ async (args, extra) => {
+ try {
+ const result = await tool.handler(args, extra);
+ return {
+ content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
+ };
+ } catch (err) {
+ const payload = {
+ ok: false,
+ error: err?.message ?? 'unknown error',
+ code: err?.code ?? 'error',
+ ...(err?.status ? { status: err.status } : {}),
+ ...(err?.body ? { detail: err.body } : {}),
+ };
+ return {
+ content: [{ type: 'text', text: JSON.stringify(payload, null, 2) }],
+ isError: true,
+ };
+ }
+ },
+ );
}
return server;
}
-// Start the server when run directly
-const isMain =
- typeof process !== 'undefined' &&
- process.argv[1] &&
- (process.argv[1].endsWith('index.js') || process.argv[1].endsWith('agentcore-payments-mcp'));
+// Connect stdio ONLY when this file is the process entry point. Importing the
+// module (tests, embedding) must not grab the transport. realpath both sides:
+// npm bin shims are symlinks, so argv[1] may differ from import.meta.url.
+function isProcessEntryPoint() {
+ if (!process.argv[1]) return false;
+ try {
+ return import.meta.url === pathToFileURL(realpathSync(process.argv[1])).href;
+ } catch {
+ return false;
+ }
+}
-if (isMain) {
+if (isProcessEntryPoint()) {
const server = buildServer();
const transport = new StdioServerTransport();
await server.connect(transport);
diff --git a/packages/agentcore-payments-mcp/test/config.test.mjs b/packages/agentcore-payments-mcp/test/config.test.mjs
new file mode 100644
index 000000000..9e88ab7a4
--- /dev/null
+++ b/packages/agentcore-payments-mcp/test/config.test.mjs
@@ -0,0 +1,86 @@
+// Config and env-handling invariants for @three-ws/agentcore-payments-mcp.
+//
+// config.js snapshots env at import time, so this file pins its env BEFORE the
+// first dynamic import and uses query-busted imports where a second, fresh
+// module instance is needed. Runs offline.
+//
+// Run: node --test packages/agentcore-payments-mcp/test/config.test.mjs
+
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+
+// Pin the env this process's canonical config instance will snapshot.
+process.env.THREE_WS_BASE = 'https://cfg.test///';
+process.env.PAYMENT_SESSION_TOKEN = 'pss_from_env';
+delete process.env.THREE_WS_SESSION;
+delete process.env.THREE_WS_TIMEOUT_MS;
+
+const config = await import('../src/config.js');
+const { def: payWithSession } = await import('../src/tools/pay-with-session.js');
+
+// ── env() helper ─────────────────────────────────────────────────────────────
+
+test('env() trims values and falls back on unset, empty and whitespace-only vars', (t) => {
+ process.env.ACP_TEST_VAR = ' padded-value ';
+ t.after(() => { delete process.env.ACP_TEST_VAR; });
+ assert.equal(config.env('ACP_TEST_VAR', 'fb'), 'padded-value');
+
+ process.env.ACP_TEST_VAR = '';
+ assert.equal(config.env('ACP_TEST_VAR', 'fb'), 'fb', 'empty string means fallback');
+
+ process.env.ACP_TEST_VAR = ' ';
+ assert.equal(config.env('ACP_TEST_VAR', 'fb'), 'fb', 'whitespace-only means fallback');
+
+ delete process.env.ACP_TEST_VAR;
+ assert.equal(config.env('ACP_TEST_VAR', 'fb'), 'fb', 'unset means fallback');
+ assert.equal(config.env('ACP_TEST_VAR'), undefined, 'no fallback means undefined');
+});
+
+// ── derived constants ────────────────────────────────────────────────────────
+
+test('THREE_WS_BASE strips trailing slashes so URL joins cannot double-slash', () => {
+ assert.equal(config.THREE_WS_BASE, 'https://cfg.test');
+});
+
+test('HTTP_TIMEOUT_MS defaults to 30s and honours a valid override', async () => {
+ assert.equal(config.HTTP_TIMEOUT_MS, 30000);
+
+ process.env.THREE_WS_TIMEOUT_MS = '5000';
+ try {
+ const fresh = await import('../src/config.js?custom-timeout');
+ assert.equal(fresh.HTTP_TIMEOUT_MS, 5000);
+ } finally {
+ delete process.env.THREE_WS_TIMEOUT_MS;
+ }
+});
+
+test('a malformed THREE_WS_TIMEOUT_MS fails fast with code bad_config', async () => {
+ for (const bad of ['banana', '-5', '0']) {
+ process.env.THREE_WS_TIMEOUT_MS = bad;
+ try {
+ await assert.rejects(
+ import(`../src/config.js?bad-timeout-${encodeURIComponent(bad)}`),
+ (err) => err.code === 'bad_config',
+ `"${bad}" must be rejected at load time`,
+ );
+ } finally {
+ delete process.env.THREE_WS_TIMEOUT_MS;
+ }
+ }
+});
+
+// ── PAYMENT_SESSION_TOKEN env fallback ───────────────────────────────────────
+
+test('pay_with_session falls back to the PAYMENT_SESSION_TOKEN env var', async (t) => {
+ const calls = [];
+ t.mock.method(globalThis, 'fetch', async (url, init) => {
+ calls.push({ url: String(url), init });
+ return { ok: true, status: 200, text: async () => JSON.stringify({ paid: false, result: {} }) };
+ });
+
+ await payWithSession.handler({ url: 'https://api.example.com/paid' });
+
+ assert.equal(calls.length, 1);
+ assert.equal(calls[0].url, 'https://cfg.test/api/pay/execute');
+ assert.equal(JSON.parse(calls[0].init.body).session_token, 'pss_from_env');
+});
diff --git a/packages/agentcore-payments-mcp/test/handlers.test.mjs b/packages/agentcore-payments-mcp/test/handlers.test.mjs
new file mode 100644
index 000000000..2cb0bc438
--- /dev/null
+++ b/packages/agentcore-payments-mcp/test/handlers.test.mjs
@@ -0,0 +1,313 @@
+// Handler behaviour for @three-ws/agentcore-payments-mcp, with fetch stubbed.
+//
+// Every test replaces globalThis.fetch via node:test's mock tracker (restored
+// automatically per-test), so no request ever leaves the process. Assertions
+// cover the exact wire shape each handler sends (method, path, query, headers,
+// JSON body) and how it maps upstream responses and failures.
+//
+// Run: node --test packages/agentcore-payments-mcp/test/handlers.test.mjs
+
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+
+// config.js snapshots env at import time — pin credentials/base BEFORE the
+// dynamic imports below so the module under test sees exactly these values.
+process.env.THREE_WS_SESSION = 'test-session-cookie';
+process.env.THREE_WS_BASE = 'https://three.test';
+delete process.env.PAYMENT_SESSION_TOKEN;
+delete process.env.THREE_WS_TIMEOUT_MS;
+
+const { def: createSession } = await import('../src/tools/create-session.js');
+const { def: payWithSession } = await import('../src/tools/pay-with-session.js');
+const { def: checkSession } = await import('../src/tools/check-session.js');
+const { def: listSessions } = await import('../src/tools/list-sessions.js');
+const { def: cancelSession } = await import('../src/tools/cancel-session.js');
+
+const SESSION_ID = '123e4567-e89b-12d3-a456-426614174000';
+
+function jsonResponse(data, { status = 200 } = {}) {
+ return {
+ ok: status >= 200 && status < 300,
+ status,
+ text: async () => JSON.stringify(data),
+ };
+}
+
+// Stub fetch for one test; returns the recorded calls [{ url, init }].
+function stubFetch(t, responder) {
+ const calls = [];
+ t.mock.method(globalThis, 'fetch', async (url, init) => {
+ calls.push({ url: String(url), init });
+ return responder(String(url), init);
+ });
+ return calls;
+}
+
+// ── create_payment_session ───────────────────────────────────────────────────
+
+test('create_payment_session POSTs defaults with session auth and returns the token', async (t) => {
+ const calls = stubFetch(t, () =>
+ jsonResponse({ session: { id: SESSION_ID, status: 'active' }, token: 'pss_abc123' }),
+ );
+
+ const result = await createSession.handler({ budget_usd: 2.5 });
+
+ assert.equal(calls.length, 1);
+ const { url, init } = calls[0];
+ assert.equal(url, 'https://three.test/api/pay/session');
+ assert.equal(init.method, 'POST');
+ assert.equal(init.headers.cookie, '__Host-sid=test-session-cookie');
+ assert.equal(init.headers['content-type'], 'application/json');
+ assert.deepEqual(JSON.parse(init.body), {
+ budget_usd: 2.5,
+ label: '',
+ expiry_seconds: 3600,
+ max_per_tx_usd: null,
+ allowed_hosts: [],
+ agent_id: null,
+ network: 'solana',
+ metadata: {},
+ });
+
+ assert.equal(result.ok, true);
+ assert.equal(result.token, 'pss_abc123');
+ assert.deepEqual(result.session, { id: SESSION_ID, status: 'active' });
+ assert.match(result.note, /shown once/i, 'default note warns the token is shown once');
+});
+
+test('create_payment_session forwards explicit governance limits verbatim', async (t) => {
+ const calls = stubFetch(t, () => jsonResponse({ session: {}, token: 'pss_x', note: 'upstream note' }));
+
+ const result = await createSession.handler({
+ budget_usd: 10,
+ label: 'Research run #4',
+ expiry_seconds: 600,
+ max_per_tx_usd: 0.05,
+ allowed_hosts: ['api.weather.com'],
+ agent_id: SESSION_ID,
+ network: 'solana',
+ metadata: { run: 4 },
+ });
+
+ assert.deepEqual(JSON.parse(calls[0].init.body), {
+ budget_usd: 10,
+ label: 'Research run #4',
+ expiry_seconds: 600,
+ max_per_tx_usd: 0.05,
+ allowed_hosts: ['api.weather.com'],
+ agent_id: SESSION_ID,
+ network: 'solana',
+ metadata: { run: 4 },
+ });
+ assert.equal(result.note, 'upstream note', 'upstream note wins over the default');
+});
+
+// ── list_payment_sessions ────────────────────────────────────────────────────
+
+test('list_payment_sessions builds the query and maps items/stats/has_more', async (t) => {
+ const calls = stubFetch(t, () =>
+ jsonResponse({
+ items: [{ id: SESSION_ID }],
+ stats: { total_spent_usd: 1.25 },
+ next_cursor: 'cursor-2',
+ }),
+ );
+
+ const result = await listSessions.handler({ status: 'active', limit: 5 });
+
+ const url = new URL(calls[0].url);
+ assert.equal(url.pathname, '/api/pay/session');
+ assert.equal(url.searchParams.get('status'), 'active');
+ assert.equal(url.searchParams.get('limit'), '5');
+ assert.equal(calls[0].init.headers.cookie, '__Host-sid=test-session-cookie');
+
+ assert.deepEqual(result, {
+ ok: true,
+ sessions: [{ id: SESSION_ID }],
+ stats: { total_spent_usd: 1.25 },
+ has_more: true,
+ });
+});
+
+test('list_payment_sessions omits the status filter and defaults limit to 20', async (t) => {
+ const calls = stubFetch(t, () => jsonResponse({ items: [], stats: {} }));
+
+ const result = await listSessions.handler({});
+
+ const url = new URL(calls[0].url);
+ assert.equal(url.searchParams.has('status'), false, 'no status filter when omitted');
+ assert.equal(url.searchParams.get('limit'), '20');
+ assert.equal(result.has_more, false, 'no next_cursor means no more pages');
+});
+
+// ── check_payment_session ────────────────────────────────────────────────────
+
+test('check_payment_session fetches the session only by default', async (t) => {
+ const calls = stubFetch(t, () => jsonResponse({ session: { id: SESSION_ID, remaining_usd: 3 } }));
+
+ const result = await checkSession.handler({ session_id: SESSION_ID });
+
+ assert.equal(calls.length, 1);
+ assert.equal(new URL(calls[0].url).pathname, `/api/pay/session/${SESSION_ID}`);
+ assert.deepEqual(result, { ok: true, session: { id: SESSION_ID, remaining_usd: 3 } });
+ assert.ok(!('recent_executions' in result), 'executions are opt-in');
+});
+
+test('check_payment_session with include_executions fans out to both routes', async (t) => {
+ const calls = stubFetch(t, (url) =>
+ url.includes('/executions')
+ ? jsonResponse({ items: [{ id: 'exec-1' }] })
+ : jsonResponse({ session: { id: SESSION_ID } }),
+ );
+
+ const result = await checkSession.handler({ session_id: SESSION_ID, include_executions: true });
+
+ assert.equal(calls.length, 2);
+ const paths = calls.map((c) => new URL(c.url).pathname).sort();
+ assert.deepEqual(paths, [
+ `/api/pay/session/${SESSION_ID}`,
+ `/api/pay/session/${SESSION_ID}/executions`,
+ ]);
+ const execCall = calls.find((c) => c.url.includes('/executions'));
+ assert.equal(new URL(execCall.url).searchParams.get('limit'), '10');
+ assert.deepEqual(result.recent_executions, [{ id: 'exec-1' }]);
+});
+
+// ── cancel_payment_session ───────────────────────────────────────────────────
+
+test('cancel_payment_session DELETEs and reports the refunded amount', async (t) => {
+ const calls = stubFetch(t, () =>
+ jsonResponse({ cancelled: true, session_id: SESSION_ID, refunded_usd: 0.25 }),
+ );
+
+ const result = await cancelSession.handler({ session_id: SESSION_ID });
+
+ assert.equal(calls[0].init.method, 'DELETE');
+ assert.equal(new URL(calls[0].url).pathname, `/api/pay/session/${SESSION_ID}`);
+ assert.equal(result.ok, true);
+ assert.equal(result.cancelled, true);
+ assert.equal(result.refunded_usd, 0.25);
+ assert.match(result.note, /\$0\.2500/, 'note states the refunded amount');
+});
+
+test('cancel_payment_session explains when nothing remained to refund', async (t) => {
+ stubFetch(t, () => jsonResponse({ cancelled: true, session_id: SESSION_ID, refunded_usd: 0 }));
+
+ const result = await cancelSession.handler({ session_id: SESSION_ID });
+ assert.match(result.note, /No budget remained/);
+});
+
+// ── pay_with_session ─────────────────────────────────────────────────────────
+
+test('pay_with_session executes via /api/pay/execute with an inline token and no cookie', async (t) => {
+ const calls = stubFetch(t, () =>
+ jsonResponse({
+ paid: true,
+ result: { data: 'hello' },
+ payment: { amount_usd: 0.01, signature: 'sig111' },
+ session: { remaining_usd: 1.99 },
+ duration_ms: 42,
+ }),
+ );
+
+ const result = await payWithSession.handler({
+ url: 'https://api.example.com/paid',
+ token: 'pss_inline',
+ });
+
+ const { url, init } = calls[0];
+ assert.equal(url, 'https://three.test/api/pay/execute');
+ assert.equal(init.method, 'POST');
+ assert.equal(init.headers.cookie, undefined, 'payment execution must not send the account cookie');
+ assert.deepEqual(JSON.parse(init.body), {
+ session_token: 'pss_inline',
+ url: 'https://api.example.com/paid',
+ method: 'GET',
+ body: null,
+ idempotency_key: null,
+ });
+
+ assert.deepEqual(result, {
+ ok: true,
+ paid: true,
+ result: { data: 'hello' },
+ payment: { amount_usd: 0.01, signature: 'sig111' },
+ session: { remaining_usd: 1.99 },
+ duration_ms: 42,
+ });
+});
+
+test('pay_with_session surfaces a free (un-paid) response distinctly', async (t) => {
+ stubFetch(t, () => jsonResponse({ paid: false, result: { data: 'free' } }));
+
+ const result = await payWithSession.handler({
+ url: 'https://api.example.com/maybe-paid',
+ token: 'pss_inline',
+ });
+
+ assert.deepEqual(result, {
+ ok: true,
+ paid: false,
+ note: 'Endpoint served a free response — no payment was required.',
+ result: { data: 'free' },
+ });
+});
+
+// ── upstream failure mapping (lib/api.js) ────────────────────────────────────
+
+test('a JSON upstream error becomes a coded error with status and body attached', async (t) => {
+ stubFetch(t, () =>
+ jsonResponse(
+ { error: 'per-tx ceiling exceeded', code: 'per_tx_ceiling' },
+ { status: 402 },
+ ),
+ );
+
+ await assert.rejects(
+ payWithSession.handler({ url: 'https://api.example.com/paid', token: 'pss_inline' }),
+ (err) => {
+ assert.equal(err.message, 'per-tx ceiling exceeded');
+ assert.equal(err.code, 'per_tx_ceiling');
+ assert.equal(err.status, 402);
+ assert.deepEqual(err.body, { error: 'per-tx ceiling exceeded', code: 'per_tx_ceiling' });
+ return true;
+ },
+ );
+});
+
+test('a non-JSON upstream error falls back to upstream_error with the HTTP status', async (t) => {
+ t.mock.method(globalThis, 'fetch', async () => ({
+ ok: false,
+ status: 500,
+ text: async () => 'internal server error (html)',
+ }));
+
+ await assert.rejects(
+ listSessions.handler({}),
+ (err) => {
+ assert.equal(err.code, 'upstream_error');
+ assert.equal(err.status, 500);
+ assert.match(err.message, /HTTP 500/);
+ assert.deepEqual(err.body, { raw: 'internal server error (html)' });
+ return true;
+ },
+ );
+});
+
+test('an aborted request maps to code timeout; other fetch failures to network_error', async (t) => {
+ t.mock.method(globalThis, 'fetch', async () => {
+ throw Object.assign(new Error('This operation was aborted'), { name: 'AbortError' });
+ });
+ await assert.rejects(
+ checkSession.handler({ session_id: SESSION_ID }),
+ (err) => err.code === 'timeout' && /timed out/.test(err.message),
+ );
+
+ t.mock.method(globalThis, 'fetch', async () => {
+ throw new TypeError('fetch failed');
+ });
+ await assert.rejects(
+ checkSession.handler({ session_id: SESSION_ID }),
+ (err) => err.code === 'network_error' && /fetch failed/.test(err.message),
+ );
+});
diff --git a/packages/agentcore-payments-mcp/test/registration.test.mjs b/packages/agentcore-payments-mcp/test/registration.test.mjs
new file mode 100644
index 000000000..a4c62ca66
--- /dev/null
+++ b/packages/agentcore-payments-mcp/test/registration.test.mjs
@@ -0,0 +1,187 @@
+// Tool-surface invariants for @three-ws/agentcore-payments-mcp.
+//
+// Importing src/index.js is side-effect-free: the stdio transport only connects
+// when the file is the process entry point, and buildServer() needs no
+// credential to advertise the tool surface. These tests run offline — they never
+// touch the network (a tripwire fetch stub guarantees it).
+//
+// Run: node --test packages/agentcore-payments-mcp/test/registration.test.mjs
+
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+import { z } from 'zod';
+
+// This file also exercises the credential-missing error paths, so make sure a
+// developer's shell env can't leak a real session into the module under test.
+// (config.js snapshots env at import time — hence dynamic import below.)
+delete process.env.THREE_WS_SESSION;
+delete process.env.PAYMENT_SESSION_TOKEN;
+delete process.env.THREE_WS_TIMEOUT_MS;
+delete process.env.THREE_WS_BASE;
+
+// Nothing in this file may reach the network.
+globalThis.fetch = async (url) => {
+ throw new Error(`registration tests must not touch the network (attempted ${url})`);
+};
+
+const { TOOLS, buildServer } = await import('../src/index.js');
+
+const EXPECTED_NAMES = [
+ 'create_payment_session',
+ 'pay_with_session',
+ 'check_payment_session',
+ 'list_payment_sessions',
+ 'cancel_payment_session',
+];
+
+const READ_ONLY_NAMES = new Set(['check_payment_session', 'list_payment_sessions']);
+const DESTRUCTIVE_NAMES = new Set(['pay_with_session', 'cancel_payment_session']);
+
+function tool(name) {
+ const t = TOOLS.find((x) => x.name === name);
+ assert.ok(t, `${name} must exist`);
+ return t;
+}
+
+function schema(name) {
+ return z.object(tool(name).inputSchema);
+}
+
+// ── tool surface ─────────────────────────────────────────────────────────────
+
+test('exactly the expected tools are registered', () => {
+ assert.equal(TOOLS.length, EXPECTED_NAMES.length);
+ assert.deepEqual(new Set(TOOLS.map((t) => t.name)), new Set(EXPECTED_NAMES));
+});
+
+test('every tool has a title, description, input schema and complete annotations', () => {
+ for (const t of TOOLS) {
+ assert.equal(typeof t.title, 'string', `${t.name} is missing a title`);
+ assert.ok(t.title.length > 0, `${t.name} has an empty title`);
+ assert.equal(typeof t.description, 'string', `${t.name} is missing a description`);
+ assert.ok(t.description.length > 0, `${t.name} has an empty description`);
+ assert.ok(t.inputSchema && typeof t.inputSchema === 'object', `${t.name} is missing inputSchema`);
+ assert.equal(typeof t.handler, 'function', `${t.name} is missing a handler`);
+ assert.ok(t.annotations, `${t.name} is missing MCP ToolAnnotations`);
+ assert.equal(typeof t.annotations.readOnlyHint, 'boolean', `${t.name} must set readOnlyHint`);
+ assert.equal(typeof t.annotations.idempotentHint, 'boolean', `${t.name} must set idempotentHint`);
+ assert.equal(typeof t.annotations.openWorldHint, 'boolean', `${t.name} must set openWorldHint`);
+ }
+});
+
+test('read tools are flagged read-only; write tools are not', () => {
+ for (const t of TOOLS) {
+ if (READ_ONLY_NAMES.has(t.name)) {
+ assert.equal(t.annotations.readOnlyHint, true, `${t.name} should be read-only`);
+ } else {
+ assert.equal(t.annotations.readOnlyHint, false, `${t.name} mutates state — readOnlyHint must be false`);
+ assert.equal(
+ typeof t.annotations.destructiveHint,
+ 'boolean',
+ `${t.name} is a write — it must set destructiveHint explicitly (spec default is TRUE when omitted)`,
+ );
+ }
+ }
+});
+
+test('spending and cancelling are the destructive actions; creating a session is not', () => {
+ const destructive = TOOLS.filter((t) => t.annotations.destructiveHint === true).map((t) => t.name);
+ assert.deepEqual(new Set(destructive), DESTRUCTIVE_NAMES);
+ assert.equal(tool('create_payment_session').annotations.destructiveHint, false);
+});
+
+test('pay_with_session is the only open-world tool (it calls arbitrary x402 endpoints)', () => {
+ for (const t of TOOLS) {
+ assert.equal(
+ t.annotations.openWorldHint,
+ t.name === 'pay_with_session',
+ `${t.name} openWorldHint mismatch`,
+ );
+ }
+});
+
+test('buildServer registers every tool with title and annotations, without a credential', () => {
+ const server = buildServer();
+ const registered = server._registeredTools;
+ assert.ok(registered, 'McpServer should expose its tool registry');
+ for (const t of TOOLS) {
+ const entry = registered[t.name];
+ assert.ok(entry, `${t.name} not registered on the server`);
+ assert.equal(entry.title, t.title, `${t.name} title must survive registration`);
+ assert.deepEqual(entry.annotations, t.annotations, `${t.name} annotations must survive registration`);
+ }
+});
+
+// ── input schema validation ──────────────────────────────────────────────────
+
+test('create_payment_session applies defaults and enforces budget/expiry bounds', () => {
+ const s = schema('create_payment_session');
+
+ const parsed = s.parse({ budget_usd: 5 });
+ assert.equal(parsed.expiry_seconds, 3600, 'expiry defaults to 1 hour');
+ assert.equal(parsed.network, 'solana', 'network defaults to solana');
+
+ assert.throws(() => s.parse({ budget_usd: 0 }), 'zero budget must be rejected');
+ assert.throws(() => s.parse({ budget_usd: -1 }), 'negative budget must be rejected');
+ assert.throws(() => s.parse({ budget_usd: 5, expiry_seconds: 30 }), 'sub-minute expiry must be rejected');
+ assert.throws(() => s.parse({ budget_usd: 5, expiry_seconds: 7776001 }), 'expiry above 90 days must be rejected');
+ assert.throws(() => s.parse({ budget_usd: 5, agent_id: 'not-a-uuid' }), 'agent_id must be a UUID');
+ assert.throws(() => s.parse({ budget_usd: 5, network: 'ethereum' }), 'only solana settlement is supported');
+});
+
+test('pay_with_session validates the URL and restricts the HTTP method', () => {
+ const s = schema('pay_with_session');
+
+ const parsed = s.parse({ url: 'https://api.example.com/paid' });
+ assert.equal(parsed.method, 'GET', 'method defaults to GET');
+
+ assert.throws(() => s.parse({ url: 'not a url' }), 'malformed URL must be rejected');
+ assert.throws(() => s.parse({ url: 'https://x.test', method: 'PUT' }), 'only GET/POST are allowed');
+ assert.throws(
+ () => s.parse({ url: 'https://x.test', idempotency_key: 'k'.repeat(129) }),
+ 'idempotency key above 128 chars must be rejected',
+ );
+});
+
+test('check/cancel require a UUID session_id; list bounds limit and status', () => {
+ for (const name of ['check_payment_session', 'cancel_payment_session']) {
+ const s = schema(name);
+ s.parse({ session_id: '123e4567-e89b-12d3-a456-426614174000' });
+ assert.throws(() => s.parse({ session_id: 'sess-1' }), `${name} must reject a non-UUID id`);
+ assert.throws(() => s.parse({}), `${name} must require session_id`);
+ }
+
+ const check = schema('check_payment_session').parse({ session_id: '123e4567-e89b-12d3-a456-426614174000' });
+ assert.equal(check.include_executions, false, 'include_executions defaults to false');
+
+ const list = schema('list_payment_sessions');
+ assert.equal(list.parse({}).limit, 20, 'limit defaults to 20');
+ assert.throws(() => list.parse({ limit: 0 }), 'limit below 1 must be rejected');
+ assert.throws(() => list.parse({ limit: 101 }), 'limit above 100 must be rejected');
+ assert.throws(() => list.parse({ status: 'archived' }), 'unknown status must be rejected');
+});
+
+// ── credential-missing error paths (thrown BEFORE any network I/O) ───────────
+
+test('management tools reject with no_session when THREE_WS_SESSION is unset', async () => {
+ const cases = [
+ ['check_payment_session', { session_id: '123e4567-e89b-12d3-a456-426614174000' }],
+ ['list_payment_sessions', {}],
+ ['create_payment_session', { budget_usd: 1 }],
+ ['cancel_payment_session', { session_id: '123e4567-e89b-12d3-a456-426614174000' }],
+ ];
+ for (const [name, args] of cases) {
+ await assert.rejects(
+ tool(name).handler(args),
+ (err) => err.code === 'no_session' && err.status === 401,
+ `${name} must fail closed without a session`,
+ );
+ }
+});
+
+test('pay_with_session rejects with no_token when no token is supplied anywhere', async () => {
+ await assert.rejects(
+ tool('pay_with_session').handler({ url: 'https://api.example.com/paid' }),
+ (err) => err.code === 'no_token',
+ );
+});
diff --git a/packages/avatar-agent-mcp/README.md b/packages/avatar-agent-mcp/README.md
index 444edcb22..a4f45d448 100644
--- a/packages/avatar-agent-mcp/README.md
+++ b/packages/avatar-agent-mcp/README.md
@@ -165,26 +165,47 @@ Per-tool environment variables (all optional — set only what you use):
| Variable | Required for | Notes |
| -------------------------------- | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `SOLANA_RPC_URL` | All Solana ops | Defaults to `https://api.mainnet-beta.solana.com`. Bring your own (Helius / QuickNode / Triton) for production traffic. |
-| `ETH_RPC_URL` | `ens_sns_resolve` | Optional — falls back to ethers' default public providers. |
+| `ETH_RPC_URL` | `ens_sns_resolve` | Optional — falls back to ethers' default public providers. Alias: `MAINNET_RPC_URL`. |
| `HELIUS_API_KEY` | `pump_snapshot` (enhanced) | Adds exact supply + DAS data. |
| `NVIDIA_API_KEY` | `speak` (free lane) | NVIDIA NIM key (`nvapi-…`) — leads the TTS provider chain with Magpie TTS. |
| `OPENAI_API_KEY` | `speak` (paid backstop) | Used against `api.openai.com/v1/audio/speech` when the free lane is unavailable. |
| `REPLICATE_API_TOKEN` | `generate_avatar` | Replicate text/image-to-3D. |
| `REPLICATE_TEXT_TO_AVATAR_MODEL` | `generate_avatar` | Pin a commercial-OK version, e.g. latest `tencent/hunyuan-3d-3.1`. |
-| `SOLANA_SECRET_KEY` | `wallet_send` / `pump_buy` default signer | Per-call `secret` args override. Treat like cash. |
-| `THREE_MINT` | `pump_snapshot` / `pump_buy` shorthand | Set so tools accept `target: "three"`. |
+| `SOLANA_SECRET_KEY` | `wallet_send` / `pump_buy` default signer | Per-call `secret` args override. Alias: `FUNDER_SECRET`. Treat like cash. |
+| `THREE_MINT` | `pump_snapshot` / `pump_buy` shorthand | Set so tools accept `target: "three"`. Defaults to the canonical $THREE mint. |
| `MAX_SOL_PER_TX` | execution tools | Per-transaction spend cap in SOL. Default `0.5`. |
| `REQUIRE_CONFIRM` | execution tools | Default on: execution calls refuse until re-issued with `confirm: true`. Set `0`/`false` to disable. |
+| `RECIPIENT_ALLOWLIST` | execution tools | Optional comma-separated base58 pubkeys. When set, SOL destinations (`wallet_send`, the `pump_collect_fees` drain target) must be in the list. |
+| `VIEWER_BASE` | `viewer_url` | Defaults to `https://three.ws/viewer`. Override to point links at a self-hosted viewer. |
+| `THREE_WS_BASE` | hosted rendering / animation catalog | Defaults to `https://three.ws`. Override only when self-hosting the three.ws backend. |
## Safety
`wallet_send`, `pump_buy`, `pump_launch`, and `pump_collect_fees` execute real on-chain transactions. The server makes no judgment about inputs — with a valid signer it does exactly what it is told. Secrets are never logged or persisted; the secret from `wallet_create` is returned once.
-Three layers keep that power in check:
+Four layers keep that power in check:
1. **Tool annotations** — the four execution tools are flagged `destructiveHint: true`, so annotation-aware MCP clients (Claude Code, Claude Desktop, Cursor) surface a confirmation prompt before running them. Read-only tools are flagged `readOnlyHint: true` and can be safely auto-approved.
2. **Confirmation gate** — with `REQUIRE_CONFIRM` on (the default), every execution call returns `confirmation_required` until re-issued with `confirm: true`, independent of the client.
-3. **Spend caps** — `MAX_SOL_PER_TX` (default 0.5 SOL) bounds every send, buy, tip, and drain server-side.
+3. **Spend caps** — `MAX_SOL_PER_TX` (default 0.5 SOL) bounds every send, buy, tip, and drain server-side. Enforced in the signing libs themselves, so every path — direct, bundled, atomic — is covered.
+4. **Recipient allowlist** — set `RECIPIENT_ALLOWLIST` and any SOL destination outside the list is refused before a transaction is built.
+
+## Errors
+
+A failed tool call returns an MCP error result (`isError: true`) whose text is a single JSON object — `{ "ok": false, "error": "<code>", "message": "…" }`, plus `status` or the on-chain `signature` when available:
+
+| `error` | Meaning | Recovery |
+| ------- | ------- | -------- |
+| `confirmation_required` | An execution tool was called without `confirm: true` while `REQUIRE_CONFIRM` is on. Returned as a normal (non-error) result — a deliberate refusal, not a failure. | Re-issue the same call with `confirm: true`. |
+| `over_spend_cap` | The requested SOL amount exceeds `MAX_SOL_PER_TX`. | Lower the amount, or raise `MAX_SOL_PER_TX` in the server env (you accept the risk). |
+| `recipient_not_allowed` | `RECIPIENT_ALLOWLIST` is set and the destination isn't in it. | Send to an allowlisted address or extend the list. |
+| `invalid_amount` | A zero, negative, or non-numeric SOL amount. | Pass a positive number. |
+| `vault_too_small` / `nothing_to_drain` | `pump_collect_fees` found no (or dust-level) creator fees to collect. | Nothing to do — check back after more trading volume. |
+| `simulation_failed` | The transaction failed Solana preflight simulation; nothing was broadcast. | The message carries the program logs — fix the underlying cause and retry. |
+| `bad_rpc_url` / `insecure_rpc_url` | `SOLANA_RPC_URL` is malformed or plain-http on a non-localhost host. | Use an `https://` RPC endpoint (or `http://localhost` for a local validator). |
+| `bad_policy_config` | `MAX_SOL_PER_TX` (or another policy var) is not a non-negative number. | Fix the env var value. |
+
+Execution errors that occur after broadcast include the transaction `signature` so you can verify the final on-chain state before retrying — never assume a failed response means no funds moved.
## Links
diff --git a/packages/avatar-schema/package.json b/packages/avatar-schema/package.json
index 991be556d..145d75dad 100644
--- a/packages/avatar-schema/package.json
+++ b/packages/avatar-schema/package.json
@@ -44,7 +44,7 @@
"LICENSE"
],
"scripts": {
- "test": "node --test test/"
+ "test": "node --test test/*.test.js"
},
"dependencies": {
"ajv": "^8.20.0",
diff --git a/packages/brain-mcp/README.md b/packages/brain-mcp/README.md
index 1c598c096..12e5e64af 100644
--- a/packages/brain-mcp/README.md
+++ b/packages/brain-mcp/README.md
@@ -79,12 +79,14 @@ Both tools read live data — the provider set and completions vary between call
**`list_providers`** — no parameters.
-**`chat`** — `messages` (required: array of `{ role: "user" | "assistant", content }`), `provider` (provider key from `list_providers`, default `gpt-oss-120b`), `system` (optional system prompt), `maxTokens` (optional, 64–16384, clamped to the model's ceiling).
+**`chat`** — `messages` (required: 1–100 turns of `{ role: "user" | "assistant", content }`, content ≤ 16,000 chars), `provider` (provider key from `list_providers`, default `gpt-oss-120b`), `system` (optional system prompt, ≤ 8,000 chars), `maxTokens` (optional, 64–16384, default 4096, clamped to the model's ceiling).
## Example
+Both responses below are shape illustrations — the live provider set and generations will differ.
+
```jsonc
-// list_providers
+// list_providers (example response)
> {}
{
"ok": true,
@@ -101,7 +103,7 @@ Both tools read live data — the provider set and completions vary between call
```
```jsonc
-// chat
+// chat (example response)
> {
"provider": "claude-sonnet-4-6",
"system": "You are terse.",
@@ -146,6 +148,19 @@ Create an API key at [three.ws/account](https://three.ws/account). Without it, p
| `THREE_WS_API_KEY` | no | — | Bearer credential that unlocks the paid first-party flagships. |
| `THREE_WS_TIMEOUT_MS` | no | `120000` | Per-request timeout (completions stream server-side). |
+## Errors
+
+A failed tool call returns an MCP error result (`isError: true`) whose text is a single JSON object — `{ "ok": false, "error": "<code>", "message": "…" }`, plus `status` and `detail` on upstream rejections:
+
+| `error` | Meaning | Recovery |
+| ------- | ------- | -------- |
+| `upstream_error` | The router rejected the request — `status` carries the real HTTP code: `400` (bad arguments or an unknown provider key), `401` (paid model without a valid `THREE_WS_API_KEY`), `429` (rate-limited), `502` (the model's stream failed before producing output). | Act on `status`; for `401` set a key, for an unknown key re-run `list_providers`. |
+| `timeout` | No complete response within `THREE_WS_TIMEOUT_MS`. Long flagship generations can be slow — the default 120 s matches the router's own ceiling. | Retry, lower `maxTokens`, or pick a `fast`-tier provider. |
+| `network_error` | The request never reached the router (DNS, offline, TLS). | Check connectivity / `THREE_WS_BASE`. |
+| `bad_config` | `THREE_WS_TIMEOUT_MS` is not a positive number (thrown at startup). | Fix the env var. |
+
+If the requested provider fails mid-flight the router transparently falls back to a mirror or free tier and the reply's `routed_via` names the route taken — you only see an error when every route is exhausted.
+
## Links
- Homepage: https://three.ws
diff --git a/packages/brain-mcp/test/handlers.test.mjs b/packages/brain-mcp/test/handlers.test.mjs
new file mode 100644
index 000000000..49d71e7cc
--- /dev/null
+++ b/packages/brain-mcp/test/handlers.test.mjs
@@ -0,0 +1,344 @@
+// Handler behavior for @three-ws/brain-mcp: request building, SSE stream
+// parsing, response shaping, and error normalization. Global fetch is stubbed
+// for every test — nothing here touches the network.
+//
+// Env is pinned BEFORE the dynamic imports because src/config.js reads
+// process.env at module load.
+//
+// Run: node --test packages/brain-mcp/test/handlers.test.mjs
+
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+
+process.env.THREE_WS_BASE = 'https://brain.test';
+process.env.THREE_WS_API_KEY = 'sk_test_brain_mcp';
+delete process.env.THREE_WS_TIMEOUT_MS;
+
+const { def: chat } = await import('../src/tools/chat.js');
+const { def: listProviders } = await import('../src/tools/list-providers.js');
+const { apiRequest } = await import('../src/lib/api.js');
+const { env } = await import('../src/config.js');
+const { buildServer } = await import('../src/index.js');
+
+// Swap globalThis.fetch for the duration of fn, always restoring it.
+async function withFetch(stub, fn) {
+ const original = globalThis.fetch;
+ globalThis.fetch = stub;
+ try {
+ return await fn();
+ } finally {
+ globalThis.fetch = original;
+ }
+}
+
+// Record a single fetch invocation and answer with the given Response.
+function recordingFetch(response, log) {
+ return async (url, init) => {
+ log.push({ url: String(url), init });
+ return typeof response === 'function' ? response() : response;
+ };
+}
+
+function sseResponse(text) {
+ return new Response(text, {
+ status: 200,
+ headers: { 'content-type': 'text/event-stream' },
+ });
+}
+
+const FULL_STREAM = [
+ 'event: meta\ndata: {"provider":"claude-sonnet-4-6","label":"Claude Sonnet 4.6","network":"Anthropic","tier":"flagship"}',
+ 'event: first\ndata: {"firstTokenMs":180}',
+ 'data: "Hello"',
+ 'data: ", world"',
+ 'event: fallback\ndata: {"route":"openrouter-mirror"}',
+ 'event: done\ndata: {"elapsedMs":950,"firstTokenMs":180,"usage":{"inputTokens":12,"outputTokens":7,"totalTokens":19}}',
+ 'data: [DONE]',
+].join('\n\n') + '\n\n';
+
+// ── chat: request building ────────────────────────────────────────────────
+
+test('chat POSTs to /api/brain/chat with the default provider, auth, and SSE accept', async () => {
+ const log = [];
+ await withFetch(recordingFetch(() => sseResponse(FULL_STREAM), log), () =>
+ chat.handler({ messages: [{ role: 'user', content: 'hi' }] }),
+ );
+ assert.equal(log.length, 1);
+ assert.equal(log[0].url, 'https://brain.test/api/brain/chat');
+ assert.equal(log[0].init.method, 'POST');
+ assert.equal(log[0].init.headers.accept, 'text/event-stream');
+ assert.equal(log[0].init.headers['content-type'], 'application/json');
+ assert.equal(log[0].init.headers.authorization, 'Bearer sk_test_brain_mcp');
+ const body = JSON.parse(log[0].init.body);
+ assert.equal(body.provider, 'gpt-oss-120b', 'defaults to the free open-weight tier');
+ assert.deepEqual(body.messages, [{ role: 'user', content: 'hi' }]);
+ assert.ok(!('system' in body), 'no system key when none was given');
+ assert.ok(!('maxTokens' in body), 'no maxTokens key when none was given');
+});
+
+test('chat coerces roles and content: anything but assistant becomes user, content stringified', async () => {
+ const log = [];
+ await withFetch(recordingFetch(() => sseResponse(FULL_STREAM), log), () =>
+ chat.handler({
+ messages: [
+ { role: 'assistant', content: 'earlier reply' },
+ { role: 'system', content: 'sneaky' },
+ { content: 42 },
+ ],
+ }),
+ );
+ const body = JSON.parse(log[0].init.body);
+ assert.deepEqual(body.messages, [
+ { role: 'assistant', content: 'earlier reply' },
+ { role: 'user', content: 'sneaky' },
+ { role: 'user', content: '42' },
+ ]);
+});
+
+test('chat forwards provider, trims-in system only when non-blank, and truncates maxTokens', async () => {
+ const log = [];
+ await withFetch(recordingFetch(() => sseResponse(FULL_STREAM), log), () =>
+ chat.handler({
+ messages: [{ role: 'user', content: 'q' }],
+ provider: ' claude-sonnet-4-6 ',
+ system: 'Be terse.',
+ maxTokens: 512.9,
+ }),
+ );
+ const body = JSON.parse(log[0].init.body);
+ assert.equal(body.provider, 'claude-sonnet-4-6');
+ assert.equal(body.system, 'Be terse.');
+ assert.equal(body.maxTokens, 512, 'fractional maxTokens is truncated to an integer');
+
+ const log2 = [];
+ await withFetch(recordingFetch(() => sseResponse(FULL_STREAM), log2), () =>
+ chat.handler({ messages: [{ role: 'user', content: 'q' }], system: ' ', maxTokens: NaN }),
+ );
+ const body2 = JSON.parse(log2[0].init.body);
+ assert.ok(!('system' in body2), 'blank system is dropped');
+ assert.ok(!('maxTokens' in body2), 'non-finite maxTokens is dropped');
+});
+
+// ── chat: SSE parsing + response shaping ──────────────────────────────────
+
+test('chat accumulates text chunks and shapes meta, route, usage, and timing', async () => {
+ const out = await withFetch(recordingFetch(() => sseResponse(FULL_STREAM), []), () =>
+ chat.handler({ messages: [{ role: 'user', content: 'hi' }], provider: 'claude-sonnet-4-6' }),
+ );
+ assert.equal(out.ok, true);
+ assert.equal(out.content, 'Hello, world');
+ assert.equal(out.provider, 'claude-sonnet-4-6');
+ assert.equal(out.model, 'Claude Sonnet 4.6');
+ assert.equal(out.network, 'Anthropic');
+ assert.equal(out.tier, 'flagship');
+ assert.equal(out.routed_via, 'openrouter-mirror');
+ assert.deepEqual(out.usage, { input_tokens: 12, output_tokens: 7, total_tokens: 19 });
+ assert.deepEqual(out.timing_ms, { first_token: 180, total: 950 });
+});
+
+test('chat parses SSE blocks split across arbitrary read boundaries', async () => {
+ // Split the stream mid-line and mid-block to prove the buffered parser
+ // reassembles events regardless of chunking.
+ const pieces = [];
+ for (let i = 0; i < FULL_STREAM.length; i += 7) pieces.push(FULL_STREAM.slice(i, i + 7));
+ const body = new ReadableStream({
+ start(controller) {
+ const encoder = new TextEncoder();
+ for (const p of pieces) controller.enqueue(encoder.encode(p));
+ controller.close();
+ },
+ });
+ const res = new Response(body, { status: 200 });
+ const out = await withFetch(async () => res, () =>
+ chat.handler({ messages: [{ role: 'user', content: 'hi' }] }),
+ );
+ assert.equal(out.content, 'Hello, world');
+ assert.equal(out.routed_via, 'openrouter-mirror');
+ assert.deepEqual(out.timing_ms, { first_token: 180, total: 950 });
+});
+
+test('chat ignores non-JSON data lines and [DONE] without corrupting the transcript', async () => {
+ const stream =
+ 'data: "ok"\n\n' + 'data: this is not json\n\n' + 'data: 123\n\n' + 'data: [DONE]\n\n';
+ const out = await withFetch(async () => sseResponse(stream), () =>
+ chat.handler({ messages: [{ role: 'user', content: 'hi' }] }),
+ );
+ // Only JSON-encoded *strings* count as text chunks.
+ assert.equal(out.content, 'ok');
+ assert.equal(out.usage, null, 'no done event → usage is null');
+ assert.deepEqual(out.timing_ms, { first_token: null, total: null });
+});
+
+test('chat surfaces a stream error event as upstream_error when nothing streamed', async () => {
+ const stream = 'event: error\ndata: {"message":"model exploded","elapsedMs":10}\n\n';
+ await withFetch(async () => sseResponse(stream), () =>
+ assert.rejects(chat.handler({ messages: [{ role: 'user', content: 'hi' }] }), (err) => {
+ assert.equal(err.message, 'model exploded');
+ assert.equal(err.code, 'upstream_error');
+ assert.equal(err.status, 502);
+ return true;
+ }),
+ );
+});
+
+test('chat keeps partial output when an error event arrives after tokens streamed', async () => {
+ const stream = 'data: "partial answer"\n\n' + 'event: error\ndata: {"message":"cut off"}\n\n';
+ const out = await withFetch(async () => sseResponse(stream), () =>
+ chat.handler({ messages: [{ role: 'user', content: 'hi' }] }),
+ );
+ assert.equal(out.ok, true);
+ assert.equal(out.content, 'partial answer');
+});
+
+// ── chat: pre-stream rejections ───────────────────────────────────────────
+
+test('chat normalizes a pre-stream 4xx JSON rejection into upstream_error', async () => {
+ const res = new Response(JSON.stringify({ error: 'unknown_provider', error_description: 'no such model' }), {
+ status: 400,
+ headers: { 'content-type': 'application/json' },
+ });
+ await withFetch(async () => res, () =>
+ assert.rejects(chat.handler({ messages: [{ role: 'user', content: 'hi' }] }), (err) => {
+ assert.equal(err.code, 'upstream_error');
+ assert.equal(err.status, 400);
+ assert.equal(err.message, 'no such model', 'error_description wins');
+ assert.deepEqual(err.body, { error: 'unknown_provider', error_description: 'no such model' });
+ return true;
+ }),
+ );
+});
+
+test('chat falls back to a generic HTTP message when the error body is not JSON', async () => {
+ const res = new Response('<html>Bad Gateway</html>', { status: 502 });
+ await withFetch(async () => res, () =>
+ assert.rejects(chat.handler({ messages: [{ role: 'user', content: 'hi' }] }), (err) => {
+ assert.equal(err.code, 'upstream_error');
+ assert.equal(err.status, 502);
+ assert.match(err.message, /returned HTTP 502/);
+ return true;
+ }),
+ );
+});
+
+test('chat maps a transport failure to network_error', async () => {
+ await withFetch(
+ async () => {
+ throw new TypeError('fetch failed');
+ },
+ () =>
+ assert.rejects(chat.handler({ messages: [{ role: 'user', content: 'hi' }] }), (err) => {
+ assert.equal(err.code, 'network_error');
+ assert.match(err.message, /request failed/);
+ return true;
+ }),
+ );
+});
+
+// ── list_providers ────────────────────────────────────────────────────────
+
+test('list_providers GETs /api/brain/chat and resolves requiresAuth per provider key', async () => {
+ const providers = [
+ { key: 'gpt-oss-120b', label: 'GPT-OSS 120B', network: 'OpenRouter', tier: 'balanced', maxOutput: 8192, description: 'free', available: 1 },
+ { key: 'nvidia-nemotron-nano', label: 'Nemotron Nano', network: 'NVIDIA NIM', tier: 'fast', maxOutput: 4096, description: 'free', available: true },
+ { key: 'claude-sonnet-4-6', label: 'Claude Sonnet 4.6', network: 'Anthropic', tier: 'flagship', maxOutput: 16384, description: 'paid', available: false },
+ ];
+ const log = [];
+ const res = new Response(JSON.stringify({ providers }), {
+ status: 200,
+ headers: { 'content-type': 'application/json' },
+ });
+ const out = await withFetch(recordingFetch(res, log), () => listProviders.handler());
+
+ assert.equal(log[0].url, 'https://brain.test/api/brain/chat');
+ assert.equal(log[0].init.method, 'GET');
+ assert.equal(log[0].init.headers.authorization, 'Bearer sk_test_brain_mcp');
+
+ assert.equal(out.ok, true);
+ assert.equal(out.count, 3);
+ assert.equal(out.available, 2, 'available flags are coerced to booleans and counted');
+ assert.equal(out.default_provider, 'gpt-oss-120b');
+
+ const byKey = Object.fromEntries(out.providers.map((p) => [p.key, p]));
+ assert.equal(byKey['gpt-oss-120b'].requiresAuth, false, 'free open-weight tier');
+ assert.equal(byKey['nvidia-nemotron-nano'].requiresAuth, false, 'NVIDIA NIM free tier');
+ assert.equal(byKey['claude-sonnet-4-6'].requiresAuth, true, 'paid flagship needs a key');
+ assert.equal(byKey['gpt-oss-120b'].available, true, 'truthy available becomes boolean true');
+ assert.equal(byKey['claude-sonnet-4-6'].available, false);
+ assert.equal(byKey['claude-sonnet-4-6'].maxOutput, 16384);
+});
+
+test('list_providers tolerates a response without a providers array', async () => {
+ const res = new Response(JSON.stringify({ ok: true }), { status: 200 });
+ const out = await withFetch(async () => res, () => listProviders.handler());
+ assert.deepEqual(out, {
+ ok: true,
+ count: 0,
+ available: 0,
+ default_provider: 'gpt-oss-120b',
+ providers: [],
+ });
+});
+
+test('list_providers propagates upstream failures from apiRequest', async () => {
+ const res = new Response(JSON.stringify({ message: 'rate limited' }), { status: 429 });
+ await withFetch(async () => res, () =>
+ assert.rejects(listProviders.handler(), (err) => {
+ assert.equal(err.code, 'upstream_error');
+ assert.equal(err.status, 429);
+ assert.equal(err.message, 'rate limited');
+ return true;
+ }),
+ );
+});
+
+// ── apiRequest + config plumbing ──────────────────────────────────────────
+
+test('apiRequest builds query strings, skipping undefined/null/empty values', async () => {
+ const log = [];
+ const res = new Response('{}', { status: 200 });
+ await withFetch(recordingFetch(res, log), () =>
+ apiRequest('/api/brain/chat', {
+ query: { a: 1, b: 'two', skipUndef: undefined, skipNull: null, skipEmpty: '', zero: 0 },
+ }),
+ );
+ const url = new URL(log[0].url);
+ assert.equal(url.pathname, '/api/brain/chat');
+ assert.equal(url.searchParams.get('a'), '1');
+ assert.equal(url.searchParams.get('b'), 'two');
+ assert.equal(url.searchParams.get('zero'), '0', 'zero is a real value, not an empty one');
+ assert.equal(url.searchParams.has('skipUndef'), false);
+ assert.equal(url.searchParams.has('skipNull'), false);
+ assert.equal(url.searchParams.has('skipEmpty'), false);
+});
+
+test('apiRequest returns { raw } for a 200 response that is not JSON', async () => {
+ const res = new Response('plain text', { status: 200 });
+ const out = await withFetch(async () => res, () => apiRequest('/api/brain/chat'));
+ assert.deepEqual(out, { raw: 'plain text' });
+});
+
+test('env() trims values and falls back on unset or blank variables', () => {
+ process.env.__BRAIN_TEST_VAR = ' padded ';
+ assert.equal(env('__BRAIN_TEST_VAR', 'fb'), 'padded');
+ process.env.__BRAIN_TEST_VAR = ' ';
+ assert.equal(env('__BRAIN_TEST_VAR', 'fb'), 'fb', 'blank counts as unset');
+ delete process.env.__BRAIN_TEST_VAR;
+ assert.equal(env('__BRAIN_TEST_VAR', 'fb'), 'fb');
+});
+
+test('the registered MCP callback converts handler throws into an isError payload', async () => {
+ const server = buildServer();
+ const entry = server._registeredTools.list_providers;
+ assert.ok(entry, 'list_providers must be registered');
+ const result = await withFetch(
+ async () => {
+ throw new TypeError('fetch failed');
+ },
+ () => entry.handler({}, {}),
+ );
+ assert.equal(result.isError, true);
+ const payload = JSON.parse(result.content[0].text);
+ assert.equal(payload.ok, false);
+ assert.equal(payload.error, 'network_error');
+ assert.match(payload.message, /request failed/);
+});
diff --git a/packages/guardian/package.json b/packages/guardian/package.json
index 271604e3b..8c7ecb130 100644
--- a/packages/guardian/package.json
+++ b/packages/guardian/package.json
@@ -36,7 +36,7 @@
],
"author": "nirholas <[email protected]>",
"license": "MIT",
- "homepage": "https://three.ws/mcp",
+ "homepage": "https://three.ws",
"repository": {
"type": "git",
"url": "git+https://github.com/nirholas/three.ws.git",
diff --git a/packages/ibm-x402-mcp/README.md b/packages/ibm-x402-mcp/README.md
index 485556a5c..ee0f26871 100644
--- a/packages/ibm-x402-mcp/README.md
+++ b/packages/ibm-x402-mcp/README.md
@@ -63,14 +63,16 @@ npm install -g @three-ws/ibm-x402-mcp
## Quick start
-With Claude Code, one command (as an end user paying per call, no env vars needed):
+Whoever runs the process is the **operator**: the server fails fast at startup without a payment address and IBM credentials (`WATSONX_API_KEY`, `WATSONX_PROJECT_ID`). Callers of the running server need only USDC — no IBM account. With Claude Code, one command:
```bash
-claude mcp add ibm-granite-x402 -- npx -y @three-ws/ibm-x402-mcp
+claude mcp add ibm-granite-x402 \
+ -e MCP_SVM_PAYMENT_ADDRESS=your-solana-wallet \
+ -e WATSONX_API_KEY=your-ibm-api-key \
+ -e WATSONX_PROJECT_ID=your-watsonx-project-id \
+ -- npx -y @three-ws/ibm-x402-mcp
```
-Server operators add `-e MCP_SVM_PAYMENT_ADDRESS=... -e WATSONX_API_KEY=... -e WATSONX_PROJECT_ID=...` before the `--`.
-
Or wire the server into your MCP client config (`claude_desktop_config.json`, Cursor's `mcp.json`):
```json
@@ -110,9 +112,11 @@ Every tool is a read-only model-inference call — nothing on your machine or in
### Input parameters
-**`ibm_granite_chat`** — `messages` (required: 1–50 `{ role, content }` pairs), `model`, `max_new_tokens` (1–4096, default 1024), `temperature` (0–2, default 0.7).
+**`ibm_granite_getting_started`** — `section` (optional: `overview` (default, everything) / `pricing` / `payment` / `tools` / `setup`).
+
+**`ibm_granite_chat`** — `messages` (required: 1–50 `{ role, content }` pairs; roles `system`/`user`/`assistant`, content ≤ 32,000 chars), `model` (default `ibm/granite-3-8b-instruct`), `max_new_tokens` (1–4096, default 1024), `temperature` (0–2, default 0.7).
-**`ibm_granite_code`** — `task` (required: `generate`/`review`/`refactor`/`explain`/`test`/`document`), `prompt` (required), `language`, `context`.
+**`ibm_granite_code`** — `task` (required: `generate`/`review`/`refactor`/`explain`/`test`/`document`), `prompt` (required, ≤ 16,000 chars: the description for `generate`, the code for everything else), `language`, `context` (≤ 4,000 chars).
**`ibm_granite_embed`** — `inputs` (required: 1–64 texts, ≤8000 chars each), `model`.
@@ -179,18 +183,38 @@ ibm-x402-mcp (stdio MCP server)
| Variable | Required | Default |
| ------------------------- | ----------------------------------- | ----------------------------------------- |
-| `MCP_SVM_PAYMENT_ADDRESS` | yes | — |
+| `MCP_SVM_PAYMENT_ADDRESS` | yes | — (aliases: `X402_PAY_TO_SOLANA`, `X402_PAY_TO`) |
| `WATSONX_API_KEY` | yes | — |
| `WATSONX_PROJECT_ID` | yes (or `WATSONX_SPACE_ID`) | — |
| `WATSONX_SPACE_ID` | alternative to `WATSONX_PROJECT_ID` | — |
| `WATSONX_URL` | no | `https://us-south.ml.cloud.ibm.com` |
| `WATSONX_MODEL_ID` | no | `ibm/granite-3-8b-instruct` |
+| `WATSONX_CODE_MODEL_ID` | no | `ibm/granite-3-8b-instruct` |
| `WATSONX_EMBED_MODEL_ID` | no | `ibm/granite-embedding-278m-multilingual` |
+| `WATSONX_FORECAST_MODEL` | no | `ibm/granite-ttm-512-96-r2` |
+| `WATSONX_TIMEOUT_MS` | no | `90000` |
| `X402_FEE_PAYER_SOLANA` | no | three.ws fee payer |
| `X402_FACILITATOR_URL` | no | `https://facilitator.payai.network` |
+| `X402_FACILITATOR_TOKEN` | no | — (Bearer token for a private facilitator) |
+| `X402_ASSET_MINT_SOLANA` | no | canonical Solana USDC mint |
Regional hosts: `us-south`, `eu-de`, `eu-gb`, `jp-tok`, `au-syd`, `ca-tor` — e.g. `https://eu-de.ml.cloud.ibm.com`.
+## Errors
+
+Every failure state is explicit — there is no silent fallback:
+
+| State | What you see | Recovery |
+| ----- | ------------ | -------- |
+| Missing env at startup | The process exits with a one-line `configuration error: …` naming the missing variable (`MCP_SVM_PAYMENT_ADDRESS`, `WATSONX_API_KEY`, or `WATSONX_PROJECT_ID`/`WATSONX_SPACE_ID`). | Set the variable and restart. |
+| Unpaid call to a paid tool | An x402 `PaymentRequired` envelope quoting the USDC price and pay-to address — not an error; it is step 1 of the payment loop. | Pay and retry (x402-capable clients do this automatically). |
+| Invalid/underpaid payment | The facilitator rejects verification and a fresh `PaymentRequired` envelope is returned; no inference runs and no funds settle. | Re-sign against the quoted accepts. |
+| IBM-side failure | Tool result `{ "ok": false, "error": "watsonx_error", "message": "…", "status": … }` — IAM auth failure (bad `WATSONX_API_KEY`), model error, or a watsonx.ai timeout (`WATSONX_TIMEOUT_MS`, default 90 s). | The message carries IBM's reason; check credentials, project id, and region. |
+| Unexpected server fault | Tool result `{ "ok": false, "error": "internal_error", "message": "…" }`. | Retry; file an issue if it persists. |
+| Facilitator unreachable at boot | A `facilitator init warning: …` line on stderr; the server still starts and retries lazily on the first paid call. | Check `X402_FACILITATOR_URL` connectivity. |
+
+`ibm_granite_getting_started` is always free and never touches IBM or the facilitator — use it to sanity-check the server before paying.
+
## Related
- [`@three-ws/ibm-watsonx-mcp`](https://www.npmjs.com/package/@three-ws/ibm-watsonx-mcp) — the same IBM Granite tools driven by your own IBM Cloud credentials (no x402, no per-call payment).
diff --git a/packages/ibm-x402-mcp/test/getting-started.test.mjs b/packages/ibm-x402-mcp/test/getting-started.test.mjs
new file mode 100644
index 000000000..ba0a3f2c0
--- /dev/null
+++ b/packages/ibm-x402-mcp/test/getting-started.test.mjs
@@ -0,0 +1,100 @@
+// Behavior of the free ibm_granite_getting_started tool: the full overview
+// payload, every focused section, and consistency between the in-file catalog
+// and the published package. Runs fully in-process — no payment, no network.
+//
+// Run: node --test packages/ibm-x402-mcp/test/getting-started.test.mjs
+
+import { createRequire } from 'node:module';
+import { test, before } from 'node:test';
+import assert from 'node:assert/strict';
+
+import { buildGettingStartedTool } from '../src/tools/getting-started.js';
+
+const require = createRequire(import.meta.url);
+const PKG_VERSION = require('../package.json').version;
+
+// Published per-call USDC prices — the same table tools.test.mjs pins.
+const PAID_PRICES = {
+ ibm_granite_chat: '$0.02',
+ ibm_granite_code: '$0.025',
+ ibm_granite_embed: '$0.005',
+ ibm_granite_analyze: '$0.04',
+ ibm_granite_forecast: '$0.05',
+};
+
+let tool;
+
+before(async () => {
+ tool = await buildGettingStartedTool();
+});
+
+test('the default overview returns the full catalog with the real package version', async () => {
+ const res = await tool.handler({});
+ const p = res.structuredContent;
+ assert.equal(p.ok, true);
+ assert.equal(p.server, 'ibm-x402-mcp');
+ assert.equal(p.version, PKG_VERSION, 'payload version must match package.json');
+ assert.equal(p.tools.length, 5);
+ assert.equal(p.payment_flow.length, 4);
+ assert.ok(p.setup.operators.required.MCP_SVM_PAYMENT_ADDRESS, 'operator env docs present');
+ assert.ok(p.next_step.length > 0);
+ // The rendered text is a readable markdown doc, not raw JSON.
+ const text = res.content[0].text;
+ assert.match(text, /^# IBM Granite x402 MCP — Getting Started/);
+ assert.match(text, /## How payment works \(x402\)/);
+ for (const name of Object.keys(PAID_PRICES)) assert.ok(text.includes(name), `${name} in text`);
+});
+
+test('the catalog names and prices match the published paid-tool table exactly', async () => {
+ const { structuredContent: p } = await tool.handler({});
+ const catalog = Object.fromEntries(p.tools.map((t) => [t.name, t.price]));
+ assert.deepEqual(catalog, PAID_PRICES);
+ // The pricing strings restate the same numbers.
+ for (const [name, price] of Object.entries(PAID_PRICES)) {
+ assert.ok(p.pricing.includes(`${name}: ${price}/call`), `pricing line for ${name}`);
+ }
+ // Every catalog entry documents params and a runnable example.
+ for (const t of p.tools) {
+ assert.ok(t.summary.length > 0, `${t.name} summary`);
+ assert.ok(t.params.length > 0, `${t.name} params`);
+ assert.ok(t.example && typeof t.example === 'object', `${t.name} example`);
+ }
+});
+
+test('section=pricing narrows to prices only', async () => {
+ const { structuredContent: p } = await tool.handler({ section: 'pricing' });
+ assert.equal(p.ok, true);
+ assert.equal(p.pricing.length, 5);
+ assert.deepEqual(Object.keys(p.tools[0]).sort(), ['name', 'price', 'summary']);
+ assert.ok(!('payment_flow' in p));
+ assert.ok(!('overview' in p));
+});
+
+test('section=payment returns the flow and setup; section=setup returns setup and links', async () => {
+ const pay = (await tool.handler({ section: 'payment' })).structuredContent;
+ assert.equal(pay.payment_flow.length, 4);
+ assert.match(pay.payment_flow[0], /PaymentRequired envelope/);
+ assert.ok(pay.setup.endUsers.length > 0);
+ assert.ok(!('tools' in pay));
+
+ const setup = (await tool.handler({ section: 'setup' })).structuredContent;
+ assert.ok(setup.setup.operators.required.WATSONX_API_KEY);
+ assert.equal(setup.links.npm, 'https://www.npmjs.com/package/@three-ws/ibm-x402-mcp');
+ assert.ok(!('payment_flow' in setup));
+});
+
+test('section=tools returns just the tool catalog, rendered as compact JSON', async () => {
+ const res = await tool.handler({ section: 'tools' });
+ const p = res.structuredContent;
+ assert.deepEqual(Object.keys(p).sort(), ['ok', 'tools']);
+ assert.equal(p.tools.length, 5);
+ // Focused sections render as JSON text the model can read directly.
+ assert.deepEqual(JSON.parse(res.content[0].text), p);
+});
+
+test('an unknown/absent section falls back to the full overview', async () => {
+ const byDefault = (await tool.handler(undefined)).structuredContent;
+ assert.ok(byDefault.overview, 'no args → overview');
+ const explicit = (await tool.handler({ section: 'overview' })).structuredContent;
+ assert.deepEqual(explicit, byDefault);
+});
diff --git a/packages/ibm-x402-mcp/test/payments.test.mjs b/packages/ibm-x402-mcp/test/payments.test.mjs
new file mode 100644
index 000000000..081bcb73f
--- /dev/null
+++ b/packages/ibm-x402-mcp/test/payments.test.mjs
@@ -0,0 +1,145 @@
+// x402 payment wiring: the PaymentRequired envelope a paid tool returns when
+// called without a payment payload, the paid() config guards, toolError, and
+// the shared zod→JSON-Schema converter.
+//
+// This file runs with MCP_SVM_PAYMENT_ADDRESS set (payments.js reads env at
+// call time) and global fetch stubbed: the facilitator /supported probe is
+// answered with a canned in-process payload and every other request is
+// rejected, so the PaymentRequired envelope is proven to be computed locally
+// and no live network is ever reached.
+//
+// Run: node --test packages/ibm-x402-mcp/test/payments.test.mjs
+
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+
+const PAY_TO = 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump';
+process.env.MCP_SVM_PAYMENT_ADDRESS = PAY_TO;
+
+const SOLANA_MAINNET_CAIP = 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp';
+
+// Stub ALL network access for this whole file. The resource server's
+// initialize() fetches the facilitator's /supported catalog — answer it with
+// the exact-scheme-on-Solana kind it would advertise. Anything else fails loud.
+const realFetch = globalThis.fetch;
+globalThis.fetch = async (url) => {
+ if (String(url).endsWith('/supported')) {
+ return new Response(
+ JSON.stringify({
+ kinds: [
+ { x402Version: 1, scheme: 'exact', network: SOLANA_MAINNET_CAIP },
+ { x402Version: 2, scheme: 'exact', network: SOLANA_MAINNET_CAIP },
+ ],
+ extensions: [],
+ signers: {},
+ }),
+ { status: 200, headers: { 'content-type': 'application/json' } },
+ );
+ }
+ throw new Error(`network blocked in tests (attempted: ${url})`);
+};
+process.on('exit', () => {
+ globalThis.fetch = realFetch;
+});
+
+const { paid, toolError, assertPaymentEnv, getLastFacilitatorInitError } = await import(
+ '../src/payments.js'
+);
+const { jsonSchemaFromZod } = await import('../src/tools/_shared.js');
+const { buildGraniteChatTool } = await import('../src/tools/granite-chat.js');
+const { z } = await import('zod');
+
+const SOLANA_MAINNET = 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp';
+const SOLANA_USDC = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
+
+test('assertPaymentEnv passes with MCP_SVM_PAYMENT_ADDRESS set', () => {
+ assert.doesNotThrow(() => assertPaymentEnv());
+});
+
+test('toolError builds the uniform failure shape, with and without extras', () => {
+ assert.deepEqual(toolError('watsonx_error', 'boom'), {
+ ok: false,
+ error: 'watsonx_error',
+ message: 'boom',
+ });
+ assert.deepEqual(toolError('watsonx_error', 'boom', { status: 503 }), {
+ ok: false,
+ error: 'watsonx_error',
+ message: 'boom',
+ status: 503,
+ });
+});
+
+test('paid() rejects a config missing toolName or priceUsd before wiring anything', () => {
+ assert.throws(() => paid({ priceUsd: '$0.01' }, async () => {}), /toolName is required/);
+ assert.throws(() => paid({ toolName: 'x' }, async () => {}), /priceUsd is required/);
+});
+
+test('calling a paid tool without payment returns the x402 PaymentRequired envelope', async () => {
+ const tool = await buildGraniteChatTool(null);
+ const result = await tool.handler(
+ { messages: [{ role: 'user', content: 'hello' }] },
+ { _meta: undefined },
+ );
+
+ assert.equal(result.isError, true, 'a 402 is an error result per the MCP transport spec');
+ const pr = result.structuredContent;
+ assert.ok(pr, 'PaymentRequired must ride in structuredContent');
+ assert.equal(pr.x402Version, 2);
+ assert.match(pr.error, /Payment required/i);
+ assert.equal(pr.resource.url, 'mcp://tool/ibm_granite_chat');
+ assert.equal(pr.resource.mimeType, 'application/json');
+ assert.ok(pr.resource.description.includes('$0.02'), 'resource restates the price');
+
+ assert.ok(Array.isArray(pr.accepts) && pr.accepts.length === 1);
+ const req = pr.accepts[0];
+ assert.equal(req.scheme, 'exact');
+ assert.equal(req.network, SOLANA_MAINNET);
+ assert.equal(req.payTo, PAY_TO, 'quotes the operator wallet from env');
+ assert.equal(req.maxTimeoutSeconds, 60);
+ // $0.02 in USDC (6 decimals) = 20000 atomic units.
+ assert.equal(req.amount, '20000');
+ assert.equal(req.asset, SOLANA_USDC, 'defaults to mainnet USDC mint');
+ assert.equal(req.extra.name, 'USDC');
+ assert.equal(req.extra.decimals, 6);
+
+ // The Bazaar discovery extension advertises the tool and its input schema.
+ const bazaar = pr.extensions?.bazaar?.info?.input;
+ assert.ok(bazaar, 'bazaar discovery extension present');
+ assert.equal(bazaar.type, 'mcp');
+ assert.equal(bazaar.toolName, 'ibm_granite_chat');
+ assert.equal(bazaar.transport, 'stdio');
+ assert.equal(bazaar.inputSchema.type, 'object');
+ assert.ok(bazaar.inputSchema.properties.messages, 'input schema rides in discovery');
+
+ // The same envelope is mirrored as JSON text for clients that only read
+ // content. Compare through a JSON round-trip: keys explicitly set to
+ // undefined in structuredContent are (correctly) absent from the text form.
+ assert.deepEqual(JSON.parse(result.content[0].text), JSON.parse(JSON.stringify(pr)));
+
+ // The stubbed facilitator probe succeeded — no init error was recorded.
+ assert.equal(getLastFacilitatorInitError(), null);
+});
+
+test('the PaymentRequired envelope is stable across repeat unpaid calls', async () => {
+ const tool = await buildGraniteChatTool(null);
+ const a = await tool.handler({ messages: [{ role: 'user', content: 'x' }] }, {});
+ const b = await tool.handler({ messages: [{ role: 'user', content: 'y' }] }, {});
+ assert.deepEqual(
+ { ...a.structuredContent, accepts: a.structuredContent.accepts },
+ { ...b.structuredContent, accepts: b.structuredContent.accepts },
+ );
+});
+
+test('jsonSchemaFromZod emits a strict draft-7 object schema without a $schema key', () => {
+ const schema = jsonSchemaFromZod({
+ name: z.string().min(1).describe('A name.'),
+ count: z.number().int().min(1).max(10).optional(),
+ });
+ assert.equal(schema.type, 'object');
+ assert.equal(schema.additionalProperties, false, 'strict(): unknown keys rejected');
+ assert.ok(!('$schema' in schema));
+ assert.deepEqual(schema.required, ['name']);
+ assert.equal(schema.properties.name.description, 'A name.');
+ assert.equal(schema.properties.count.maximum, 10);
+});
diff --git a/packages/ibm-x402-mcp/test/watsonx.test.mjs b/packages/ibm-x402-mcp/test/watsonx.test.mjs
new file mode 100644
index 000000000..6fa05aa6d
--- /dev/null
+++ b/packages/ibm-x402-mcp/test/watsonx.test.mjs
@@ -0,0 +1,380 @@
+// WatsonxClient behavior: config loading, IAM token minting + caching, the
+// request each inference method builds, response shaping, and upstream error
+// normalization. Global fetch is stubbed for every test — nothing here touches
+// IBM Cloud or the network.
+//
+// Run: node --test packages/ibm-x402-mcp/test/watsonx.test.mjs
+
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+
+import { loadConfig, WatsonxClient, WatsonxError } from '../src/watsonx.js';
+
+const BASE_ENV = {
+ WATSONX_API_KEY: 'test-api-key',
+ WATSONX_PROJECT_ID: 'proj-123',
+};
+
+// Swap globalThis.fetch for the duration of fn, always restoring it.
+async function withFetch(stub, fn) {
+ const original = globalThis.fetch;
+ globalThis.fetch = stub;
+ try {
+ return await fn();
+ } finally {
+ globalThis.fetch = original;
+ }
+}
+
+// A fetch stub that answers the IAM token mint, records every other request,
+// and replies from a URL-substring → body map.
+function watsonxFetch(routes, log = []) {
+ return async (url, init) => {
+ const u = String(url);
+ log.push({ url: u, init });
+ if (u.includes('iam.cloud.ibm.com') || u.includes('/identity/token')) {
+ return new Response(JSON.stringify({ access_token: 'iam-token-1', expires_in: 3600 }), {
+ status: 200,
+ });
+ }
+ for (const [needle, body] of Object.entries(routes)) {
+ if (u.includes(needle)) {
+ return typeof body === 'function' ? body() : new Response(JSON.stringify(body), { status: 200 });
+ }
+ }
+ throw new Error(`unrouted request: ${u}`);
+ };
+}
+
+// ── loadConfig ────────────────────────────────────────────────────────────
+
+test('loadConfig fails fast and actionably without WATSONX_API_KEY', () => {
+ assert.throws(() => loadConfig({}), (err) => {
+ assert.ok(err instanceof WatsonxError);
+ assert.match(err.message, /WATSONX_API_KEY/);
+ return true;
+ });
+});
+
+test('loadConfig requires a project or space id', () => {
+ assert.throws(() => loadConfig({ WATSONX_API_KEY: 'k' }), (err) => {
+ assert.ok(err instanceof WatsonxError);
+ assert.match(err.message, /WATSONX_PROJECT_ID/);
+ return true;
+ });
+ // A space id alone satisfies the scope requirement.
+ const cfg = loadConfig({ WATSONX_API_KEY: 'k', WATSONX_SPACE_ID: 'space-9' });
+ assert.equal(cfg.spaceId, 'space-9');
+ assert.equal(cfg.projectId, undefined);
+});
+
+test('loadConfig applies documented defaults and trims a trailing URL slash', () => {
+ const cfg = loadConfig({ ...BASE_ENV, WATSONX_URL: 'https://eu-de.ml.cloud.ibm.com/' });
+ assert.equal(cfg.url, 'https://eu-de.ml.cloud.ibm.com');
+ assert.equal(cfg.apiVersion, '2024-05-31');
+ assert.equal(cfg.tsApiVersion, '2025-02-11');
+ assert.equal(cfg.chatModel, 'ibm/granite-3-8b-instruct');
+ assert.equal(cfg.embedModel, 'ibm/granite-embedding-278m-multilingual');
+ assert.equal(cfg.forecastModel, 'ibm/granite-ttm-512-96-r2');
+ assert.equal(cfg.timeoutMs, 90_000);
+});
+
+test('loadConfig honors overrides and falls back on a non-numeric timeout', () => {
+ const cfg = loadConfig({
+ ...BASE_ENV,
+ WATSONX_MODEL_ID: 'ibm/granite-3-2b-instruct',
+ WATSONX_TIMEOUT_MS: 'not-a-number',
+ });
+ assert.equal(cfg.chatModel, 'ibm/granite-3-2b-instruct');
+ assert.equal(cfg.timeoutMs, 90_000, 'NaN timeout falls back to the default');
+ assert.equal(loadConfig({ ...BASE_ENV, WATSONX_TIMEOUT_MS: '5000' }).timeoutMs, 5000);
+});
+
+// ── IAM token ─────────────────────────────────────────────────────────────
+
+test('the IAM mint is form-encoded, and the token is cached across calls', async () => {
+ const log = [];
+ const fetchStub = watsonxFetch(
+ { '/ml/v1/text/chat': { choices: [{ message: { content: 'hi' } }] } },
+ log,
+ );
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ await withFetch(fetchStub, async () => {
+ await client.chat([{ role: 'user', content: 'a' }]);
+ await client.chat([{ role: 'user', content: 'b' }]);
+ });
+
+ const iamCalls = log.filter((c) => c.url.includes('/identity/token'));
+ assert.equal(iamCalls.length, 1, 'second call must reuse the cached token');
+ const iam = iamCalls[0];
+ assert.equal(iam.init.method, 'POST');
+ assert.equal(iam.init.headers['content-type'], 'application/x-www-form-urlencoded');
+ const params = new URLSearchParams(String(iam.init.body));
+ assert.equal(params.get('grant_type'), 'urn:ibm:params:oauth:grant-type:apikey');
+ assert.equal(params.get('apikey'), 'test-api-key');
+
+ const chatCalls = log.filter((c) => c.url.includes('/ml/v1/text/chat'));
+ assert.equal(chatCalls.length, 2);
+ for (const call of chatCalls) {
+ assert.equal(call.init.headers.authorization, 'Bearer iam-token-1');
+ }
+});
+
+test('an IAM rejection surfaces as a WatsonxError naming the API key', async () => {
+ const fetchStub = async () =>
+ new Response(JSON.stringify({ errorCode: 'BXNIM0415E', errorMessage: 'bad key' }), { status: 400 });
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ await withFetch(fetchStub, () =>
+ assert.rejects(client.chat([{ role: 'user', content: 'x' }]), (err) => {
+ assert.ok(err instanceof WatsonxError);
+ assert.match(err.message, /IAM authentication failed/);
+ assert.equal(err.status, 400);
+ assert.equal(err.detail, 'bad key');
+ return true;
+ }),
+ );
+});
+
+// ── chat / generate ───────────────────────────────────────────────────────
+
+test('chat posts model, messages, parameters, and project scope; shapes the reply', async () => {
+ const log = [];
+ const fetchStub = watsonxFetch(
+ {
+ '/ml/v1/text/chat': {
+ model_id: 'ibm/granite-3-8b-instruct',
+ choices: [{ message: { content: 'Answer.' }, finish_reason: 'stop' }],
+ usage: { prompt_tokens: 9, completion_tokens: 3 },
+ },
+ },
+ log,
+ );
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ const out = await withFetch(fetchStub, () =>
+ client.chat([{ role: 'user', content: 'q' }], { parameters: { max_new_tokens: 64 } }),
+ );
+
+ const call = log.find((c) => c.url.includes('/ml/v1/text/chat'));
+ assert.match(call.url, /\?version=2024-05-31$/);
+ const body = JSON.parse(call.init.body);
+ assert.equal(body.model_id, 'ibm/granite-3-8b-instruct');
+ assert.deepEqual(body.messages, [{ role: 'user', content: 'q' }]);
+ assert.deepEqual(body.parameters, { max_new_tokens: 64 });
+ assert.equal(body.project_id, 'proj-123', 'project scope must ride along');
+ assert.ok(!('space_id' in body));
+
+ assert.deepEqual(out, {
+ text: 'Answer.',
+ finishReason: 'stop',
+ usage: { prompt_tokens: 9, completion_tokens: 3 },
+ model: 'ibm/granite-3-8b-instruct',
+ });
+});
+
+test('a space-scoped client sends space_id instead of project_id', async () => {
+ const log = [];
+ const fetchStub = watsonxFetch({ '/ml/v1/text/chat': { choices: [] } }, log);
+ const client = new WatsonxClient(loadConfig({ WATSONX_API_KEY: 'k', WATSONX_SPACE_ID: 'space-9' }));
+ const out = await withFetch(fetchStub, () => client.chat([{ role: 'user', content: 'q' }]));
+ const body = JSON.parse(log.find((c) => c.url.includes('/ml/v1/text/chat')).init.body);
+ assert.equal(body.space_id, 'space-9');
+ assert.ok(!('project_id' in body));
+ assert.equal(out.text, '', 'no choices → empty text, not a crash');
+});
+
+test('generate shapes the text-generation result fields', async () => {
+ const fetchStub = watsonxFetch({
+ '/ml/v1/text/generation': {
+ results: [
+ { generated_text: 'code here', generated_token_count: 5, input_token_count: 11, stop_reason: 'eos_token' },
+ ],
+ },
+ });
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ const out = await withFetch(fetchStub, () => client.generate('write code'));
+ assert.deepEqual(out, {
+ text: 'code here',
+ generatedTokenCount: 5,
+ inputTokenCount: 11,
+ stopReason: 'eos_token',
+ model: 'ibm/granite-3-8b-instruct',
+ });
+});
+
+// ── embed ─────────────────────────────────────────────────────────────────
+
+test('embed maps result vectors and reports count and dimensions', async () => {
+ const log = [];
+ const fetchStub = watsonxFetch(
+ {
+ '/ml/v1/text/embeddings': {
+ results: [{ embedding: [0.1, 0.2, 0.3] }, { embedding: [0.4, 0.5, 0.6] }],
+ },
+ },
+ log,
+ );
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ const out = await withFetch(fetchStub, () => client.embed(['a', 'b']));
+ const body = JSON.parse(log.find((c) => c.url.includes('/embeddings')).init.body);
+ assert.equal(body.model_id, 'ibm/granite-embedding-278m-multilingual');
+ assert.deepEqual(body.inputs, ['a', 'b']);
+ assert.deepEqual(out.vectors, [[0.1, 0.2, 0.3], [0.4, 0.5, 0.6]]);
+ assert.equal(out.inputCount, 2);
+ assert.equal(out.dimensions, 3);
+});
+
+// ── forecast ──────────────────────────────────────────────────────────────
+
+test('forecast validates series alignment before any network call', async () => {
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ const cases = [
+ { timestamps: ['t1'], values: [1, 2] },
+ { timestamps: [], values: [] },
+ { timestamps: 'nope', values: [1] },
+ { timestamps: ['t1'], values: 'nope' },
+ ];
+ await withFetch(
+ async () => {
+ throw new Error('network must not be reached');
+ },
+ async () => {
+ for (const args of cases) {
+ await assert.rejects(client.forecast({ ...args, freq: '1D' }), (err) => {
+ assert.ok(err instanceof WatsonxError);
+ assert.match(err.message, /equal-length, non-empty arrays/);
+ return true;
+ });
+ }
+ },
+ );
+});
+
+test('forecast builds the TTM payload on the time-series API version and shapes the horizon', async () => {
+ const log = [];
+ const fetchStub = watsonxFetch(
+ {
+ '/ml/v1/time_series/forecast': {
+ model_id: 'ibm/granite-ttm-512-96-r2',
+ results: [{ date: ['2025-01-03', '2025-01-04'], value: [30] }],
+ },
+ },
+ log,
+ );
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ const out = await withFetch(fetchStub, () =>
+ client.forecast({
+ timestamps: ['2025-01-01', '2025-01-02'],
+ values: [10, 20],
+ freq: '1D',
+ predictionLength: 2,
+ }),
+ );
+
+ const call = log.find((c) => c.url.includes('/time_series/forecast'));
+ assert.match(call.url, /\?version=2025-02-11$/, 'uses the TS API version, not the text one');
+ const body = JSON.parse(call.init.body);
+ assert.deepEqual(body.schema, { timestamp_column: 'date', freq: '1D', target_columns: ['value'] });
+ assert.deepEqual(body.data, { date: ['2025-01-01', '2025-01-02'], value: [10, 20] });
+ assert.deepEqual(body.parameters, { prediction_length: 2 });
+
+ assert.equal(out.model, 'ibm/granite-ttm-512-96-r2');
+ assert.deepEqual(out.timestamps, ['2025-01-03', '2025-01-04']);
+ assert.deepEqual(out.values, [30]);
+ assert.equal(out.inputWindow, 2);
+});
+
+// ── tokenize / listModels / errors ────────────────────────────────────────
+
+test('tokenize returns the token count for the chat model by default', async () => {
+ const log = [];
+ const fetchStub = watsonxFetch({ '/ml/v1/text/tokenization': { result: { token_count: 17 } } }, log);
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ const out = await withFetch(fetchStub, () => client.tokenize('some text'));
+ const body = JSON.parse(log.find((c) => c.url.includes('/tokenization')).init.body);
+ assert.deepEqual(body.parameters, { return_tokens: false });
+ assert.deepEqual(out, { model: 'ibm/granite-3-8b-instruct', tokenCount: 17 });
+});
+
+test('listModels clamps limit to 200, forwards filters, and shapes the specs', async () => {
+ const log = [];
+ const fetchStub = watsonxFetch(
+ {
+ '/ml/v1/foundation_model_specs': {
+ resources: [
+ {
+ model_id: 'ibm/granite-3-8b-instruct',
+ label: 'Granite 3 8B',
+ provider: 'IBM',
+ functions: [{ id: 'text_chat' }, { id: 'text_generation' }],
+ short_description: 'Instruct model',
+ },
+ ],
+ },
+ },
+ log,
+ );
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ const out = await withFetch(fetchStub, () => client.listModels({ filter: 'function_text_chat', limit: 999 }));
+ const url = new URL(log.find((c) => c.url.includes('foundation_model_specs')).url);
+ assert.equal(url.searchParams.get('limit'), '200');
+ assert.equal(url.searchParams.get('filters'), 'function_text_chat');
+ assert.equal(url.searchParams.get('version'), '2024-05-31');
+ assert.deepEqual(out, [
+ {
+ model_id: 'ibm/granite-3-8b-instruct',
+ label: 'Granite 3 8B',
+ provider: 'IBM',
+ functions: ['text_chat', 'text_generation'],
+ short_description: 'Instruct model',
+ },
+ ]);
+});
+
+test('an upstream 4xx/5xx becomes a WatsonxError with status, message, and detail code', async () => {
+ const fetchStub = watsonxFetch({
+ '/ml/v1/text/chat': () =>
+ new Response(
+ JSON.stringify({ errors: [{ code: 'model_not_supported', message: 'model x does not exist' }], trace: 'abc' }),
+ { status: 404 },
+ ),
+ });
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ await withFetch(fetchStub, () =>
+ assert.rejects(client.chat([{ role: 'user', content: 'q' }]), (err) => {
+ assert.ok(err instanceof WatsonxError);
+ assert.equal(err.status, 404);
+ assert.match(err.message, /watsonx\.ai error \(404\): model x does not exist/);
+ assert.equal(err.detail, 'model_not_supported');
+ return true;
+ }),
+ );
+});
+
+test('a non-JSON upstream error body still produces a readable WatsonxError', async () => {
+ const fetchStub = watsonxFetch({
+ '/ml/v1/text/chat': () => new Response('<html>Gateway Timeout</html>', { status: 504 }),
+ });
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ await withFetch(fetchStub, () =>
+ assert.rejects(client.chat([{ role: 'user', content: 'q' }]), (err) => {
+ assert.equal(err.status, 504);
+ assert.match(err.message, /watsonx\.ai error \(504\): <html>Gateway Timeout<\/html>/);
+ return true;
+ }),
+ );
+});
+
+test('a network failure is wrapped in a WatsonxError naming the URL', async () => {
+ const client = new WatsonxClient(loadConfig(BASE_ENV));
+ await withFetch(
+ async () => {
+ throw new TypeError('fetch failed');
+ },
+ () =>
+ assert.rejects(client.chat([{ role: 'user', content: 'q' }]), (err) => {
+ assert.ok(err instanceof WatsonxError);
+ assert.match(err.message, /Network error calling https:\/\/iam\.cloud\.ibm\.com/);
+ return true;
+ }),
+ );
+});
diff --git a/packages/intel/package.json b/packages/intel/package.json
index 232a2df19..64be84c68 100644
--- a/packages/intel/package.json
+++ b/packages/intel/package.json
@@ -36,7 +36,7 @@
],
"author": "nirholas <[email protected]>",
"license": "MIT",
- "homepage": "https://three.ws/mcp",
+ "homepage": "https://three.ws/docs/mcp-intel",
"repository": {
"type": "git",
"url": "git+https://github.com/nirholas/three.ws.git",
diff --git a/packages/marketplace-mcp/test/handlers.test.mjs b/packages/marketplace-mcp/test/handlers.test.mjs
new file mode 100644
index 000000000..5a5eb4f7d
--- /dev/null
+++ b/packages/marketplace-mcp/test/handlers.test.mjs
@@ -0,0 +1,242 @@
+// Handler behavior for @three-ws/marketplace-mcp: request building, response
+// shaping, and error normalization. Global fetch is stubbed for every test —
+// nothing here touches the network.
+//
+// Env is pinned BEFORE the dynamic imports because src/config.js reads
+// process.env at module load.
+//
+// Run: node --test packages/marketplace-mcp/test/handlers.test.mjs
+
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+
+process.env.THREE_WS_BASE = 'https://market.test/';
+delete process.env.THREE_WS_TIMEOUT_MS;
+
+const { def: browseAgents } = await import('../src/tools/browse-agents.js');
+const { def: agentDetail } = await import('../src/tools/agent-detail.js');
+const { def: agentCategories } = await import('../src/tools/agent-categories.js');
+const { def: browseSkills } = await import('../src/tools/browse-skills.js');
+const { def: skillCategories } = await import('../src/tools/skill-categories.js');
+const { apiRequest } = await import('../src/lib/api.js');
+const { THREE_WS_BASE } = await import('../src/config.js');
+const { buildServer } = await import('../src/index.js');
+
+// Swap globalThis.fetch for the duration of fn, always restoring it.
+async function withFetch(stub, fn) {
+ const original = globalThis.fetch;
+ globalThis.fetch = stub;
+ try {
+ return await fn();
+ } finally {
+ globalThis.fetch = original;
+ }
+}
+
+function jsonResponse(body, status = 200) {
+ return new Response(JSON.stringify(body), {
+ status,
+ headers: { 'content-type': 'application/json' },
+ });
+}
+
+function recordingFetch(body, log, status = 200) {
+ return async (url, init) => {
+ log.push({ url: String(url), init });
+ return jsonResponse(body, status);
+ };
+}
+
+test('config strips trailing slashes off THREE_WS_BASE', () => {
+ assert.equal(THREE_WS_BASE, 'https://market.test');
+});
+
+// ── browse_agents ─────────────────────────────────────────────────────────
+
+test('browse_agents queries /api/marketplace/agents with exactly the given filters', async () => {
+ const log = [];
+ const payload = { data: { items: [{ id: 'a1', name: 'Coder' }], next_cursor: 'c2' } };
+ const out = await withFetch(recordingFetch(payload, log), () =>
+ browseAgents.handler({ category: 'programming', q: 'refactor', sort: 'popular', limit: 12, cursor: 'c1' }),
+ );
+ const url = new URL(log[0].url);
+ assert.equal(url.origin + url.pathname, 'https://market.test/api/marketplace/agents');
+ assert.equal(url.searchParams.get('category'), 'programming');
+ assert.equal(url.searchParams.get('q'), 'refactor');
+ assert.equal(url.searchParams.get('sort'), 'popular');
+ assert.equal(url.searchParams.get('limit'), '12');
+ assert.equal(url.searchParams.get('cursor'), 'c1');
+ assert.deepEqual(out, { ok: true, items: [{ id: 'a1', name: 'Coder' }], next_cursor: 'c2' });
+});
+
+test('browse_agents omits unset filters from the query string entirely', async () => {
+ const log = [];
+ await withFetch(recordingFetch({ data: { items: [] } }, log), () => browseAgents.handler({}));
+ const url = new URL(log[0].url);
+ assert.equal([...url.searchParams.keys()].length, 0, 'no filter → no query params');
+});
+
+test('browse_agents shapes a malformed upstream body into an empty, well-typed page', async () => {
+ for (const body of [{}, { data: {} }, { data: { items: 'not-an-array' } }]) {
+ const out = await withFetch(async () => jsonResponse(body), () => browseAgents.handler({}));
+ assert.deepEqual(out, { ok: true, items: [], next_cursor: null });
+ }
+});
+
+// ── agent_detail ──────────────────────────────────────────────────────────
+
+test('agent_detail trims the id and URL-encodes it into the path', async () => {
+ const log = [];
+ const payload = { data: { agent: { id: 'abc/1', name: 'Slashy' } } };
+ const out = await withFetch(recordingFetch(payload, log), () =>
+ agentDetail.handler({ id: ' abc/1 ' }),
+ );
+ assert.equal(new URL(log[0].url).pathname, '/api/marketplace/agents/abc%2F1');
+ assert.deepEqual(out, { ok: true, agent: { id: 'abc/1', name: 'Slashy' } });
+});
+
+test('agent_detail raises not_found (404) when the response carries no agent', async () => {
+ await withFetch(async () => jsonResponse({ data: {} }), () =>
+ assert.rejects(agentDetail.handler({ id: 'missing-id' }), (err) => {
+ assert.equal(err.code, 'not_found');
+ assert.equal(err.status, 404);
+ assert.ok(err.message.includes('missing-id'));
+ return true;
+ }),
+ );
+});
+
+// ── categories + skills ───────────────────────────────────────────────────
+
+test('agent_categories returns total and categories, defaulting when absent', async () => {
+ const log = [];
+ const payload = { data: { total: 42, categories: [{ slug: 'programming', count: 7 }] } };
+ const out = await withFetch(recordingFetch(payload, log), () => agentCategories.handler());
+ assert.equal(new URL(log[0].url).pathname, '/api/marketplace/categories');
+ assert.deepEqual(out, { ok: true, total: 42, categories: [{ slug: 'programming', count: 7 }] });
+
+ const empty = await withFetch(async () => jsonResponse({}), () => agentCategories.handler());
+ assert.deepEqual(empty, { ok: true, total: 0, categories: [] });
+});
+
+test('browse_skills queries /api/skills and shapes skills + next_cursor', async () => {
+ const log = [];
+ const payload = { skills: [{ id: 's1', slug: 'summarize' }], next_cursor: 'n1' };
+ const out = await withFetch(recordingFetch(payload, log), () =>
+ browseSkills.handler({ q: 'summarize', category: 'general', sort: 'new', limit: 5 }),
+ );
+ const url = new URL(log[0].url);
+ assert.equal(url.pathname, '/api/skills');
+ assert.equal(url.searchParams.get('q'), 'summarize');
+ assert.equal(url.searchParams.get('category'), 'general');
+ assert.equal(url.searchParams.get('sort'), 'new');
+ assert.equal(url.searchParams.get('limit'), '5');
+ assert.deepEqual(out, { ok: true, skills: [{ id: 's1', slug: 'summarize' }], next_cursor: 'n1' });
+});
+
+test('browse_skills and skill_categories tolerate missing arrays in the body', async () => {
+ const skills = await withFetch(async () => jsonResponse({}), () => browseSkills.handler({}));
+ assert.deepEqual(skills, { ok: true, skills: [], next_cursor: null });
+
+ const cats = await withFetch(async () => jsonResponse({ categories: 'nope' }), () =>
+ skillCategories.handler(),
+ );
+ assert.deepEqual(cats, { ok: true, categories: [] });
+});
+
+test('skill_categories hits /api/skills/categories and passes categories through', async () => {
+ const log = [];
+ const payload = { categories: [{ slug: 'general', label: 'General', count: 3 }] };
+ const out = await withFetch(recordingFetch(payload, log), () => skillCategories.handler());
+ assert.equal(new URL(log[0].url).pathname, '/api/skills/categories');
+ assert.deepEqual(out.categories, payload.categories);
+});
+
+// ── apiRequest error normalization ────────────────────────────────────────
+
+test('apiRequest sends the accept and user-agent identification headers', async () => {
+ const log = [];
+ await withFetch(recordingFetch({}, log), () => apiRequest('/api/skills'));
+ assert.equal(log[0].init.headers.accept, 'application/json');
+ assert.equal(log[0].init.headers['user-agent'], '@three-ws/marketplace-mcp');
+ assert.equal(log[0].init.method, 'GET');
+ assert.equal(log[0].init.body, undefined, 'GET carries no body');
+});
+
+test('apiRequest normalizes an upstream 5xx into upstream_error with status and body', async () => {
+ const body = { message: 'database is down' };
+ await withFetch(async () => jsonResponse(body, 503), () =>
+ assert.rejects(apiRequest('/api/marketplace/agents'), (err) => {
+ assert.equal(err.code, 'upstream_error');
+ assert.equal(err.status, 503);
+ assert.equal(err.message, 'database is down');
+ assert.deepEqual(err.body, body);
+ return true;
+ }),
+ );
+});
+
+test('apiRequest falls back to a generic message when the error body is not JSON', async () => {
+ await withFetch(async () => new Response('<html>oops</html>', { status: 500 }), () =>
+ assert.rejects(apiRequest('/api/skills'), (err) => {
+ assert.equal(err.code, 'upstream_error');
+ assert.equal(err.status, 500);
+ assert.match(err.message, /returned HTTP 500/);
+ assert.deepEqual(err.body, { raw: '<html>oops</html>' });
+ return true;
+ }),
+ );
+});
+
+test('apiRequest maps a transport failure to network_error and an abort to timeout', async () => {
+ await withFetch(
+ async () => {
+ throw new TypeError('fetch failed');
+ },
+ () =>
+ assert.rejects(apiRequest('/api/skills'), (err) => {
+ assert.equal(err.code, 'network_error');
+ return true;
+ }),
+ );
+ await withFetch(
+ async () => {
+ throw Object.assign(new Error('aborted'), { name: 'AbortError' });
+ },
+ () =>
+ assert.rejects(apiRequest('/api/skills'), (err) => {
+ assert.equal(err.code, 'timeout');
+ assert.match(err.message, /timed out after/);
+ return true;
+ }),
+ );
+});
+
+test('apiRequest skips undefined/null/empty query values but keeps zero', async () => {
+ const log = [];
+ await withFetch(recordingFetch({}, log), () =>
+ apiRequest('/api/skills', { query: { keep: 0, gone1: undefined, gone2: null, gone3: '' } }),
+ );
+ const url = new URL(log[0].url);
+ assert.equal(url.searchParams.get('keep'), '0');
+ assert.equal([...url.searchParams.keys()].length, 1);
+});
+
+// ── registered wrapper ────────────────────────────────────────────────────
+
+test('the registered MCP handler converts a thrown handler error into an isError payload', async () => {
+ const server = buildServer();
+ const entry = server._registeredTools.agent_detail;
+ assert.ok(entry, 'agent_detail must be registered');
+ const result = await withFetch(async () => jsonResponse({ data: {} }), () =>
+ entry.handler({ id: 'ghost' }, {}),
+ );
+ assert.equal(result.isError, true);
+ const payload = JSON.parse(result.content[0].text);
+ assert.deepEqual(payload, {
+ ok: false,
+ error: 'not_found',
+ message: 'No marketplace agent found with id "ghost".',
+ status: 404,
+ });
+});
diff --git a/packages/mocap/package.json b/packages/mocap/package.json
index 47aafe1f0..d544afd64 100644
--- a/packages/mocap/package.json
+++ b/packages/mocap/package.json
@@ -36,7 +36,7 @@
],
"author": "nirholas <[email protected]>",
"license": "MIT",
- "homepage": "https://three.ws/mocap",
+ "homepage": "https://three.ws/mocap-studio",
"repository": {
"type": "git",
"url": "git+https://github.com/nirholas/three.ws.git",
diff --git a/packages/names/package.json b/packages/names/package.json
index 51aab747b..f36ae8a08 100644
--- a/packages/names/package.json
+++ b/packages/names/package.json
@@ -37,7 +37,7 @@
],
"author": "nirholas <[email protected]>",
"license": "MIT",
- "homepage": "https://three.ws/names",
+ "homepage": "https://three.ws/docs/mcp-naming",
"repository": {
"type": "git",
"url": "git+https://github.com/nirholas/three.ws.git",
diff --git a/packages/notifications-mcp/README.md b/packages/notifications-mcp/README.md
index f7c98a156..31405d559 100644
--- a/packages/notifications-mcp/README.md
+++ b/packages/notifications-mcp/README.md
@@ -8,15 +8,29 @@
<p align="center">
<a href="https://www.npmjs.com/package/@three-ws/notifications-mcp"><img alt="npm" src="https://img.shields.io/npm/v/@three-ws/notifications-mcp?logo=npm&color=cb3837"></a>
+ <a href="https://www.npmjs.com/package/@three-ws/notifications-mcp"><img alt="downloads" src="https://img.shields.io/npm/dm/@three-ws/notifications-mcp?color=cb3837"></a>
<img alt="license" src="https://img.shields.io/npm/l/@three-ws/notifications-mcp?color=3b82f6">
<img alt="node" src="https://img.shields.io/node/v/@three-ws/notifications-mcp?color=339933&logo=node.js">
<a href="https://registry.modelcontextprotocol.io/?q=io.github.nirholas"><img alt="MCP Registry" src="https://img.shields.io/badge/MCP%20Registry-io.github.nirholas-0ea5e9"></a>
<a href="https://three.ws"><img alt="three.ws" src="https://img.shields.io/badge/built%20by-three.ws-000"></a>
</p>
+<p align="center">
+ <a href="#install">Install</a> ·
+ <a href="#quick-start">Quick start</a> ·
+ <a href="#tools">Tools</a> ·
+ <a href="#authentication">Authentication</a> ·
+ <a href="#errors">Errors</a> ·
+ <a href="https://three.ws">three.ws</a>
+</p>
+
---
-> A [Model Context Protocol](https://modelcontextprotocol.io) server that gives an AI assistant its own three.ws **notification inbox + delivery control** over stdio. Read inbound events (pump/market alerts, sales & earnings, purchase receipts, social mentions, IRL interactions, account/security), mark them read, tune the per-category → per-channel delivery matrix, and register Web Push devices — all live, all account-scoped.
+> A [Model Context Protocol](https://modelcontextprotocol.io) server that gives an AI assistant its own three.ws **notification inbox + delivery control** over stdio. Read inbound events (pump/market alerts, sales & earnings, purchase receipts, social mentions, IRL interactions, account/security notices), mark them read, tune the per-category → per-channel delivery matrix, and register Web Push devices — all live, all account-scoped.
+
+## Why
+
+An agent that trades, sells skills, or stands in the real world generates inbound events around the clock — a coin it launched pumps, a skill it published sells, someone taps its IRL pin. Without an inbox surface, the agent polls a dozen endpoints or misses everything. This server turns the platform's own notification feed into seven MCP tools: the agent reads what happened since it last looked, triages it, and controls exactly which channels (`in_app`, `push`, `email`, `telegram`) each category of event uses to reach its owner.
Every read and write hits the real three.ws API. The server is **authenticated**: it carries a three.ws API key (or OAuth access token) as a `Bearer` credential and resolves the owning account on every call. It signs nothing locally and holds no other secret.
@@ -29,39 +43,267 @@ npm install @three-ws/notifications-mcp
Or run with `npx` (no install):
```bash
-npx @three-ws/notifications-mcp
+THREE_WS_API_KEY=sk_live_… npx @three-ws/notifications-mcp
```
+Node 20+. Two runtime dependencies (`@modelcontextprotocol/sdk`, `zod`).
+
## Quick start
**Claude Code**, one line:
```bash
-THREE_WS_API_KEY=sk_live_… claude mcp add notifications -- npx -y @three-ws/notifications-mcp
+claude mcp add notifications -e THREE_WS_API_KEY=sk_live_… -- npx -y @three-ws/notifications-mcp
```
+**Claude Desktop / Cursor / any MCP client** — add to your MCP config (`claude_desktop_config.json`, `.cursor/mcp.json`, `.mcp.json`):
+
+```json
+{
+ "mcpServers": {
+ "notifications": {
+ "command": "npx",
+ "args": ["-y", "@three-ws/notifications-mcp"],
+ "env": { "THREE_WS_API_KEY": "sk_live_…" }
+ }
+ }
+}
+```
+
+Restart the client and the seven tools appear. Inspect the surface in a GUI:
+
+```bash
+npx -y @modelcontextprotocol/inspector npx -y @three-ws/notifications-mcp
+```
+
+Then ask in plain language:
+
+> Anything new in my inbox? Mark the pump alerts read, and turn off email for social mentions.
+
+Runs `list_notifications` → `mark_read` → `set_preferences`.
+
## Tools
| Tool | Kind | What it does |
|------|------|--------------|
-| `list_notifications` | read | The inbox, newest first, filterable by `type`, with an `unread_count`. |
-| `mark_read` | write | Mark one notification — or every unread one — read. |
-| `delete_notification` | write ⚠️ | Permanently remove one notification (irreversible). |
-| `get_preferences` | read | The per-category → per-channel delivery matrix (`in_app`, `push`, `email`, `telegram`). |
-| `set_preferences` | write | Patch which channels deliver each category. |
-| `register_push_device` | write | Register a Web Push device from a browser `PushSubscription`. |
-| `unregister_push_device` | write ⚠️ | Remove a Web Push device (tears down delivery to it). |
+| [`list_notifications`](#list_notifications) | read | The inbox, newest first, filterable by `type`, with an `unread_count`. |
+| [`mark_read`](#mark_read) | write | Mark one notification — or every unread one — read. Idempotent. |
+| [`delete_notification`](#delete_notification) | write ⚠️ | Permanently remove one notification (irreversible). |
+| [`get_preferences`](#get_preferences) | read | The per-category → per-channel delivery matrix. |
+| [`set_preferences`](#set_preferences) | write | Patch which channels deliver each category. Idempotent. |
+| [`register_push_device`](#register_push_device) | write | Register a Web Push device from a browser `PushSubscription`. Idempotent. |
+| [`unregister_push_device`](#unregister_push_device) | write ⚠️ | Remove a Web Push device (tears down delivery to it). Idempotent. |
+
+Every tool ships [MCP tool annotations](https://modelcontextprotocol.io/specification/2025-06-18/server/tools#tool-annotations): the two reads advertise `readOnlyHint: true`, and the two ⚠️ tools are flagged `destructiveHint: true`, so annotation-aware clients prompt before running them.
+
+### `list_notifications`
+
+Read the account's inbox — the inbound-event feed the platform delivers: market/pump alerts, sales & earnings, purchase receipts, social mentions, IRL interactions, and account/security notices. Wraps `GET /api/notifications`.
+
+| Arg | Type | Required | Notes |
+|---|---|---|---|
+| `type` | `string` | no | Return only one notification type (e.g. `"pump_alert"`, `"skill_purchased"`, `"referral_earned"`, `"security_alert"`). Lower_snake_case, ≤ 40 chars. Omit for all types. |
+| `limit` | `number` | no | How many to return, newest first. 1–50, default 20. |
+
+Example call and response (shape illustration — your inbox contents will differ):
+
+```jsonc
+// call
+{ "type": "pump_alert", "limit": 2 }
+
+// response (example)
+{
+ "ok": true,
+ "type": "pump_alert",
+ "unread_count": 5,
+ "count": 2,
+ "notifications": [
+ {
+ "id": "5d1c2f0a-9b1e-4c3d-8e7f-000000000001",
+ "type": "pump_alert",
+ "payload": { "mint": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump", "symbol": "THREE" },
+ "read": false,
+ "read_at": null,
+ "created_at": "2026-07-11T18:04:12.000Z"
+ }
+ ]
+}
+```
+
+`read` is derived from `read_at` (`null` ⇒ unread). `unread_count` is the total unread across the whole inbox, not just this page.
+
+### `mark_read`
+
+Mark notifications read. Wraps `POST /api/notifications/:id/read` (one) and `POST /api/notifications/read-all` (all). Pass **exactly one** of the two arguments. Marking read only sets `read_at` — nothing is deleted, and re-running is a no-op.
+
+| Arg | Type | Required | Notes |
+|---|---|---|---|
+| `id` | `string` (UUID) | one of | A single notification to mark read (from `list_notifications`). |
+| `all` | `boolean` | one of | `true` ⇒ mark every unread notification read. |
+
+```jsonc
+// call
+{ "all": true }
+
+// response (example)
+{ "ok": true, "scope": "all", "marked_read": 5 }
+```
+
+With `id`, the response is `{ "ok": true, "scope": "one", "id": "…", "read_at": "…" }`.
+
+### `delete_notification`
+
+Permanently remove one notification. Wraps `DELETE /api/notifications/:id`. Irreversible — prefer `mark_read` for normal triage. Only a notification the caller owns can be deleted; a missing or already-deleted `id` returns a not-found error.
+
+| Arg | Type | Required | Notes |
+|---|---|---|---|
+| `id` | `string` (UUID) | **yes** | The notification to delete (from `list_notifications`). |
+
+```jsonc
+// call
+{ "id": "5d1c2f0a-9b1e-4c3d-8e7f-000000000001" }
+
+// response (example)
+{ "ok": true, "id": "5d1c2f0a-9b1e-4c3d-8e7f-000000000001", "deleted": true }
+```
+
+### `get_preferences`
+
+Read the resolved delivery matrix — for each category, which channels deliver it. No arguments. Wraps `GET /api/notifications/preferences`. Read this before `set_preferences` so you patch from real current state.
+
+```jsonc
+// response (example)
+{
+ "ok": true,
+ "categories": [
+ { "key": "sales", "label": "Sales & earnings", "description": "…" },
+ { "key": "alerts", "label": "Market & pump alerts", "description": "…" }
+ /* purchases, social, irl, account … */
+ ],
+ "channels": ["in_app", "push", "email", "telegram"],
+ "prefs": {
+ "categories": { "alerts": { "in_app": true, "push": true, "email": false, "telegram": false } },
+ "telegram_chat_id": null
+ },
+ "push": { "subscribed_devices": 1 }
+}
+```
+
+The six categories are `sales`, `purchases`, `social`, `irl`, `alerts`, `account`; the four channels are `in_app`, `push`, `email`, `telegram`. `prefs.categories` is the effective matrix with the user's sparse overrides already merged onto platform defaults.
+
+### `set_preferences`
+
+Patch the delivery matrix. Wraps `PUT /api/notifications/preferences`. Provide at least one of the two arguments. Only the category/channel pairs you pass change; unknown keys are dropped server-side; untouched pairs keep their current value. Re-applying the same values is a no-op.
+
+| Arg | Type | Required | Notes |
+|---|---|---|---|
+| `categories` | `object` | at least one | Outer keys: `sales`, `purchases`, `social`, `irl`, `alerts`, `account`. Inner keys: `in_app`, `push`, `email`, `telegram` → boolean. |
+| `telegram_chat_id` | `string` | at least one | Numeric Telegram chat id to deliver the `telegram` channel to, or `""` to unlink. ≤ 24 chars. |
+
+```jsonc
+// call — stop emailing social mentions, push pump alerts
+{ "categories": { "social": { "email": false }, "alerts": { "push": true } } }
+
+// response (example) — the full resolved matrix after the update
+{ "ok": true, "prefs": { "categories": { "social": { "email": false /* … */ } }, "telegram_chat_id": null } }
+```
+
+### `register_push_device`
+
+Register a Web Push device so the account receives push notifications on it. Wraps `POST /api/push/subscribe`. The `subscription` argument is **exactly** what the browser's `pushManager.subscribe().toJSON()` returns. Push endpoints are globally unique — re-registering the same device upserts (latest owner wins), so this is idempotent. Whether a category actually delivers over push is still governed by `set_preferences`.
+
+| Arg | Type | Required | Notes |
+|---|---|---|---|
+| `subscription` | `object` | **yes** | `{ endpoint, keys: { p256dh, auth } }` — `endpoint` is the push-service URL (≤ 2048 chars); `p256dh`/`auth` are the base64url-encoded keys from the browser. |
+
+```jsonc
+// call
+{
+ "subscription": {
+ "endpoint": "https://fcm.googleapis.com/fcm/send/exampleSubscriptionId",
+ "keys": { "p256dh": "BNcRd…", "auth": "tBHI…" }
+ }
+}
+
+// response (example)
+{ "ok": true, "registered": true, "endpoint": "https://fcm.googleapis.com/fcm/send/exampleSubscriptionId" }
+```
+
+### `unregister_push_device`
+
+Remove a Web Push device so it stops receiving pushes. Wraps `DELETE /api/push/subscribe`. Provide **at least one** of the two arguments — the endpoint is what locates the device. Idempotent: removing an endpoint that isn't registered still returns `ok`. Only push delivery to that device changes; `in_app`, `email`, and `telegram` preferences are untouched.
+
+| Arg | Type | Required | Notes |
+|---|---|---|---|
+| `endpoint` | `string` (URL) | one of | The push endpoint URL of the device to remove (preferred). |
+| `subscription` | `object` | one of | Alternatively the full subscription object; its `endpoint` is used. |
+
+```jsonc
+// call
+{ "endpoint": "https://fcm.googleapis.com/fcm/send/exampleSubscriptionId" }
+
+// response (example)
+{ "ok": true, "unregistered": true, "endpoint": "https://fcm.googleapis.com/fcm/send/exampleSubscriptionId" }
+```
+
+## Authentication
+
+Every endpoint is account-scoped and returns `401` without a valid credential — this server can never read or change another account.
+
+Set `THREE_WS_API_KEY` to either:
+
+- a **three.ws API key** (`sk_live_…` / `sk_test_…`) — create one in your [three.ws dashboard](https://three.ws/dashboard), or
+- an **OAuth access token** for the account.
+
+Both are carried as `Authorization: Bearer …` on every request. Bearer auth is CSRF-exempt server-side, so writes need no extra token. `THREE_WS_TOKEN` and `THREE_WS_BEARER` are accepted aliases. Treat the credential like a password — it grants full read/write over the account's inbox and delivery settings.
## Configuration
| Env var | Required | Default | Description |
|---------|----------|---------|-------------|
-| `THREE_WS_API_KEY` | **yes** | — | three.ws API key (`sk_live_…` / `sk_test_…`) or OAuth access token for the account. Aliases: `THREE_WS_TOKEN`, `THREE_WS_BEARER`. Treat like a password. |
+| `THREE_WS_API_KEY` | **yes** | — | three.ws API key or OAuth access token (see [Authentication](#authentication)). Aliases: `THREE_WS_TOKEN`, `THREE_WS_BEARER`. |
| `THREE_WS_BASE` | no | `https://three.ws` | API base URL. Override only when self-hosting or targeting a preview. |
-| `THREE_WS_TIMEOUT_MS` | no | `20000` | Per-request timeout in milliseconds. |
+| `THREE_WS_TIMEOUT_MS` | no | `20000` | Per-request timeout in milliseconds. Must be a positive number. |
-Every endpoint is account-scoped and returns `401` without a valid credential — this server can never read or change another account.
+The credential is checked when a tool runs, not at startup — the server boots and advertises its tool surface without one, so `tools/list` always works.
+
+## Errors
+
+A failed tool call returns an MCP error result (`isError: true`) whose text is a single JSON object:
+
+```jsonc
+// error shape (example)
+{ "ok": false, "error": "upstream_error", "message": "Not found", "status": 404, "detail": { /* API body */ } }
+```
+
+| `error` | HTTP | Meaning | Recovery |
+|---|---|---|---|
+| `missing_credential` | 401 | No `THREE_WS_API_KEY` (or alias) configured. | Set the env var and restart the client. |
+| `validation_error` | 400 | Bad arguments (e.g. neither `id` nor `all` on `mark_read`). | Fix the call — the message says exactly what's missing. |
+| `upstream_error` | as returned | The three.ws API rejected the request; `status` + `detail` carry the real response (401 bad key, 404 unknown id, 429 rate-limited). | Act on `status` — a 429 is safe to retry after a pause. |
+| `timeout` | — | No response within `THREE_WS_TIMEOUT_MS`. | Retry; raise the timeout if it recurs. |
+| `network_error` | — | The request never reached the API (DNS, offline). | Check connectivity / `THREE_WS_BASE`. |
+
+Reads are always safe to retry. The writes are idempotent by design (`mark_read`, `set_preferences`, `register_push_device`, `unregister_push_device` re-run to the same state) — only `delete_notification` is not, and a repeat simply returns not-found.
+
+## Related
+
+- [`@three-ws/brain-mcp`](https://www.npmjs.com/package/@three-ws/brain-mcp) — the three.ws multi-provider LLM router over MCP.
+- [`@three-ws/pumpfun-mcp`](https://www.npmjs.com/package/@three-ws/pumpfun-mcp) — free, read-only pump.fun + Solana data (the source of many `pump_alert` events).
+- [`@three-ws/irl`](https://www.npmjs.com/package/@three-ws/irl) — the real-world presence layer whose interactions land in the `irl` category.
-## License
+## Links
-Apache-2.0 © [three.ws](https://three.ws)
+- Homepage: https://three.ws
+- Changelog: https://three.ws/changelog
+- Issues: https://github.com/nirholas/three.ws/issues
+- License: Apache-2.0 — see [LICENSE](./LICENSE)
+
+---
+
+<p align="center">
+ <sub>
+ Part of the <a href="https://three.ws">three.ws</a> SDK suite — 3D AI agents, on-chain identity, and agent payments.<br/>
+ <a href="https://three.ws">Website</a> · <a href="https://three.ws/changelog">Changelog</a> · <a href="https://github.com/nirholas/three.ws">GitHub</a>
+ </sub>
+</p>
diff --git a/packages/pumpfun-mcp/README.md b/packages/pumpfun-mcp/README.md
index 95c902198..937cd41af 100644
--- a/packages/pumpfun-mcp/README.md
+++ b/packages/pumpfun-mcp/README.md
@@ -88,8 +88,7 @@ All tools are **read-only** — nothing signs or sends a transaction. `pumpfun_q
| `get_king_of_the_hill` | Highest-cap token still on the bonding curve. |
| `get_token_holders` | Top holders with concentration analysis (on-chain). |
| `get_creator_profile` | A creator's tokens with rug-pull risk flags. |
-| `kol_radar` | gmgn-style early-detection radar signals. |
-| `kol_leaderboard` | Top KOL traders ranked by P&L. |
+| `kol_leaderboard` | Top KOL traders ranked by P&L for a 24h/7d/30d window. |
| `pumpfun_list_claims` | Recent creator fee-claim events (on-chain). |
| `pumpfun_watch_claims` | Fee claims for a creator within a look-back window. |
| `pumpfun_first_claims` | First-ever creator claims — a cash-out signal. |
@@ -100,6 +99,7 @@ All tools are **read-only** — nothing signs or sends a transaction. `pumpfun_q
| `sns_reverseLookup` | Reverse-lookup a wallet to its primary `.sol` domain. |
| `social_cashtag_sentiment` | Deterministic lexicon sentiment over supplied posts. |
| `social_x_post_impact` | Correlate an X post to bonding-curve price impact. |
+| `pumpfun_bot_status` | Configuration + health of the pump.fun indexer backend — `configured`, `healthy`, and ping latency. Always available. |
| `pumpfun_token_3d` | **Live 3D snapshot** of a token — composes metadata, holders, and graduation into a shareable [three.ws/coin3d](https://three.ws/coin3d) viewer (spinning coin medallion + holder galaxy + graduation ring) and returns the deep-link, an embeddable iframe, and the underlying data. |
The live tool list is fetched from the backend at startup; a bundled copy ships as an offline fallback so a fresh install always advertises a correct surface.
@@ -124,6 +124,19 @@ This package is a small stdio ↔ HTTP bridge. It forwards MCP `tools/call` requ
`pumpfun_token_3d` is a **native** tool: it runs in-process, orchestrating several backend reads (metadata + bonding curve + holders) and resolving the token logo from its on-chain metadata URI, then returns a deep-link into the three.ws 3D viewer. It needs no extra keys and adds no new backend dependency.
+## Errors
+
+Failures surface as MCP tool errors (`isError: true`) with the real cause — never a silent empty result:
+
+| Error text | Meaning | Recovery |
+| ---------- | ------- | -------- |
+| `Backend request failed: …` | The bridge could not reach the backend (network, non-2xx, bad JSON). | Check connectivity / `PUMPFUN_MCP_URL`; safe to retry. |
+| `[-32602] …` | Invalid argument (e.g. `pumpfun_token_3d` without a `mint`). | Fix the argument named in the message. |
+| `[-32004] no on-chain data for <mint>: …` | `pumpfun_token_3d` found no metadata, curve, or holder data for the mint. | Verify the mint address and network (`mainnet`/`devnet`). |
+| `[<code>] <message>` | Any other backend JSON-RPC error (unknown tool, indexer unavailable, on-chain read failure), passed through verbatim. | The message states the upstream cause; transient indexer errors are safe to retry. |
+
+`pumpfun_token_3d` degrades gracefully: if only some of its three source reads succeed it still returns a snapshot, marking the missing parts (`no holder data available`, `no bonding-curve data available`) — it errors only when all three fail.
+
## Requirements
- Node.js **>= 20** (from `engines`).
diff --git a/packages/pumpfun-mcp/src/index.js b/packages/pumpfun-mcp/src/index.js
index cebc2afb7..ff89d771b 100755
--- a/packages/pumpfun-mcp/src/index.js
+++ b/packages/pumpfun-mcp/src/index.js
@@ -111,14 +111,14 @@ async function main() {
capabilities: { tools: { listChanged: false } },
instructions:
'Free, read-only pump.fun + Solana tools from three.ws. Token discovery ' +
- '(searchTokens, getTrendingTokens, getNewTokens, getGraduatedTokens, ' +
- 'getKingOfTheHill), on-chain analysis (getBondingCurve, getTokenHolders, ' +
- 'getTokenDetails, getTokenTrades), creator intelligence (getCreatorProfile, ' +
+ '(search_tokens, get_trending_tokens, get_new_tokens, get_graduated_tokens, ' +
+ 'get_king_of_the_hill), on-chain analysis (get_bonding_curve, get_token_holders, ' +
+ 'get_token_details, get_token_trades), creator intelligence (get_creator_profile, ' +
'pumpfun_list_claims, pumpfun_watch_claims, pumpfun_first_claims), Solana Name ' +
'Service (sns_resolve, sns_reverseLookup), market signals (' +
- 'kol_leaderboard, pumpfun_quote_swap, pumpfun_watch_whales), and social ' +
- 'sentiment (social_cashtag_sentiment, social_x_post_impact). All data is live ' +
- 'and on-chain; no API keys required.',
+ 'kol_leaderboard, pumpfun_quote_swap, pumpfun_watch_whales, pumpfun_bot_status), ' +
+ 'and social sentiment (social_cashtag_sentiment, social_x_post_impact). All data ' +
+ 'is live and on-chain; no API keys required.',
},
);
diff --git a/packages/pumpfun-mcp/test/native.test.mjs b/packages/pumpfun-mcp/test/native.test.mjs
new file mode 100644
index 000000000..9557e8954
--- /dev/null
+++ b/packages/pumpfun-mcp/test/native.test.mjs
@@ -0,0 +1,239 @@
+// Behavior tests for the native composed tool (pumpfun_token_3d) and its pure
+// helpers. The backend `call` function and global fetch are stubbed in-process
+// — these tests never touch the network.
+//
+// Run: node --test packages/pumpfun-mcp/test/native.test.mjs
+
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+
+import { buildNativeRegistry, NATIVE_TOOLS } from '../src/native.js';
+
+const BACKEND = 'https://three.ws/api/pump-fun-mcp';
+const MINT = 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump';
+
+// A stubbed backend `call` that records invocations and answers from a fixture
+// map. A tool name absent from the map rejects, like a failed backend read.
+function stubCall(fixtures, log = []) {
+ return async (name, args) => {
+ log.push({ name, args });
+ if (!(name in fixtures)) throw new Error(`${name} unavailable`);
+ const v = fixtures[name];
+ if (v instanceof Error) throw v;
+ return v;
+ };
+}
+
+// Swap globalThis.fetch for the duration of fn, always restoring it.
+async function withFetch(stub, fn) {
+ const original = globalThis.fetch;
+ globalThis.fetch = stub;
+ try {
+ return await fn();
+ } finally {
+ globalThis.fetch = original;
+ }
+}
+
+const noFetch = () => {
+ throw new Error('unexpected network call');
+};
+
+test('buildNativeRegistry exposes pumpfun_token_3d with a bound handler', () => {
+ const { defs, handlers } = buildNativeRegistry(BACKEND, async () => ({}));
+ assert.deepEqual(
+ defs.map((d) => d.name),
+ NATIVE_TOOLS.map((t) => t.def.name),
+ );
+ assert.ok(handlers.has('pumpfun_token_3d'));
+ assert.equal(typeof handlers.get('pumpfun_token_3d'), 'function');
+});
+
+test('pumpfun_token_3d requires a non-blank mint (invalid params → rpcCode -32602)', async () => {
+ const { handlers } = buildNativeRegistry(BACKEND, stubCall({}));
+ const handler = handlers.get('pumpfun_token_3d');
+ for (const args of [{}, { mint: '' }, { mint: ' ' }]) {
+ await assert.rejects(handler(args), (err) => {
+ assert.match(err.message, /mint is required/);
+ assert.equal(err.rpcCode, -32602);
+ return true;
+ });
+ }
+});
+
+test('success path composes the three backend reads with the exact args', async () => {
+ const log = [];
+ const call = stubCall(
+ {
+ getTokenDetails: { name: 'Three', symbol: 'three', image: 'https://cdn.example/logo.png' },
+ getBondingCurve: { complete: false, graduationProgress: 55 },
+ getTokenHolders: { topHolderPercent: 12.5, holders: [{ address: 'A', percent: 12.5 }] },
+ },
+ log,
+ );
+ const { handlers } = buildNativeRegistry(BACKEND, call);
+ const out = await withFetch(noFetch, () => handlers.get('pumpfun_token_3d')({ mint: MINT }));
+
+ assert.deepEqual(log, [
+ { name: 'getTokenDetails', args: { mint: MINT } },
+ { name: 'getBondingCurve', args: { mint: MINT, network: 'mainnet' } },
+ { name: 'getTokenHolders', args: { mint: MINT, limit: 12, network: 'mainnet' } },
+ ]);
+
+ assert.equal(out.mint, MINT);
+ assert.equal(out.network, 'mainnet');
+ assert.equal(out.name, 'Three');
+ assert.equal(out.symbol, 'THREE', 'symbol must be uppercased');
+ assert.equal(out.image, 'https://cdn.example/logo.png');
+ assert.equal(out.graduated, false);
+ // 55 > 1 → interpreted as a percentage and normalized to 0–1.
+ assert.equal(out.graduationProgress, 0.55);
+ assert.equal(out.topHolderPercent, 12.5);
+ assert.deepEqual(out.topHolders, [{ address: 'A', percent: 12.5 }]);
+ assert.equal(out.viewerUrl, `https://three.ws/coin3d?mint=${MINT}`);
+ assert.ok(out.embedHtml.includes(out.viewerUrl), 'embed iframe must point at the viewer');
+ assert.match(out.rendering.coin, /token logo/);
+ assert.match(out.rendering.holderGalaxy, /^1 top holders/);
+ assert.match(out.rendering.graduationRing, /arc filled/);
+});
+
+test('devnet network propagates to every read and into the viewer link', async () => {
+ const log = [];
+ const call = stubCall(
+ {
+ getTokenDetails: { name: 'Dev', symbol: 'dev' },
+ getBondingCurve: { complete: true },
+ getTokenHolders: { holders: [] },
+ },
+ log,
+ );
+ const { handlers } = buildNativeRegistry(BACKEND, call);
+ const out = await withFetch(noFetch, () =>
+ handlers.get('pumpfun_token_3d')({ mint: MINT, network: 'devnet' }),
+ );
+ assert.equal(out.network, 'devnet');
+ for (const entry of log.slice(1)) assert.equal(entry.args.network, 'devnet');
+ assert.equal(out.viewerUrl, `https://three.ws/coin3d?mint=${MINT}&network=devnet`);
+ assert.equal(out.graduated, true, 'complete:true means graduated');
+ assert.match(out.rendering.graduationRing, /full ring/);
+});
+
+test('an unrecognized network value coerces to mainnet, never a third network', async () => {
+ const log = [];
+ const call = stubCall({ getTokenDetails: { name: 'X' } }, log);
+ const { handlers } = buildNativeRegistry(BACKEND, call);
+ const out = await withFetch(noFetch, () =>
+ handlers.get('pumpfun_token_3d')({ mint: MINT, network: 'testnet' }),
+ );
+ assert.equal(out.network, 'mainnet');
+ assert.equal(log[1].args.network, 'mainnet');
+});
+
+test('viewer origin derives from the backend URL; a bad URL falls back to three.ws', async () => {
+ const fixtures = { getTokenDetails: { name: 'X' } };
+ const selfHosted = buildNativeRegistry('https://staging.example.com/api/pump-fun-mcp', stubCall(fixtures));
+ const out1 = await withFetch(noFetch, () =>
+ selfHosted.handlers.get('pumpfun_token_3d')({ mint: MINT }),
+ );
+ assert.ok(out1.viewerUrl.startsWith('https://staging.example.com/coin3d?'));
+
+ const broken = buildNativeRegistry('not a url', stubCall(fixtures));
+ const out2 = await withFetch(noFetch, () =>
+ broken.handlers.get('pumpfun_token_3d')({ mint: MINT }),
+ );
+ assert.ok(out2.viewerUrl.startsWith('https://three.ws/coin3d?'));
+});
+
+test('all three sources failing surfaces one -32004 error naming the mint', async () => {
+ const { handlers } = buildNativeRegistry(BACKEND, stubCall({}));
+ await assert.rejects(handlers.get('pumpfun_token_3d')({ mint: MINT }), (err) => {
+ assert.equal(err.rpcCode, -32004);
+ assert.ok(err.message.includes(MINT));
+ return true;
+ });
+});
+
+test('a single failed source degrades gracefully instead of failing the snapshot', async () => {
+ const call = stubCall({
+ // getTokenDetails missing → rejected
+ getBondingCurve: { complete: false, graduationProgress: 0.4 },
+ getTokenHolders: { holders: [{ address: 'B' }, { address: 'C' }] },
+ });
+ const { handlers } = buildNativeRegistry(BACKEND, call);
+ const out = await withFetch(noFetch, () => handlers.get('pumpfun_token_3d')({ mint: MINT }));
+ assert.equal(out.name, null);
+ assert.equal(out.symbol, null);
+ assert.equal(out.image, null);
+ assert.equal(out.graduationProgress, 0.4, 'values already in 0–1 pass through');
+ assert.match(out.rendering.holderGalaxy, /^2 top holders/);
+ assert.match(out.rendering.coin, /no logo found/);
+});
+
+test('graduationProgress is clamped to [0,1] and marketCapUsd rejects non-numbers', async () => {
+ const cases = [
+ { progress: 150, expected: 1 },
+ { progress: -5, expected: 0 },
+ { progress: 'not-a-number', expected: null },
+ ];
+ for (const { progress, expected } of cases) {
+ const call = stubCall({
+ getTokenDetails: { name: 'X', market_cap: 'NaN-ish' },
+ getBondingCurve: { graduationProgress: progress },
+ });
+ const { handlers } = buildNativeRegistry(BACKEND, call);
+ const out = await withFetch(noFetch, () => handlers.get('pumpfun_token_3d')({ mint: MINT }));
+ assert.equal(out.graduationProgress, expected, `progress ${progress}`);
+ assert.equal(out.marketCapUsd, null);
+ }
+});
+
+test('marketCapUsd falls back across the alternate field spellings', async () => {
+ for (const details of [{ marketCapUsd: 100 }, { usdMarketCap: 200 }, { market_cap: '300' }]) {
+ const call = stubCall({ getTokenDetails: details });
+ const { handlers } = buildNativeRegistry(BACKEND, call);
+ const out = await withFetch(noFetch, () => handlers.get('pumpfun_token_3d')({ mint: MINT }));
+ assert.equal(out.marketCapUsd, Object.values(details).map(Number)[0]);
+ }
+});
+
+test('a direct ipfs:// image field is rewritten to an HTTP gateway without fetching', async () => {
+ const call = stubCall({ getTokenDetails: { image: 'ipfs://QmHash/logo.png' } });
+ const { handlers } = buildNativeRegistry(BACKEND, call);
+ const out = await withFetch(noFetch, () => handlers.get('pumpfun_token_3d')({ mint: MINT }));
+ assert.equal(out.image, 'https://ipfs.io/ipfs/QmHash/logo.png');
+});
+
+test('the image resolves through the metadata uri JSON when no direct field exists', async () => {
+ const fetched = [];
+ const fetchStub = async (url) => {
+ fetched.push(String(url));
+ return new Response(JSON.stringify({ image: 'ipfs://QmMeta/img.png' }), {
+ status: 200,
+ headers: { 'content-type': 'application/json' },
+ });
+ };
+ const call = stubCall({ getTokenDetails: { uri: 'ipfs://QmJson/meta.json' } });
+ const { handlers } = buildNativeRegistry(BACKEND, call);
+ const out = await withFetch(fetchStub, () => handlers.get('pumpfun_token_3d')({ mint: MINT }));
+ assert.deepEqual(fetched, ['https://ipfs.io/ipfs/QmJson/meta.json']);
+ assert.equal(out.image, 'https://ipfs.io/ipfs/QmMeta/img.png');
+});
+
+test('metadata uri failures (HTTP error, network error) yield image:null, not a throw', async () => {
+ const call = stubCall({ getTokenDetails: { uri: 'https://meta.example/x.json' } });
+ const { handlers } = buildNativeRegistry(BACKEND, call);
+
+ const on404 = await withFetch(
+ async () => new Response('nope', { status: 404 }),
+ () => handlers.get('pumpfun_token_3d')({ mint: MINT }),
+ );
+ assert.equal(on404.image, null);
+
+ const onNetworkError = await withFetch(
+ async () => {
+ throw new Error('ECONNREFUSED');
+ },
+ () => handlers.get('pumpfun_token_3d')({ mint: MINT }),
+ );
+ assert.equal(onNetworkError.image, null);
+});
diff --git a/packages/pumpfun-mcp/test/tools.test.mjs b/packages/pumpfun-mcp/test/tools.test.mjs
index de665876f..4f467b987 100644
--- a/packages/pumpfun-mcp/test/tools.test.mjs
+++ b/packages/pumpfun-mcp/test/tools.test.mjs
@@ -8,7 +8,13 @@
import { test } from 'node:test';
import assert from 'node:assert/strict';
-import { FALLBACK_TOOLS, TOOL_ANNOTATIONS } from '../src/tools.js';
+import {
+ FALLBACK_TOOLS,
+ TOOL_ANNOTATIONS,
+ TOOL_NAME_ALIASES,
+ resolveToolName,
+ alternateToolName,
+} from '../src/tools.js';
import { NATIVE_TOOLS } from '../src/native.js';
test('FALLBACK_TOOLS is a non-empty array', () => {
@@ -68,6 +74,65 @@ test('semantic spot checks: deterministic and local-compute tools', () => {
assert.equal(TOOL_ANNOTATIONS.pumpfun_vanity_mint.openWorldHint, false);
});
+test('resolveToolName maps every legacy alias to canonical and passes others through', () => {
+ for (const [legacy, canonical] of Object.entries(TOOL_NAME_ALIASES)) {
+ assert.equal(resolveToolName(legacy), canonical);
+ // Canonical names are already resolved — they must not change.
+ assert.equal(resolveToolName(canonical), canonical);
+ }
+ assert.equal(resolveToolName('some_unknown_tool'), 'some_unknown_tool');
+ assert.equal(resolveToolName(42), 42, 'non-strings pass through untouched');
+});
+
+test('resolveToolName never resolves inherited object members', () => {
+ for (const name of ['__proto__', 'constructor', 'toString', 'hasOwnProperty']) {
+ assert.equal(resolveToolName(name), name, `${name} must pass through unresolved`);
+ }
+});
+
+test('alternateToolName round-trips both spellings and rejects everything else', () => {
+ for (const [legacy, canonical] of Object.entries(TOOL_NAME_ALIASES)) {
+ assert.equal(alternateToolName(legacy), canonical);
+ assert.equal(alternateToolName(canonical), legacy);
+ }
+ assert.equal(alternateToolName('pumpfun_vanity_mint'), null, 'unaliased tools have no alternate');
+ assert.equal(alternateToolName('nope'), null);
+ assert.equal(alternateToolName(undefined), null);
+ assert.equal(alternateToolName(123), null);
+});
+
+test('every alias targets an advertised canonical tool; legacy spellings are not advertised', () => {
+ const advertised = new Set(FALLBACK_TOOLS.map((t) => t.name));
+ for (const [legacy, canonical] of Object.entries(TOOL_NAME_ALIASES)) {
+ assert.ok(advertised.has(canonical), `${canonical} missing from FALLBACK_TOOLS`);
+ assert.ok(!advertised.has(legacy), `legacy name ${legacy} must not be advertised`);
+ }
+});
+
+test('inputSchema integrity: required fields exist and defaults respect their bounds', () => {
+ for (const tool of FALLBACK_TOOLS) {
+ const { properties = {}, required = [] } = tool.inputSchema;
+ for (const field of required) {
+ assert.ok(
+ Object.hasOwn(properties, field),
+ `${tool.name}: required field "${field}" missing from properties`,
+ );
+ }
+ for (const [field, schema] of Object.entries(properties)) {
+ if (schema.default === undefined || typeof schema.default !== 'number') continue;
+ if (typeof schema.minimum === 'number') {
+ assert.ok(schema.default >= schema.minimum, `${tool.name}.${field}: default below minimum`);
+ }
+ if (typeof schema.maximum === 'number') {
+ assert.ok(schema.default <= schema.maximum, `${tool.name}.${field}: default above maximum`);
+ }
+ if (schema.enum) {
+ assert.ok(schema.enum.includes(schema.default), `${tool.name}.${field}: default not in enum`);
+ }
+ }
+ }
+});
+
test('native composed tools carry the same annotation contract', () => {
assert.ok(NATIVE_TOOLS.length > 0);
const fallbackNames = new Set(FALLBACK_TOOLS.map((t) => t.name));
@@ -82,3 +147,19 @@ test('native composed tools carry the same annotation contract', () => {
assert.equal(typeof a.openWorldHint, 'boolean', `${def.name}: openWorldHint boolean`);
}
});
+
+test('server instructions only reference tools that actually exist', async () => {
+ const src = await readFile(new URL('../src/index.js', import.meta.url), 'utf8');
+ const match = src.match(/instructions:\s*((?:'[^']*'\s*\+?\s*)+)/);
+ assert.ok(match, 'instructions string found in src/index.js');
+ const instructions = match[1].match(/'([^']*)'/g).map((s) => s.slice(1, -1)).join('');
+ const advertised = new Set([
+ ...FALLBACK_TOOLS.map((t) => t.name),
+ ...NATIVE_TOOLS.map(({ def }) => def.name),
+ ]);
+ const mentioned = instructions.match(/[a-z][a-zA-Z0-9]*_[a-zA-Z0-9_]+/g) || [];
+ assert.ok(mentioned.length >= 10, 'instructions should name the tool catalog');
+ for (const name of mentioned) {
+ assert.ok(advertised.has(name), `instructions mention unknown tool: ${name}`);
+ }
+});
diff --git a/packages/react/package-lock.json b/packages/react/package-lock.json
index 0baa446e8..ccf8d9895 100644
--- a/packages/react/package-lock.json
+++ b/packages/react/package-lock.json
@@ -7,304 +7,21 @@
"": {
"name": "@three-ws/react",
"version": "1.0.1",
- "license": "MIT",
+ "license": "Apache-2.0",
"devDependencies": {
- "@vitejs/plugin-react": "^4.0.0",
+ "esbuild": "^0.27.7",
"react": "^18.0.0",
- "react-dom": "^18.0.0",
- "vite": "^5.0.0"
+ "react-dom": "^18.0.0"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
}
},
- "node_modules/@babel/code-frame": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
- "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/helper-validator-identifier": "^7.29.7",
- "js-tokens": "^4.0.0",
- "picocolors": "^1.1.1"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/compat-data": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz",
- "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/core": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz",
- "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/code-frame": "^7.29.7",
- "@babel/generator": "^7.29.7",
- "@babel/helper-compilation-targets": "^7.29.7",
- "@babel/helper-module-transforms": "^7.29.7",
- "@babel/helpers": "^7.29.7",
- "@babel/parser": "^7.29.7",
- "@babel/template": "^7.29.7",
- "@babel/traverse": "^7.29.7",
- "@babel/types": "^7.29.7",
- "@jridgewell/remapping": "^2.3.5",
- "convert-source-map": "^2.0.0",
- "debug": "^4.1.0",
- "gensync": "^1.0.0-beta.2",
- "json5": "^2.2.3",
- "semver": "^6.3.1"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/babel"
- }
- },
- "node_modules/@babel/generator": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.7.tgz",
- "integrity": "sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/parser": "^7.29.7",
- "@babel/types": "^7.29.7",
- "@jridgewell/gen-mapping": "^0.3.12",
- "@jridgewell/trace-mapping": "^0.3.28",
- "jsesc": "^3.0.2"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-compilation-targets": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz",
- "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/compat-data": "^7.29.7",
- "@babel/helper-validator-option": "^7.29.7",
- "browserslist": "^4.24.0",
- "lru-cache": "^5.1.1",
- "semver": "^6.3.1"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-globals": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz",
- "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-module-imports": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz",
- "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/traverse": "^7.29.7",
- "@babel/types": "^7.29.7"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-module-transforms": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz",
- "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/helper-module-imports": "^7.29.7",
- "@babel/helper-validator-identifier": "^7.29.7",
- "@babel/traverse": "^7.29.7"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-plugin-utils": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz",
- "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-string-parser": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",
- "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-validator-identifier": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
- "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-validator-option": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz",
- "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helpers": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz",
- "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/template": "^7.29.7",
- "@babel/types": "^7.29.7"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/parser": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.7.tgz",
- "integrity": "sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/types": "^7.29.7"
- },
- "bin": {
- "parser": "bin/babel-parser.js"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@babel/plugin-transform-react-jsx-self": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.29.7.tgz",
- "integrity": "sha512-TL0hMc9xzy86VD31nUiwzd5otRAcyEPcsegCxolO0PvcXuH1v0kECe/UIznYFihpkvU5wg/jk4v0TTEFfm53fw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.29.7"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-react-jsx-source": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.29.7.tgz",
- "integrity": "sha512-06IyK09H3wi4cGbhDBwp5gUGo0IKtnYa8tyTiephirPCK6fbobVGiXMMI5zLQ4aKEYP3wZ3ArU44o+8KMrSG/Q==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.29.7"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/template": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz",
- "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/code-frame": "^7.29.7",
- "@babel/parser": "^7.29.7",
- "@babel/types": "^7.29.7"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/traverse": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.7.tgz",
- "integrity": "sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/code-frame": "^7.29.7",
- "@babel/generator": "^7.29.7",
- "@babel/helper-globals": "^7.29.7",
- "@babel/parser": "^7.29.7",
- "@babel/template": "^7.29.7",
- "@babel/types": "^7.29.7",
- "debug": "^4.3.1"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/types": {
- "version": "7.29.7",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.7.tgz",
- "integrity": "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/helper-string-parser": "^7.29.7",
- "@babel/helper-validator-identifier": "^7.29.7"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
"node_modules/@esbuild/aix-ppc64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
- "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
+ "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
"cpu": [
"ppc64"
],
@@ -315,13 +32,13 @@
"aix"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
- "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
+ "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
"cpu": [
"arm"
],
@@ -332,13 +49,13 @@
"android"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
- "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
+ "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
"cpu": [
"arm64"
],
@@ -349,13 +66,13 @@
"android"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
- "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
+ "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
"cpu": [
"x64"
],
@@ -366,13 +83,13 @@
"android"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
- "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
+ "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
"cpu": [
"arm64"
],
@@ -383,13 +100,13 @@
"darwin"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
- "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz",
+ "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==",
"cpu": [
"x64"
],
@@ -400,13 +117,13 @@
"darwin"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
- "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==",
"cpu": [
"arm64"
],
@@ -417,13 +134,13 @@
"freebsd"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
- "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz",
+ "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==",
"cpu": [
"x64"
],
@@ -434,13 +151,13 @@
"freebsd"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
- "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz",
+ "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==",
"cpu": [
"arm"
],
@@ -451,13 +168,13 @@
"linux"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
- "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz",
+ "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==",
"cpu": [
"arm64"
],
@@ -468,13 +185,13 @@
"linux"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
- "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz",
+ "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==",
"cpu": [
"ia32"
],
@@ -485,13 +202,13 @@
"linux"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
- "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz",
+ "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==",
"cpu": [
"loong64"
],
@@ -502,13 +219,13 @@
"linux"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
- "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz",
+ "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==",
"cpu": [
"mips64el"
],
@@ -519,13 +236,13 @@
"linux"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
- "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz",
+ "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==",
"cpu": [
"ppc64"
],
@@ -536,13 +253,13 @@
"linux"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
- "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz",
+ "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==",
"cpu": [
"riscv64"
],
@@ -553,13 +270,13 @@
"linux"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
- "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz",
+ "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==",
"cpu": [
"s390x"
],
@@ -570,13 +287,13 @@
"linux"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
- "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz",
+ "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==",
"cpu": [
"x64"
],
@@ -587,13 +304,30 @@
"linux"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
- "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==",
"cpu": [
"x64"
],
@@ -604,13 +338,30 @@
"netbsd"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
- "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==",
"cpu": [
"x64"
],
@@ -621,13 +372,30 @@
"openbsd"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz",
+ "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
- "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz",
+ "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==",
"cpu": [
"x64"
],
@@ -638,13 +406,13 @@
"sunos"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
- "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz",
+ "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==",
"cpu": [
"arm64"
],
@@ -655,13 +423,13 @@
"win32"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
- "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz",
+ "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==",
"cpu": [
"ia32"
],
@@ -672,13 +440,13 @@
"win32"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
- "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz",
+ "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==",
"cpu": [
"x64"
],
@@ -689,1000 +457,107 @@
"win32"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
- "node_modules/@jridgewell/gen-mapping": {
- "version": "0.3.13",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
- "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "node_modules/esbuild": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
+ "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==",
"dev": true,
+ "hasInstallScript": true,
"license": "MIT",
- "dependencies": {
- "@jridgewell/sourcemap-codec": "^1.5.0",
- "@jridgewell/trace-mapping": "^0.3.24"
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.7",
+ "@esbuild/android-arm": "0.27.7",
+ "@esbuild/android-arm64": "0.27.7",
+ "@esbuild/android-x64": "0.27.7",
+ "@esbuild/darwin-arm64": "0.27.7",
+ "@esbuild/darwin-x64": "0.27.7",
+ "@esbuild/freebsd-arm64": "0.27.7",
+ "@esbuild/freebsd-x64": "0.27.7",
+ "@esbuild/linux-arm": "0.27.7",
+ "@esbuild/linux-arm64": "0.27.7",
+ "@esbuild/linux-ia32": "0.27.7",
+ "@esbuild/linux-loong64": "0.27.7",
+ "@esbuild/linux-mips64el": "0.27.7",
+ "@esbuild/linux-ppc64": "0.27.7",
+ "@esbuild/linux-riscv64": "0.27.7",
+ "@esbuild/linux-s390x": "0.27.7",
+ "@esbuild/linux-x64": "0.27.7",
+ "@esbuild/netbsd-arm64": "0.27.7",
+ "@esbuild/netbsd-x64": "0.27.7",
+ "@esbuild/openbsd-arm64": "0.27.7",
+ "@esbuild/openbsd-x64": "0.27.7",
+ "@esbuild/openharmony-arm64": "0.27.7",
+ "@esbuild/sunos-x64": "0.27.7",
+ "@esbuild/win32-arm64": "0.27.7",
+ "@esbuild/win32-ia32": "0.27.7",
+ "@esbuild/win32-x64": "0.27.7"
}
},
- "node_modules/@jridgewell/remapping": {
- "version": "2.3.5",
- "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
- "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@jridgewell/gen-mapping": "^0.3.5",
- "@jridgewell/trace-mapping": "^0.3.24"
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
}
},
- "node_modules/@jridgewell/resolve-uri": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
- "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "node_modules/react": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ },
"engines": {
- "node": ">=6.0.0"
+ "node": ">=0.10.0"
}
},
- "node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.5.5",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
- "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.31",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
- "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "node_modules/react-dom": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.2"
+ },
+ "peerDependencies": {
+ "react": "^18.3.1"
}
},
- "node_modules/@rolldown/pluginutils": {
- "version": "1.0.0-beta.27",
- "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",
- "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.62.0.tgz",
- "integrity": "sha512-IPIQ55ythEHkfEd9jMEi32OQ7SxURsGA43JI22lj01OLZNt2NUbJX8YUHxkVWyQ6daHPNn0truF5nSj3DQp6YQ==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ]
- },
- "node_modules/@rollup/rollup-android-arm64": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.62.0.tgz",
- "integrity": "sha512-M6s9cr10MibETyo8JsOkq+Lo1+lU6hcvb1MApnUql5qte/5hMEgzlN8/ReIKNfRV8rrqX50W1BX9zoUhC192RA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ]
- },
- "node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.62.0.tgz",
- "integrity": "sha512-BqCoMoIbn0keKys+dEAdBa70EtOwV1bEsQCUgU9FdiZmmMge/Zk7LlkYGqbrdHR+Frnt0E1FOanly+rlwvvQzw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ]
- },
- "node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.62.0.tgz",
- "integrity": "sha512-SIMzST3VFNXDAbeIWDWiFCNM5qncUBDWaEV7NfE7oZbDt2mgfW4MvbKdbYiGOLoM32gbTv608UMd0XktEYSD7w==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ]
- },
- "node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.62.0.tgz",
- "integrity": "sha512-ezjfSQMP7ArdUsbBwbQIfwAlhE84I2iVnzQNCFSveqV42q+BmKlzVpf7mxv5EchLcoWU4y6/heFzVg1F+hodUQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ]
- },
- "node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.62.0.tgz",
- "integrity": "sha512-9+qTWGW9AZRhnUgwtTwzNwcPlL87ngkeN0LA+q1bADvmY9aNvWaF2TFW8BZgnQPYxpDI7+rMVLivcd4V737TAQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.62.0.tgz",
- "integrity": "sha512-T1dMEQhXA/jkJ/jyMIw9IovK8bSUq7A8kLIlvZTb/6YIVsp2zLavr4F3oyllHWo7eIVJRyE5n3tUjQJEbE1IuQ==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.62.0.tgz",
- "integrity": "sha512-2as0LgT7qQpyceQq6VUJYnumUMUrgGQCWIiDIN9DE0/tglsk6o66uCB4f3djRawAltvfCNLyZZrsqbPA6inCsA==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.62.0.tgz",
- "integrity": "sha512-bVURMg+6eNN9C/yc0aVjooZcwTTtYF4YW3xta5pP0//r3o1V8gXEHXWCndj47w/HhwsFroZrFhR+6uQP5T0n0g==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.62.0.tgz",
- "integrity": "sha512-Ful8pM/2yYI83PViWdFdpZhdI8HJ5qsXANe5atypbHDf+KIBBDsZsbyy8hbXnULVvW9NsTh5DHwbcBftyLTfiw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-loong64-gnu": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.62.0.tgz",
- "integrity": "sha512-9Gp/DgrkzfUBmNPVTyPTvay+4xEP7M/clXpj3efXBcm6uTIVIgDg4rqUpqKXvLEuFRVuEpSAOkhgNeecvaZ4Cg==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-loong64-musl": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.62.0.tgz",
- "integrity": "sha512-m9tsJz54LUXkSYM8+8PG81B9IKK5r+2T0clMq4QrS16xFosufU7firBDAZEsDheDs7wTlP7h3++S7lMsU955HA==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-ppc64-gnu": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.62.0.tgz",
- "integrity": "sha512-3UvJ5PNVU16aJf6M3tFI24pWzAl2/ynfbyRN3ICyQajK1lSkrnVYNnLz3v04J32qKa0FczJc22zeToc0lr2A3w==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-ppc64-musl": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.62.0.tgz",
- "integrity": "sha512-vRWUAbYLGHBZS6Q8Msb2sfnf1fvJf+47t8l/TwOerM2qArzy+IeNMTHrYLHXh95h8MoatPHI5hhSZNs+mGXKPg==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.62.0.tgz",
- "integrity": "sha512-c00T5SYENHAt86cfW47URaP3Us5vLC/4QO7GYud1G5VNRffCwwCuBspwqYrriuJB+5m0WFzClCn9wed0FBjKvg==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.62.0.tgz",
- "integrity": "sha512-krrCDilhXOwFkSkO3Wm9I/f9H0L92XHHwy2fwxjukxIbh0dem8gZqOW5Y8BsHrpJv5qwlRBV+Wl4ZFyRWhUpwg==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.62.0.tgz",
- "integrity": "sha512-7pfYFSTc4/rUC/FtAI0Qp6QthDBCIi6/AuP1xYqFk5vanI6KnL5dWKP60OM/05LOsbwTmIcvr6eXC4CJuJ75IA==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.62.0.tgz",
- "integrity": "sha512-7SDIalKeIpG0Ifogbbdn58HmSotYMlf23K3dCJEmiVd9Fg36Vmni82iPQec27N3wY4Bvbxftkxz6vSx9OcouTg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.62.0.tgz",
- "integrity": "sha512-eRZevouTH2i1HeAVLqJuLnt256krQkGY0TN6WsTmsIhuzbh457HuWDMakKwmi0Cjadux983CoSr8Lim2QhUIFw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-openbsd-x64": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.62.0.tgz",
- "integrity": "sha512-3oVS7FLGa4U1qcvao9ylGxrjXZyUQqR8UwxEcnUEyPX53O/C/mKDZegNXTdHCP+h3e6ta/f1EN38Yif1mmZHYg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "openbsd"
- ]
- },
- "node_modules/@rollup/rollup-openharmony-arm64": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.62.0.tgz",
- "integrity": "sha512-yTB9TgfWj5wHe5QgktAgXTLLot1gvEjl1NiPPAUiCs4oPrIWFl5V4nC3GrkNdj9LaAU4s94nVrGbGOCqUpyWsg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "openharmony"
- ]
- },
- "node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.62.0.tgz",
- "integrity": "sha512-5LOhoaesY3doG1c+ac/2JtgREpKoJr5bUHH8tKY0V8di7+uSV6BwLs2PlR0/yzefGOkR+wE7ZolZphHCsyG5Rw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.62.0.tgz",
- "integrity": "sha512-yYkWHhmbhRTWTnWos5HC4GcPQfjlzzCNbM9e/+GXrLuaBXYA3qSDR9f0Vgufd5S8yX81U8jPKp7ZnAjZFMtRnw==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@rollup/rollup-win32-x64-gnu": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.62.0.tgz",
- "integrity": "sha512-SoTb6lPg25xZlA2ibwQ++ahCCnH+FP0qmEuafMJ4gznZKOlXioKEAeJLgCrqjM98ACziXM9V1amFjICVL4IFoA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.62.0.tgz",
- "integrity": "sha512-5L+T1fMX4RIEBoZzT0+sQ0PhTS36NULFmMXtl1TZo44TMAROIMHbZufSOjVWt/Y622BtxgxtaNOokbTDvfsrZA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@types/babel__core": {
- "version": "7.20.5",
- "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
- "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/parser": "^7.20.7",
- "@babel/types": "^7.20.7",
- "@types/babel__generator": "*",
- "@types/babel__template": "*",
- "@types/babel__traverse": "*"
- }
- },
- "node_modules/@types/babel__generator": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
- "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/types": "^7.0.0"
- }
- },
- "node_modules/@types/babel__template": {
- "version": "7.4.4",
- "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
- "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/parser": "^7.1.0",
- "@babel/types": "^7.0.0"
- }
- },
- "node_modules/@types/babel__traverse": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
- "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/types": "^7.28.2"
- }
- },
- "node_modules/@types/estree": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
- "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@vitejs/plugin-react": {
- "version": "4.7.0",
- "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz",
- "integrity": "sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/core": "^7.28.0",
- "@babel/plugin-transform-react-jsx-self": "^7.27.1",
- "@babel/plugin-transform-react-jsx-source": "^7.27.1",
- "@rolldown/pluginutils": "1.0.0-beta.27",
- "@types/babel__core": "^7.20.5",
- "react-refresh": "^0.17.0"
- },
- "engines": {
- "node": "^14.18.0 || >=16.0.0"
- },
- "peerDependencies": {
- "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
- }
- },
- "node_modules/baseline-browser-mapping": {
- "version": "2.10.37",
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.37.tgz",
- "integrity": "sha512-girxaJ7WZssDOFhzCGZTDKoTa1gk6A1TbflaYTpykLJ4UU9Fz9kx1aREM8JCuoVHbL8X8T/mJg7w2oYSq72Oig==",
- "dev": true,
- "license": "Apache-2.0",
- "bin": {
- "baseline-browser-mapping": "dist/cli.cjs"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/browserslist": {
- "version": "4.28.2",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz",
- "integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "baseline-browser-mapping": "^2.10.12",
- "caniuse-lite": "^1.0.30001782",
- "electron-to-chromium": "^1.5.328",
- "node-releases": "^2.0.36",
- "update-browserslist-db": "^1.2.3"
- },
- "bin": {
- "browserslist": "cli.js"
- },
- "engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
- }
- },
- "node_modules/caniuse-lite": {
- "version": "1.0.30001799",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001799.tgz",
- "integrity": "sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "CC-BY-4.0"
- },
- "node_modules/convert-source-map": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
- "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/debug": {
- "version": "4.4.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
- "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ms": "^2.1.3"
- },
- "engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
- }
- },
- "node_modules/electron-to-chromium": {
- "version": "1.5.372",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.372.tgz",
- "integrity": "sha512-M3yhbAlilnwqC8D21t28UCDGHyitShTmmLRU/H+b74P6Ski16Nb9HONYEaVpMj/pwC7BEo5B95FpjODLCWbtfA==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/esbuild": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
- "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
- "dev": true,
- "hasInstallScript": true,
- "license": "MIT",
- "bin": {
- "esbuild": "bin/esbuild"
- },
- "engines": {
- "node": ">=12"
- },
- "optionalDependencies": {
- "@esbuild/aix-ppc64": "0.21.5",
- "@esbuild/android-arm": "0.21.5",
- "@esbuild/android-arm64": "0.21.5",
- "@esbuild/android-x64": "0.21.5",
- "@esbuild/darwin-arm64": "0.21.5",
- "@esbuild/darwin-x64": "0.21.5",
- "@esbuild/freebsd-arm64": "0.21.5",
- "@esbuild/freebsd-x64": "0.21.5",
- "@esbuild/linux-arm": "0.21.5",
- "@esbuild/linux-arm64": "0.21.5",
- "@esbuild/linux-ia32": "0.21.5",
- "@esbuild/linux-loong64": "0.21.5",
- "@esbuild/linux-mips64el": "0.21.5",
- "@esbuild/linux-ppc64": "0.21.5",
- "@esbuild/linux-riscv64": "0.21.5",
- "@esbuild/linux-s390x": "0.21.5",
- "@esbuild/linux-x64": "0.21.5",
- "@esbuild/netbsd-x64": "0.21.5",
- "@esbuild/openbsd-x64": "0.21.5",
- "@esbuild/sunos-x64": "0.21.5",
- "@esbuild/win32-arm64": "0.21.5",
- "@esbuild/win32-ia32": "0.21.5",
- "@esbuild/win32-x64": "0.21.5"
- }
- },
- "node_modules/escalade": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
- "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "dev": true,
- "hasInstallScript": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
- "node_modules/gensync": {
- "version": "1.0.0-beta.2",
- "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
- "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/js-tokens": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jsesc": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
- "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
- "dev": true,
- "license": "MIT",
- "bin": {
- "jsesc": "bin/jsesc"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/json5": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
- "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
- "dev": true,
- "license": "MIT",
- "bin": {
- "json5": "lib/cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/loose-envify": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
- "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "js-tokens": "^3.0.0 || ^4.0.0"
- },
- "bin": {
- "loose-envify": "cli.js"
- }
- },
- "node_modules/lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "yallist": "^3.0.2"
- }
- },
- "node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/nanoid": {
- "version": "3.3.12",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz",
- "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "bin": {
- "nanoid": "bin/nanoid.cjs"
- },
- "engines": {
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
- }
- },
- "node_modules/node-releases": {
- "version": "2.0.47",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.47.tgz",
- "integrity": "sha512-Uzmd6LXpouKo8EUK68IjH4+E01w/hXyV3R3g/geCJo+rXLNfh1xucB+LOzYEOQPSiUK3h/xZf0cQGcSsmyL2Og==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/picocolors": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
- "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/postcss": {
- "version": "8.5.15",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz",
- "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/postcss"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "nanoid": "^3.3.12",
- "picocolors": "^1.1.1",
- "source-map-js": "^1.2.1"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- }
- },
- "node_modules/react": {
- "version": "18.3.1",
- "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
- "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
+ "node_modules/scheduler": {
+ "version": "0.23.2",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/react-dom": {
- "version": "18.3.1",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
- "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "loose-envify": "^1.1.0",
- "scheduler": "^0.23.2"
- },
- "peerDependencies": {
- "react": "^18.3.1"
- }
- },
- "node_modules/react-refresh": {
- "version": "0.17.0",
- "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz",
- "integrity": "sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
}
- },
- "node_modules/rollup": {
- "version": "4.62.0",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.62.0.tgz",
- "integrity": "sha512-nc72Wgq62I7rtDV4izT5/aaS0zxy3kttkinf9586ApknY3jZO9NYsmtc24fUckA0X7Q2v+ML4a15pdUlV5V/jA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/estree": "1.0.9"
- },
- "bin": {
- "rollup": "dist/bin/rollup"
- },
- "engines": {
- "node": ">=18.0.0",
- "npm": ">=8.0.0"
- },
- "optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.62.0",
- "@rollup/rollup-android-arm64": "4.62.0",
- "@rollup/rollup-darwin-arm64": "4.62.0",
- "@rollup/rollup-darwin-x64": "4.62.0",
- "@rollup/rollup-freebsd-arm64": "4.62.0",
- "@rollup/rollup-freebsd-x64": "4.62.0",
- "@rollup/rollup-linux-arm-gnueabihf": "4.62.0",
- "@rollup/rollup-linux-arm-musleabihf": "4.62.0",
- "@rollup/rollup-linux-arm64-gnu": "4.62.0",
- "@rollup/rollup-linux-arm64-musl": "4.62.0",
- "@rollup/rollup-linux-loong64-gnu": "4.62.0",
- "@rollup/rollup-linux-loong64-musl": "4.62.0",
- "@rollup/rollup-linux-ppc64-gnu": "4.62.0",
- "@rollup/rollup-linux-ppc64-musl": "4.62.0",
- "@rollup/rollup-linux-riscv64-gnu": "4.62.0",
- "@rollup/rollup-linux-riscv64-musl": "4.62.0",
- "@rollup/rollup-linux-s390x-gnu": "4.62.0",
- "@rollup/rollup-linux-x64-gnu": "4.62.0",
- "@rollup/rollup-linux-x64-musl": "4.62.0",
- "@rollup/rollup-openbsd-x64": "4.62.0",
- "@rollup/rollup-openharmony-arm64": "4.62.0",
- "@rollup/rollup-win32-arm64-msvc": "4.62.0",
- "@rollup/rollup-win32-ia32-msvc": "4.62.0",
- "@rollup/rollup-win32-x64-gnu": "4.62.0",
- "@rollup/rollup-win32-x64-msvc": "4.62.0",
- "fsevents": "~2.3.2"
- }
- },
- "node_modules/scheduler": {
- "version": "0.23.2",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
- "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "loose-envify": "^1.1.0"
- }
- },
- "node_modules/semver": {
- "version": "6.3.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
- "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "dev": true,
- "license": "ISC",
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/source-map-js": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
- "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
- "dev": true,
- "license": "BSD-3-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/update-browserslist-db": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
- "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "escalade": "^3.2.0",
- "picocolors": "^1.1.1"
- },
- "bin": {
- "update-browserslist-db": "cli.js"
- },
- "peerDependencies": {
- "browserslist": ">= 4.21.0"
- }
- },
- "node_modules/vite": {
- "version": "5.4.21",
- "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",
- "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "esbuild": "^0.21.3",
- "postcss": "^8.4.43",
- "rollup": "^4.20.0"
- },
- "bin": {
- "vite": "bin/vite.js"
- },
- "engines": {
- "node": "^18.0.0 || >=20.0.0"
- },
- "funding": {
- "url": "https://github.com/vitejs/vite?sponsor=1"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.3"
- },
- "peerDependencies": {
- "@types/node": "^18.0.0 || >=20.0.0",
- "less": "*",
- "lightningcss": "^1.21.0",
- "sass": "*",
- "sass-embedded": "*",
- "stylus": "*",
- "sugarss": "*",
- "terser": "^5.4.0"
- },
- "peerDependenciesMeta": {
- "@types/node": {
- "optional": true
- },
- "less": {
- "optional": true
- },
- "lightningcss": {
- "optional": true
- },
- "sass": {
- "optional": true
- },
- "sass-embedded": {
- "optional": true
- },
- "stylus": {
- "optional": true
- },
- "sugarss": {
- "optional": true
- },
- "terser": {
- "optional": true
- }
- }
- },
- "node_modules/yallist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "dev": true,
- "license": "ISC"
}
}
}
diff --git a/packages/react/package.json b/packages/react/package.json
index 32ca72af7..a439988a6 100644
--- a/packages/react/package.json
+++ b/packages/react/package.json
@@ -20,8 +20,13 @@
"sideEffects": false,
"scripts": {
"build": "node build.mjs",
+ "pretest": "npm run build",
+ "test": "node --test test/*.test.mjs",
"prepublishOnly": "npm run build"
},
+ "engines": {
+ "node": ">=20"
+ },
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
diff --git a/packages/react/test/agent3d.test.mjs b/packages/react/test/agent3d.test.mjs
new file mode 100644
index 000000000..e20ef8b7c
--- /dev/null
+++ b/packages/react/test/agent3d.test.mjs
@@ -0,0 +1,175 @@
+// <Agent3D> behavior tests, asserted on server-rendered markup: prop → embed
+// URL wiring, defaults, wrapper/iframe attributes, style handling, and edge
+// cases (missing agent id, special characters, invalid baseUrl).
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+
+import { Agent3D } from '../dist/index.esm.js';
+import { render, iframeSrc, attrOf, styleOf } from './helpers.mjs';
+
+// --- Embed URL construction -------------------------------------------------
+
+test('defaults: points at https://three.ws/walk-embed with avatar + joystick only', () => {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag-1' }));
+ assert.equal(src.origin, 'https://three.ws');
+ assert.equal(src.pathname, '/walk-embed');
+ assert.equal(src.searchParams.get('avatar'), 'ag-1');
+ assert.equal(src.searchParams.get('controls'), 'joystick');
+ assert.equal([...src.searchParams.keys()].length, 2, 'no extra params emitted by default');
+});
+
+test('avatarId overrides agentId as the avatar param', () => {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag-1', avatarId: 'av-9' }));
+ assert.equal(src.searchParams.get('avatar'), 'av-9');
+});
+
+test('controls prop is forwarded, including "none"', () => {
+ for (const controls of ['keyboard', 'none']) {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag-1', controls }));
+ assert.equal(src.searchParams.get('controls'), controls);
+ }
+});
+
+test('background maps to the bg param with URL encoding for hex colors', () => {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag-1', background: '#1b1b1b' }));
+ assert.equal(src.searchParams.get('bg'), '#1b1b1b');
+ assert.ok(src.search.includes('bg=%231b1b1b'), 'hash must be percent-encoded in the query');
+});
+
+test('environment maps to the env param', () => {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag-1', environment: 'studio' }));
+ assert.equal(src.searchParams.get('env'), 'studio');
+});
+
+test('autoplay emits autoplay=true only when truthy', () => {
+ const on = iframeSrc(render(Agent3D, { agentId: 'ag-1', autoplay: true }));
+ assert.equal(on.searchParams.get('autoplay'), 'true');
+ const off = iframeSrc(render(Agent3D, { agentId: 'ag-1', autoplay: false }));
+ assert.equal(off.searchParams.get('autoplay'), null);
+});
+
+test('ground/orbit are only emitted to turn the player defaults OFF', () => {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag-1', ground: false, orbit: false }));
+ assert.equal(src.searchParams.get('ground'), 'false');
+ assert.equal(src.searchParams.get('orbit'), 'false');
+
+ // true matches the player default → param stays absent, same as undefined.
+ const on = iframeSrc(render(Agent3D, { agentId: 'ag-1', ground: true, orbit: true }));
+ assert.equal(on.searchParams.get('ground'), null);
+ assert.equal(on.searchParams.get('orbit'), null);
+});
+
+test('speed never leaks into the URL (it is applied live via postMessage)', () => {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag-1', speed: 1.5 }));
+ assert.equal(src.searchParams.get('speed'), null);
+});
+
+test('baseUrl override changes the embed origin', () => {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag-1', baseUrl: 'https://staging.example.com' }));
+ assert.equal(src.origin, 'https://staging.example.com');
+ assert.equal(src.pathname, '/walk-embed');
+});
+
+test('baseUrl with a trailing slash or path still resolves /walk-embed at the root', () => {
+ for (const baseUrl of ['https://example.com/', 'https://example.com/nested/app']) {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag-1', baseUrl }));
+ assert.equal(src.href.replace(/\?.*$/, ''), 'https://example.com/walk-embed');
+ }
+});
+
+test('agent ids with reserved characters are URL-encoded, not string-concatenated', () => {
+ const src = iframeSrc(render(Agent3D, { agentId: 'ag 1/&?=#' }));
+ assert.equal(src.searchParams.get('avatar'), 'ag 1/&?=#');
+});
+
+// --- Edge cases ---------------------------------------------------------------
+
+test('missing agentId still renders a player with no avatar param', () => {
+ const html = render(Agent3D, {});
+ const src = iframeSrc(html);
+ assert.equal(src.searchParams.get('avatar'), null);
+ assert.equal(src.searchParams.get('controls'), 'joystick');
+ assert.ok(html.includes('<iframe'), 'iframe must still render');
+});
+
+test('an unparseable baseUrl throws during render instead of producing a broken src', () => {
+ assert.throws(() => render(Agent3D, { agentId: 'ag-1', baseUrl: 'not a url' }), TypeError);
+});
+
+// --- Wrapper <div> ------------------------------------------------------------
+
+test('wrapper defaults to position:relative, 100% x 600px', () => {
+ const style = styleOf(render(Agent3D, { agentId: 'ag-1' }), 'div');
+ assert.equal(style.position, 'relative');
+ assert.equal(style.width, '100%');
+ assert.equal(style.height, '600px');
+});
+
+test('numeric width/height are coerced to px; strings pass through', () => {
+ const px = styleOf(render(Agent3D, { agentId: 'ag-1', width: 480, height: 720 }), 'div');
+ assert.equal(px.width, '480px');
+ assert.equal(px.height, '720px');
+
+ const rel = styleOf(render(Agent3D, { agentId: 'ag-1', width: '32rem', height: '50vh' }), 'div');
+ assert.equal(rel.width, '32rem');
+ assert.equal(rel.height, '50vh');
+});
+
+test('user style merges over the computed wrapper style', () => {
+ const style = styleOf(
+ render(Agent3D, { agentId: 'ag-1', width: 480, style: { width: '10px', borderRadius: '8px' } }),
+ 'div',
+ );
+ assert.equal(style.width, '10px', 'explicit style wins over the width prop');
+ assert.equal(style['border-radius'], '8px');
+ assert.equal(style.position, 'relative', 'computed defaults survive the merge');
+});
+
+test('className and extra DOM props land on the wrapper div', () => {
+ const html = render(Agent3D, {
+ agentId: 'ag-1',
+ className: 'hero-agent',
+ id: 'stage',
+ 'data-testid': 'agent-embed',
+ });
+ assert.equal(attrOf(html, 'div', 'class'), 'hero-agent');
+ assert.equal(attrOf(html, 'div', 'id'), 'stage');
+ assert.equal(attrOf(html, 'div', 'data-testid'), 'agent-embed');
+});
+
+test('onLoad/onError/ref-only props never serialize into the markup', () => {
+ const html = render(Agent3D, {
+ agentId: 'ag-1',
+ onLoad: () => {},
+ onError: () => {},
+ speed: 2,
+ });
+ assert.ok(!/onLoad|onError|speed/.test(html), `handler props leaked into markup: ${html}`);
+});
+
+// --- <iframe> -----------------------------------------------------------------
+
+test('iframe carries the accessibility title, default and overridden', () => {
+ assert.equal(attrOf(render(Agent3D, { agentId: 'ag-1' }), 'iframe', 'title'), 'three.ws 3D agent');
+ assert.equal(
+ attrOf(render(Agent3D, { agentId: 'ag-1', title: 'Concierge avatar' }), 'iframe', 'title'),
+ 'Concierge avatar',
+ );
+});
+
+test('iframe is lazy-loaded and grants the XR/media permissions the player needs', () => {
+ const html = render(Agent3D, { agentId: 'ag-1' });
+ assert.equal(attrOf(html, 'iframe', 'loading'), 'lazy');
+ const allow = attrOf(html, 'iframe', 'allow');
+ for (const feature of ['xr-spatial-tracking', 'microphone', 'camera', 'autoplay']) {
+ assert.ok(allow.includes(feature), `allow is missing "${feature}"`);
+ }
+});
+
+test('iframe fills the wrapper with no border', () => {
+ const style = styleOf(render(Agent3D, { agentId: 'ag-1' }), 'iframe');
+ assert.equal(style.display, 'block');
+ assert.equal(style.width, '100%');
+ assert.equal(style.height, '100%');
+ assert.equal(style.border, '0');
+});
diff --git a/packages/react/test/exports.test.mjs b/packages/react/test/exports.test.mjs
new file mode 100644
index 000000000..07853e7f4
--- /dev/null
+++ b/packages/react/test/exports.test.mjs
@@ -0,0 +1,60 @@
+// Export-surface tests: both shipped bundle formats (ESM + CJS) expose the
+// same components, the WalkEmbed alias is identity-equal to Agent3D, and the
+// type declarations are copied into dist/ by the build.
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+import { createRequire } from 'node:module';
+import { readFileSync } from 'node:fs';
+import { fileURLToPath } from 'node:url';
+
+import * as esm from '../dist/index.esm.js';
+import { render, iframeSrc } from './helpers.mjs';
+
+const require = createRequire(import.meta.url);
+const cjs = require('../dist/index.cjs.js');
+
+const FORWARD_REF = Symbol.for('react.forward_ref');
+
+test('ESM bundle exports exactly Agent3D and WalkEmbed', () => {
+ assert.deepEqual(Object.keys(esm).sort(), ['Agent3D', 'WalkEmbed']);
+});
+
+test('CJS bundle exports the same surface as the ESM bundle', () => {
+ const names = Object.keys(cjs).filter((k) => k !== '__esModule').sort();
+ assert.deepEqual(names, ['Agent3D', 'WalkEmbed']);
+});
+
+test('WalkEmbed is an identity alias of Agent3D in both formats', () => {
+ assert.equal(esm.WalkEmbed, esm.Agent3D);
+ assert.equal(cjs.WalkEmbed, cjs.Agent3D);
+});
+
+test('Agent3D is a forwardRef component in both formats', () => {
+ assert.equal(esm.Agent3D.$$typeof, FORWARD_REF);
+ assert.equal(cjs.Agent3D.$$typeof, FORWARD_REF);
+ assert.equal(typeof esm.Agent3D.render, 'function');
+});
+
+test('CJS bundle renders identically to the ESM bundle', () => {
+ const props = { agentId: 'ag-1', controls: 'keyboard', autoplay: true };
+ assert.equal(render(cjs.Agent3D, props), render(esm.Agent3D, props));
+});
+
+test('WalkEmbed renders the same markup as Agent3D', () => {
+ const props = { agentId: 'ag-1', environment: 'studio' };
+ assert.equal(render(esm.WalkEmbed, props), render(esm.Agent3D, props));
+ assert.equal(iframeSrc(render(esm.WalkEmbed, props)).searchParams.get('env'), 'studio');
+});
+
+test('build copies the hand-written type declarations into dist/', () => {
+ const dts = readFileSync(fileURLToPath(new URL('../dist/index.d.ts', import.meta.url)), 'utf8');
+ for (const decl of [
+ 'export interface Agent3DProps',
+ 'export interface Agent3DHandle',
+ 'export type Agent3DControls',
+ 'export declare const Agent3D',
+ 'export declare const WalkEmbed',
+ ]) {
+ assert.ok(dts.includes(decl), `dist/index.d.ts is missing "${decl}"`);
+ }
+});
diff --git a/packages/react/test/helpers.mjs b/packages/react/test/helpers.mjs
new file mode 100644
index 000000000..e8ca43475
--- /dev/null
+++ b/packages/react/test/helpers.mjs
@@ -0,0 +1,52 @@
+// Shared helpers for the @three-ws/react test suite.
+//
+// Tests run against the built bundles in dist/ (the artifact that actually
+// ships) — `npm test` triggers a fresh build via the pretest hook. Rendering
+// is done with react-dom/server so no DOM shim is needed: everything the
+// component puts in markup (iframe src, wrapper styles, pass-through props)
+// is asserted on the serialized HTML string.
+import React from 'react';
+import { renderToStaticMarkup } from 'react-dom/server';
+
+/** Render a component to static HTML with the given props. */
+export function render(Component, props = {}) {
+ return renderToStaticMarkup(React.createElement(Component, props));
+}
+
+/** Undo React's attribute-value HTML escaping. */
+export function unescapeHtml(value) {
+ return value
+ .replace(/&quot;/g, '"')
+ .replace(/&#x27;/g, "'")
+ .replace(/&lt;/g, '<')
+ .replace(/&gt;/g, '>')
+ .replace(/&amp;/g, '&');
+}
+
+/** Extract the iframe's src attribute from rendered markup as a URL object. */
+export function iframeSrc(html) {
+ const match = html.match(/<iframe[^>]*\ssrc="([^"]*)"/);
+ if (!match) throw new Error(`no <iframe src> found in markup: ${html}`);
+ return new URL(unescapeHtml(match[1]));
+}
+
+/** Extract an attribute value from the first tag matching `tag`. */
+export function attrOf(html, tag, attr) {
+ const tagMatch = html.match(new RegExp(`<${tag}[^>]*>`));
+ if (!tagMatch) throw new Error(`no <${tag}> found in markup: ${html}`);
+ const attrMatch = tagMatch[0].match(new RegExp(`\\s${attr}="([^"]*)"`));
+ return attrMatch ? unescapeHtml(attrMatch[1]) : null;
+}
+
+/** Parse an inline style attribute string into a { prop: value } object. */
+export function styleOf(html, tag) {
+ const raw = attrOf(html, tag, 'style');
+ if (raw == null) return {};
+ const out = {};
+ for (const decl of raw.split(';')) {
+ const i = decl.indexOf(':');
+ if (i === -1) continue;
+ out[decl.slice(0, i).trim()] = decl.slice(i + 1).trim();
+ }
+ return out;
+}
diff --git a/packages/vanity/package.json b/packages/vanity/package.json
index da386b7d2..c20316a5d 100644
--- a/packages/vanity/package.json
+++ b/packages/vanity/package.json
@@ -38,7 +38,7 @@
],
"author": "nirholas <[email protected]>",
"license": "MIT",
- "homepage": "https://three.ws/vanity",
+ "homepage": "https://three.ws/vanity-wallet",
"repository": {
"type": "git",
"url": "git+https://github.com/nirholas/three.ws.git",
diff --git a/packages/vscode-x402/LICENSE b/packages/vscode-x402/LICENSE
new file mode 100644
index 000000000..8e2251ab4
--- /dev/null
+++ b/packages/vscode-x402/LICENSE
@@ -0,0 +1,180 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship made available under
+ the License, as indicated by a copyright notice that is included in
+ or attached to the work (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other transformations
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean, as submitted to the Licensor for inclusion
+ in the Work by the copyright owner or by an individual or Legal Entity
+ authorized to submit on behalf of the copyright owner. For the purposes
+ of this definition, "submitted" means any form of electronic, verbal,
+ or written communication sent to the Licensor or its representatives,
+ including but not limited to communication on electronic mailing lists,
+ source code control systems, and issue tracking systems that are managed
+ by, or on behalf of, the Licensor for the purpose of discussing and
+ improving the Work, but excluding communication that is conspicuously
+ marked or designated in writing by the copyright owner as "Not a
+ Contribution."
+
+ "Contributor" shall mean Licensor and any Legal Entity on behalf of
+ whom a Contribution has been received by the Licensor and included
+ within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by the combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that the Work or any
+ Contribution embodied within the Work constitutes direct or contributory
+ patent infringement, then any patent licenses granted to You under
+ this License for that Work shall terminate as of the date such
+ litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or Derivative
+ Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, You must include a readable copy of the
+ attribution notices contained within such NOTICE file, in
+ at least one of the following places: within a NOTICE text
+ file distributed as part of the Derivative Works; within
+ the Source form or documentation, if provided along with the
+ Derivative Works; or, within a display generated by the
+ Derivative Works, if and wherever such third-party notices
+ normally appear. The contents of the NOTICE file are for
+ informational purposes only and do not modify the License.
+ You may add Your own attribution notices within Derivative
+ Works that You distribute, alongside or in addition to the
+ NOTICE text from the Work, provided that such additional
+ attribution notices cannot be construed as modifying the License.
+
+ You may add Your own license statement for Your modifications and
+ may provide additional grant of rights to use, copy, modify, merge,
+ publish, distribute, sublicense, and/or sell copies of the
+ Derivative Works, and to permit persons to whom the Derivative Works
+ are furnished to do so.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or reproducing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or exemplary damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or all other
+ commercial damages or losses), even if such Contributor has been
+ advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may offer only
+ conditions consistent with this License.
+
+ END OF TERMS AND CONDITIONS
+
+ Copyright 2026 nirholas
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/packages/x402-fetch/package.json b/packages/x402-fetch/package.json
index 1a0b3c607..a82450a46 100644
--- a/packages/x402-fetch/package.json
+++ b/packages/x402-fetch/package.json
@@ -56,5 +56,8 @@
"publishConfig": {
"access": "public"
},
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=20"
+ }
}
diff --git a/pages/agent-detail-classic.html b/pages/agent-detail-classic.html
new file mode 100644
index 000000000..ca757bbbd
--- /dev/null
+++ b/pages/agent-detail-classic.html
@@ -0,0 +1,1169 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <script>/* three.ws theme boot — no-flash; runtime in /theme-switcher.js */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Agent · three.ws</title>
+ <meta property="og:type" content="website" />
+ <meta property="og:site_name" content="three.ws" />
+ <meta property="og:url" content="https://three.ws/agents" />
+ <meta property="og:title" content="Agent · three.ws" />
+ <meta
+ property="og:description"
+ content="Meet your 3D AI agent — voice, memory, payments, and an on-chain identity. Built on three.ws."
+ />
+ <meta property="og:image" content="https://three.ws/og-image.png" />
+ <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:site" content="@trythreews" />
+ <meta name="twitter:title" content="Agent · three.ws" />
+ <meta
+ name="twitter:description"
+ content="Meet your 3D AI agent — voice, memory, payments, and an on-chain identity. Built on three.ws."
+ />
+ <meta name="twitter:image" content="https://three.ws/og-image.png" />
+ <link rel="canonical" href="https://three.ws/agents" id="canonical-link" />
+ <meta name="theme-color" content="#0a0a0a" />
+ <link rel="icon" href="/favicon.ico" sizes="any" />
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
+ <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
+ <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
+ <link rel="manifest" href="/manifest.webmanifest" />
+ <link rel="stylesheet" href="/fonts/fonts.css" />
+ <link rel="stylesheet" href="/src/ui-juice.css" />
+ <link rel="stylesheet" href="/src/agent-detail.css" />
+ <link rel="stylesheet" href="/src/pump/launch-token-modal.css" />
+ <style>
+ .ad-main.loading .ad-hero-avatar,
+ .ad-main.loading .ad-hero-body > *,
+ .ad-main.loading .ad-card .ad-row,
+ .ad-main.loading .ad-card .ad-balance,
+ .ad-main.loading .ad-card .ad-services,
+ .ad-main.loading .ad-card .ad-token-body,
+ .ad-main.loading .ad-card .ad-trust-pills,
+ .ad-main.loading .ad-card .ad-protocols,
+ .ad-main.loading .ad-card .ad-sub,
+ .ad-main.loading .ad-card .ad-cta-row {
+ visibility: hidden;
+ }
+
+ /* Shared B04 skeleton treatment — monochrome shimmer, tokens from
+ agent-detail.css :root mirror the canonical site values. */
+ .skeleton {
+ background-color: var(--skeleton-base);
+ background-image: linear-gradient(
+ 90deg,
+ var(--skeleton-base) 0%,
+ var(--skeleton-sheen) 50%,
+ var(--skeleton-base) 100%
+ );
+ background-size: 200% 100%;
+ border-radius: var(--skeleton-radius);
+ animation: skeleton-shimmer 1.4s ease-in-out infinite;
+ }
+
+ @keyframes skeleton-shimmer {
+ 0% {
+ background-position: 200% 0;
+ }
+ 100% {
+ background-position: -200% 0;
+ }
+ }
+
+ .ad-main.loading .ad-hero-avatar {
+ visibility: visible; /* Keep the container visible */
+ background-color: var(--skeleton-base);
+ background-image: linear-gradient(
+ 90deg,
+ var(--skeleton-base) 0%,
+ var(--skeleton-sheen) 50%,
+ var(--skeleton-base) 100%
+ );
+ background-size: 200% 100%;
+ animation: skeleton-shimmer 1.4s ease-in-out infinite;
+ border-radius: 50%;
+ width: 120px;
+ height: 120px;
+ }
+
+ @media (prefers-reduced-motion: reduce) {
+ .skeleton,
+ .ad-main.loading .ad-hero-avatar {
+ animation: none;
+ }
+ }
+ .ad-main.loading #ad-name-skeleton {
+ display: block;
+ }
+ .ad-main.loading #ad-meta-skeleton {
+ display: block;
+ }
+ .ad-main.loading #ad-desc-skeleton {
+ display: block;
+ }
+
+ .ad-main.loading .ad-card .skeleton-row {
+ display: flex;
+ justify-content: space-between;
+ margin-bottom: 0.5rem;
+ }
+
+ .ad-main.loading .ad-card .skeleton-text {
+ height: 1em;
+ width: 70%;
+ }
+ .ad-main.loading .ad-card .skeleton-text-short {
+ width: 30%;
+ }
+
+ /* Trading record card */
+ .ad-pill { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; vertical-align: middle; margin-left: 8px; }
+ .ad-pill-sim { background: rgba(255,190,0,.15); color: #fbbe00; border: 1px solid rgba(255,190,0,.25); }
+ .ad-trade-winrate-wrap { display: inline-flex; align-items: center; gap: 8px; }
+ .ad-trade-ring { display: inline-flex; }
+ .ad-trade-spark { margin: 2px 0 6px; padding: 8px 10px; border-radius: 8px; background: var(--surface2, rgba(255,255,255,.04)); }
+ .ad-trade-spark-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: var(--ink-dim, #888); margin-bottom: 4px; }
+ .ad-trade-spark-net { font-weight: 700; font-variant-numeric: tabular-nums; }
+ .ad-trade-spark-net.positive { color: #22d160; }
+ .ad-trade-spark-net.negative { color: #ff4545; }
+ .ad-trade-history { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
+ .ad-trade-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--surface2, rgba(255,255,255,.04)); font-size: 13px; line-height: 1.3; }
+ .ad-trade-outcome { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
+ .ad-trade-outcome.win { background: #22d160; }
+ .ad-trade-outcome.loss { background: #ff4545; }
+ .ad-trade-outcome.flat { background: #888; }
+ .ad-trade-outcome.open { background: #fbbe00; }
+ .ad-trade-symbol { font-weight: 700; flex-shrink: 0; min-width: 54px; }
+ .ad-trade-tier { font-size: 11px; color: var(--ink-dim, #888); flex-shrink: 0; }
+ .ad-trade-peak { margin-left: auto; font-weight: 700; font-size: 12px; }
+ .ad-trade-pnl { font-size: 12px; color: var(--ink-dim, #888); min-width: 64px; text-align: right; }
+ .ad-trade-pnl.positive { color: #22d160; }
+ .ad-trade-pnl.negative { color: #ff4545; }
+
+ /* Walk-with-this-agent preview card. Token-styled: reuses the page's
+ surface/border variables so it reads as one of the agent cards. */
+ .ad-walk-card .ad-preview-hint { margin-left: auto; font-size: 11px; color: var(--ink-dim, #888); }
+ /* The card tiles inside the masonry grid, so its width is set by the
+ column — not the viewport. Make it a query container so the body
+ below can stack on the card's own width instead of guessing from the
+ screen size (which left the copy column at ~80px, one word per line). */
+ .ad-walk-card { container-type: inline-size; }
+ /* Two-column body: avatar stage left, supporting copy + CTA fill the
+ right so the card reads as one composed unit instead of a small frame
+ marooned in empty space. */
+ .ad-walk-body {
+ display: grid;
+ grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
+ gap: 22px;
+ align-items: stretch;
+ margin-top: 12px;
+ }
+ /* No frame: the embed runs on a transparent background with the ground
+ disc hidden, so the avatar + joystick float directly on the card.
+ The stage is just a transparent, aspect-locked positioning box. */
+ .ad-walk-stage {
+ position: relative;
+ width: 100%;
+ aspect-ratio: 3 / 4;
+ background: transparent;
+ border: 0;
+ }
+ .ad-walk-info {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ gap: 14px;
+ min-width: 0;
+ }
+ .ad-walk-lead {
+ margin: 0;
+ font-size: 14px;
+ line-height: 1.6;
+ color: var(--ink-dim, #b7b7b7);
+ max-width: 42ch;
+ }
+ .ad-walk-tips {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ }
+ .ad-walk-tips li {
+ display: flex;
+ align-items: center;
+ gap: 9px;
+ font-size: 13px;
+ color: var(--ink-dim, #9a9a9a);
+ }
+ .ad-walk-tips svg {
+ width: 15px;
+ height: 15px;
+ flex-shrink: 0;
+ color: rgba(124, 92, 255, 0.85);
+ }
+ /* Stack when the card itself (not the screen) is too narrow for a
+ readable two-up split — covers narrow grid columns and small
+ viewports alike. */
+ @container (max-width: 520px) {
+ .ad-walk-body { grid-template-columns: 1fr; }
+ .ad-walk-stage { max-width: 300px; margin: 0 auto; }
+ .ad-walk-info { text-align: center; align-items: center; }
+ .ad-walk-lead { max-width: none; }
+ }
+ .ad-walk-frame {
+ position: absolute;
+ inset: 0;
+ width: 100%;
+ height: 100%;
+ border: 0;
+ display: block;
+ /* This page renders with `color-scheme: dark`, which Chromium
+ propagates into child iframes and paints their otherwise-
+ transparent backdrop opaque — turning the floating avatar into a
+ white box. Forcing the frame's own scheme to `light` keeps the
+ embed's transparent background showing the card through. */
+ color-scheme: light;
+ background: transparent;
+ transition: opacity 0.4s ease;
+ }
+ .ad-walk-skeleton {
+ position: absolute;
+ inset: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ gap: 14px;
+ pointer-events: none;
+ transition: opacity 0.3s ease;
+ }
+ .ad-walk-skeleton.is-hidden { opacity: 0; }
+ .ad-walk-skeleton-pulse {
+ width: 56px;
+ height: 56px;
+ border-radius: 50%;
+ background: rgba(124, 92, 255, 0.18);
+ box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.4);
+ animation: ad-walk-pulse 1.6s ease-out infinite;
+ }
+ .ad-walk-skeleton-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim, #999); }
+ @keyframes ad-walk-pulse {
+ 0% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.45); }
+ 70% { box-shadow: 0 0 0 18px rgba(124, 92, 255, 0); }
+ 100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0); }
+ }
+ @media (prefers-reduced-motion: reduce) {
+ .ad-walk-skeleton-pulse { animation: none; }
+ .ad-walk-frame { transition: none; }
+ }
+ .ad-walk-error {
+ position: absolute;
+ inset: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ gap: 12px;
+ padding: 16px;
+ text-align: center;
+ }
+ .ad-walk-error[hidden] { display: none; }
+ .ad-walk-error-msg { font-size: 13px; color: var(--ink-dim, #aaa); max-width: 200px; }
+ .ad-walk-expand { margin-top: 4px; align-self: flex-start; }
+ @media (max-width: 640px) {
+ .ad-walk-expand { align-self: stretch; justify-content: center; }
+ }
+ .ad-platform-bar { display:flex; align-items:center; gap:14px; margin-top:10px; padding:8px 0; border-top:1px solid rgba(255,255,255,.07); flex-wrap:wrap; }
+ .ad-platform-kicker { display:inline-flex; align-items:center; font-size:9.5px; font-weight:700; text-transform:uppercase; letter-spacing:.09em; color:var(--text-3,#777); padding-right:14px; border-right:1px solid rgba(255,255,255,.09); white-space:nowrap; }
+ @media (max-width:520px) { .ad-platform-kicker { flex-basis:100%; padding-right:0; border-right:0; margin-bottom:2px; } }
+ .ad-platform-stat { display:flex; flex-direction:column; gap:1px; }
+ .ad-platform-stat-val { font-size:13px; font-weight:700; color:var(--text,#f4f4f5); letter-spacing:-0.01em; }
+ .ad-platform-stat-val.positive { color:#34d399; }
+ .ad-platform-stat-lbl { font-size:9.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--text-3,#666); }
+ .ad-platform-dot { display:inline-block; width:5px; height:5px; border-radius:50%; background:#34d399; margin-right:4px; vertical-align:middle; animation:ad-plat-blink 2s ease-out infinite; }
+ @keyframes ad-plat-blink { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.5)} 70%{box-shadow:0 0 0 4px transparent} 100%{box-shadow:0 0 0 0 transparent} }
+ </style>
+ <link rel="stylesheet" href="/nav.css" />
+ <link rel="stylesheet" href="/footer.css" />
+ <script defer src="/footer-newsletter.js"></script>
+ <script>
+ // Optimistic auth probe so the reviews widget can prompt sign-in on
+ // submit instead of firing a csrf/POST round-trip the server would
+ // only 401. /api/auth/me answers 200 with { user: null } for guests,
+ // so this adds no console noise. Authoritative answer dispatched via
+ // the three-ws:auth-resolved event for any late listeners.
+ window.__authed = null;
+ fetch('/api/auth/me', { credentials: 'include' })
+ .then((r) => (r.ok ? r.json() : null))
+ .then((data) => {
+ window.__authed = !!(data && data.user);
+ document.dispatchEvent(
+ new CustomEvent('three-ws:auth-resolved', {
+ detail: { authed: window.__authed, user: data?.user || null },
+ }),
+ );
+ })
+ .catch(() => {
+ window.__authed = false;
+ document.dispatchEvent(
+ new CustomEvent('three-ws:auth-resolved', {
+ detail: { authed: false, user: null },
+ }),
+ );
+ });
+ </script>
+ </head>
+ <body>
+ <div id="nav-container"></div>
+ <script src="/nav.js"></script>
+
+ <div class="ad-shell">
+ <aside class="ad-sidebar">
+ <div class="ad-brand">three.ws</div>
+ <nav class="ad-nav">
+ <a href="/">Home</a>
+ <a class="active" href="/marketplace"
+ >Agents <span class="ad-beta">BETA</span></a
+ >
+ <a href="/discover">Discover</a>
+ <a href="/create">Create</a>
+ <a href="/docs">Docs</a>
+ </nav>
+ <div class="ad-side-foot">
+ <a href="https://x.com/trythreews" target="_blank" rel="noopener">X</a>
+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener"
+ >GitHub</a
+ >
+ </div>
+ </aside>
+
+ <main class="ad-main loading">
+ <div class="ad-topbar">
+ <input class="ad-search" placeholder="Search agents…" />
+ <div class="ad-actions">
+ <a class="ad-btn" href="/create">Create Agent</a>
+ <button id="connect-wallet-btn" class="ad-btn ad-btn-primary">
+ Connect Wallet
+ </button>
+ </div>
+ </div>
+
+ <div class="ad-back-row">
+ <a class="ad-back" href="/agents">← Back to Registry</a>
+ <span style="display: inline-flex; align-items: center; gap: 12px">
+ <a
+ class="ad-back"
+ id="ad-layout-switch"
+ href="/agents"
+ style="margin: 22px 0 8px"
+ title="This is the classic profile layout — switch back to the redesigned page"
+ >Switch to the new layout →</a
+ >
+ <div id="view-switch-slot"></div>
+ </span>
+ </div>
+ <script>
+ // Classic layout is served at /agents/:id/classic — point the switch
+ // link back at the canonical (redesigned) profile for the same agent.
+ (function () {
+ var m = location.pathname.match(/\/agents\/([^/]+)\/classic\/?$/);
+ var id = m ? m[1] : new URLSearchParams(location.search).get('id');
+ var a = document.getElementById('ad-layout-switch');
+ if (a && id) a.href = '/agents/' + encodeURIComponent(id);
+ })();
+ </script>
+
+ <section class="ad-hero">
+ <div class="ad-hero-glow" id="ad-hero-glow" aria-hidden="true"></div>
+ <button class="ad-hero-share-float" id="ad-hero-share-float" aria-label="Share this agent" title="Share">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg>
+ </button>
+ <div class="ad-hero-avatar-wrap" id="ad-avatar-wrap" role="button" aria-label="View full 3D model" tabindex="0">
+ <div id="ad-avatar-3d" class="ad-hero-avatar" role="img" aria-label="Agent 3D avatar"></div>
+ <img class="ad-hero-avatar" id="ad-avatar" alt="" style="display:none" />
+ <div class="ad-hero-avatar-overlay" aria-hidden="true">
+ <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"/></svg>
+ </div>
+ </div>
+ <div class="ad-hero-body">
+ <div class="ad-hero-title">
+ <h1 id="ad-name"></h1>
+ <div
+ id="ad-name-skeleton"
+ class="skeleton"
+ style="width: 200px; height: 36px; display: none"
+ ></div>
+ <span class="ad-status" id="ad-status">Active</span>
+ </div>
+ <div class="ad-hero-meta">
+ <span id="ad-id-short" class="ad-mono"></span>
+ <button
+ class="ad-copy"
+ data-copy-target="ad-id-short"
+ aria-label="Copy"
+ >
+ ⧉
+ </button>
+ <span class="ad-dot">·</span>
+ <span id="ad-asset-kind">Core Asset</span>
+ </div>
+ <div class="ad-market-meta" id="ad-market-meta" hidden>
+ <button
+ type="button"
+ id="d-author"
+ class="ad-author-btn"
+ aria-label="View creator profile"
+ >
+ —
+ </button>
+ <span class="ad-dot">·</span>
+ <span id="ad-published"></span>
+ <span id="ad-category" class="ad-cat-pill"></span>
+ <span id="ad-views" class="ad-stat-pill"></span>
+ <span id="ad-forks-pill" class="ad-stat-pill" hidden></span>
+ </div>
+ <div
+ id="ad-meta-skeleton"
+ class="skeleton"
+ style="width: 150px; height: 16px; margin-top: 8px; display: none"
+ ></div>
+ <p class="ad-hero-desc" id="ad-desc"></p>
+ <div
+ id="ad-desc-skeleton"
+ class="skeleton"
+ style="width: 80%; height: 48px; margin-top: 8px; display: none"
+ ></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 class="ad-platform-bar" id="ad-platform-bar" hidden aria-label="three.ws network activity across all agents">
+ <span class="ad-platform-kicker">Across three.ws</span>
+ <div class="ad-platform-stat">
+ <span class="ad-platform-stat-val" id="adp-agents">—</span>
+ <span class="ad-platform-stat-lbl"><span class="ad-platform-dot" aria-hidden="true"></span>Agents live</span>
+ </div>
+ <div class="ad-platform-stat">
+ <span class="ad-platform-stat-val positive" id="adp-winrate">—</span>
+ <span class="ad-platform-stat-lbl">Platform win rate</span>
+ </div>
+ <div class="ad-platform-stat">
+ <span class="ad-platform-stat-val" id="adp-wins">—</span>
+ <span class="ad-platform-stat-lbl">Oracle wins</span>
+ </div>
+ <div class="ad-platform-stat">
+ <span class="ad-platform-stat-val" id="adp-scored">—</span>
+ <span class="ad-platform-stat-lbl">Scored today</span>
+ </div>
+ </div>
+ <div id="ad-owner-bar" class="ad-owner-bar" hidden></div>
+ <div class="ad-hero-actions">
+ <a
+ id="ad-see-3d"
+ class="ad-btn ad-btn-primary"
+ href="/play"
+ aria-label="See this agent's 3D avatar in the three.ws world"
+ >
+ <svg
+ width="14"
+ height="14"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ style="margin-right: 6px"
+ >
+ <path
+ d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
+ />
+ <polyline points="3.27 6.96 12 12.01 20.73 6.96" />
+ <line x1="12" y1="22.08" x2="12" y2="12" />
+ </svg>
+ See in 3D
+ </a>
+ <a
+ id="ad-walk-link"
+ class="ad-btn ad-btn-primary"
+ href="/walk/app"
+ aria-label="Walk with this agent — drive its avatar around in real time"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
+ <circle cx="13" cy="4" r="2" />
+ <path d="M7 21l3-6 2-3" />
+ <path d="M10 12l-1-4 4 1 2 3 3 1" />
+ <path d="M9 8l-2 1-2 4" />
+ </svg>
+ Walk with this agent
+ </a>
+ <a
+ id="ad-watch-live"
+ class="ad-btn"
+ href="/agents-live"
+ aria-label="Watch this agent's live screen and avatar cam"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
+ <rect x="2" y="3" width="20" height="14" rx="2" />
+ <path d="M8 21h8M12 17v4" />
+ </svg>
+ Watch live
+ </a>
+ <a
+ id="ad-irl-link"
+ class="ad-btn"
+ href="/irl"
+ aria-label="View this agent in IRL — place it in your real space"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
+ <circle cx="12" cy="8" r="4" />
+ <path d="M4 20c0-4 3.6-7 8-7s8 3 8 7" />
+ </svg>
+ View in IRL
+ </a>
+ <a
+ id="ad-xr-link"
+ class="ad-btn"
+ href="/xr"
+ aria-label="View this agent in XR — immersive AR/VR"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
+ <path d="M3 7l9-4 9 4v10l-9 4-9-4V7z" />
+ <path d="M12 3v18M3 7l9 4 9-4" />
+ </svg>
+ View in XR
+ </a>
+ <button
+ type="button"
+ id="ad-share-btn"
+ class="ad-btn"
+ aria-label="Share this agent"
+ style="display: none"
+ >
+ <svg
+ width="14"
+ height="14"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ style="margin-right: 6px"
+ >
+ <circle cx="18" cy="5" r="3" />
+ <circle cx="6" cy="12" r="3" />
+ <circle cx="18" cy="19" r="3" />
+ <line x1="8.59" y1="13.51" x2="15.42" y2="17.49" />
+ <line x1="15.41" y1="6.51" x2="8.59" y2="10.49" />
+ </svg>
+ Share
+ </button>
+ <span class="ad-market-actions" id="ad-market-actions" hidden>
+ <button type="button" id="ad-fork" class="ad-btn ad-btn-primary">
+ ⑂ Fork &amp; Chat
+ </button>
+ <button
+ type="button"
+ id="ad-bookmark"
+ class="ad-btn"
+ aria-pressed="false"
+ >
+ ☆ Save
+ </button>
+ <button type="button" id="ad-export-json" class="ad-btn">
+ ↓ Export JSON
+ </button>
+ </span>
+ </div>
+ </div>
+ </section>
+
+ <div class="ad-cards">
+
+ <!-- Achievements — earned badges + in-progress ladder, computed from
+ real launches, graduations, market caps, supporters, burns,
+ reputation, and tenure. Hidden for visitors on a blank profile;
+ always shown to the owner (with an encouraging empty state). -->
+ <section class="ad-card" id="ad-achievements-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>ACHIEVEMENTS</h2>
+ <span class="ad-preview-hint">Earned on three.ws</span>
+ </div>
+ <div id="ad-achievements-body"></div>
+ </section>
+
+ <section class="ad-card ad-walk-card" id="ad-walk-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-violet"></span>
+ <h2>WALK WITH THIS AGENT</h2>
+ <span class="ad-preview-hint">Drive its avatar in real time</span>
+ </div>
+ <div class="ad-walk-body">
+ <div class="ad-walk-stage" id="ad-walk-stage">
+ <div class="ad-walk-skeleton" id="ad-walk-skeleton" aria-hidden="true">
+ <span class="ad-walk-skeleton-pulse"></span>
+ <span class="ad-walk-skeleton-label">Loading avatar…</span>
+ </div>
+ <iframe
+ id="ad-walk-frame"
+ class="ad-walk-frame"
+ title="Walking 3D avatar preview"
+ loading="lazy"
+ allow="accelerometer; gyroscope; xr-spatial-tracking"
+ style="opacity: 0"
+ ></iframe>
+ <div class="ad-walk-error" id="ad-walk-error" hidden>
+ <span class="ad-walk-error-msg">Couldn’t load the walking preview.</span>
+ <button type="button" class="ad-btn" id="ad-walk-retry">Retry</button>
+ </div>
+ </div>
+ <div class="ad-walk-info">
+ <p class="ad-walk-lead">This agent has a live, embodied avatar. Drag to look around the studio, then take the controls and walk it in real time.</p>
+ <ul class="ad-walk-tips">
+ <li>
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9" /><path d="M12 7v5l3 3" /></svg>
+ Walks an idle wander until you take over
+ </li>
+ <li>
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 9l-3 3 3 3" /><path d="M9 5l3-3 3 3" /><path d="M15 19l-3 3-3-3" /><path d="M19 9l3 3-3 3" /><path d="M2 12h20" /><path d="M12 2v20" /></svg>
+ Drag to orbit, joystick to drive
+ </li>
+ <li>
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 3h6v6" /><path d="M10 14L21 3" /><path d="M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5" /></svg>
+ Open the full walk for the whole world
+ </li>
+ </ul>
+ <a
+ class="ad-btn ad-btn-primary ad-walk-expand"
+ id="ad-walk-expand"
+ href="/walk/app"
+ aria-label="Open the full walk experience with this agent"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
+ <path d="M15 3h6v6" />
+ <path d="M10 14L21 3" />
+ <path d="M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5" />
+ </svg>
+ Open full walk
+ </a>
+ </div>
+ </div>
+ </section>
+
+ <section class="ad-card ad-sale-card" id="ad-sale-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-green"></span>
+ <h2>OWNERSHIP</h2>
+ </div>
+ <div id="ad-sale-panel"></div>
+ </section>
+
+ <section class="ad-card ad-preview-card" id="ad-preview-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-green"></span>
+ <h2>TRY IT NOW</h2>
+ <span class="ad-preview-hint">Send a message — no fork required</span>
+ </div>
+ <div class="ad-preview-thread" id="d-preview-thread" aria-live="polite"></div>
+ <form class="ad-preview-form" id="d-preview-form" autocomplete="off">
+ <input
+ type="text"
+ id="d-preview-input"
+ class="ad-preview-input"
+ placeholder="Ask this agent anything…"
+ maxlength="2000"
+ required
+ />
+ <button type="submit" class="ad-btn ad-btn-primary" id="d-preview-send">
+ Send
+ </button>
+ </form>
+ <div class="ad-preview-footer" id="d-preview-footer"></div>
+ <div id="d-preview-stream" hidden style="margin-top:12px"></div>
+ </section>
+
+ <section class="ad-card ad-pricing-card" id="ad-pricing-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>SKILLS &amp; PRICING</h2>
+ </div>
+ <div class="ad-pricing-summary" id="ad-pricing-summary" hidden></div>
+ <div id="ad-pricing-body"></div>
+ <div id="ad-pricing-library" hidden></div>
+ </section>
+
+ <section class="ad-card ad-tiers-card" id="ad-tiers-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-violet"></span>
+ <h2>SUBSCRIPTION TIERS</h2>
+ </div>
+ <p class="ad-tiers-sub" id="ad-tiers-sub" hidden></p>
+ <div class="ad-tiers-body" id="ad-tiers-body"></div>
+ </section>
+
+ <section class="ad-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>SERVICES</h2>
+ <span class="ad-pill ad-pill-muted" id="ad-svc-count">0 configured</span>
+ </div>
+ <div class="ad-services" id="ad-services"></div>
+ </section>
+
+ <section class="ad-card" id="ad-trading-card-section" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>TRADING CARD</h2>
+ <span class="ad-card-link" id="ad-trading-card-share" role="button" tabindex="0"
+ style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);cursor:pointer">Share card →</span>
+ </div>
+ <div id="ad-trading-card-mount"></div>
+ </section>
+
+ <section class="ad-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>AGENT HOLDINGS</h2>
+ </div>
+ <div class="ad-row" id="ad-holdings-chip"></div>
+ <div class="ad-balance"><span id="ad-holdings-sol">0</span> SOL</div>
+ <div class="flex space-x-2 mt-4 justify-start" id="ad-holdings-actions"></div>
+ </section>
+
+ <section class="ad-card" id="ad-stream-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2 id="ad-stream-title">MONEY STREAM</h2>
+ <span id="ad-stream-sub" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888)">pay by the second</span>
+ </div>
+ <div id="ad-stream-mount"></div>
+ </section>
+
+ <section class="ad-card" id="ad-pulse-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>WALLET STORY</h2>
+ <a class="ad-card-link" href="/pulse" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">All activity →</a>
+ </div>
+ <div id="ad-pulse-feed"></div>
+ </section>
+
+ <section class="ad-card" id="ad-patronage-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>PATRONAGE</h2>
+ </div>
+ <div id="ad-patronage-panel"></div>
+ </section>
+
+ <section class="ad-card" id="ad-mirror-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>COPY TRADING</h2>
+ <a class="ad-card-link" href="/mirror" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">Discover leaders →</a>
+ </div>
+ <div id="ad-mirror-panel"></div>
+ </section>
+
+ <section class="ad-card" id="ad-strategy-objects-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>STRATEGIES</h2>
+ <a class="ad-card-link" href="/strategies" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">Strategy library →</a>
+ </div>
+ <div id="ad-strategy-panel"></div>
+ </section>
+
+ <section class="ad-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>AGENT TOKEN</h2>
+ </div>
+ <div id="ad-token-body" class="ad-muted">
+ No agent token linked for this agent yet.
+ </div>
+ </section>
+
+ <!-- 3D Creations — every GLB this agent minted as a tokenized NFT
+ (api/v1/tokenized/launches?agent_id=), with remix badges linking
+ into the /creations gallery lineage viewer. Hidden until
+ renderMintedCreations() confirms this agent has at least one mint. -->
+ <section class="ad-card" id="ad-creations-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>3D CREATIONS</h2>
+ </div>
+ <div id="ad-creations-body" class="ad-muted"></div>
+ </section>
+
+ <!-- Agent Genome — verifiable lineage (parents + children). Hidden
+ until renderLineage() confirms this agent has descent or offspring. -->
+ <section class="ad-card" id="ad-lineage-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-violet"></span>
+ <h2>LINEAGE</h2>
+ </div>
+ <div id="ad-lineage-body" class="ad-muted"></div>
+ </section>
+
+ <section class="ad-card" id="ad-rewards-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-green"></span>
+ <h2>CREATOR REWARDS</h2>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Lifetime rewards</span>
+ <span><b id="ad-rewards">0</b> SOL</span>
+ </div>
+ </section>
+
+ <section class="ad-card" id="ad-trading-card" style="display:none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>TRADING RECORD</h2>
+ <span class="ad-pill ad-pill-sim" id="ad-trade-mode-pill" hidden>SIM</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Win rate</span>
+ <span class="ad-trade-winrate-wrap"><span id="ad-trade-winring" class="ad-trade-ring" aria-hidden="true"></span><b id="ad-trade-winrate">—</b></span>
+ </div>
+ <div id="ad-trade-spark" class="ad-trade-spark" hidden></div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Wins / Losses</span>
+ <span id="ad-trade-wl">—</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Realized PnL</span>
+ <span id="ad-trade-pnl">—</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">ROI</span>
+ <span id="ad-trade-roi">—</span>
+ </div>
+ <div class="ad-sub" style="margin-top:12px">RECENT TRADES</div>
+ <div id="ad-trade-history" class="ad-trade-history"></div>
+ <a class="ad-cta" id="ad-trade-copy-link" href="#" hidden>Copy this trader →</a>
+ </section>
+
+ <section class="ad-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>TRUST &amp; SECURITY</h2>
+ </div>
+ <div class="ad-sub">TRUST MECHANISMS</div>
+ <div class="ad-trust-pills" id="ad-trust-mechs"></div>
+ <div class="ad-sub">PAYMENT PROTOCOL</div>
+ <div class="ad-trust-pills" id="ad-payment"></div>
+ </section>
+
+ <section class="ad-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-dim"></span>
+ <h2>REGISTRATIONS</h2>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Agent ID</span>
+ <span class="ad-mono" id="ad-agent-id"></span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Registry</span>
+ <span class="ad-trust-pills" id="ad-registries"></span>
+ </div>
+ <div class="ad-row ad-row-split" id="ad-sns-row" style="display: none">
+ <span class="ad-muted">SNS</span>
+ <span class="ad-mono" id="ad-sns"></span>
+ </div>
+ <div class="ad-row ad-row-split" id="ad-voice-row" style="display: none">
+ <span class="ad-muted">Voice</span>
+ <span id="ad-voice"></span>
+ </div>
+ </section>
+
+ <section class="ad-card" id="ad-reputation-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>REPUTATION</h2>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Average score</span>
+ <span class="ad-trade-winrate-wrap"><span id="ad-rep-ring" class="ad-trade-ring" aria-hidden="true"></span><b id="ad-rep-avg">—</b> / 5</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Feedback count</span>
+ <span id="ad-rep-count">0</span>
+ </div>
+ <div class="ad-row ad-row-split" id="ad-rep-stake-row" style="display: none">
+ <span class="ad-muted">Total stake</span>
+ <span id="ad-rep-stake"></span>
+ </div>
+ </section>
+
+ <section class="ad-card" id="ad-ledger-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>REASONING LEDGER</h2>
+ <span class="ad-pill ad-pill-muted" id="ad-ledger-verify">verifying…</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Track-record score</span>
+ <span><b id="ad-ledger-score">—</b> / 100</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Hit rate</span>
+ <span id="ad-ledger-hitrate">—</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Reconciled calls</span>
+ <span id="ad-ledger-sample">0</span>
+ </div>
+ <a class="ad-cta-row" id="ad-ledger-link" href="#" style="display:inline-flex;margin-top:10px;">Open the Reasoning Ledger →</a>
+ </section>
+
+ <section class="ad-card" id="ad-actions-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-green"></span>
+ <h2>RECENT ACTIONS</h2>
+ <span class="ad-pill ad-pill-muted" id="ad-actions-count">0</span>
+ </div>
+ <div id="ad-actions-list"></div>
+ </section>
+
+ <section class="ad-card" id="ad-memory-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>MEMORY</h2>
+ <span class="ad-pill ad-pill-muted" id="ad-memory-count">0</span>
+ </div>
+ <div id="ad-memory-list"></div>
+ </section>
+
+ <section class="ad-card" id="ad-strategy-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-dim"></span>
+ <h2>STRATEGY</h2>
+ </div>
+ <pre class="ad-raw" id="ad-strategy"></pre>
+ </section>
+
+ <section class="ad-card" id="ad-embed-policy-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-muted"></span>
+ <h2>EMBED POLICY</h2>
+ </div>
+ <div id="ad-embed-policy"></div>
+ </section>
+
+ <section class="ad-card" id="ad-reviews-card" aria-labelledby="ad-reviews-heading">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2 id="ad-reviews-heading">REVIEWS</h2>
+ <span
+ class="ad-pill ad-pill-muted"
+ id="ad-reviews-count"
+ aria-live="polite"
+ ></span>
+ </div>
+ <div id="ad-reviews-body" aria-live="polite">
+ <div class="ad-reviews-skeleton" aria-hidden="true">
+ <div class="ad-review-skel-row">
+ <div class="ad-review-skel-avatar skeleton"></div>
+ <div class="ad-review-skel-lines">
+ <div class="ad-review-skel-line short skeleton"></div>
+ <div class="ad-review-skel-line long skeleton"></div>
+ <div class="ad-review-skel-line med skeleton"></div>
+ </div>
+ </div>
+ <div class="ad-review-skel-row">
+ <div class="ad-review-skel-avatar skeleton"></div>
+ <div class="ad-review-skel-lines">
+ <div class="ad-review-skel-line short skeleton"></div>
+ <div class="ad-review-skel-line med skeleton"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <details class="ad-embed-disclosure">
+ <summary>Developers →</summary>
+ <section class="ad-card ad-embed-card" id="ad-embed-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-muted"></span>
+ <h2>EMBED THIS AGENT</h2>
+ </div>
+ <p class="ad-embed-lede">
+ Drop the agent anywhere — as a web component, iframe, or direct link.
+ </p>
+ <div class="ad-embed-section">
+ <div class="ad-embed-label">
+ <span>Web component</span
+ ><button class="ad-embed-copy" type="button" data-embed="wc">
+ Copy
+ </button>
+ </div>
+ <pre class="ad-embed-code" id="ad-embed-wc"></pre>
+ </div>
+ <div class="ad-embed-section">
+ <div class="ad-embed-label">
+ <span>Iframe</span
+ ><button class="ad-embed-copy" type="button" data-embed="iframe">
+ Copy
+ </button>
+ </div>
+ <pre class="ad-embed-code" id="ad-embed-iframe"></pre>
+ </div>
+ <div class="ad-embed-section">
+ <div class="ad-embed-label">
+ <span>Direct link</span
+ ><button class="ad-embed-copy" type="button" data-embed="link">
+ Copy
+ </button>
+ </div>
+ <pre class="ad-embed-code" id="ad-embed-link"></pre>
+ </div>
+ </section>
+ </details>
+
+ <section class="ad-card ad-versions-card" id="ad-versions-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-dim"></span>
+ <h2>VERSION HISTORY</h2>
+ </div>
+ <ul class="ad-versions" id="ad-versions-list"></ul>
+ </section>
+
+ <section class="ad-card ad-similar-card" id="ad-similar-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>SIMILAR AGENTS</h2>
+ </div>
+ <div class="ad-similar-grid" id="ad-similar-grid"></div>
+ </section>
+
+ <details class="ad-card ad-collapse">
+ <summary>
+ <span class="ad-bullet ad-bullet-muted"></span>
+ <span class="ad-card-title">RAW METADATA</span>
+ </summary>
+ <pre class="ad-raw" id="ad-raw"></pre>
+ </details>
+
+ <section class="ad-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <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>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Services</span><span id="ad-svc-count2">0</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Supported Trust</span
+ ><span class="ad-trust-pills" id="ad-supported-trust"></span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Pay-per-call Support</span
+ ><span id="ad-x402">No</span>
+ </div>
+ <div class="ad-sub">PROTOCOLS</div>
+ <div class="ad-protocols" id="ad-protocols"></div>
+ <div class="ad-cta-row">
+ <a class="ad-cta" id="ad-explorer" target="_blank" rel="noopener"
+ >View on Explorer ↗</a
+ >
+ <a class="ad-cta" id="ad-trade" target="_blank" rel="noopener"
+ >Trade on Magic Eden ↗</a
+ >
+ </div>
+ </section>
+
+ </div>
+
+ <footer class="ad-foot">
+ <span>© 2026 three.ws</span>
+ <span
+ ><a href="/legal/tos">Terms</a> · <a href="/legal/privacy">Privacy</a> ·
+ <a href="/content-policy">Content Policy</a></span
+ >
+ </footer>
+ </main>
+ </div>
+
+ <div
+ class="creator-modal-overlay"
+ id="creator-modal-overlay"
+ hidden
+ aria-modal="true"
+ role="dialog"
+ aria-labelledby="creator-modal-title"
+ >
+ <div class="creator-modal" role="document">
+ <button class="creator-modal-close" id="creator-modal-close" aria-label="Close">
+ ×
+ </button>
+ <header class="creator-modal-head">
+ <div class="creator-modal-avatar" id="creator-modal-avatar"></div>
+ <div class="creator-modal-meta">
+ <div class="creator-modal-eyebrow">Creator profile</div>
+ <h2 class="creator-modal-title" id="creator-modal-title">—</h2>
+ <div class="creator-modal-handle" id="creator-modal-handle"></div>
+ <div class="creator-modal-stats" id="creator-modal-stats"></div>
+ </div>
+ </header>
+ <div class="creator-modal-body">
+ <section>
+ <h3 class="creator-modal-sectiontitle">
+ Published agents <span id="creator-agents-count" class="muted"></span>
+ </h3>
+ <div class="creator-modal-grid" id="creator-agents-grid">
+ <div class="market-empty">Loading…</div>
+ </div>
+ </section>
+ <section>
+ <h3 class="creator-modal-sectiontitle">
+ Public avatars <span id="creator-avatars-count" class="muted"></span>
+ </h3>
+ <div class="creator-modal-grid" id="creator-avatars-grid">
+ <div class="market-empty">Loading…</div>
+ </div>
+ </section>
+ </div>
+ </div>
+ </div>
+
+ <!-- Fullscreen 3D viewer modal -->
+ <div class="ad-3d-modal hidden" id="ad-3d-modal" role="dialog" aria-modal="true" aria-label="Full-screen 3D viewer">
+ <div class="ad-3d-modal-inner">
+ <button class="ad-3d-modal-close" id="ad-3d-modal-close" aria-label="Close">✕</button>
+ <div id="ad-avatar-modal-3d" role="img" aria-label="Agent 3D avatar — fullscreen"></div>
+ <a
+ id="ad-3d-modal-world"
+ class="ad-3d-modal-world"
+ href="#"
+ hidden
+ aria-label="See this agent in the three.ws world"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><polyline points="3.27 6.96 12 12.01 20.73 6.96"/><line x1="12" y1="22.08" x2="12" y2="12"/></svg>
+ View in AR
+ </a>
+ </div>
+ </div>
+
+ <script type="module" src="/src/agent-detail.js"></script>
+ <script src="/brand.js" defer></script>
+ <div id="footer-container"></div>
+ <script src="/footer.js"></script>
+ </body>
+</html>
diff --git a/pages/agent-detail.html b/pages/agent-detail.html
index a30374ec1..0645abc1d 100644
--- a/pages/agent-detail.html
+++ b/pages/agent-detail.html
@@ -35,260 +35,8 @@
<link rel="stylesheet" href="/fonts/fonts.css" />
<link rel="stylesheet" href="/src/ui-juice.css" />
<link rel="stylesheet" href="/src/agent-detail.css" />
+ <link rel="stylesheet" href="/src/agent-detail-v2.css" />
<link rel="stylesheet" href="/src/pump/launch-token-modal.css" />
- <style>
- .ad-main.loading .ad-hero-avatar,
- .ad-main.loading .ad-hero-body > *,
- .ad-main.loading .ad-card .ad-row,
- .ad-main.loading .ad-card .ad-balance,
- .ad-main.loading .ad-card .ad-services,
- .ad-main.loading .ad-card .ad-token-body,
- .ad-main.loading .ad-card .ad-trust-pills,
- .ad-main.loading .ad-card .ad-protocols,
- .ad-main.loading .ad-card .ad-sub,
- .ad-main.loading .ad-card .ad-cta-row {
- visibility: hidden;
- }
-
- /* Shared B04 skeleton treatment — monochrome shimmer, tokens from
- agent-detail.css :root mirror the canonical site values. */
- .skeleton {
- background-color: var(--skeleton-base);
- background-image: linear-gradient(
- 90deg,
- var(--skeleton-base) 0%,
- var(--skeleton-sheen) 50%,
- var(--skeleton-base) 100%
- );
- background-size: 200% 100%;
- border-radius: var(--skeleton-radius);
- animation: skeleton-shimmer 1.4s ease-in-out infinite;
- }
-
- @keyframes skeleton-shimmer {
- 0% {
- background-position: 200% 0;
- }
- 100% {
- background-position: -200% 0;
- }
- }
-
- .ad-main.loading .ad-hero-avatar {
- visibility: visible; /* Keep the container visible */
- background-color: var(--skeleton-base);
- background-image: linear-gradient(
- 90deg,
- var(--skeleton-base) 0%,
- var(--skeleton-sheen) 50%,
- var(--skeleton-base) 100%
- );
- background-size: 200% 100%;
- animation: skeleton-shimmer 1.4s ease-in-out infinite;
- border-radius: 50%;
- width: 120px;
- height: 120px;
- }
-
- @media (prefers-reduced-motion: reduce) {
- .skeleton,
- .ad-main.loading .ad-hero-avatar {
- animation: none;
- }
- }
- .ad-main.loading #ad-name-skeleton {
- display: block;
- }
- .ad-main.loading #ad-meta-skeleton {
- display: block;
- }
- .ad-main.loading #ad-desc-skeleton {
- display: block;
- }
-
- .ad-main.loading .ad-card .skeleton-row {
- display: flex;
- justify-content: space-between;
- margin-bottom: 0.5rem;
- }
-
- .ad-main.loading .ad-card .skeleton-text {
- height: 1em;
- width: 70%;
- }
- .ad-main.loading .ad-card .skeleton-text-short {
- width: 30%;
- }
-
- /* Trading record card */
- .ad-pill { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; vertical-align: middle; margin-left: 8px; }
- .ad-pill-sim { background: rgba(255,190,0,.15); color: #fbbe00; border: 1px solid rgba(255,190,0,.25); }
- .ad-trade-winrate-wrap { display: inline-flex; align-items: center; gap: 8px; }
- .ad-trade-ring { display: inline-flex; }
- .ad-trade-spark { margin: 2px 0 6px; padding: 8px 10px; border-radius: 8px; background: var(--surface2, rgba(255,255,255,.04)); }
- .ad-trade-spark-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: var(--ink-dim, #888); margin-bottom: 4px; }
- .ad-trade-spark-net { font-weight: 700; font-variant-numeric: tabular-nums; }
- .ad-trade-spark-net.positive { color: #22d160; }
- .ad-trade-spark-net.negative { color: #ff4545; }
- .ad-trade-history { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
- .ad-trade-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--surface2, rgba(255,255,255,.04)); font-size: 13px; line-height: 1.3; }
- .ad-trade-outcome { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
- .ad-trade-outcome.win { background: #22d160; }
- .ad-trade-outcome.loss { background: #ff4545; }
- .ad-trade-outcome.flat { background: #888; }
- .ad-trade-outcome.open { background: #fbbe00; }
- .ad-trade-symbol { font-weight: 700; flex-shrink: 0; min-width: 54px; }
- .ad-trade-tier { font-size: 11px; color: var(--ink-dim, #888); flex-shrink: 0; }
- .ad-trade-peak { margin-left: auto; font-weight: 700; font-size: 12px; }
- .ad-trade-pnl { font-size: 12px; color: var(--ink-dim, #888); min-width: 64px; text-align: right; }
- .ad-trade-pnl.positive { color: #22d160; }
- .ad-trade-pnl.negative { color: #ff4545; }
-
- /* Walk-with-this-agent preview card. Token-styled: reuses the page's
- surface/border variables so it reads as one of the agent cards. */
- .ad-walk-card .ad-preview-hint { margin-left: auto; font-size: 11px; color: var(--ink-dim, #888); }
- /* The card tiles inside the masonry grid, so its width is set by the
- column — not the viewport. Make it a query container so the body
- below can stack on the card's own width instead of guessing from the
- screen size (which left the copy column at ~80px, one word per line). */
- .ad-walk-card { container-type: inline-size; }
- /* Two-column body: avatar stage left, supporting copy + CTA fill the
- right so the card reads as one composed unit instead of a small frame
- marooned in empty space. */
- .ad-walk-body {
- display: grid;
- grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
- gap: 22px;
- align-items: stretch;
- margin-top: 12px;
- }
- /* No frame: the embed runs on a transparent background with the ground
- disc hidden, so the avatar + joystick float directly on the card.
- The stage is just a transparent, aspect-locked positioning box. */
- .ad-walk-stage {
- position: relative;
- width: 100%;
- aspect-ratio: 3 / 4;
- background: transparent;
- border: 0;
- }
- .ad-walk-info {
- display: flex;
- flex-direction: column;
- justify-content: center;
- gap: 14px;
- min-width: 0;
- }
- .ad-walk-lead {
- margin: 0;
- font-size: 14px;
- line-height: 1.6;
- color: var(--ink-dim, #b7b7b7);
- max-width: 42ch;
- }
- .ad-walk-tips {
- margin: 0;
- padding: 0;
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .ad-walk-tips li {
- display: flex;
- align-items: center;
- gap: 9px;
- font-size: 13px;
- color: var(--ink-dim, #9a9a9a);
- }
- .ad-walk-tips svg {
- width: 15px;
- height: 15px;
- flex-shrink: 0;
- color: rgba(124, 92, 255, 0.85);
- }
- /* Stack when the card itself (not the screen) is too narrow for a
- readable two-up split — covers narrow grid columns and small
- viewports alike. */
- @container (max-width: 520px) {
- .ad-walk-body { grid-template-columns: 1fr; }
- .ad-walk-stage { max-width: 300px; margin: 0 auto; }
- .ad-walk-info { text-align: center; align-items: center; }
- .ad-walk-lead { max-width: none; }
- }
- .ad-walk-frame {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
- border: 0;
- display: block;
- /* This page renders with `color-scheme: dark`, which Chromium
- propagates into child iframes and paints their otherwise-
- transparent backdrop opaque — turning the floating avatar into a
- white box. Forcing the frame's own scheme to `light` keeps the
- embed's transparent background showing the card through. */
- color-scheme: light;
- background: transparent;
- transition: opacity 0.4s ease;
- }
- .ad-walk-skeleton {
- position: absolute;
- inset: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 14px;
- pointer-events: none;
- transition: opacity 0.3s ease;
- }
- .ad-walk-skeleton.is-hidden { opacity: 0; }
- .ad-walk-skeleton-pulse {
- width: 56px;
- height: 56px;
- border-radius: 50%;
- background: rgba(124, 92, 255, 0.18);
- box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.4);
- animation: ad-walk-pulse 1.6s ease-out infinite;
- }
- .ad-walk-skeleton-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim, #999); }
- @keyframes ad-walk-pulse {
- 0% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.45); }
- 70% { box-shadow: 0 0 0 18px rgba(124, 92, 255, 0); }
- 100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0); }
- }
- @media (prefers-reduced-motion: reduce) {
- .ad-walk-skeleton-pulse { animation: none; }
- .ad-walk-frame { transition: none; }
- }
- .ad-walk-error {
- position: absolute;
- inset: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 12px;
- padding: 16px;
- text-align: center;
- }
- .ad-walk-error[hidden] { display: none; }
- .ad-walk-error-msg { font-size: 13px; color: var(--ink-dim, #aaa); max-width: 200px; }
- .ad-walk-expand { margin-top: 4px; align-self: flex-start; }
- @media (max-width: 640px) {
- .ad-walk-expand { align-self: stretch; justify-content: center; }
- }
- .ad-platform-bar { display:flex; align-items:center; gap:14px; margin-top:10px; padding:8px 0; border-top:1px solid rgba(255,255,255,.07); flex-wrap:wrap; }
- .ad-platform-kicker { display:inline-flex; align-items:center; font-size:9.5px; font-weight:700; text-transform:uppercase; letter-spacing:.09em; color:var(--text-3,#777); padding-right:14px; border-right:1px solid rgba(255,255,255,.09); white-space:nowrap; }
- @media (max-width:520px) { .ad-platform-kicker { flex-basis:100%; padding-right:0; border-right:0; margin-bottom:2px; } }
- .ad-platform-stat { display:flex; flex-direction:column; gap:1px; }
- .ad-platform-stat-val { font-size:13px; font-weight:700; color:var(--text,#f4f4f5); letter-spacing:-0.01em; }
- .ad-platform-stat-val.positive { color:#34d399; }
- .ad-platform-stat-lbl { font-size:9.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--text-3,#666); }
- .ad-platform-dot { display:inline-block; width:5px; height:5px; border-radius:50%; background:#34d399; margin-right:4px; vertical-align:middle; animation:ad-plat-blink 2s ease-out infinite; }
- @keyframes ad-plat-blink { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.5)} 70%{box-shadow:0 0 0 4px transparent} 100%{box-shadow:0 0 0 0 transparent} }
- </style>
<link rel="stylesheet" href="/nav.css" />
<link rel="stylesheet" href="/footer.css" />
<script defer src="/footer-newsletter.js"></script>
@@ -323,763 +71,838 @@
<div id="nav-container"></div>
<script src="/nav.js"></script>
- <div class="ad-shell">
- <aside class="ad-sidebar">
- <div class="ad-brand">three.ws</div>
- <nav class="ad-nav">
- <a href="/">Home</a>
- <a class="active" href="/marketplace"
- >Agents <span class="ad-beta">BETA</span></a
- >
- <a href="/discover">Discover</a>
- <a href="/create">Create</a>
- <a href="/docs">Docs</a>
- </nav>
- <div class="ad-side-foot">
- <a href="https://x.com/trythreews" target="_blank" rel="noopener">X</a>
- <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener"
- >GitHub</a
- >
- </div>
- </aside>
-
- <main class="ad-main loading">
- <div class="ad-topbar">
- <input class="ad-search" placeholder="Search agents…" />
- <div class="ad-actions">
- <a class="ad-btn" href="/create">Create Agent</a>
- <button id="connect-wallet-btn" class="ad-btn ad-btn-primary">
- Connect Wallet
- </button>
- </div>
- </div>
-
- <div class="ad-back-row">
- <a class="ad-back" href="/agents">← Back to Registry</a>
+ <main class="ad-main adv2 loading">
+ <div class="adv2-wrap adv2-top">
+ <a class="ad-back" href="/agents">← Back to Registry</a>
+ <div class="adv2-top-right">
+ <a class="adv2-classic-link" id="adv2-classic-link" href="/agents" title="View this profile in the previous layout">Classic layout</a>
<div id="view-switch-slot"></div>
</div>
+ </div>
- <section class="ad-hero">
- <div class="ad-hero-glow" id="ad-hero-glow" aria-hidden="true"></div>
- <button class="ad-hero-share-float" id="ad-hero-share-float" aria-label="Share this agent" title="Share">
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg>
- </button>
- <div class="ad-hero-avatar-wrap" id="ad-avatar-wrap" role="button" aria-label="View full 3D model" tabindex="0">
- <div id="ad-avatar-3d" class="ad-hero-avatar" role="img" aria-label="Agent 3D avatar"></div>
- <img class="ad-hero-avatar" id="ad-avatar" alt="" style="display:none" />
- <div class="ad-hero-avatar-overlay" aria-hidden="true">
- <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"/></svg>
- </div>
+ <!-- ── Hero: identity + primary actions ─────────────────────────── -->
+ <section class="ad-hero adv2-hero adv2-wrap">
+ <div class="ad-hero-glow" id="ad-hero-glow" aria-hidden="true"></div>
+ <button class="ad-hero-share-float" id="ad-hero-share-float" aria-label="Share this agent" title="Share">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg>
+ </button>
+ <div class="ad-hero-avatar-wrap" id="ad-avatar-wrap" role="button" aria-label="View full 3D model" tabindex="0">
+ <div id="ad-avatar-3d" class="ad-hero-avatar" role="img" aria-label="Agent 3D avatar"></div>
+ <img class="ad-hero-avatar" id="ad-avatar" alt="" style="display:none" />
+ <div class="ad-hero-avatar-overlay" aria-hidden="true">
+ <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"/></svg>
</div>
- <div class="ad-hero-body">
- <div class="ad-hero-title">
- <h1 id="ad-name"></h1>
- <div
- id="ad-name-skeleton"
- class="skeleton"
- style="width: 200px; height: 36px; display: none"
- ></div>
- <span class="ad-status" id="ad-status">Active</span>
- </div>
- <div class="ad-hero-meta">
- <span id="ad-id-short" class="ad-mono"></span>
- <button
- class="ad-copy"
- data-copy-target="ad-id-short"
- aria-label="Copy"
- >
- ⧉
- </button>
- <span class="ad-dot">·</span>
- <span id="ad-asset-kind">Core Asset</span>
- </div>
- <div class="ad-market-meta" id="ad-market-meta" hidden>
- <button
- type="button"
- id="d-author"
- class="ad-author-btn"
- aria-label="View creator profile"
- >
- —
- </button>
- <span class="ad-dot">·</span>
- <span id="ad-published"></span>
- <span id="ad-category" class="ad-cat-pill"></span>
- <span id="ad-views" class="ad-stat-pill"></span>
- <span id="ad-forks-pill" class="ad-stat-pill" hidden></span>
- </div>
- <div
- id="ad-meta-skeleton"
- class="skeleton"
- style="width: 150px; height: 16px; margin-top: 8px; display: none"
- ></div>
- <p class="ad-hero-desc" id="ad-desc"></p>
+ </div>
+ <div class="ad-hero-body">
+ <div class="ad-hero-title">
+ <h1 id="ad-name"></h1>
<div
- id="ad-desc-skeleton"
+ id="ad-name-skeleton"
class="skeleton"
- style="width: 80%; height: 48px; margin-top: 8px; display: none"
+ style="width: 200px; height: 36px; display: none"
></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 class="ad-platform-bar" id="ad-platform-bar" hidden aria-label="three.ws network activity across all agents">
- <span class="ad-platform-kicker">Across three.ws</span>
- <div class="ad-platform-stat">
- <span class="ad-platform-stat-val" id="adp-agents">—</span>
- <span class="ad-platform-stat-lbl"><span class="ad-platform-dot" aria-hidden="true"></span>Agents live</span>
- </div>
- <div class="ad-platform-stat">
- <span class="ad-platform-stat-val positive" id="adp-winrate">—</span>
- <span class="ad-platform-stat-lbl">Platform win rate</span>
- </div>
- <div class="ad-platform-stat">
- <span class="ad-platform-stat-val" id="adp-wins">—</span>
- <span class="ad-platform-stat-lbl">Oracle wins</span>
- </div>
- <div class="ad-platform-stat">
- <span class="ad-platform-stat-val" id="adp-scored">—</span>
- <span class="ad-platform-stat-lbl">Scored today</span>
- </div>
- </div>
- <div id="ad-owner-bar" class="ad-owner-bar" hidden></div>
- <div class="ad-hero-actions">
- <a
- id="ad-see-3d"
- class="ad-btn ad-btn-primary"
- href="/play"
- aria-label="See this agent's 3D avatar in the three.ws world"
- >
- <svg
- width="14"
- height="14"
- viewBox="0 0 24 24"
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- stroke-linecap="round"
- stroke-linejoin="round"
- aria-hidden="true"
- style="margin-right: 6px"
- >
- <path
- d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
- />
- <polyline points="3.27 6.96 12 12.01 20.73 6.96" />
- <line x1="12" y1="22.08" x2="12" y2="12" />
- </svg>
- See in 3D
- </a>
- <a
- id="ad-walk-link"
- class="ad-btn ad-btn-primary"
- href="/walk/app"
- aria-label="Walk with this agent — drive its avatar around in real time"
- >
- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
- <circle cx="13" cy="4" r="2" />
- <path d="M7 21l3-6 2-3" />
- <path d="M10 12l-1-4 4 1 2 3 3 1" />
- <path d="M9 8l-2 1-2 4" />
- </svg>
- Walk with this agent
- </a>
- <a
- id="ad-watch-live"
- class="ad-btn"
- href="/agents-live"
- aria-label="Watch this agent's live screen and avatar cam"
- >
- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
- <rect x="2" y="3" width="20" height="14" rx="2" />
- <path d="M8 21h8M12 17v4" />
- </svg>
- Watch live
- </a>
- <a
- id="ad-irl-link"
- class="ad-btn"
- href="/irl"
- aria-label="View this agent in IRL — place it in your real space"
- >
- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
- <circle cx="12" cy="8" r="4" />
- <path d="M4 20c0-4 3.6-7 8-7s8 3 8 7" />
- </svg>
- View in IRL
- </a>
- <a
- id="ad-xr-link"
- class="ad-btn"
- href="/xr"
- aria-label="View this agent in XR — immersive AR/VR"
+ <span class="ad-status" id="ad-status">Active</span>
+ </div>
+ <div class="ad-hero-meta">
+ <span id="ad-id-short" class="ad-mono"></span>
+ <button
+ class="ad-copy"
+ data-copy-target="ad-id-short"
+ aria-label="Copy"
+ >
+ ⧉
+ </button>
+ <span class="ad-dot">·</span>
+ <span id="ad-asset-kind">Core Asset</span>
+ </div>
+ <div class="ad-market-meta" id="ad-market-meta" hidden>
+ <button
+ type="button"
+ id="d-author"
+ class="ad-author-btn"
+ aria-label="View creator profile"
+ >
+ —
+ </button>
+ <span class="ad-dot">·</span>
+ <span id="ad-published"></span>
+ <span id="ad-category" class="ad-cat-pill"></span>
+ <span id="ad-views" class="ad-stat-pill"></span>
+ <span id="ad-forks-pill" class="ad-stat-pill" hidden></span>
+ </div>
+ <div
+ id="ad-meta-skeleton"
+ class="skeleton"
+ style="width: 150px; height: 16px; margin-top: 8px; display: none"
+ ></div>
+ <p class="ad-hero-desc" id="ad-desc"></p>
+ <div
+ id="ad-desc-skeleton"
+ class="skeleton"
+ style="width: 80%; height: 48px; margin-top: 8px; display: none"
+ ></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">
+ <a
+ id="ad-walk-link"
+ class="ad-btn ad-btn-primary"
+ href="/walk/app"
+ aria-label="Walk with this agent — drive its avatar around in real time"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
+ <circle cx="13" cy="4" r="2" />
+ <path d="M7 21l3-6 2-3" />
+ <path d="M10 12l-1-4 4 1 2 3 3 1" />
+ <path d="M9 8l-2 1-2 4" />
+ </svg>
+ Walk with this agent
+ </a>
+ <a
+ id="ad-see-3d"
+ class="ad-btn"
+ href="/play"
+ aria-label="See this agent's 3D avatar in the three.ws world"
+ >
+ <svg
+ width="14"
+ height="14"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ style="margin-right: 6px"
>
- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
- <path d="M3 7l9-4 9 4v10l-9 4-9-4V7z" />
- <path d="M12 3v18M3 7l9 4 9-4" />
- </svg>
- View in XR
- </a>
+ <path
+ d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
+ />
+ <polyline points="3.27 6.96 12 12.01 20.73 6.96" />
+ <line x1="12" y1="22.08" x2="12" y2="12" />
+ </svg>
+ See in 3D
+ </a>
+ <span class="ad-market-actions" id="ad-market-actions" hidden>
+ <button type="button" id="ad-fork" class="ad-btn ad-btn-primary">
+ ⑂ Fork &amp; Chat
+ </button>
<button
type="button"
- id="ad-share-btn"
+ id="ad-bookmark"
class="ad-btn"
- aria-label="Share this agent"
- style="display: none"
+ aria-pressed="false"
>
- <svg
- width="14"
- height="14"
- viewBox="0 0 24 24"
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- stroke-linecap="round"
- stroke-linejoin="round"
- aria-hidden="true"
- style="margin-right: 6px"
- >
- <circle cx="18" cy="5" r="3" />
- <circle cx="6" cy="12" r="3" />
- <circle cx="18" cy="19" r="3" />
- <line x1="8.59" y1="13.51" x2="15.42" y2="17.49" />
- <line x1="15.41" y1="6.51" x2="8.59" y2="10.49" />
- </svg>
- Share
+ ☆ Save
</button>
- <span class="ad-market-actions" id="ad-market-actions" hidden>
- <button type="button" id="ad-fork" class="ad-btn ad-btn-primary">
- ⑂ Fork &amp; Chat
- </button>
+ <button type="button" id="ad-export-json" class="ad-btn">
+ ↓ Export JSON
+ </button>
+ </span>
+ <details class="adv2-more">
+ <summary class="ad-btn" aria-label="More ways to view this agent">
+ More
+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-left:6px"><polyline points="6 9 12 15 18 9"/></svg>
+ </summary>
+ <div class="adv2-more-menu" role="menu">
+ <a
+ id="ad-watch-live"
+ class="adv2-more-item"
+ href="/agents-live"
+ role="menuitem"
+ aria-label="Watch this agent's live screen and avatar cam"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
+ <rect x="2" y="3" width="20" height="14" rx="2" />
+ <path d="M8 21h8M12 17v4" />
+ </svg>
+ Watch live
+ </a>
+ <a
+ id="ad-irl-link"
+ class="adv2-more-item"
+ href="/irl"
+ role="menuitem"
+ aria-label="View this agent in IRL — place it in your real space"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
+ <circle cx="12" cy="8" r="4" />
+ <path d="M4 20c0-4 3.6-7 8-7s8 3 8 7" />
+ </svg>
+ View in IRL
+ </a>
+ <a
+ id="ad-xr-link"
+ class="adv2-more-item"
+ href="/xr"
+ role="menuitem"
+ aria-label="View this agent in XR — immersive AR/VR"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
+ <path d="M3 7l9-4 9 4v10l-9 4-9-4V7z" />
+ <path d="M12 3v18M3 7l9 4 9-4" />
+ </svg>
+ View in XR
+ </a>
<button
type="button"
- id="ad-bookmark"
- class="ad-btn"
- aria-pressed="false"
+ id="ad-share-btn"
+ class="adv2-more-item"
+ role="menuitem"
+ aria-label="Share this agent"
+ style="display: none"
>
- ☆ Save
+ <svg
+ width="14"
+ height="14"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ >
+ <circle cx="18" cy="5" r="3" />
+ <circle cx="6" cy="12" r="3" />
+ <circle cx="18" cy="19" r="3" />
+ <line x1="8.59" y1="13.51" x2="15.42" y2="17.49" />
+ <line x1="15.41" y1="6.51" x2="8.59" y2="10.49" />
+ </svg>
+ Share
</button>
- <button type="button" id="ad-export-json" class="ad-btn">
- ↓ Export JSON
- </button>
- </span>
- </div>
+ </div>
+ </details>
</div>
- </section>
-
- <div class="ad-cards">
+ </div>
+ </section>
- <!-- Achievements — earned badges + in-progress ladder, computed from
- real launches, graduations, market caps, supporters, burns,
- reputation, and tenure. Hidden for visitors on a blank profile;
- always shown to the owner (with an encouraging empty state). -->
- <section class="ad-card" id="ad-achievements-card">
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-amber"></span>
- <h2>ACHIEVEMENTS</h2>
- <span class="ad-preview-hint">Earned on three.ws</span>
+ <!-- ── Platform pulse strip ──────────────────────────────────────── -->
+ <div class="adv2-wrap">
+ <div class="ad-platform-bar" id="ad-platform-bar" hidden aria-label="three.ws network activity across all agents">
+ <span class="ad-platform-kicker">Across three.ws</span>
+ <div class="ad-platform-stat">
+ <span class="ad-platform-stat-val" id="adp-agents">—</span>
+ <span class="ad-platform-stat-lbl"><span class="ad-platform-dot" aria-hidden="true"></span>Agents live</span>
</div>
- <div id="ad-achievements-body"></div>
- </section>
-
- <section class="ad-card ad-walk-card" id="ad-walk-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-violet"></span>
- <h2>WALK WITH THIS AGENT</h2>
- <span class="ad-preview-hint">Drive its avatar in real time</span>
+ <div class="ad-platform-stat">
+ <span class="ad-platform-stat-val positive" id="adp-winrate">—</span>
+ <span class="ad-platform-stat-lbl">Platform win rate</span>
+ </div>
+ <div class="ad-platform-stat">
+ <span class="ad-platform-stat-val" id="adp-wins">—</span>
+ <span class="ad-platform-stat-lbl">Oracle wins</span>
+ </div>
+ <div class="ad-platform-stat">
+ <span class="ad-platform-stat-val" id="adp-scored">—</span>
+ <span class="ad-platform-stat-lbl">Scored today</span>
</div>
- <div class="ad-walk-body">
- <div class="ad-walk-stage" id="ad-walk-stage">
- <div class="ad-walk-skeleton" id="ad-walk-skeleton" aria-hidden="true">
- <span class="ad-walk-skeleton-pulse"></span>
- <span class="ad-walk-skeleton-label">Loading avatar…</span>
+ </div>
+ </div>
+
+ <!-- ── Sticky section navigation ─────────────────────────────────── -->
+ <nav class="adv2-tabs" id="adv2-tabs" aria-label="Profile sections">
+ <div class="adv2-wrap adv2-tabs-row">
+ <a href="#sec-overview" data-tab="sec-overview" class="adv2-tab is-active">Overview</a>
+ <a href="#sec-capabilities" data-tab="sec-capabilities" class="adv2-tab">Capabilities</a>
+ <a href="#sec-economy" data-tab="sec-economy" class="adv2-tab">Economy</a>
+ <a href="#sec-activity" data-tab="sec-activity" class="adv2-tab">Activity</a>
+ <a href="#sec-trust" data-tab="sec-trust" class="adv2-tab">Trust &amp; Identity</a>
+ <a href="#sec-reviews" data-tab="sec-reviews" class="adv2-tab">Reviews</a>
+ <a href="#sec-developers" data-tab="sec-developers" class="adv2-tab">Developers</a>
+ </div>
+ </nav>
+
+ <div class="adv2-wrap adv2-body">
+
+ <!-- ══ Overview — meet the agent, try it, walk it ═══════════════ -->
+ <section class="adv2-group" id="sec-overview">
+ <header class="adv2-group-head">
+ <h2>Overview</h2>
+ <p>Try the agent live and see what it has earned on the platform.</p>
+ </header>
+ <div class="adv2-grid">
+
+ <section class="ad-card ad-preview-card" id="ad-preview-card" data-span="2" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-green"></span>
+ <h2>TRY IT NOW</h2>
+ <span class="ad-preview-hint">Send a message — no fork required</span>
+ </div>
+ <div class="ad-preview-thread" id="d-preview-thread" aria-live="polite"></div>
+ <form class="ad-preview-form" id="d-preview-form" autocomplete="off">
+ <input
+ type="text"
+ id="d-preview-input"
+ class="ad-preview-input"
+ placeholder="Ask this agent anything…"
+ maxlength="2000"
+ required
+ />
+ <button type="submit" class="ad-btn ad-btn-primary" id="d-preview-send">
+ Send
+ </button>
+ </form>
+ <div class="ad-preview-footer" id="d-preview-footer"></div>
+ <div id="d-preview-stream" hidden style="margin-top:12px"></div>
+ </section>
+
+ <section class="ad-card ad-walk-card" id="ad-walk-card" data-span="2" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-violet"></span>
+ <h2>WALK WITH THIS AGENT</h2>
+ <span class="ad-preview-hint">Drive its avatar in real time</span>
+ </div>
+ <div class="ad-walk-body">
+ <div class="ad-walk-stage" id="ad-walk-stage">
+ <div class="ad-walk-skeleton" id="ad-walk-skeleton" aria-hidden="true">
+ <span class="ad-walk-skeleton-pulse"></span>
+ <span class="ad-walk-skeleton-label">Loading avatar…</span>
+ </div>
+ <iframe
+ id="ad-walk-frame"
+ class="ad-walk-frame"
+ title="Walking 3D avatar preview"
+ loading="lazy"
+ allow="accelerometer; gyroscope; xr-spatial-tracking"
+ style="opacity: 0"
+ ></iframe>
+ <div class="ad-walk-error" id="ad-walk-error" hidden>
+ <span class="ad-walk-error-msg">Couldn’t load the walking preview.</span>
+ <button type="button" class="ad-btn" id="ad-walk-retry">Retry</button>
+ </div>
</div>
- <iframe
- id="ad-walk-frame"
- class="ad-walk-frame"
- title="Walking 3D avatar preview"
- loading="lazy"
- allow="accelerometer; gyroscope; xr-spatial-tracking"
- style="opacity: 0"
- ></iframe>
- <div class="ad-walk-error" id="ad-walk-error" hidden>
- <span class="ad-walk-error-msg">Couldn’t load the walking preview.</span>
- <button type="button" class="ad-btn" id="ad-walk-retry">Retry</button>
+ <div class="ad-walk-info">
+ <p class="ad-walk-lead">This agent has a live, embodied avatar. Drag to look around the studio, then take the controls and walk it in real time.</p>
+ <ul class="ad-walk-tips">
+ <li>
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9" /><path d="M12 7v5l3 3" /></svg>
+ Walks an idle wander until you take over
+ </li>
+ <li>
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 9l-3 3 3 3" /><path d="M9 5l3-3 3 3" /><path d="M15 19l-3 3-3-3" /><path d="M19 9l3 3-3 3" /><path d="M2 12h20" /><path d="M12 2v20" /></svg>
+ Drag to orbit, joystick to drive
+ </li>
+ <li>
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 3h6v6" /><path d="M10 14L21 3" /><path d="M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5" /></svg>
+ Open the full walk for the whole world
+ </li>
+ </ul>
+ <a
+ class="ad-btn ad-btn-primary ad-walk-expand"
+ id="ad-walk-expand"
+ href="/walk/app"
+ aria-label="Open the full walk experience with this agent"
+ >
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
+ <path d="M15 3h6v6" />
+ <path d="M10 14L21 3" />
+ <path d="M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5" />
+ </svg>
+ Open full walk
+ </a>
</div>
</div>
- <div class="ad-walk-info">
- <p class="ad-walk-lead">This agent has a live, embodied avatar. Drag to look around the studio, then take the controls and walk it in real time.</p>
- <ul class="ad-walk-tips">
- <li>
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9" /><path d="M12 7v5l3 3" /></svg>
- Walks an idle wander until you take over
- </li>
- <li>
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 9l-3 3 3 3" /><path d="M9 5l3-3 3 3" /><path d="M15 19l-3 3-3-3" /><path d="M19 9l3 3-3 3" /><path d="M2 12h20" /><path d="M12 2v20" /></svg>
- Drag to orbit, joystick to drive
- </li>
- <li>
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 3h6v6" /><path d="M10 14L21 3" /><path d="M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5" /></svg>
- Open the full walk for the whole world
- </li>
- </ul>
- <a
- class="ad-btn ad-btn-primary ad-walk-expand"
- id="ad-walk-expand"
- href="/walk/app"
- aria-label="Open the full walk experience with this agent"
- >
- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-right: 6px">
- <path d="M15 3h6v6" />
- <path d="M10 14L21 3" />
- <path d="M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5" />
- </svg>
- Open full walk
- </a>
+ </section>
+
+ <!-- Achievements — earned badges + in-progress ladder, computed from
+ real launches, graduations, market caps, supporters, burns,
+ reputation, and tenure. Hidden for visitors on a blank profile;
+ always shown to the owner (with an encouraging empty state). -->
+ <section class="ad-card" id="ad-achievements-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>ACHIEVEMENTS</h2>
+ <span class="ad-preview-hint">Earned on three.ws</span>
</div>
- </div>
- </section>
+ <div id="ad-achievements-body"></div>
+ </section>
- <section class="ad-card ad-sale-card" id="ad-sale-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-green"></span>
- <h2>OWNERSHIP</h2>
- </div>
- <div id="ad-sale-panel"></div>
- </section>
+ <section class="ad-card ad-sale-card" id="ad-sale-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-green"></span>
+ <h2>OWNERSHIP</h2>
+ </div>
+ <div id="ad-sale-panel"></div>
+ </section>
- <section class="ad-card ad-preview-card" id="ad-preview-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-green"></span>
- <h2>TRY IT NOW</h2>
- <span class="ad-preview-hint">Send a message — no fork required</span>
</div>
- <div class="ad-preview-thread" id="d-preview-thread" aria-live="polite"></div>
- <form class="ad-preview-form" id="d-preview-form" autocomplete="off">
- <input
- type="text"
- id="d-preview-input"
- class="ad-preview-input"
- placeholder="Ask this agent anything…"
- maxlength="2000"
- required
- />
- <button type="submit" class="ad-btn ad-btn-primary" id="d-preview-send">
- Send
- </button>
- </form>
- <div class="ad-preview-footer" id="d-preview-footer"></div>
- <div id="d-preview-stream" hidden style="margin-top:12px"></div>
</section>
- <section class="ad-card ad-pricing-card" id="ad-pricing-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-amber"></span>
- <h2>SKILLS &amp; PRICING</h2>
- </div>
- <div class="ad-pricing-summary" id="ad-pricing-summary" hidden></div>
- <div id="ad-pricing-body"></div>
- <div id="ad-pricing-library" hidden></div>
- </section>
+ <!-- ══ Capabilities — what this agent can do, and for how much ══ -->
+ <section class="adv2-group" id="sec-capabilities">
+ <header class="adv2-group-head">
+ <h2>Capabilities</h2>
+ <p>Skills, pricing, and the service endpoints this agent exposes.</p>
+ </header>
+ <div class="adv2-grid">
- <section class="ad-card ad-tiers-card" id="ad-tiers-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-violet"></span>
- <h2>SUBSCRIPTION TIERS</h2>
- </div>
- <p class="ad-tiers-sub" id="ad-tiers-sub" hidden></p>
- <div class="ad-tiers-body" id="ad-tiers-body"></div>
- </section>
+ <section class="ad-card ad-pricing-card" id="ad-pricing-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>SKILLS &amp; PRICING</h2>
+ </div>
+ <div class="ad-pricing-summary" id="ad-pricing-summary" hidden></div>
+ <div id="ad-pricing-body"></div>
+ <div id="ad-pricing-library" hidden></div>
+ </section>
- <section class="ad-card">
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>SERVICES</h2>
- <span class="ad-pill ad-pill-muted" id="ad-svc-count">0 configured</span>
- </div>
- <div class="ad-services" id="ad-services"></div>
- </section>
+ <section class="ad-card ad-tiers-card" id="ad-tiers-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-violet"></span>
+ <h2>SUBSCRIPTION TIERS</h2>
+ </div>
+ <p class="ad-tiers-sub" id="ad-tiers-sub" hidden></p>
+ <div class="ad-tiers-body" id="ad-tiers-body"></div>
+ </section>
- <section class="ad-card" id="ad-trading-card-section" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>TRADING CARD</h2>
- <span class="ad-card-link" id="ad-trading-card-share" role="button" tabindex="0"
- style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);cursor:pointer">Share card →</span>
- </div>
- <div id="ad-trading-card-mount"></div>
- </section>
+ <section class="ad-card" id="ad-services-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>SERVICES</h2>
+ <span class="ad-pill ad-pill-muted" id="ad-svc-count">0 configured</span>
+ </div>
+ <div class="ad-services" id="ad-services"></div>
+ </section>
- <section class="ad-card">
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>AGENT HOLDINGS</h2>
</div>
- <div class="ad-row" id="ad-holdings-chip"></div>
- <div class="ad-balance"><span id="ad-holdings-sol">0</span> SOL</div>
- <div class="flex space-x-2 mt-4 justify-start" id="ad-holdings-actions"></div>
</section>
- <section class="ad-card" id="ad-stream-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2 id="ad-stream-title">MONEY STREAM</h2>
- <span id="ad-stream-sub" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888)">pay by the second</span>
- </div>
- <div id="ad-stream-mount"></div>
- </section>
+ <!-- ══ Economy — wallet, token, income, and trading ═════════════ -->
+ <section class="adv2-group" id="sec-economy">
+ <header class="adv2-group-head">
+ <h2>Economy</h2>
+ <p>The agent’s wallet, token, income streams, and trading record.</p>
+ </header>
+ <div class="adv2-grid">
- <section class="ad-card" id="ad-pulse-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>WALLET STORY</h2>
- <a class="ad-card-link" href="/pulse" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">All activity →</a>
- </div>
- <div id="ad-pulse-feed"></div>
- </section>
+ <section class="ad-card" id="ad-holdings-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>AGENT HOLDINGS</h2>
+ </div>
+ <div class="ad-row" id="ad-holdings-chip"></div>
+ <div class="ad-balance"><span id="ad-holdings-sol">0</span> SOL</div>
+ <div class="flex space-x-2 mt-4 justify-start" id="ad-holdings-actions"></div>
+ </section>
- <section class="ad-card" id="ad-patronage-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>PATRONAGE</h2>
- </div>
- <div id="ad-patronage-panel"></div>
- </section>
+ <section class="ad-card" id="ad-token-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>AGENT TOKEN</h2>
+ </div>
+ <div id="ad-token-body" class="ad-muted">
+ No agent token linked for this agent yet.
+ </div>
+ </section>
- <section class="ad-card" id="ad-mirror-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>COPY TRADING</h2>
- <a class="ad-card-link" href="/mirror" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">Discover leaders →</a>
- </div>
- <div id="ad-mirror-panel"></div>
- </section>
+ <section class="ad-card" id="ad-trading-card-section" data-span="2" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>TRADING CARD</h2>
+ <span class="ad-card-link" id="ad-trading-card-share" role="button" tabindex="0"
+ style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);cursor:pointer">Share card →</span>
+ </div>
+ <div id="ad-trading-card-mount"></div>
+ </section>
- <section class="ad-card" id="ad-strategy-objects-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>STRATEGIES</h2>
- <a class="ad-card-link" href="/strategies" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">Strategy library →</a>
- </div>
- <div id="ad-strategy-panel"></div>
- </section>
+ <section class="ad-card" id="ad-stream-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2 id="ad-stream-title">MONEY STREAM</h2>
+ <span id="ad-stream-sub" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888)">pay by the second</span>
+ </div>
+ <div id="ad-stream-mount"></div>
+ </section>
- <section class="ad-card">
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-amber"></span>
- <h2>AGENT TOKEN</h2>
- </div>
- <div id="ad-token-body" class="ad-muted">
- No agent token linked for this agent yet.
- </div>
- </section>
+ <section class="ad-card" id="ad-pulse-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>WALLET STORY</h2>
+ <a class="ad-card-link" href="/pulse" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">All activity →</a>
+ </div>
+ <div id="ad-pulse-feed"></div>
+ </section>
- <!-- 3D Creations — every GLB this agent minted as a tokenized NFT
- (api/v1/tokenized/launches?agent_id=), with remix badges linking
- into the /creations gallery lineage viewer. Hidden until
- renderMintedCreations() confirms this agent has at least one mint. -->
- <section class="ad-card" id="ad-creations-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>3D CREATIONS</h2>
- </div>
- <div id="ad-creations-body" class="ad-muted"></div>
- </section>
+ <section class="ad-card" id="ad-patronage-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>PATRONAGE</h2>
+ </div>
+ <div id="ad-patronage-panel"></div>
+ </section>
- <!-- Agent Genome — verifiable lineage (parents + children). Hidden
- until renderLineage() confirms this agent has descent or offspring. -->
- <section class="ad-card" id="ad-lineage-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-violet"></span>
- <h2>LINEAGE</h2>
- </div>
- <div id="ad-lineage-body" class="ad-muted"></div>
- </section>
+ <section class="ad-card" id="ad-mirror-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>COPY TRADING</h2>
+ <a class="ad-card-link" href="/mirror" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">Discover leaders →</a>
+ </div>
+ <div id="ad-mirror-panel"></div>
+ </section>
- <section class="ad-card" id="ad-rewards-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-green"></span>
- <h2>CREATOR REWARDS</h2>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Lifetime rewards</span>
- <span><b id="ad-rewards">0</b> SOL</span>
- </div>
- </section>
+ <section class="ad-card" id="ad-strategy-objects-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>STRATEGIES</h2>
+ <a class="ad-card-link" href="/strategies" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">Strategy library →</a>
+ </div>
+ <div id="ad-strategy-panel"></div>
+ </section>
- <section class="ad-card" id="ad-trading-card" style="display:none">
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-amber"></span>
- <h2>TRADING RECORD</h2>
- <span class="ad-pill ad-pill-sim" id="ad-trade-mode-pill" hidden>SIM</span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Win rate</span>
- <span class="ad-trade-winrate-wrap"><span id="ad-trade-winring" class="ad-trade-ring" aria-hidden="true"></span><b id="ad-trade-winrate">—</b></span>
- </div>
- <div id="ad-trade-spark" class="ad-trade-spark" hidden></div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Wins / Losses</span>
- <span id="ad-trade-wl">—</span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Realized PnL</span>
- <span id="ad-trade-pnl">—</span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">ROI</span>
- <span id="ad-trade-roi">—</span>
- </div>
- <div class="ad-sub" style="margin-top:12px">RECENT TRADES</div>
- <div id="ad-trade-history" class="ad-trade-history"></div>
- <a class="ad-cta" id="ad-trade-copy-link" href="#" hidden>Copy this trader →</a>
- </section>
+ <section class="ad-card" id="ad-rewards-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-green"></span>
+ <h2>CREATOR REWARDS</h2>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Lifetime rewards</span>
+ <span><b id="ad-rewards">0</b> SOL</span>
+ </div>
+ </section>
- <section class="ad-card">
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>TRUST &amp; SECURITY</h2>
- </div>
- <div class="ad-sub">TRUST MECHANISMS</div>
- <div class="ad-trust-pills" id="ad-trust-mechs"></div>
- <div class="ad-sub">PAYMENT PROTOCOL</div>
- <div class="ad-trust-pills" id="ad-payment"></div>
- </section>
+ <section class="ad-card" id="ad-trading-card" style="display:none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>TRADING RECORD</h2>
+ <span class="ad-pill ad-pill-sim" id="ad-trade-mode-pill" hidden>SIM</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Win rate</span>
+ <span class="ad-trade-winrate-wrap"><span id="ad-trade-winring" class="ad-trade-ring" aria-hidden="true"></span><b id="ad-trade-winrate">—</b></span>
+ </div>
+ <div id="ad-trade-spark" class="ad-trade-spark" hidden></div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Wins / Losses</span>
+ <span id="ad-trade-wl">—</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Realized PnL</span>
+ <span id="ad-trade-pnl">—</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">ROI</span>
+ <span id="ad-trade-roi">—</span>
+ </div>
+ <div class="ad-sub" style="margin-top:12px">RECENT TRADES</div>
+ <div id="ad-trade-history" class="ad-trade-history"></div>
+ <a class="ad-cta" id="ad-trade-copy-link" href="#" hidden>Copy this trader →</a>
+ </section>
- <section class="ad-card">
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-dim"></span>
- <h2>REGISTRATIONS</h2>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Agent ID</span>
- <span class="ad-mono" id="ad-agent-id"></span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Registry</span>
- <span class="ad-trust-pills" id="ad-registries"></span>
- </div>
- <div class="ad-row ad-row-split" id="ad-sns-row" style="display: none">
- <span class="ad-muted">SNS</span>
- <span class="ad-mono" id="ad-sns"></span>
- </div>
- <div class="ad-row ad-row-split" id="ad-voice-row" style="display: none">
- <span class="ad-muted">Voice</span>
- <span id="ad-voice"></span>
- </div>
- </section>
+ <!-- 3D Creations — every GLB this agent minted as a tokenized NFT
+ (api/v1/tokenized/launches?agent_id=), with remix badges linking
+ into the /creations gallery lineage viewer. Hidden until
+ renderMintedCreations() confirms this agent has at least one mint. -->
+ <section class="ad-card" id="ad-creations-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>3D CREATIONS</h2>
+ </div>
+ <div id="ad-creations-body" class="ad-muted"></div>
+ </section>
- <section class="ad-card" id="ad-reputation-card" style="display: none">
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-amber"></span>
- <h2>REPUTATION</h2>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Average score</span>
- <span class="ad-trade-winrate-wrap"><span id="ad-rep-ring" class="ad-trade-ring" aria-hidden="true"></span><b id="ad-rep-avg">—</b> / 5</span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Feedback count</span>
- <span id="ad-rep-count">0</span>
- </div>
- <div class="ad-row ad-row-split" id="ad-rep-stake-row" style="display: none">
- <span class="ad-muted">Total stake</span>
- <span id="ad-rep-stake"></span>
</div>
</section>
- <section class="ad-card" id="ad-ledger-card" style="display: none">
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>REASONING LEDGER</h2>
- <span class="ad-pill ad-pill-muted" id="ad-ledger-verify">verifying…</span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Track-record score</span>
- <span><b id="ad-ledger-score">—</b> / 100</span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Hit rate</span>
- <span id="ad-ledger-hitrate">—</span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Reconciled calls</span>
- <span id="ad-ledger-sample">0</span>
- </div>
- <a class="ad-cta-row" id="ad-ledger-link" href="#" style="display:inline-flex;margin-top:10px;">Open the Reasoning Ledger →</a>
- </section>
+ <!-- ══ Activity — what the agent has been doing (owner-rich) ════ -->
+ <section class="adv2-group" id="sec-activity">
+ <header class="adv2-group-head">
+ <h2>Activity</h2>
+ <p>Signed actions, long-term memory, and the strategy driving them.</p>
+ </header>
+ <div class="adv2-grid">
- <section class="ad-card" id="ad-actions-card" style="display: none">
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-green"></span>
- <h2>RECENT ACTIONS</h2>
- <span class="ad-pill ad-pill-muted" id="ad-actions-count">0</span>
- </div>
- <div id="ad-actions-list"></div>
- </section>
+ <section class="ad-card" id="ad-actions-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-green"></span>
+ <h2>RECENT ACTIONS</h2>
+ <span class="ad-pill ad-pill-muted" id="ad-actions-count">0</span>
+ </div>
+ <div id="ad-actions-list"></div>
+ </section>
- <section class="ad-card" id="ad-memory-card" style="display: none">
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>MEMORY</h2>
- <span class="ad-pill ad-pill-muted" id="ad-memory-count">0</span>
- </div>
- <div id="ad-memory-list"></div>
- </section>
+ <section class="ad-card" id="ad-memory-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>MEMORY</h2>
+ <span class="ad-pill ad-pill-muted" id="ad-memory-count">0</span>
+ </div>
+ <div id="ad-memory-list"></div>
+ </section>
+
+ <section class="ad-card" id="ad-strategy-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-dim"></span>
+ <h2>STRATEGY</h2>
+ </div>
+ <pre class="ad-raw" id="ad-strategy"></pre>
+ </section>
- <section class="ad-card" id="ad-strategy-card" style="display: none">
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-dim"></span>
- <h2>STRATEGY</h2>
</div>
- <pre class="ad-raw" id="ad-strategy"></pre>
</section>
- <section class="ad-card" id="ad-embed-policy-card" style="display: none">
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-muted"></span>
- <h2>EMBED POLICY</h2>
+ <!-- ══ Trust & Identity — registrations, reputation, on-chain ═══ -->
+ <section class="adv2-group" id="sec-trust">
+ <header class="adv2-group-head">
+ <h2>Trust &amp; Identity</h2>
+ <p>How this agent is registered, secured, and scored on-chain.</p>
+ </header>
+ <div class="adv2-grid">
+
+ <section class="ad-card" id="ad-trust-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>TRUST &amp; SECURITY</h2>
+ </div>
+ <div class="ad-sub">TRUST MECHANISMS</div>
+ <div class="ad-trust-pills" id="ad-trust-mechs"></div>
+ <div class="ad-sub">PAYMENT PROTOCOL</div>
+ <div class="ad-trust-pills" id="ad-payment"></div>
+ </section>
+
+ <section class="ad-card" id="ad-registrations-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-dim"></span>
+ <h2>REGISTRATIONS</h2>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Agent ID</span>
+ <span class="ad-mono" id="ad-agent-id"></span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Registry</span>
+ <span class="ad-trust-pills" id="ad-registries"></span>
+ </div>
+ <div class="ad-row ad-row-split" id="ad-sns-row" style="display: none">
+ <span class="ad-muted">SNS</span>
+ <span class="ad-mono" id="ad-sns"></span>
+ </div>
+ <div class="ad-row ad-row-split" id="ad-voice-row" style="display: none">
+ <span class="ad-muted">Voice</span>
+ <span id="ad-voice"></span>
+ </div>
+ </section>
+
+ <section class="ad-card" id="ad-reputation-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2>REPUTATION</h2>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Average score</span>
+ <span class="ad-trade-winrate-wrap"><span id="ad-rep-ring" class="ad-trade-ring" aria-hidden="true"></span><b id="ad-rep-avg">—</b> / 5</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Feedback count</span>
+ <span id="ad-rep-count">0</span>
+ </div>
+ <div class="ad-row ad-row-split" id="ad-rep-stake-row" style="display: none">
+ <span class="ad-muted">Total stake</span>
+ <span id="ad-rep-stake"></span>
+ </div>
+ </section>
+
+ <section class="ad-card" id="ad-ledger-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>REASONING LEDGER</h2>
+ <span class="ad-pill ad-pill-muted" id="ad-ledger-verify">verifying…</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Track-record score</span>
+ <span><b id="ad-ledger-score">—</b> / 100</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Hit rate</span>
+ <span id="ad-ledger-hitrate">—</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Reconciled calls</span>
+ <span id="ad-ledger-sample">0</span>
+ </div>
+ <a class="ad-cta-row" id="ad-ledger-link" href="#" style="display:inline-flex;margin-top:10px;">Open the Reasoning Ledger →</a>
+ </section>
+
+ <!-- Agent Genome — verifiable lineage (parents + children). Hidden
+ until renderLineage() confirms this agent has descent or offspring. -->
+ <section class="ad-card" id="ad-lineage-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-violet"></span>
+ <h2>LINEAGE</h2>
+ </div>
+ <div id="ad-lineage-body" class="ad-muted"></div>
+ </section>
+
+ <section class="ad-card" id="ad-embed-policy-card" style="display: none">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-muted"></span>
+ <h2>EMBED POLICY</h2>
+ </div>
+ <div id="ad-embed-policy"></div>
+ </section>
+
+ <section class="ad-card" id="ad-blockchain-card">
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <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>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Services</span><span id="ad-svc-count2">0</span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Supported Trust</span
+ ><span class="ad-trust-pills" id="ad-supported-trust"></span>
+ </div>
+ <div class="ad-row ad-row-split">
+ <span class="ad-muted">Pay-per-call Support</span
+ ><span id="ad-x402">No</span>
+ </div>
+ <div class="ad-sub">PROTOCOLS</div>
+ <div class="ad-protocols" id="ad-protocols"></div>
+ <div class="ad-cta-row">
+ <a class="ad-cta" id="ad-explorer" target="_blank" rel="noopener"
+ >View on Explorer ↗</a
+ >
+ <a class="ad-cta" id="ad-trade" target="_blank" rel="noopener"
+ >Trade on Magic Eden ↗</a
+ >
+ </div>
+ </section>
+
</div>
- <div id="ad-embed-policy"></div>
</section>
- <section class="ad-card" id="ad-reviews-card" aria-labelledby="ad-reviews-heading">
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-amber"></span>
- <h2 id="ad-reviews-heading">REVIEWS</h2>
- <span
- class="ad-pill ad-pill-muted"
- id="ad-reviews-count"
- aria-live="polite"
- ></span>
- </div>
- <div id="ad-reviews-body" aria-live="polite">
- <div class="ad-reviews-skeleton" aria-hidden="true">
- <div class="ad-review-skel-row">
- <div class="ad-review-skel-avatar skeleton"></div>
- <div class="ad-review-skel-lines">
- <div class="ad-review-skel-line short skeleton"></div>
- <div class="ad-review-skel-line long skeleton"></div>
- <div class="ad-review-skel-line med skeleton"></div>
+ <!-- ══ Reviews — social proof + where to go next ════════════════ -->
+ <section class="adv2-group" id="sec-reviews">
+ <header class="adv2-group-head">
+ <h2>Reviews</h2>
+ <p>What people think of this agent — and similar agents to explore.</p>
+ </header>
+ <div class="adv2-grid">
+
+ <section class="ad-card" id="ad-reviews-card" data-span="2" aria-labelledby="ad-reviews-heading">
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-amber"></span>
+ <h2 id="ad-reviews-heading">REVIEWS</h2>
+ <span
+ class="ad-pill ad-pill-muted"
+ id="ad-reviews-count"
+ aria-live="polite"
+ ></span>
+ </div>
+ <div id="ad-reviews-body" aria-live="polite">
+ <div class="ad-reviews-skeleton" aria-hidden="true">
+ <div class="ad-review-skel-row">
+ <div class="ad-review-skel-avatar skeleton"></div>
+ <div class="ad-review-skel-lines">
+ <div class="ad-review-skel-line short skeleton"></div>
+ <div class="ad-review-skel-line long skeleton"></div>
+ <div class="ad-review-skel-line med skeleton"></div>
+ </div>
</div>
- </div>
- <div class="ad-review-skel-row">
- <div class="ad-review-skel-avatar skeleton"></div>
- <div class="ad-review-skel-lines">
- <div class="ad-review-skel-line short skeleton"></div>
- <div class="ad-review-skel-line med skeleton"></div>
+ <div class="ad-review-skel-row">
+ <div class="ad-review-skel-avatar skeleton"></div>
+ <div class="ad-review-skel-lines">
+ <div class="ad-review-skel-line short skeleton"></div>
+ <div class="ad-review-skel-line med skeleton"></div>
+ </div>
</div>
</div>
</div>
+ </section>
+
+ <section class="ad-card ad-similar-card" id="ad-similar-card" data-span="2" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet"></span>
+ <h2>SIMILAR AGENTS</h2>
+ </div>
+ <div class="ad-similar-grid" id="ad-similar-grid"></div>
+ </section>
+
</div>
</section>
- <details class="ad-embed-disclosure">
- <summary>Developers →</summary>
- <section class="ad-card ad-embed-card" id="ad-embed-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-muted"></span>
- <h2>EMBED THIS AGENT</h2>
- </div>
- <p class="ad-embed-lede">
- Drop the agent anywhere — as a web component, iframe, or direct link.
- </p>
- <div class="ad-embed-section">
- <div class="ad-embed-label">
- <span>Web component</span
- ><button class="ad-embed-copy" type="button" data-embed="wc">
- Copy
- </button>
+ <!-- ══ Developers — embed, versions, raw metadata ═══════════════ -->
+ <section class="adv2-group" id="sec-developers">
+ <header class="adv2-group-head">
+ <h2>Developers</h2>
+ <p>Embed this agent anywhere, inspect its versions and raw record.</p>
+ </header>
+ <div class="adv2-grid">
+
+ <section class="ad-card ad-embed-card" id="ad-embed-card" data-span="2" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-muted"></span>
+ <h2>EMBED THIS AGENT</h2>
</div>
- <pre class="ad-embed-code" id="ad-embed-wc"></pre>
- </div>
- <div class="ad-embed-section">
- <div class="ad-embed-label">
- <span>Iframe</span
- ><button class="ad-embed-copy" type="button" data-embed="iframe">
- Copy
- </button>
+ <p class="ad-embed-lede">
+ Drop the agent anywhere — as a web component, iframe, or direct link.
+ </p>
+ <div class="ad-embed-section">
+ <div class="ad-embed-label">
+ <span>Web component</span
+ ><button class="ad-embed-copy" type="button" data-embed="wc">
+ Copy
+ </button>
+ </div>
+ <pre class="ad-embed-code" id="ad-embed-wc"></pre>
</div>
- <pre class="ad-embed-code" id="ad-embed-iframe"></pre>
- </div>
- <div class="ad-embed-section">
- <div class="ad-embed-label">
- <span>Direct link</span
- ><button class="ad-embed-copy" type="button" data-embed="link">
- Copy
- </button>
+ <div class="ad-embed-section">
+ <div class="ad-embed-label">
+ <span>Iframe</span
+ ><button class="ad-embed-copy" type="button" data-embed="iframe">
+ Copy
+ </button>
+ </div>
+ <pre class="ad-embed-code" id="ad-embed-iframe"></pre>
</div>
- <pre class="ad-embed-code" id="ad-embed-link"></pre>
- </div>
- </section>
- </details>
-
- <section class="ad-card ad-versions-card" id="ad-versions-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet ad-bullet-dim"></span>
- <h2>VERSION HISTORY</h2>
- </div>
- <ul class="ad-versions" id="ad-versions-list"></ul>
- </section>
+ <div class="ad-embed-section">
+ <div class="ad-embed-label">
+ <span>Direct link</span
+ ><button class="ad-embed-copy" type="button" data-embed="link">
+ Copy
+ </button>
+ </div>
+ <pre class="ad-embed-code" id="ad-embed-link"></pre>
+ </div>
+ </section>
- <section class="ad-card ad-similar-card" id="ad-similar-card" hidden>
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <h2>SIMILAR AGENTS</h2>
- </div>
- <div class="ad-similar-grid" id="ad-similar-grid"></div>
- </section>
+ <section class="ad-card ad-versions-card" id="ad-versions-card" hidden>
+ <div class="ad-card-head">
+ <span class="ad-bullet ad-bullet-dim"></span>
+ <h2>VERSION HISTORY</h2>
+ </div>
+ <ul class="ad-versions" id="ad-versions-list"></ul>
+ </section>
- <details class="ad-card ad-collapse">
- <summary>
- <span class="ad-bullet ad-bullet-muted"></span>
- <span class="ad-card-title">RAW METADATA</span>
- </summary>
- <pre class="ad-raw" id="ad-raw"></pre>
- </details>
+ <details class="ad-card ad-collapse" id="ad-raw-card">
+ <summary>
+ <span class="ad-bullet ad-bullet-muted"></span>
+ <span class="ad-card-title">RAW METADATA</span>
+ </summary>
+ <pre class="ad-raw" id="ad-raw"></pre>
+ </details>
- <section class="ad-card">
- <div class="ad-card-head">
- <span class="ad-bullet"></span>
- <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>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Services</span><span id="ad-svc-count2">0</span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Supported Trust</span
- ><span class="ad-trust-pills" id="ad-supported-trust"></span>
- </div>
- <div class="ad-row ad-row-split">
- <span class="ad-muted">Pay-per-call Support</span
- ><span id="ad-x402">No</span>
- </div>
- <div class="ad-sub">PROTOCOLS</div>
- <div class="ad-protocols" id="ad-protocols"></div>
- <div class="ad-cta-row">
- <a class="ad-cta" id="ad-explorer" target="_blank" rel="noopener"
- >View on Explorer ↗</a
- >
- <a class="ad-cta" id="ad-trade" target="_blank" rel="noopener"
- >Trade on Magic Eden ↗</a
- >
</div>
</section>
- </div>
+ </div>
- <footer class="ad-foot">
- <span>© 2026 three.ws</span>
- <span
- ><a href="/legal/tos">Terms</a> · <a href="/legal/privacy">Privacy</a> ·
- <a href="/content-policy">Content Policy</a></span
- >
- </footer>
- </main>
- </div>
+ <footer class="ad-foot">
+ <span>© 2026 three.ws</span>
+ <span
+ ><a href="/legal/tos">Terms</a> · <a href="/legal/privacy">Privacy</a> ·
+ <a href="/content-policy">Content Policy</a></span
+ >
+ </footer>
+ </main>
<div
class="creator-modal-overlay"
@@ -1142,6 +965,7 @@
</div>
<script type="module" src="/src/agent-detail.js"></script>
+ <script type="module" src="/src/agent-detail-v2.js"></script>
<script src="/brand.js" defer></script>
<div id="footer-container"></div>
<script src="/footer.js"></script>
diff --git a/scripts/emu-mwa-connect-tmp.mjs b/scripts/emu-mwa-connect-tmp.mjs
new file mode 100644
index 000000000..c84fc0e41
--- /dev/null
+++ b/scripts/emu-mwa-connect-tmp.mjs
@@ -0,0 +1,23 @@
+#!/usr/bin/env node
+// Fire threeWsWallet.connect() inside the TWA (non-blocking) so the MWA
+// association intent launches the wallet app. Result is stashed on
+// window.__mwaResult for a later probe.
+import { chromium } from 'playwright';
+
+const browser = await chromium.connectOverCDP('http://localhost:9222');
+let page = null;
+for (const ctx of browser.contexts()) {
+ for (const p of ctx.pages()) {
+ if (p.url().includes('three.ws')) { page = p; break; }
+ }
+}
+if (!page) { console.error('three.ws page not found'); process.exit(1); }
+
+await page.evaluate(() => {
+ window.__mwaResult = window.threeWsWallet
+ .connect()
+ .then((r) => ({ ok: true, publicKey: r.publicKey?.toBase58?.() || String(r.publicKey) }))
+ .catch((e) => ({ ok: false, error: String(e) }));
+});
+console.log('connect() fired');
+await browser.close();
diff --git a/scripts/emu-mwa-patched-tmp.mjs b/scripts/emu-mwa-patched-tmp.mjs
new file mode 100644
index 000000000..dd224b528
--- /dev/null
+++ b/scripts/emu-mwa-patched-tmp.mjs
@@ -0,0 +1,58 @@
+#!/usr/bin/env node
+// Verify the MWA icon fix in the running emulator TWA without a deploy:
+// 1. unregister the service worker + clear caches (so routing sees requests)
+// 2. intercept JS bundles and hot-patch the absolute identity.icon to relative
+// 3. reload, then fire threeWsWallet.connect() from a real click (user
+// activation is required to launch the solana-wallet:// intent)
+import { chromium } from 'playwright';
+
+const browser = await chromium.connectOverCDP('http://localhost:9222');
+let page = null, ctx = null;
+for (const c of browser.contexts()) {
+ for (const p of c.pages()) {
+ if (p.url().includes('three.ws')) { page = p; ctx = c; break; }
+ }
+}
+if (!page) { console.error('three.ws page not found'); process.exit(1); }
+
+await page.evaluate(async () => {
+ const regs = await navigator.serviceWorker.getRegistrations();
+ for (const r of regs) await r.unregister();
+ for (const k of await caches.keys()) await caches.delete(k);
+});
+console.log('sw + caches cleared');
+
+const NEEDLE = 'https://three.ws/pwa-192x192.png';
+let patched = 0;
+await ctx.route('**/*.js', async (route) => {
+ const resp = await route.fetch();
+ let body = await resp.text();
+ if (body.includes(`icon:"${NEEDLE}"`) || body.includes(`icon: '${NEEDLE}'`)) {
+ body = body
+ .replaceAll(`icon:"${NEEDLE}"`, 'icon:"/pwa-192x192.png"')
+ .replaceAll(`icon: '${NEEDLE}'`, "icon: '/pwa-192x192.png'");
+ patched += 1;
+ }
+ await route.fulfill({ response: resp, body });
+});
+
+await page.reload({ waitUntil: 'domcontentloaded' });
+await page.waitForFunction(() => Boolean(window.threeWsWallet), null, { timeout: 30000 });
+console.log('reloaded, threeWsWallet ready, bundles patched:', patched);
+
+await page.evaluate(() => {
+ const btn = document.createElement('button');
+ btn.id = '__mwa_test_btn';
+ btn.textContent = 'MWA TEST';
+ btn.style.cssText = 'position:fixed;top:120px;left:10px;z-index:2147483647;padding:20px;font-size:20px;';
+ btn.addEventListener('click', () => {
+ window.__mwaResult = window.threeWsWallet
+ .connect()
+ .then((r) => ({ ok: true, publicKey: r.publicKey?.toBase58?.() || String(r.publicKey) }))
+ .catch((e) => ({ ok: false, error: String(e) }));
+ });
+ document.body.appendChild(btn);
+});
+await page.click('#__mwa_test_btn');
+console.log('connect() fired via real click');
+await browser.close();
diff --git a/scripts/emu-mwa-probe-tmp.mjs b/scripts/emu-mwa-probe-tmp.mjs
new file mode 100644
index 000000000..4be235d15
--- /dev/null
+++ b/scripts/emu-mwa-probe-tmp.mjs
@@ -0,0 +1,27 @@
+#!/usr/bin/env node
+// Probe the three.ws TWA running in the emulator via CDP: check the MWA boot
+// state (seeker-detect signals, threeWsWallet presence) inside the real app.
+import { chromium } from 'playwright';
+
+const browser = await chromium.connectOverCDP('http://localhost:9222');
+const contexts = browser.contexts();
+let page = null;
+for (const ctx of contexts) {
+ for (const p of ctx.pages()) {
+ if (p.url().includes('three.ws')) { page = p; break; }
+ }
+}
+if (!page) { console.error('three.ws page not found'); process.exit(1); }
+
+const state = await page.evaluate(() => ({
+ url: location.href,
+ referrer: document.referrer,
+ standalone: window.matchMedia('(display-mode: standalone)').matches,
+ fullscreen: window.matchMedia('(display-mode: fullscreen)').matches,
+ ua: navigator.userAgent.slice(0, 120),
+ hasThreeWsWallet: typeof window.threeWsWallet !== 'undefined',
+ windowSolanaSet: typeof window.solana !== 'undefined' && window.solana !== null,
+ walletIsThreeWs: Boolean(window.solana?.isThreeWs),
+}));
+console.log(JSON.stringify(state, null, 1));
+await browser.close();
diff --git a/scripts/emu-mwa-result-tmp.mjs b/scripts/emu-mwa-result-tmp.mjs
new file mode 100644
index 000000000..54611af1a
--- /dev/null
+++ b/scripts/emu-mwa-result-tmp.mjs
@@ -0,0 +1,21 @@
+#!/usr/bin/env node
+// Read back window.__mwaResult (or report pending) from the TWA page.
+import { chromium } from 'playwright';
+
+const browser = await chromium.connectOverCDP('http://localhost:9222');
+let page = null;
+for (const ctx of browser.contexts()) {
+ for (const p of ctx.pages()) {
+ if (p.url().includes('three.ws')) { page = p; break; }
+ }
+}
+if (!page) { console.error('three.ws page not found'); process.exit(1); }
+
+const result = await page.evaluate(() =>
+ Promise.race([
+ window.__mwaResult,
+ new Promise((r) => setTimeout(() => r({ pending: true }), 3000)),
+ ]),
+);
+console.log(JSON.stringify(result, null, 1));
+await browser.close();
diff --git a/solana-mobile/src/mwa-wallet.js b/solana-mobile/src/mwa-wallet.js
index 012195a09..0fafc6415 100644
--- a/solana-mobile/src/mwa-wallet.js
+++ b/solana-mobile/src/mwa-wallet.js
@@ -16,7 +16,10 @@ import { PublicKey } from '@solana/web3.js';
const APP_IDENTITY = Object.freeze({
name: 'three.ws',
uri: 'https://three.ws',
- icon: 'https://three.ws/pwa-192x192.png',
+ // MWA spec: identity.icon MUST be a relative URI (resolved against uri).
+ // An absolute URL here makes every authorize() throw before reaching the
+ // wallet.
+ icon: '/pwa-192x192.png',
});
const SESSION_KEY = 'threews:mwa:authToken';
diff --git a/src/agent-detail-v2.css b/src/agent-detail-v2.css
new file mode 100644
index 000000000..d3a1ec028
--- /dev/null
+++ b/src/agent-detail-v2.css
@@ -0,0 +1,760 @@
+/*
+ * Agent detail — v2 layout.
+ *
+ * Loads AFTER agent-detail.css and restructures the page shell (hero, sticky
+ * section nav, grouped card grids) while every leaf component keeps the
+ * canonical `ad-*` styling from the base sheet. The previous layout is
+ * preserved verbatim at /agents/:id/classic (pages/agent-detail-classic.html),
+ * which does NOT load this file.
+ */
+
+:root {
+ --adv2-nav-h: 69px;
+ --adv2-max: 1280px;
+ --adv2-pad: 24px;
+}
+@media (max-width: 768px) {
+ :root {
+ --adv2-nav-h: 65px;
+ --adv2-pad: 16px;
+ }
+}
+
+/* ── Shell ─────────────────────────────────────────────────────────────── */
+
+.ad-main.adv2 {
+ max-width: none;
+ padding-bottom: 24px;
+}
+.adv2-wrap {
+ max-width: var(--adv2-max);
+ margin: 0 auto;
+ padding-left: var(--adv2-pad);
+ padding-right: var(--adv2-pad);
+ width: 100%;
+ min-width: 0;
+}
+/* Self-mounting cross-link panels (alpha co-pilot, stages, labor, presence,
+ live watch) prepend/append themselves to .ad-main. Keep them on the same
+ reading measure as the rest of the page instead of full-bleed. */
+.ad-main.adv2 > :not(.adv2-wrap):not(.adv2-tabs):not(.ad-foot) {
+ max-width: var(--adv2-max);
+ margin-left: auto;
+ margin-right: auto;
+ width: calc(100% - var(--adv2-pad) * 2);
+ min-width: 0;
+}
+
+.adv2-top {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 12px;
+ flex-wrap: wrap;
+ padding-top: 6px;
+}
+.adv2-top .ad-back {
+ margin: 16px 0 8px;
+}
+.adv2-top-right {
+ display: inline-flex;
+ align-items: center;
+ gap: 14px;
+ margin: 16px 0 8px;
+}
+.adv2-classic-link {
+ font-size: 12px;
+ color: var(--ad-dim);
+ border-bottom: 1px dotted var(--ad-line-2);
+ padding-bottom: 1px;
+ transition: color 0.15s;
+}
+.adv2-classic-link:hover {
+ color: var(--ad-text);
+}
+
+/* ── Hero — horizontal identity band ───────────────────────────────────── */
+
+.adv2-hero {
+ display: grid;
+ grid-template-columns: 240px minmax(0, 1fr);
+ gap: 28px;
+ align-items: center;
+ padding: 18px var(--adv2-pad) 26px;
+ text-align: left;
+}
+.adv2-hero .ad-hero-avatar-wrap {
+ margin-top: 0;
+ justify-self: center;
+}
+.adv2-hero .ad-hero-body {
+ max-width: none;
+ margin-top: 0;
+ text-align: left;
+ min-width: 0;
+}
+.adv2-hero .ad-hero-title,
+.adv2-hero .ad-hero-meta,
+.adv2-hero .ad-market-meta,
+.adv2-hero .ad-hero-trust,
+.adv2-hero .ad-hero-actions,
+.adv2-hero .ad-owner-bar {
+ justify-content: flex-start;
+}
+.adv2-hero .ad-hero-title h1 {
+ font-size: 32px;
+}
+.adv2-hero .ad-hero-desc {
+ margin: 10px 0;
+ max-width: 62ch;
+ -webkit-line-clamp: 3;
+}
+.adv2-hero .ad-hero-actions {
+ margin-top: 16px;
+ justify-content: flex-start;
+}
+.adv2-hero .ad-hero-share-float {
+ top: 16px;
+ right: var(--adv2-pad);
+}
+
+@media (max-width: 820px) {
+ .adv2-hero {
+ grid-template-columns: 1fr;
+ gap: 14px;
+ text-align: center;
+ }
+ .adv2-hero .ad-hero-body {
+ text-align: center;
+ }
+ .adv2-hero .ad-hero-title,
+ .adv2-hero .ad-hero-meta,
+ .adv2-hero .ad-market-meta,
+ .adv2-hero .ad-hero-trust,
+ .adv2-hero .ad-hero-actions,
+ .adv2-hero .ad-owner-bar {
+ justify-content: center;
+ }
+ .adv2-hero .ad-hero-desc {
+ margin: 10px auto;
+ }
+}
+
+/* ── Platform pulse strip ──────────────────────────────────────────────── */
+
+.ad-platform-bar {
+ display: flex;
+ align-items: center;
+ gap: 26px;
+ flex-wrap: wrap;
+ margin: 0 0 18px;
+ padding: 12px 18px;
+ border: 1px solid var(--ad-line);
+ border-radius: var(--radius-card);
+ background: var(--ad-bg-2);
+}
+.ad-platform-kicker {
+ display: inline-flex;
+ align-items: center;
+ font-size: 9.5px;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.09em;
+ color: var(--ad-dim);
+ padding-right: 18px;
+ border-right: 1px solid var(--ad-line);
+ white-space: nowrap;
+}
+@media (max-width: 520px) {
+ .ad-platform-kicker {
+ flex-basis: 100%;
+ padding-right: 0;
+ border-right: 0;
+ margin-bottom: 2px;
+ }
+}
+.ad-platform-stat {
+ display: flex;
+ flex-direction: column;
+ gap: 1px;
+}
+.ad-platform-stat-val {
+ font-size: 14px;
+ font-weight: 700;
+ color: var(--ad-text);
+ letter-spacing: -0.01em;
+ font-variant-numeric: tabular-nums;
+}
+.ad-platform-stat-val.positive {
+ color: #34d399;
+}
+.ad-platform-stat-lbl {
+ font-size: 9.5px;
+ text-transform: uppercase;
+ letter-spacing: 0.07em;
+ color: var(--ad-dim);
+}
+.ad-platform-dot {
+ display: inline-block;
+ width: 5px;
+ height: 5px;
+ border-radius: 50%;
+ background: #34d399;
+ margin-right: 4px;
+ vertical-align: middle;
+ animation: ad-plat-blink 2s ease-out infinite;
+}
+@keyframes ad-plat-blink {
+ 0% {
+ box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
+ }
+ 70% {
+ box-shadow: 0 0 0 4px transparent;
+ }
+ 100% {
+ box-shadow: 0 0 0 0 transparent;
+ }
+}
+
+/* ── Sticky section navigation ─────────────────────────────────────────── */
+
+.adv2-tabs {
+ position: sticky;
+ top: var(--adv2-nav-h);
+ z-index: 40;
+ background: color-mix(in srgb, var(--ad-bg) 86%, transparent);
+ backdrop-filter: blur(12px);
+ -webkit-backdrop-filter: blur(12px);
+ border-top: 1px solid var(--ad-line);
+ border-bottom: 1px solid var(--ad-line);
+ margin-bottom: 26px;
+}
+.adv2-tabs-row {
+ display: flex;
+ gap: 4px;
+ overflow-x: auto;
+ scrollbar-width: none;
+ -webkit-overflow-scrolling: touch;
+}
+.adv2-tabs-row::-webkit-scrollbar {
+ display: none;
+}
+.adv2-tab {
+ flex-shrink: 0;
+ padding: 12px 14px 10px;
+ font-size: 13px;
+ color: var(--ad-muted);
+ border-bottom: 2px solid transparent;
+ transition: color 0.15s, border-color 0.15s;
+ white-space: nowrap;
+}
+.adv2-tab:hover {
+ color: var(--ad-text);
+}
+.adv2-tab.is-active {
+ color: var(--ad-text);
+ border-bottom-color: var(--ad-text);
+}
+.adv2-tab:focus-visible {
+ outline: 2px solid var(--ad-cyan);
+ outline-offset: -2px;
+ border-radius: 6px;
+}
+.adv2-tab.is-hidden {
+ display: none;
+}
+
+/* ── Section groups ────────────────────────────────────────────────────── */
+
+.adv2-body {
+ display: flex;
+ flex-direction: column;
+ gap: 44px;
+ padding-bottom: 12px;
+}
+.adv2-group {
+ /* Anchor target lands below the two sticky bars (site nav + section tabs). */
+ scroll-margin-top: calc(var(--adv2-nav-h) + 64px);
+ min-width: 0;
+}
+.adv2-group.is-empty {
+ display: none;
+}
+.adv2-group-head {
+ margin: 0 0 16px;
+}
+.adv2-group-head h2 {
+ margin: 0;
+ font-size: 19px;
+ font-weight: 650;
+ letter-spacing: -0.015em;
+ color: var(--ad-text);
+}
+.adv2-group-head p {
+ margin: 4px 0 0;
+ font-size: 13px;
+ color: var(--ad-muted);
+}
+
+.adv2-grid {
+ display: grid;
+ /* auto-fit (not auto-fill): a partial row stretches its cards across the
+ full measure instead of leaving a dead empty track on the right. */
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
+ gap: 16px;
+ align-items: start;
+}
+.adv2-grid > .ad-card,
+.adv2-grid > details {
+ margin: 0;
+ min-width: 0;
+}
+.adv2-grid > [data-span='2'] {
+ grid-column: 1 / -1;
+}
+
+/* Raw metadata disclosure keeps its collapsed-card look inside the grid. */
+.adv2-grid > details.ad-collapse {
+ padding: 0;
+}
+.adv2-grid > details.ad-collapse summary {
+ padding: 18px 20px;
+}
+.adv2-grid > details.ad-collapse[open] {
+ padding-bottom: 18px;
+}
+.adv2-grid > details.ad-collapse[open] .ad-raw {
+ margin: 0 20px;
+}
+
+/* ── "More" actions menu (native details popover) ──────────────────────── */
+
+.adv2-more {
+ position: relative;
+ display: inline-block;
+}
+.adv2-more > summary {
+ list-style: none;
+ user-select: none;
+}
+.adv2-more > summary::-webkit-details-marker {
+ display: none;
+}
+.adv2-more[open] > summary {
+ border-color: var(--ad-line-2);
+}
+.adv2-more-menu {
+ position: absolute;
+ top: calc(100% + 6px);
+ left: 0;
+ z-index: 60;
+ min-width: 190px;
+ display: flex;
+ flex-direction: column;
+ padding: 6px;
+ background: var(--ad-card);
+ border: 1px solid var(--ad-line-2);
+ border-radius: 12px;
+ box-shadow: var(--shadow-2);
+ animation: adv2-menu-in 0.14s ease-out;
+}
+@keyframes adv2-menu-in {
+ from {
+ opacity: 0;
+ transform: translateY(-4px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+.adv2-more-item {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ padding: 9px 10px;
+ border-radius: 8px;
+ font-size: 13px;
+ color: var(--ad-text);
+ background: none;
+ border: none;
+ font-family: inherit;
+ cursor: pointer;
+ text-align: left;
+ width: 100%;
+ transition: background 0.12s;
+}
+.adv2-more-item:hover {
+ background: rgba(255, 255, 255, 0.06);
+}
+.adv2-more-item:focus-visible {
+ outline: 2px solid var(--ad-cyan);
+ outline-offset: -2px;
+}
+.adv2-more-item svg {
+ flex-shrink: 0;
+ color: var(--ad-muted);
+}
+
+/* On narrow screens the menu hugs the right edge so it can't overflow. */
+@media (max-width: 820px) {
+ .adv2-more-menu {
+ left: auto;
+ right: 0;
+ }
+}
+
+/* ── Loading skeletons (shell classes referenced by agent-detail.js) ───── */
+
+.ad-main.loading .ad-hero-avatar,
+.ad-main.loading .ad-hero-body > *,
+.ad-main.loading .ad-card .ad-row,
+.ad-main.loading .ad-card .ad-balance,
+.ad-main.loading .ad-card .ad-services,
+.ad-main.loading .ad-card .ad-token-body,
+.ad-main.loading .ad-card .ad-trust-pills,
+.ad-main.loading .ad-card .ad-protocols,
+.ad-main.loading .ad-card .ad-sub,
+.ad-main.loading .ad-card .ad-cta-row {
+ visibility: hidden;
+}
+
+.skeleton {
+ background-color: var(--skeleton-base);
+ background-image: linear-gradient(
+ 90deg,
+ var(--skeleton-base) 0%,
+ var(--skeleton-sheen) 50%,
+ var(--skeleton-base) 100%
+ );
+ background-size: 200% 100%;
+ border-radius: var(--skeleton-radius);
+ animation: skeleton-shimmer 1.4s ease-in-out infinite;
+}
+@keyframes skeleton-shimmer {
+ 0% {
+ background-position: 200% 0;
+ }
+ 100% {
+ background-position: -200% 0;
+ }
+}
+
+.ad-main.loading .ad-hero-avatar {
+ visibility: visible;
+ background-color: var(--skeleton-base);
+ background-image: linear-gradient(
+ 90deg,
+ var(--skeleton-base) 0%,
+ var(--skeleton-sheen) 50%,
+ var(--skeleton-base) 100%
+ );
+ background-size: 200% 100%;
+ animation: skeleton-shimmer 1.4s ease-in-out infinite;
+ border-radius: 18px;
+}
+.ad-main.loading #ad-name-skeleton,
+.ad-main.loading #ad-meta-skeleton,
+.ad-main.loading #ad-desc-skeleton {
+ display: block;
+}
+@media (prefers-reduced-motion: reduce) {
+ .skeleton,
+ .ad-main.loading .ad-hero-avatar {
+ animation: none;
+ }
+}
+
+/* ── Trading record card (leaf styles for JS-rendered rows) ────────────── */
+
+.ad-pill {
+ display: inline-flex;
+ align-items: center;
+ font-size: 10px;
+ font-weight: 700;
+ letter-spacing: 0.06em;
+ padding: 2px 6px;
+ border-radius: 4px;
+ text-transform: uppercase;
+ vertical-align: middle;
+ margin-left: 8px;
+}
+.ad-pill-sim {
+ background: rgba(255, 190, 0, 0.15);
+ color: #fbbe00;
+ border: 1px solid rgba(255, 190, 0, 0.25);
+}
+.ad-trade-winrate-wrap {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+}
+.ad-trade-ring {
+ display: inline-flex;
+}
+.ad-trade-spark {
+ margin: 2px 0 6px;
+ padding: 8px 10px;
+ border-radius: 8px;
+ background: var(--surface2, rgba(255, 255, 255, 0.04));
+}
+.ad-trade-spark-head {
+ display: flex;
+ justify-content: space-between;
+ align-items: baseline;
+ font-size: 11px;
+ color: var(--ink-dim, #888);
+ margin-bottom: 4px;
+}
+.ad-trade-spark-net {
+ font-weight: 700;
+ font-variant-numeric: tabular-nums;
+}
+.ad-trade-spark-net.positive {
+ color: #22d160;
+}
+.ad-trade-spark-net.negative {
+ color: #ff4545;
+}
+.ad-trade-history {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ margin-top: 4px;
+}
+.ad-trade-row {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ padding: 7px 10px;
+ border-radius: 8px;
+ background: var(--surface2, rgba(255, 255, 255, 0.04));
+ font-size: 13px;
+ line-height: 1.3;
+}
+.ad-trade-outcome {
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ flex-shrink: 0;
+}
+.ad-trade-outcome.win {
+ background: #22d160;
+}
+.ad-trade-outcome.loss {
+ background: #ff4545;
+}
+.ad-trade-outcome.flat {
+ background: #888;
+}
+.ad-trade-outcome.open {
+ background: #fbbe00;
+}
+.ad-trade-symbol {
+ font-weight: 700;
+ flex-shrink: 0;
+ min-width: 54px;
+}
+.ad-trade-tier {
+ font-size: 11px;
+ color: var(--ink-dim, #888);
+ flex-shrink: 0;
+}
+.ad-trade-peak {
+ margin-left: auto;
+ font-weight: 700;
+ font-size: 12px;
+}
+.ad-trade-pnl {
+ font-size: 12px;
+ color: var(--ink-dim, #888);
+ min-width: 64px;
+ text-align: right;
+}
+.ad-trade-pnl.positive {
+ color: #22d160;
+}
+.ad-trade-pnl.negative {
+ color: #ff4545;
+}
+
+/* ── Walk-with-this-agent preview card ─────────────────────────────────── */
+
+.ad-walk-card .ad-preview-hint {
+ margin-left: auto;
+ font-size: 11px;
+ color: var(--ink-dim, #888);
+}
+/* Card width comes from the grid column, so use a query container: the body
+ stacks on the card's own width instead of guessing from the viewport. */
+.ad-walk-card {
+ container-type: inline-size;
+}
+.ad-walk-body {
+ display: grid;
+ grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
+ gap: 22px;
+ align-items: stretch;
+ margin-top: 12px;
+}
+/* No frame: the embed runs on a transparent background with the ground disc
+ hidden, so the avatar + joystick float directly on the card. */
+.ad-walk-stage {
+ position: relative;
+ width: 100%;
+ aspect-ratio: 3 / 4;
+ background: transparent;
+ border: 0;
+}
+.ad-walk-info {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ gap: 14px;
+ min-width: 0;
+}
+.ad-walk-lead {
+ margin: 0;
+ font-size: 14px;
+ line-height: 1.6;
+ color: var(--ink-dim, #b7b7b7);
+ max-width: 42ch;
+}
+.ad-walk-tips {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+}
+.ad-walk-tips li {
+ display: flex;
+ align-items: center;
+ gap: 9px;
+ font-size: 13px;
+ color: var(--ink-dim, #9a9a9a);
+}
+.ad-walk-tips svg {
+ width: 15px;
+ height: 15px;
+ flex-shrink: 0;
+ color: rgba(124, 92, 255, 0.85);
+}
+@container (max-width: 520px) {
+ .ad-walk-body {
+ grid-template-columns: 1fr;
+ }
+ .ad-walk-stage {
+ max-width: 300px;
+ margin: 0 auto;
+ }
+ .ad-walk-info {
+ text-align: center;
+ align-items: center;
+ }
+ .ad-walk-lead {
+ max-width: none;
+ }
+}
+.ad-walk-frame {
+ position: absolute;
+ inset: 0;
+ width: 100%;
+ height: 100%;
+ border: 0;
+ display: block;
+ /* This page renders with `color-scheme: dark`, which Chromium propagates
+ into child iframes and paints their otherwise-transparent backdrop
+ opaque — turning the floating avatar into a white box. Forcing the
+ frame's own scheme to `light` keeps the embed's transparent background
+ showing the card through. */
+ color-scheme: light;
+ background: transparent;
+ transition: opacity 0.4s ease;
+}
+.ad-walk-skeleton {
+ position: absolute;
+ inset: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ gap: 14px;
+ pointer-events: none;
+ transition: opacity 0.3s ease;
+}
+.ad-walk-skeleton.is-hidden {
+ opacity: 0;
+}
+.ad-walk-skeleton-pulse {
+ width: 56px;
+ height: 56px;
+ border-radius: 50%;
+ background: rgba(124, 92, 255, 0.18);
+ box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.4);
+ animation: ad-walk-pulse 1.6s ease-out infinite;
+}
+.ad-walk-skeleton-label {
+ font-size: 11px;
+ letter-spacing: 0.06em;
+ text-transform: uppercase;
+ color: var(--ink-dim, #999);
+}
+@keyframes ad-walk-pulse {
+ 0% {
+ box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.45);
+ }
+ 70% {
+ box-shadow: 0 0 0 18px rgba(124, 92, 255, 0);
+ }
+ 100% {
+ box-shadow: 0 0 0 0 rgba(124, 92, 255, 0);
+ }
+}
+@media (prefers-reduced-motion: reduce) {
+ .ad-walk-skeleton-pulse {
+ animation: none;
+ }
+ .ad-walk-frame {
+ transition: none;
+ }
+}
+.ad-walk-error {
+ position: absolute;
+ inset: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ gap: 12px;
+ padding: 16px;
+ text-align: center;
+}
+.ad-walk-error[hidden] {
+ display: none;
+}
+.ad-walk-error-msg {
+ font-size: 13px;
+ color: var(--ink-dim, #aaa);
+ max-width: 200px;
+}
+.ad-walk-expand {
+ margin-top: 4px;
+ align-self: flex-start;
+}
+@media (max-width: 640px) {
+ .ad-walk-expand {
+ align-self: stretch;
+ justify-content: center;
+ }
+}
+
+/* ── Footer ────────────────────────────────────────────────────────────── */
+
+.ad-main.adv2 .ad-foot {
+ max-width: var(--adv2-max);
+ margin: 24px auto 0;
+ padding-left: var(--adv2-pad);
+ padding-right: var(--adv2-pad);
+}
diff --git a/src/agent-detail-v2.js b/src/agent-detail-v2.js
new file mode 100644
index 000000000..9e2583344
--- /dev/null
+++ b/src/agent-detail-v2.js
@@ -0,0 +1,125 @@
+/**
+ * Agent detail — v2 shell behavior.
+ *
+ * Pure presentation glue for the redesigned layout; all data logic stays in
+ * agent-detail.js (which this file never imports or touches). Owns:
+ *
+ * - the "Classic layout" link (points at /agents/:id/classic)
+ * - scrollspy on the sticky section nav
+ * - auto-hiding section groups whose cards are all hidden (cards on this
+ * page reveal themselves as real data arrives, so groups follow suit)
+ * - dismissal behavior for the hero "More" actions menu
+ */
+
+const agentId =
+ new URLSearchParams(location.search).get('id') ||
+ location.pathname.match(/\/agents\/([^/]+)/)?.[1] ||
+ null;
+
+// ── Classic layout link ──────────────────────────────────────────────────
+
+const classicLink = document.getElementById('adv2-classic-link');
+if (classicLink && agentId) {
+ classicLink.href = `/agents/${encodeURIComponent(agentId)}/classic`;
+}
+
+// ── Section groups: hide the ones with nothing to show ──────────────────
+// Every card on this page either always renders or reveals itself when its
+// data arrives (hidden attr / display:none until then). A group whose cards
+// are ALL hidden is pure chrome — hide it and its nav tab, and re-check on
+// every visibility mutation so groups appear the moment content does.
+
+const groups = Array.from(document.querySelectorAll('.adv2-group'));
+const tabs = new Map(
+ Array.from(document.querySelectorAll('.adv2-tab')).map((t) => [t.dataset.tab, t]),
+);
+
+function cardVisible(el) {
+ if (el.hidden) return false;
+ // Cards toggled via inline style (display:none) rather than [hidden].
+ return getComputedStyle(el).display !== 'none';
+}
+
+function refreshGroups() {
+ for (const group of groups) {
+ const cards = group.querySelectorAll('.adv2-grid > *');
+ const hasContent = Array.from(cards).some(cardVisible);
+ group.classList.toggle('is-empty', !hasContent);
+ tabs.get(group.id)?.classList.toggle('is-hidden', !hasContent);
+ }
+}
+
+refreshGroups();
+const visibilityObserver = new MutationObserver(() => {
+ // Mutations arrive in bursts while the page hydrates; coalesce per frame.
+ if (visibilityObserver._raf) return;
+ visibilityObserver._raf = requestAnimationFrame(() => {
+ visibilityObserver._raf = 0;
+ refreshGroups();
+ });
+});
+const body = document.querySelector('.adv2-body');
+if (body) {
+ visibilityObserver.observe(body, {
+ attributes: true,
+ attributeFilter: ['hidden', 'style', 'class'],
+ subtree: true,
+ });
+}
+
+// ── Scrollspy ────────────────────────────────────────────────────────────
+
+let activeTab = null;
+function setActiveTab(id) {
+ if (activeTab === id) return;
+ activeTab = id;
+ for (const [tabId, tab] of tabs) tab.classList.toggle('is-active', tabId === id);
+}
+
+const spy = new IntersectionObserver(
+ (entries) => {
+ // Pick the visible group nearest the top of the reading zone.
+ const visible = entries
+ .filter((e) => e.isIntersecting)
+ .sort((a, b) => a.boundingClientRect.top - b.boundingClientRect.top);
+ if (visible.length) setActiveTab(visible[0].target.id);
+ },
+ // Reading zone: below the two sticky bars, top half of the viewport.
+ { rootMargin: '-120px 0px -50% 0px' },
+);
+groups.forEach((g) => spy.observe(g));
+
+// Smooth-scroll tab clicks (native anchor jump as fallback for reduced motion).
+const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
+for (const tab of tabs.values()) {
+ tab.addEventListener('click', (e) => {
+ const target = document.getElementById(tab.dataset.tab);
+ if (!target) return;
+ e.preventDefault();
+ history.replaceState(null, '', `#${tab.dataset.tab}`);
+ setActiveTab(tab.dataset.tab);
+ target.scrollIntoView({ behavior: prefersReducedMotion ? 'auto' : 'smooth' });
+ });
+}
+
+// ── "More" actions menu ──────────────────────────────────────────────────
+// Native <details> popover: add light-dismiss (outside click / Escape) and
+// close it after choosing an item so it behaves like a real menu.
+
+const more = document.querySelector('.adv2-more');
+if (more) {
+ document.addEventListener('click', (e) => {
+ if (more.open && !more.contains(e.target)) more.open = false;
+ });
+ document.addEventListener('keydown', (e) => {
+ if (e.key === 'Escape' && more.open) {
+ more.open = false;
+ more.querySelector('summary')?.focus();
+ }
+ });
+ more.querySelectorAll('.adv2-more-item').forEach((item) => {
+ item.addEventListener('click', () => {
+ more.open = false;
+ });
+ });
+}
diff --git a/vercel.json b/vercel.json
index f47f91bee..04e5cc386 100644
--- a/vercel.json
+++ b/vercel.json
@@ -3617,6 +3617,13 @@
"src": "/agent/index.html",
"dest": "/agent/index.html"
},
+ {
+ "src": "/agent/([^/]+)/classic/?",
+ "status": 301,
+ "headers": {
+ "Location": "/agents/$1/classic"
+ }
+ },
{
"src": "/agent/([^/]+)",
"status": 301,
@@ -4090,6 +4097,10 @@
"src": "/agents/[^/.]+/wallet/?",
"dest": "/agent-wallet.html"
},
+ {
+ "src": "/agents/([^/.]+)/classic/?",
+ "dest": "/agent-detail-classic.html"
+ },
{
"src": "/agents/([^/.]+)",
"has": [
diff --git a/vite.config.js b/vite.config.js
index 243512664..4d3d64114 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -399,6 +399,7 @@ const appConfig = {
'embed-walk': resolve(__dirname, 'pages/embed-walk.html'),
'agent-embed': resolve(__dirname, 'pages/agent-embed.html'),
'agent-detail': resolve(__dirname, 'pages/agent-detail.html'),
+ 'agent-detail-classic': resolve(__dirname, 'pages/agent-detail-classic.html'),
'agent-screen': resolve(__dirname, 'pages/agent-screen.html'),
'agents-live': resolve(__dirname, 'pages/agents-live.html'),
'agent-wallet': resolve(__dirname, 'pages/agent-wallet.html'),
@@ -1460,6 +1461,9 @@ support: resolve(__dirname, 'pages/support.html'),
// (must precede the /agent/:id and /agents/:id catch-alls below).
else if (!filePath && /^\/agents?\/[^/.]+\/wallet\/?$/.test(path))
filePath = resolve(root, 'pages/agent-wallet.html');
+ // /agents/:id/classic → the preserved pre-redesign profile layout
+ else if (!filePath && /^\/agents?\/[^/.]+\/classic\/?$/.test(path))
+ filePath = resolve(root, 'pages/agent-detail-classic.html');
else if (!filePath && /^\/agents\/[^/.]+\/?$/.test(path))
filePath = resolve(root, 'pages/agent-detail.html');
else if (!filePath && /^\/agent\/[^/]+\/mind\/?$/.test(path))