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
marketplace+nav polish + README cron/pumpfun accuracy pass
nirholas994746ac6eb7
diff --git a/README.md b/README.mdindex e98f415e8..e8a87f9f4 100644--- a/README.md+++ b/README.md@@ -1504,23 +1504,32 @@ The full OpenAPI 3.1 spec is available at `/openapi.json`. The key API surface iScheduled via `vercel.json`, these run automatically in production. All cron endpoints are fail-closed — a missing auth token aborts with an error rather than silently skipping (see [Security Hardening](#security-hardening)).+All 22 crons in `vercel.json` are routed through a single dynamic handler at [`api/cron/[name].js`](api/cron/[name].js); the `name` segment selects the handler function. Schedules below match `vercel.json` verbatim.+| Schedule | Endpoint | Purpose ||---|---|---|| Every minute | `/api/cron/run-x-scheduled-posts` | Publish queued X (Twitter) posts |-| Every 3 min | `/api/cron/pumpfun-monitor` | Watch new pump.fun token creates |+| Every 3 min | `/api/cron/pumpfun-monitor` | Watch for new pump.fun token creates || Every 5 min | `/api/cron/expire-pending-purchases` | Clear stale x402 pending purchases || Every 5 min | `/api/cron/solana-attestations-crawl` | Index new Solana feedback / validation memos || Every 5 min | `/api/cron/index-delegations` | Index EIP-7710 delegations || Every 5 min | `/api/cron/run-x-triggers` | Trigger-based X posts (mentions, milestones) |+| Every 5 min | `/api/cron/run-coin-cycle` | Unified coin-launch tick: holder snapshots, vault claims, lottery draws, reflections |+| Every 5 min (offset) | `/api/cron/run-coin-payouts` | Drain the coin-payouts queue; runs on a different minute from `run-coin-cycle` so a stuck payout never blocks the next cycle |+| Every 5 min (offset) | `/api/cron/club-payouts` | Sweep unpaid Pole Club tips to each dancer's wallet || Every 10 min | `/api/cron/pump-agent-stats` | Refresh pump-agent dashboard stats |-| Every 15 min | `/api/cron/erc8004-crawl` | Index new agents from blockchain |-| Every 15 min | `/api/cron/pumpfun-signals` | Sweep pump.fun signals into `pumpfun_signals` table |+| Every 10 min | `/api/cron/solana-attest-event-cleanup` | Prune Solana attestation events older than ~1 hour |+| Every 15 min | `/api/cron/erc8004-crawl` | Index new ERC-8004 mints on indexed chains |+| Every 15 min | `/api/cron/pumpfun-signals` | Sweep pump.fun signals into the `pumpfun_signals` table || Hourly | `/api/cron/cleanup-csrf-tokens` | Expire used / stale CSRF tokens || Hourly | `/api/cron/process-withdrawals` | Sweep creator withdrawals (pump.fun, club tips) || Hourly | `/api/cron/run-dca` | Execute DCA strategy orders |-| Hourly | `/api/cron/run-subscriptions` | Execute recurring subscriptions (x402 + other) |+| Hourly | `/api/cron/run-subscriptions` | Execute recurring x402 subscriptions |+| Hourly | `/api/cron/siwx-gc` | Prune SIWX nonces (10-min replay window) and expired payment grants || Every 6h | `/api/cron/fetch-x-metrics` | Pull X engagement metrics for owned accounts |-| Daily | `/api/cron/audit-log-cleanup` | Rotate audit logs past retention window |+| Every 6h | `/api/cron/process-subscriptions` | Charge creator subscriptions whose period is about to end |+| Daily 03:00 UTC | `/api/cron/settle-royalties` | Settle creator and skill royalties owed |+| Daily 04:00 UTC | `/api/cron/audit-log-cleanup` | Rotate audit logs past the retention window |---@@ -1718,13 +1727,13 @@ Solana agents can ingest live pump.fun activity (GitHub social-fee claims, token| Surface | Path | Purpose ||---|---|---|| MCP client | [api/_lib/pumpfun-mcp.js](api/_lib/pumpfun-mcp.js) | Cached JSON-RPC client to upstream `pumpfun-claims-bot` |-| Read API | [api/agents/pumpfun.js](api/agents/pumpfun.js) | `?op=claims\|graduations\|token\|creator` |-| SSE feed | [api/agents/pumpfun-feed.js](api/agents/pumpfun-feed.js) | Live event stream, 90s window, auto-reconnects |-| Cron crawler | [api/cron/pumpfun-signals.js](api/cron/pumpfun-signals.js) | 15-min sweep → `pumpfun_signals` table |+| Read API | [api/agents/pumpfun.js](api/agents/pumpfun.js) | `GET ?op=claims\|graduations\|token\|creator`, plus `?_handler=feed` for the SSE event stream and `?_handler=metadata` for token metadata. Auth: session or bearer (`mcp`/`profile` scope). |+| Write actions | [api/agents/pumpfun/[action].js](api/agents/pumpfun/[action].js) | Dynamic dispatcher for `buy`, `sell`, `swap`, `launch`, `pay`, `portfolio`, `balances`, and buyback lifecycle (`create`, `accept`, `withdraw`, `distribute`, `extend_account`, `update_authority`, `update_buyback`). |+| Cron crawler | [api/cron/[name].js](api/cron/[name].js) (`name=pumpfun-signals`) | 15-min sweep that writes the `pumpfun_signals` table; routed through the dynamic cron handler. || Skills | [src/agent-skills-pumpfun-watch.js](src/agent-skills-pumpfun-watch.js) | `recent-claims`, `token-intel`, `watch-start`, `watch-stop` || Widget | [src/widgets/pumpfun-feed.js](src/widgets/pumpfun-feed.js) | Live cards overlay |-| Reputation | [api/agents/solana-reputation.js](api/agents/solana-reputation.js) | `pumpfun_signals` block in response |-| Passport | [api/agents/solana-card.js](api/agents/solana-card.js) | `pumpfun` block on the agent card |+| Reputation | [api/agents/solana/[action].js](api/agents/solana/[action].js) (`action=reputation`) | Reputation summary with the `pumpfun_signals` block included in the response |+| Passport | [api/agents/solana/[action].js](api/agents/solana/[action].js) (`action=card`) | Public passport card with the `pumpfun` block on the agent card |The crawler runs on a `*/15 * * * *` schedule (see [vercel.json](vercel.json)) and writes into the `pumpfun_signals` table. Agents subscribed via `watch-start` react to incoming events through the existing protocol bus — no new event types required.diff --git a/pages/marketplace.html b/pages/marketplace.htmlindex b332f96be..ce6fbc9a9 100644--- a/pages/marketplace.html+++ b/pages/marketplace.html@@ -1006,15 +1006,40 @@margin: 0 0 16px;font-size: 14px;}- .market-empty-cta button {- background: #fafafa;- color: #0a0a0a;- border: 0;+ .market-empty-cta-actions {+ display: inline-flex;+ gap: 10px;+ flex-wrap: wrap;+ justify-content: center;+ }+ .market-empty-cta-btn {+ background: rgba(255, 255, 255, 0.04);+ color: #fafafa;+ border: 1px solid #2a2a2a;padding: 10px 18px;border-radius: 10px;- font-weight: 600;+ font-weight: 500;font-size: 13px;cursor: pointer;+ transition: background 0.15s ease, border-color 0.15s ease;+ font-family: inherit;+ }+ .market-empty-cta-btn:hover {+ background: rgba(255, 255, 255, 0.08);+ border-color: #3a3a3a;+ }+ .market-empty-cta-btn.primary {+ background: #fafafa;+ color: #0a0a0a;+ border-color: #fafafa;+ font-weight: 600;+ }+ .market-empty-cta-btn.primary:hover {+ background: #ffffff;+ }+ .market-empty-cta-btn:focus-visible {+ outline: 2px solid #7dd3fc;+ outline-offset: 2px;}.price-badge {@@ -1200,7 +1225,7 @@<button class="market-chip active" data-filter="all" role="tab">All</button><button class="market-chip" data-filter="agents" role="tab">Agents</button><button class="market-chip" data-filter="avatars" role="tab">Avatars</button>- <button class="market-chip" data-filter="onchain" role="tab">Onchain <span class="chip-count" id="chip-count-onchain"></span></button>+ <button class="market-chip" data-filter="onchain" role="tab" title="ERC-8004 agents indexed onchain across Base, Polygon, and Solana" aria-label="Onchain — ERC-8004 agents indexed across all supported chains">Onchain <span class="chip-count" id="chip-count-onchain"></span></button></div><select id="market-sort" class="market-sort"><option value="recommended">Recommended</option>@@ -1314,12 +1339,6 @@<aside class="market-detail-side"><button class="market-fork" id="d-fork">Fork & Chat</button><button class="market-export-btn" id="d-export-json">↓ Export JSON</button>- <div class="market-card market-overview-card">- <div class="row">- <span>What can you do with this Agent?</span>- </div>- <p id="d-overview-side">—</p>- </div><div class="market-related-side" id="d-related-side"></div></aside></div>diff --git a/public/nav.css b/public/nav.cssindex 67701558b..32f489587 100644--- a/public/nav.css+++ b/public/nav.css@@ -75,6 +75,17 @@align-items: center;gap: var(--space-lg, 1.5rem);-webkit-app-region: no-drag;+ /* Header sets line-height: var(--header-h) (56px), which leaks into+ every descendant text node — empty whitespace expands flex items to+ 56px tall, distorting absolute-positioned dropdown anchors. Reset+ it here so the nav lays out at its content's natural height. */+ line-height: 1.2;+}++#nav-container {+ display: flex;+ align-items: center;+ line-height: 1.2;}.home-nav a {diff --git a/src/marketplace.js b/src/marketplace.jsindex bb6242c5d..cf1611c88 100644--- a/src/marketplace.js+++ b/src/marketplace.js@@ -459,6 +459,13 @@ function updateOnchainChipCount() {return;}el.textContent = fmtNumber(total);+ const chip = el.closest('.market-chip');+ if (chip) {+ chip.setAttribute(+ 'aria-label',+ `Onchain — ${fmtNumber(total)} ERC-8004 agents indexed across all supported chains`,+ );+ }}// ── 3D Lobby (Three.js multi-avatar scene, opt-in) ──────────────────────@@ -1995,7 +2002,6 @@ function renderDetailError(msg) {$('d-author').textContent = '';$('d-published').textContent = '';$('d-overview').textContent = '';- $('d-overview-side').textContent = '';const thread = $('d-preview-thread');if (thread) thread.innerHTML = '';}@@ -2025,7 +2031,6 @@ function renderDetail(a, bookmarked) {$('d-category').textContent = CATEGORY_LABELS[a.category] || a.category || 'General';$('d-views').textContent = `⊙ ${fmtNumber(views)}`;$('d-overview').textContent = a.description || '';- $('d-overview-side').textContent = a.description || '';$('d-profile').textContent = a.system_prompt || a.prompt || '(No profile yet.)';startPreviewSession(a);$('d-bookmark').classList.toggle('on', bookmarked);