Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat: update routing and enhance documentation for user-facing pages; improve avatar wallet integration in dashboard
nirholas22bb580c8a99
diff --git a/README.md b/README.mdindex a2210f426..793415f5e 100644--- a/README.md+++ b/README.md@@ -368,7 +368,7 @@ psql $DATABASE_URL < api/_lib/schema.sqlnpm run dev```-Opens at `http://localhost:3000`. The viewer is at `/app`, the dashboard at `/home`, and the agent creation flow at `/create`.+Opens at `http://localhost:3000`. The landing page is at `/`, the viewer at `/app`, the user dashboard at `/dashboard`, and the agent creation flow at `/create`. For the full list of routes, see [docs/internal/PAGES.md](docs/internal/PAGES.md).### Quick Viewer Test@@ -615,13 +615,16 @@ For sandboxed iframes use the widget embed path instead — it runs in its own b```3D-Agent/-├── index.html # Marketing landing page-├── app.html # Main viewer (drag-and-drop + deploy mode)-├── home.html # Authenticated dashboard+├── home.html # Landing page (served at /)+├── index.html # Legacy marketing page+├── app.html # Main viewer (drag-and-drop + /deploy alias)├── create.html # Avatar + agent creation wizard+├── profile.html # User profile (/profile, /u/[username])+├── avatar-page.html # Public avatar detail (/avatars/[id])├── agent-home.html # Agent detail & action timeline├── agent-edit.html # Agent editing UI├── agent-embed.html # Chromeless embed variant+├── a-edit.html # On-chain agent edit├── a-embed.html # On-chain agent embed│├── src/ # Frontend JavaScript (~80 modules, ~15k lines)diff --git a/api/_lib/avatars.js b/api/_lib/avatars.jsindex 790fd4b81..7244d8722 100644--- a/api/_lib/avatars.js+++ b/api/_lib/avatars.js@@ -14,22 +14,30 @@ export async function listAvatars({}) {limit = Math.min(Math.max(limit, 1), 200);const params = [userId];- const conds = ['deleted_at is null'];- conds.push(includePublic ? `(owner_id = $1 or visibility = 'public')` : `owner_id = $1`);+ const conds = ['a.deleted_at is null'];+ conds.push(includePublic ? `(a.owner_id = $1 or a.visibility = 'public')` : `a.owner_id = $1`);if (visibility) {params.push(visibility);- conds.push(`visibility = $${params.length}`);+ conds.push(`a.visibility = $${params.length}`);}if (cursor) {params.push(new Date(cursor));- conds.push(`created_at < $${params.length}`);+ conds.push(`a.created_at < $${params.length}`);}params.push(limit + 1);const rows = await sql(- `select id, owner_id, slug, name, description, storage_key, thumbnail_key, size_bytes,- content_type, source, visibility, tags, version, created_at, updated_at- from avatars where ${conds.join(' and ')}- order by created_at desc limit $${params.length}`,+ `select a.id, a.owner_id, a.slug, a.name, a.description, a.storage_key, a.thumbnail_key,+ a.size_bytes, a.content_type, a.source, a.visibility, a.tags, a.version,+ a.created_at, a.updated_at, a.parent_avatar_id,+ ai.id as agent_id, ai.wallet_address as agent_wallet_address+ from avatars a+ left join lateral (+ select id, wallet_address from agent_identities+ where avatar_id = a.id and deleted_at is null+ order by created_at asc limit 1+ ) ai on true+ where ${conds.join(' and ')}+ order by a.created_at desc limit $${params.length}`,params,);const hasMore = rows.length > limit;@@ -42,7 +50,14 @@ export async function listAvatars({export async function getAvatar({ id, requesterId = null }) {const rows = await sql`- select * from avatars where id = ${id} and deleted_at is null limit 1+ select a.*, ai.id as agent_id, ai.wallet_address as agent_wallet_address+ from avatars a+ left join lateral (+ select id, wallet_address from agent_identities+ where avatar_id = a.id and deleted_at is null+ order by created_at asc limit 1+ ) ai on true+ where a.id = ${id} and a.deleted_at is null limit 1`;const row = rows[0];if (!row) return null;@@ -228,6 +243,8 @@ function decorate(row) {: null,parent_avatar_id: row.parent_avatar_id || null,thumbnail_url: row.thumbnail_key ? publicUrl(row.thumbnail_key) : null,+ agent_id: row.agent_id || null,+ agent_wallet_address: row.agent_wallet_address || null,};}diff --git a/docs/internal/PAGES.md b/docs/internal/PAGES.mdindex a367e3467..b4ca1b816 100644--- a/docs/internal/PAGES.md+++ b/docs/internal/PAGES.md@@ -5,105 +5,226 @@ description: Comprehensive list of every user-facing page URL served by three.ws# Page URL Audit-Comprehensive list of every user-facing page URL in the three.ws codebase. Excludes `/api/*` endpoints. Routing is defined in [vercel.json](vercel.json).+Comprehensive list of every user-facing page URL in the three.ws codebase. Excludes `/api/*` endpoints. Routing is defined in [vercel.json](../../vercel.json).## Marketing & Landing| URL | Source || :-- | :-- |-| `/` | [index.html](index.html) |-| `/home` | [home.html](home.html) |-| `/features`, `/features/` | [public/features/index.html](public/features/index.html) |-| `/discover`, `/discover/` | [public/discover/index.html](public/discover/index.html) |-| `/explore` | 301 redirect → `/discover` |+| `/` | [home.html](../../home.html) — authenticated-aware landing |+| `/home` | 301 redirect → `/` |+| `/features`, `/features/` | [public/features/index.html](../../public/features/index.html) |+| `/discover`, `/discover/` | [public/discover/index.html](../../public/discover/index.html) |+| `/explore`, `/explore/` | 301 redirect → `/discover` |## App / Core Flow| URL | Source || :-- | :-- |-| `/app` | [app.html](app.html) |-| `/deploy` | [app.html](app.html) (alias) |-| `/create`, `/create/` | [create.html](create.html) |-| `/login` | [login.html](login.html) |-| `/register` | [register.html](register.html) |-| `/profile` | [profile.html](profile.html) |-| `/u/[username]` | [profile.html](profile.html) (dynamic) |-| `/first-meet` | [public/first-meet/index.html](public/first-meet/index.html) |+| `/app` | [app.html](../../app.html) — drag-and-drop viewer |+| `/deploy` | [app.html](../../app.html) (alias) |+| `/create`, `/create/` | [create.html](../../create.html) — agent creation wizard |+| `/first-meet` | [public/first-meet/index.html](../../public/first-meet/index.html) — onboarding |-## Agent Pages (Dynamic)+## Auth| URL | Source || :-- | :-- |-| `/agent` | [agent-home.html](agent-home.html) |-| `/agent/[id]` | [agent-home.html](agent-home.html) |-| `/agent/[id]/embed` | [agent-embed.html](agent-embed.html) (CSP `frame-ancestors *`) |-| `/agent/[id]/edit` | [agent-edit.html](agent-edit.html) |-| `/a/[chain]/[id]` | API-rendered (OG tags) |-| `/a/[chain]/[id]/embed` | [a-embed.html](a-embed.html) |-| `/a/[chain]/[id]/edit` | [a-edit.html](a-edit.html) |-| `/my-agents`, `/my-agents/` | [public/my-agents/index.html](public/my-agents/index.html) — disallowed in [robots.txt](public/robots.txt) |+| `/login` | [public/login.html](../../public/login.html) |+| `/register` | [public/register.html](../../public/register.html) |+| `/forgot-password` | [public/forgot-password.html](../../public/forgot-password.html) |+| `/reset-password` | [public/reset-password.html](../../public/reset-password.html) |++## Profiles++| URL | Source |+| :-- | :-- |+| `/profile` | [profile.html](../../profile.html) |+| `/u/[username]` | [profile.html](../../profile.html) (dynamic) |+| `/avatars/[id]` | [avatar-page.html](../../avatar-page.html) |++## Agent Pages — Platform IDs++| URL | Source |+| :-- | :-- |+| `/agent` | [agent-home.html](../../agent-home.html) |+| `/agent/[id]` | API-rendered ([api/agent-page](../../api/agent-page.js)) for OG/SEO; `?_spa=1` serves [agent-home.html](../../agent-home.html) |+| `/agent/[id]/embed` | [agent-embed.html](../../agent-embed.html) (CSP `frame-ancestors *`) |+| `/agent/[id]/edit` | [agent-edit.html](../../agent-edit.html) |+| `/my-agents`, `/my-agents/` | [public/my-agents/index.html](../../public/my-agents/index.html) — disallowed in [robots.txt](../../public/robots.txt) |++## Agent Pages — On-Chain (EVM + Solana)++| URL | Source |+| :-- | :-- |+| `/a/[chain]/[id]` | API-rendered ([api/a-page](../../api/a-page.js)) — EVM passport with OG tags |+| `/a/[chain]/[id]/embed` | [a-embed.html](../../a-embed.html) (CSP `frame-ancestors *`) |+| `/a/[chain]/[id]/edit` | [a-edit.html](../../a-edit.html) |+| `/a/sol/[asset]` | [public/agent-passport.html](../../public/agent-passport.html) — Solana passport |+| `/a/sol/[asset]/.well-known/agent-card.json` | API-rendered ([api/agents/solana-card](../../api/agents/solana-card.js)) |## Dashboard| URL | Source || :-- | :-- |-| `/dashboard`, `/dashboard/` | [public/dashboard/index.html](public/dashboard/index.html) |-| `/dashboard/actions` | [public/dashboard/actions.html](public/dashboard/actions.html) |-| `/dashboard/embed-policy` | [public/dashboard/embed-policy.html](public/dashboard/embed-policy.html) |-| `/dashboard/sessions` | [public/dashboard/sessions.html](public/dashboard/sessions.html) |-| `/dashboard/storage` | [public/dashboard/storage.html](public/dashboard/storage.html) |-| `/dashboard/usage` | [public/dashboard/usage.html](public/dashboard/usage.html) |-| `/dashboard/wallets` | [public/dashboard/wallets.html](public/dashboard/wallets.html) |+| `/dashboard`, `/dashboard/` | [public/dashboard/index.html](../../public/dashboard/index.html) |+| `/dashboard/actions` | [public/dashboard/actions.html](../../public/dashboard/actions.html) |+| `/dashboard/agent-pumpfun` | [public/dashboard/agent-pumpfun.html](../../public/dashboard/agent-pumpfun.html) |+| `/dashboard/embed-policy` | [public/dashboard/embed-policy.html](../../public/dashboard/embed-policy.html) |+| `/dashboard/sessions` | [public/dashboard/sessions.html](../../public/dashboard/sessions.html) |+| `/dashboard/storage` | [public/dashboard/storage.html](../../public/dashboard/storage.html) |+| `/dashboard/usage` | [public/dashboard/usage.html](../../public/dashboard/usage.html) |+| `/dashboard/wallets` | [public/dashboard/wallets.html](../../public/dashboard/wallets.html) |+| `/settings`, `/settings/` | [public/settings/index.html](../../public/settings/index.html) |## Studio / Creation Tools| URL | Source || :-- | :-- |-| `/studio`, `/studio/` | [public/studio/index.html](public/studio/index.html) |-| `/hydrate`, `/hydrate/` | [public/hydrate/index.html](public/hydrate/index.html) |-| `/validation`, `/validation/` | [public/validation/index.html](public/validation/index.html) |+| `/studio`, `/studio/` | [public/studio/index.html](../../public/studio/index.html) — Widget Studio |+| `/hydrate`, `/hydrate/` | [public/hydrate/index.html](../../public/hydrate/index.html) — import on-chain agent |+| `/validation`, `/validation/` | [public/validation/index.html](../../public/validation/index.html) — glTF validator |+| `/strategy-lab` | [public/strategy-lab.html](../../public/strategy-lab.html) — DCA strategy designer |++## Widgets / Artifacts / Embeds++| URL | Source |+| :-- | :-- |+| `/widgets`, `/widgets/` | [public/widgets-gallery/index.html](../../public/widgets-gallery/index.html) |+| `/w/[id]` | API-rendered ([api/widgets/page](../../api/widgets/page.js)) — OG + oEmbed |+| `/artifact`, `/artifact/` | [public/artifact/index.html](../../public/artifact/index.html) |+| `/artifact/snippet` | [public/artifact/snippet.html](../../public/artifact/snippet.html) |+| `/artifact-example` | [public/artifact-example.html](../../public/artifact-example.html) |+| `/wallet-connect-demo` | [public/wallet-connect-demo.html](../../public/wallet-connect-demo.html) |-## Widgets / Artifacts+## Solana / Pump.fun| URL | Source || :-- | :-- |-| `/widgets`, `/widgets/` | [public/widgets-gallery/index.html](public/widgets-gallery/index.html) |-| `/w/[id]` | API-rendered (OG + oEmbed) |-| `/artifact`, `/artifact/` | [public/artifact/index.html](public/artifact/index.html) |-| `/artifact/snippet` | [public/artifact/snippet.html](public/artifact/snippet.html) |-| `/artifact-example` | [artifact-example.html](artifact-example.html) |-| `/wallet-connect-demo` | [wallet-connect-demo.html](wallet-connect-demo.html) |+| `/pumpfun`, `/pumpfun/` | [public/pumpfun.html](../../public/pumpfun.html) — pump.fun token launcher |+| `/vanity-wallet`, `/vanity-wallet/` | [public/vanity-wallet.html](../../public/vanity-wallet.html) — vanity address grinder |## Admin / Reputation| URL | Source || :-- | :-- |-| `/admin` | [public/admin/index.html](public/admin/index.html) |-| `/reputation` | [public/reputation/index.html](public/reputation/index.html) |+| `/admin`, `/admin/` | [public/admin/index.html](../../public/admin/index.html) |+| `/reputation`, `/reputation/` | [public/reputation/index.html](../../public/reputation/index.html) |## Integrations / Locales| URL | Source || :-- | :-- |-| `/cz`, `/cz/` | [public/cz/index.html](public/cz/index.html) |-| `/cz/offline` | [public/cz/offline/index.html](public/cz/offline/index.html) |-| `/lobehub/iframe`, `/lobehub/iframe/` | [public/lobehub/iframe/index.html](public/lobehub/iframe/index.html) |+| `/cz`, `/cz/` | [public/cz/index.html](../../public/cz/index.html) |+| `/cz/offline` | [public/cz/offline/index.html](../../public/cz/offline/index.html) |+| `/lobehub/iframe`, `/lobehub/iframe/` | [public/lobehub/iframe/index.html](../../public/lobehub/iframe/index.html) |++## Docs++| URL | Source |+| :-- | :-- |+| `/docs`, `/docs/` | [docs/index.html](../index.html) |+| `/docs/widgets` | [docs-widgets.html](../../docs-widgets.html) |+| `/docs/[any]` | [docs/](../) static |-## Legal & Docs+## Legal| URL | Source || :-- | :-- |-| `/legal/privacy` | [legal/privacy.html](legal/privacy.html) |-| `/legal/tos` | [legal/tos.html](legal/tos.html) |-| `/docs/widgets` | [docs-widgets.html](docs-widgets.html) |+| `/legal/privacy` | [legal/privacy.html](../../legal/privacy.html) |+| `/legal/tos` | [legal/tos.html](../../legal/tos.html) |++## Well-Known / Discovery++| URL | Source |+| :-- | :-- |+| `/.well-known/x402` | API ([api/wk-x402](../../api/wk-x402.js)) |+| `/.well-known/agent-attestation-schemas` | API ([api/wk-agent-attestation-schemas](../../api/wk-agent-attestation-schemas.js)) |+| `/.well-known/oauth-authorization-server` | API ([api/wk-oauth-authorization-server](../../api/wk-oauth-authorization-server.js)) |+| `/.well-known/oauth-protected-resource` | API ([api/wk-oauth-protected-resource](../../api/wk-oauth-protected-resource.js)) |+| `/openapi.json` | API ([api/openapi-json](../../api/openapi-json.js)) |## SEO Files| URL | Source || :-- | :-- |-| `/sitemap.xml` | [public/sitemap.xml](public/sitemap.xml) |-| `/robots.txt` | [public/robots.txt](public/robots.txt) |+| `/sitemap.xml` | [public/sitemap.xml](../../public/sitemap.xml) |+| `/robots.txt` | [public/robots.txt](../../public/robots.txt) |++## CDN — Web Component Bundles++| URL | Notes |+| :-- | :-- |+| `/agent-3d/[x.y.z]/agent-3d.js` | Pinned-version bundle (immutable, 1y cache) |+| `/agent-3d/latest/agent-3d.js` | Floating tag (5min cache + SWR) |+| `/agent-3d/[major]/agent-3d.js`, `/agent-3d/[major.minor]/agent-3d.js` | Aliased tags (5min cache + SWR) |+| `/agent-3d/versions.json` | Version manifest (60s cache) |++---++## Feature Surface (by Page)++A high-level map of what each page does, grouped by capability.++### Viewer & Rendering+- **`/app`** — three.js r176 WebGL viewer; drag-drop GLB; Draco/KTX2/Meshopt; HDR; PBR; OrbitControls; dat.GUI parameter tweaking; gltf-validator integration.+- **`/validation`** — standalone Khronos glTF validator with line-level error reporting.++### Agent Creation & Identity+- **`/create`** — full agent creation wizard (avatar upload → brain config → skills → memory → manifest export → optional on-chain mint).+- **`/first-meet`** — onboarding intro / first-time-user experience.+- **`/hydrate`** — import an existing on-chain ERC-8004 agent into the platform.++### Agent Runtime & Talking Surface+- **`/agent/[id]`** — agent passport + chat with LLM tool-loop (Claude), Empathy Layer morph blending, TTS/STT, signed action timeline.+- **`/agent/[id]/embed`** — chromeless iframe embed (CSP allows `frame-ancestors *`).+- **`/agent/[id]/edit`** — owner-only manifest editor (instructions, skills, memory mode, voice, embed policy).++### On-Chain (EVM + Solana)+- **`/a/[chain]/[id]`** — ERC-8004 on-chain passport (server-rendered with OG tags).+- **`/a/[chain]/[id]/embed`** — chromeless on-chain agent embed.+- **`/a/[chain]/[id]/edit`** — on-chain agent edit surface.+- **`/a/sol/[asset]`** — Solana (Metaplex Core) agent passport with attestation feed.+- **`/reputation`** — reputation registry browser (signed feedback + validator attestations).++### Discovery+- **`/discover`** — public agent directory (avatar-prioritized index).+- **`/widgets`** — public widget gallery.+- **`/profile`, `/u/[username]`** — public user profiles.+- **`/avatars/[id]`** — public avatar detail page.++### Distribution & Embeds+- **`/studio`** — Widget Studio: pick avatar → pick widget type (turntable, animation gallery, talking agent, ERC-8004 passport, hotspot tour) → copy embed code.+- **`/w/[id]`** — public widget page (OG + oEmbed for Notion/Substack/WordPress/Webflow).+- **`/artifact`, `/artifact/snippet`, `/artifact-example`** — Claude Artifact viewer bundle and demos.+- **`/wallet-connect-demo`** — embedded WalletConnect/SIWE demo surface.++### Dashboard / Account+- **`/dashboard`** — overview.+- **`/dashboard/actions`** — signed agent action log.+- **`/dashboard/agent-pumpfun`** — pump.fun-launched agent management.+- **`/dashboard/embed-policy`** — per-agent iframe origin allowlist.+- **`/dashboard/sessions`** — active session management (logout-everywhere).+- **`/dashboard/storage`** — R2 / IPFS storage mode per avatar.+- **`/dashboard/usage`** — API usage + quota meters.+- **`/dashboard/wallets`** — linked EVM + Solana wallets.+- **`/settings`** — account settings.+- **`/admin`** — staff-only admin surface.++### Solana Token Economy+- **`/pumpfun`** — pump.fun token launcher with bonded agent linkage.+- **`/vanity-wallet`** — Solana vanity-address grinder.+- **`/strategy-lab`** — DCA strategy designer (cron-executed on-chain orders).++### Auth+- **`/login`, `/register`** — email + password (with SIWE / SIWS / Privy options).+- **`/forgot-password`, `/reset-password`** — password recovery flow.++### Integrations+- **`/cz`, `/cz/offline`** — CZ demo experience.+- **`/lobehub/iframe`** — LobeHub plugin iframe surface.+- **`/docs`, `/docs/widgets`** — developer documentation.----**Total:** ~50 unique URLs (excluding trailing-slash duplicates and dynamic param expansions).+**Total:** ~60 unique URLs (excluding trailing-slash duplicates and dynamic param expansions). For the OAuth + API + cron surface see [api-inventory.md](api-inventory.md).diff --git a/public/dashboard/dashboard.js b/public/dashboard/dashboard.jsindex 17d4367c5..e527b769e 100644--- a/public/dashboard/dashboard.js+++ b/public/dashboard/dashboard.js@@ -1,6 +1,8 @@// Dashboard single-file app. Uses native DOM — no framework.// Keeps bundle small and ensures anything rendering <model-viewer> works without bundler.+import { mountAgentSolanaWalletCard } from '/src/agent-solana-wallet.js';+export const state = { user: null };export const api = {@@ -159,9 +161,11 @@ function avatarCard(a) {<button class="btn sec danger" data-del>Delete</button></div></div>+ <div data-wallet-host></div>`;const previewEl = el.querySelector('[data-preview]');mountAvatarPreview(previewEl, a);+ mountAvatarWalletSection(el.querySelector('[data-wallet-host]'), a);el.querySelector('[data-vis]').addEventListener('change', async (e) => {try {@@ -184,6 +188,51 @@ function avatarCard(a) {return el;}+// Mount the agent's wallet card under an avatar. If the avatar has no linked+// agent, show a "Create agent" CTA pointing at the on-chain deploy flow.+function mountAvatarWalletSection(host, a) {+ if (!host) return;+ if (!a.agent_id) {+ host.innerHTML = `+ <div class="muted" style="margin-top:10px; padding:10px; border:1px dashed #2a2a36; border-radius:8px; font-size:12px">+ No agent linked to this avatar yet.+ <a href="/deploy?avatar=${encodeURIComponent(a.id)}" style="color:#9a8cff">Deploy on-chain</a> to mint one+ and provision a wallet.+ </div>+ `;+ return;+ }+ const evm = a.agent_wallet_address;+ host.innerHTML = `+ ${+ evm+ ? `<div style="margin-top:10px; padding:8px 10px; border:1px solid #2a2a36; border-radius:8px; font-size:12px; line-height:1.5">+ <div class="muted" style="font-size:11px">Agent signing wallet (EVM)</div>+ <div class="row" style="gap:6px; align-items:center">+ <code style="font-size:11px; word-break:break-all; flex:1">${esc(evm)}</code>+ <button class="btn sec" type="button" data-copy-evm style="font-size:11px; padding:4px 8px">Copy</button>+ </div>+ </div>`+ : ''+ }+ <div data-sol-wallet style="margin-top:8px"></div>+ `;+ const copyBtn = host.querySelector('[data-copy-evm]');+ if (copyBtn && evm) {+ copyBtn.addEventListener('click', async () => {+ try {+ await navigator.clipboard.writeText(evm);+ copyBtn.textContent = 'Copied';+ setTimeout(() => (copyBtn.textContent = 'Copy'), 1200);+ } catch {}+ });+ }+ mountAgentSolanaWalletCard({+ panel: host.querySelector('[data-sol-wallet]'),+ identity: { id: a.agent_id, name: a.name },+ });+}+// Lazy-load preview when card scrolls into view. For private avatars, fetch// a short-lived signed URL via /api/avatars/:id. Falls back to a thumbnail or// placeholder if no preview is available.@@ -647,7 +696,9 @@ async function renderEdit(root, params = []) {</div></form></div>+ <div data-wallet-host style="margin-top:20px; max-width:560px; margin-left:auto; margin-right:auto"></div>`;+ mountAvatarWalletSection(body.querySelector('[data-wallet-host]'), avatar);const msg = body.querySelector('#emsg');body.querySelector('#ef').addEventListener('submit', async (e) => {diff --git a/vercel.json b/vercel.jsonindex 322e6cb7c..e86bc3d08 100644--- a/vercel.json+++ b/vercel.json@@ -94,6 +94,8 @@{ "src": "/api/agents/pumpfun", "dest": "/api/agents/pumpfun" },{ "src": "/api/agents/pumpfun-feed", "dest": "/api/agents/pumpfun-feed" },{ "src": "/api/agents/pumpfun-metadata", "dest": "/api/agents/pumpfun-metadata" },+ { "src": "/api/agents/solana-register-prep", "dest": "/api/agents/solana-register-prep" },+ { "src": "/api/agents/solana-register-confirm", "dest": "/api/agents/solana-register-confirm" },{ "src": "/api/agents/([^/]+)", "dest": "/api/agents/[id]" },{ "src": "/api/agents", "dest": "/api/agents" },{ "src": "/api/agent-actions", "dest": "/api/agent-actions" },