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.

Fix Vercel build: move specific function entries before the wildcard

nirholas6c92e7d9bacf
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4741ebda5..66787d531 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
## 2026-06-16
- **Agent Activity — Oracle conviction in real time** (`/activity`) — The trading floor: every Oracle conviction action from every autonomous 3D agent on pump.fun, live. Filter by tier and mode, track outcomes, and copy the winners.
+- **Live Trade Feed — Notable pump.fun Exits** (`/trades`) — Real-time feed of every notable pump.fun exit from three.ws AI agents — realized PnL, hold time, exit multiple, conviction tier, and a one-click path to copy the trader.
- **Oracle — AI Conviction Engine** (`/oracle`) — A fused AI conviction engine for every pump.fun launch: pedigree (who's buying), structure (bundle vs organic), narrative (what story is it riding), and momentum — fused into a single 0–100 conviction score with transparent pillar reasoning.
- **Watchlist** (`/watchlist`) — Your privately-stored watchlist of pump.fun coins — live market caps, graduation status, and quick links to full coin profiles. No account required; stored in your browser.
- **3D Visualizer: Oracle conviction and watchlist in token panel** — The 3D token visualizer now shows Oracle conviction scores when you click any token sphere. The detail panel fetches the live conviction score and tier in the background and displays it with tier color-coding. Also adds a Watch button and Oracle deep-link directly in the panel, so you can add a coin to your watchlist or open its full conviction breakdown without leaving the 3D view. (`/pump-visualizer`) `[improvement]`
@@ -29,6 +30,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Launch detail: pump.fun comment sentiment in Community section** — The coin detail page now shows live pump.fun comment sentiment in the Community section — bullish / bearish / mixed classification with positive, negative, and neutral percentage bars, and a sample comment. Loads asynchronously after the page renders so it never delays the Oracle conviction score or smart money data. Coins with fewer than 3 comments are silently skipped. (`/launches`) `[feature]`
- **Launches: Oracle conviction tier filter** — The Launches feed now has a conviction tier filter: All, Prime, Strong, or Lean. Selecting a tier server-filters the feed — only three.ws agent-launched coins that have reached that Oracle conviction floor appear, sorted by score descending. The Oracle badge on each card is injected synchronously from the API response (no extra batch fetch), so filtered views are faster than before. (`/launches`) `[feature, improvement]`
- **Leaderboard: Oracle Conviction Rankings — agents ranked by conviction win rate** — The Trader Leaderboard now includes an Oracle Conviction Rankings section below the main board. Agents are ranked by conviction win rate across their full Oracle action history (minimum 3 resolved calls required). Each row shows wins/losses, realized PnL, and ROI. A new /api/oracle/leaderboard endpoint drives the data. The Arena agent drawer also now shows the agent's Oracle stats — actions, win rate, and recent calls — alongside their trading record. (`/leaderboard`) `[feature]`
+- **Live Trade Feed — every notable pump.fun win in one public stream** — A new public feed at /trades shows every notable closed position from three.ws AI agents in real time: exit multiple, realized PnL, hold time, Oracle conviction tier, and the number of copiers following that trader. No login needed. Filter by time window (1h / 24h / 7d / 30d), minimum profit threshold, and network. Each card links directly to the trader's profile, the coin on pump.fun, and the on-chain buy/sell transactions. The feed is the platform's top-of-funnel virality surface — every win is a provable, shareable ad. (`/trades`) `[feature]`
- **Oracle — live trade tape and 3D conviction graph in the war room** — Two new war-room surfaces: every coin in Oracle now has a live trade tape inside its drawer that streams every buy and sell in real time, annotated with the trader's archetype — Smart Money, KOL, Sniper, Rugger — the moment it lands on-chain. Known wallets from the reputation graph are labeled inline, so you can see a proven wallet enter in real time without hunting through the holder list. Alongside that, the new 3D conviction graph tab plots every scored coin as a sphere in 3D space: size is conviction score, color is tier, and the graph runs a force-directed physics simulation grouping coins by cultural narrative — meme, AI, tech, culture coins cluster together while you orbit and zoom. Click any sphere to open its full conviction breakdown. Both surfaces are live when you open Oracle. (`/oracle`) `[feature, improvement]`
- **Oracle — one conviction score per launch, and an agent that acts on it** — Oracle is a new way to read pump.fun: instead of a wall of separate metrics, every launch gets one transparent 0–100 conviction score that fuses four reads — WHO is buying it (the proven track record of the wallets in the book), HOW it's being bought (organic vs. a bundle or a single-funder cluster), WHAT it is (a live cultural-narrative read — meme, tech, AI, a news-story meme, a culture or community coin), and HOW it's moving. A hard structural cap means a coordinated bundle or a dumping dev can never read 'strong,' no matter who's in it. Open any coin to see the full breakdown, the exact reasons, and a live 'who's in' panel that labels every early wallet by archetype — smart money, sniper, dumper, rugger — with its real win rate. A wallet leaderboard ranks the proven money, and an honest 'edge' tab shows the realized graduation rate by conviction tier — no backfilled numbers. It also starts sharp on day one: hundreds of known smart-money and KOL wallets are pre-seeded, so the moment one shows up in a launch's order book it's credited immediately, even before the platform has judged it from outcomes. Best of all, you can arm your 3D AI agent to act: it watches the live conviction stream and buys a small position the moment a coin clears your bar, starting in simulate so you can watch it work before any real spend. The more coins and wallets the platform watches, the sharper every score. (`/oracle`) `[feature]`
- **Oracle conviction in the MCP — agents can now read the fused score and the full trader roster** — The pump.fun MCP server now exposes a new get_oracle_conviction tool: it returns the Oracle's fused 0–100 conviction score, tier (prime / strong / lean / watch / avoid), per-pillar breakdown (Pedigree, Structure, Narrative, Momentum), natural-language reasons, badge labels, the complete classified trader roster with reputation labels and win-rates, and the narrative read. The existing get_coin_intel tool has also been upgraded — it now includes the Oracle score inline alongside the raw signals, so a single call is enough for a trade decision. 3D AI agents on the platform can read conviction data and act on it in real time. (`/oracle`) `[feature, sdk]`
diff --git a/data/changelog.json b/data/changelog.json
index 9626aecc9..7111a9450 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,13 @@
{
"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-06-16",
+ "title": "Live Trade Feed — every notable pump.fun win in one public stream",
+ "summary": "A new public feed at /trades shows every notable closed position from three.ws AI agents in real time: exit multiple, realized PnL, hold time, Oracle conviction tier, and the number of copiers following that trader. No login needed. Filter by time window (1h / 24h / 7d / 30d), minimum profit threshold, and network. Each card links directly to the trader's profile, the coin on pump.fun, and the on-chain buy/sell transactions. The feed is the platform's top-of-funnel virality surface — every win is a provable, shareable ad.",
+ "tags": ["feature"],
+ "link": "/trades"
+ },
{
"date": "2026-06-16",
"title": "Oracle: Hot Sectors — live category intelligence on the feed",
diff --git a/data/pages.json b/data/pages.json
index 8069eeacc..4a9200dad 100644
--- a/data/pages.json
+++ b/data/pages.json
@@ -456,6 +456,14 @@
"changefreq": "hourly",
"added": "2026-06-15"
},
+ {
+ "path": "/trades",
+ "title": "Live Trade Feed \u2014 Notable pump.fun Exits",
+ "description": "Real-time feed of every notable pump.fun exit from three.ws AI agents \u2014 realized PnL, hold time, exit multiple, conviction tier, and a one-click path to copy the trader.",
+ "priority": 0.8,
+ "changefreq": "always",
+ "added": "2026-06-16"
+ },
{
"path": "/pay",
"title": "Pay (x402)",
diff --git a/pages/trades.html b/pages/trades.html
new file mode 100644
index 000000000..178a1005b
--- /dev/null
+++ b/pages/trades.html
@@ -0,0 +1,244 @@
+<!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>Live Trade Feed · three.ws</title>
+ <meta
+ name="description"
+ content="Real-time pump.fun wins from three.ws AI agents — every notable exit with on-chain proof, conviction tier, and a one-click copy-trade button."
+ />
+ <meta property="og:type" content="website" />
+ <meta property="og:site_name" content="three.ws" />
+ <meta property="og:url" content="https://three.ws/trades" />
+ <meta property="og:title" content="Live Trade Feed · three.ws" />
+ <meta
+ property="og:description"
+ content="Real-time pump.fun wins from three.ws AI agents — every notable exit with on-chain proof and a one-click copy-trade button."
+ />
+ <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="Live Trade Feed · three.ws" />
+ <meta
+ name="twitter:description"
+ content="Real-time pump.fun wins from three.ws AI agents — every notable exit with on-chain proof."
+ />
+ <meta name="twitter:image" content="https://three.ws/og-image.png" />
+ <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="apple-touch-icon" href="/apple-touch-icon.png" />
+ <link rel="manifest" href="/site.webmanifest" />
+ <link rel="stylesheet" href="/fonts/fonts.css" />
+ <link rel="stylesheet" href="/nav.css" />
+ <link rel="stylesheet" href="/footer.css" />
+ <script defer src="/footer-newsletter.js"></script>
+ <link rel="canonical" href="https://three.ws/trades" />
+ <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Live Trade Feed","description":"Real-time pump.fun wins from three.ws AI agents with on-chain proof.","url":"https://three.ws/trades","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
+
+ <style>
+ :root {
+ --tf-up: #34d399;
+ --tf-prime: #c084fc;
+ --tf-strong: #34d399;
+ --tf-lean: #fbbf24;
+ --tf-watch: #94a3b8;
+ --tf-avoid: #f87171;
+ }
+
+ /* ── Shell ──────────────────────────────────────────── */
+ .tf-shell { max-width: 1040px; margin: 0 auto; padding: 0 20px 80px; }
+
+ /* ── Hero ────────────────────────────────────────────── */
+ .tf-hero { text-align: center; padding: 60px 0 36px; }
+ .tf-kicker { display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 14px; }
+ .tf-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tf-up); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: tflive 2s ease infinite; flex: none; }
+ @keyframes tflive { 0%,100%{box-shadow:0 0 0 0 rgba(52,211,153,.6)} 70%{box-shadow:0 0 0 7px rgba(52,211,153,0)} }
+ .tf-title { font-size: clamp(26px, 5vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; }
+ .tf-sub { color: var(--muted); font-size: 15px; max-width: 520px; margin: 0 auto 28px; line-height: 1.6; }
+
+ /* ── Stats bar ──────────────────────────────────────── */
+ .tf-stats { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
+ .tf-stat { text-align: center; }
+ .tf-stat-val { font: 700 22px/1 var(--mono); color: var(--fg); }
+ .tf-stat-val.green { color: var(--tf-up); }
+ .tf-stat-lbl { font: 600 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-top: 4px; }
+
+ /* ── Controls ───────────────────────────────────────── */
+ .tf-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
+ .tf-seg { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
+ .tf-seg button { background: none; border: none; padding: 6px 12px; font: 600 12px/1 var(--mono); color: var(--faint); cursor: pointer; transition: background .14s, color .14s; }
+ .tf-seg button.on { background: color-mix(in srgb, var(--cyan) 14%, transparent); color: var(--cyan); }
+ .tf-right-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
+ .tf-select-wrap { display: flex; align-items: center; gap: 6px; }
+ .tf-select-lbl { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
+ .tf-select { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; font: 600 12px/1 var(--mono); color: var(--fg); cursor: pointer; }
+ .tf-refresh { background: none; border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; font: 600 11px/1 var(--mono); color: var(--faint); cursor: pointer; transition: border-color .14s, color .14s; }
+ .tf-refresh:hover { border-color: var(--cyan); color: var(--cyan); }
+
+ /* ── Feed grid ──────────────────────────────────────── */
+ .tf-grid { display: flex; flex-direction: column; gap: 12px; }
+
+ /* ── Trade card ─────────────────────────────────────── */
+ .tf-card {
+ background: var(--panel);
+ border: 1px solid var(--line);
+ border-radius: var(--r);
+ padding: 16px 18px;
+ display: grid;
+ grid-template-columns: 48px 1fr auto;
+ gap: 0 14px;
+ align-items: start;
+ transition: border-color .16s, transform .16s;
+ cursor: default;
+ }
+ .tf-card:hover { border-color: color-mix(in srgb, var(--cyan) 38%, var(--line)); transform: translateX(2px); }
+ .tf-card.tf-win { border-left: 3px solid var(--tf-up); }
+
+ /* coin image column */
+ .tf-coin-img-wrap { grid-row: 1 / 3; }
+ .tf-coin-img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--line); border: 1px solid var(--line); display: grid; place-items: center; font: 700 14px/1 var(--mono); color: var(--faint); }
+
+ /* center column */
+ .tf-main { display: flex; flex-direction: column; gap: 5px; }
+ .tf-coin-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
+ .tf-coin-sym { font: 800 15px/1 var(--mono); color: var(--fg); }
+ .tf-coin-name { font: 400 12px/1 var(--sans); color: var(--faint); }
+ .tf-tier-badge {
+ font: 700 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
+ padding: 2px 6px; border-radius: 4px;
+ }
+ .tf-tier-badge.prime { color: #c4b5fd; background: rgba(196,181,253,.12); border: 1px solid rgba(196,181,253,.25); }
+ .tf-tier-badge.strong { color: var(--tf-up); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.2); }
+ .tf-tier-badge.lean { color: var(--tf-lean); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.2); }
+ .tf-tier-badge.watch { color: var(--tf-watch); background: rgba(148,163,184,.1); border: 1px solid rgba(148,163,184,.2); }
+
+ .tf-agent-row { display: flex; align-items: center; gap: 6px; }
+ .tf-agent-img { width: 18px; height: 18px; border-radius: 50%; background: var(--line); border: 1px solid var(--line); flex: none; }
+ .tf-agent-name { font: 600 12px/1 var(--sans); color: var(--muted); }
+ .tf-copier-badge { font: 600 10px/1 var(--mono); color: var(--cyan); background: rgba(0,224,196,.08); border: 1px solid rgba(0,224,196,.18); border-radius: 4px; padding: 1px 5px; }
+
+ .tf-meta-row { display: flex; gap: 12px; flex-wrap: wrap; }
+ .tf-meta-item { font: 400 11.5px/1 var(--mono); color: var(--faint); }
+ .tf-meta-item b { color: var(--muted); }
+ .tf-category { font: 600 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); background: var(--line); border-radius: 4px; padding: 2px 6px; }
+
+ /* right column — pnl */
+ .tf-pnl { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
+ .tf-multiple { font: 800 20px/1 var(--mono); color: var(--tf-up); }
+ .tf-pnl-pct { font: 700 12px/1 var(--mono); color: var(--tf-up); }
+ .tf-pnl-sol { font: 600 11px/1 var(--mono); color: var(--muted); }
+ .tf-exit-reason { font: 600 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--faint); }
+
+ /* actions row — spans full width */
+ .tf-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
+ .tf-btn { font: 600 11px/1 var(--mono); padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; transition: border-color .14s, color .14s, background .14s; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
+ .tf-btn:hover { border-color: var(--cyan); color: var(--cyan); }
+ .tf-btn.primary { border-color: color-mix(in srgb, var(--cyan) 50%, var(--line)); color: var(--cyan); }
+ .tf-btn.primary:hover { background: color-mix(in srgb, var(--cyan) 10%, transparent); }
+
+ /* ── Load more ──────────────────────────────────────── */
+ .tf-loadmore { display: block; width: 100%; text-align: center; margin: 28px 0 0; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); font: 600 13px/1 var(--mono); color: var(--muted); cursor: pointer; transition: border-color .14s, color .14s; }
+ .tf-loadmore:hover { border-color: var(--cyan); color: var(--cyan); }
+ .tf-loadmore[disabled] { opacity: .4; cursor: not-allowed; }
+
+ /* ── Skeleton ───────────────────────────────────────── */
+ .tf-skel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); height: 120px; animation: pulse 1.5s ease infinite; }
+ @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
+
+ /* ── Empty / error ──────────────────────────────────── */
+ .tf-state { text-align: center; padding: 60px 20px; color: var(--faint); }
+ .tf-state h2 { font-size: 18px; margin: 0 0 8px; color: var(--muted); }
+ .tf-state p { font-size: 13px; line-height: 1.6; margin: 0; }
+
+ /* ── Responsive ─────────────────────────────────────── */
+ @media (max-width: 600px) {
+ .tf-card { grid-template-columns: 40px 1fr auto; gap: 0 10px; padding: 12px 14px; }
+ .tf-coin-img { width: 40px; height: 40px; }
+ .tf-multiple { font-size: 17px; }
+ .tf-controls { flex-direction: column; align-items: stretch; }
+ .tf-right-controls { justify-content: space-between; }
+ }
+ </style>
+ </head>
+ <body>
+ <header><div id="nav-container"></div></header>
+ <script src="/nav.js"></script>
+
+ <main class="tf-shell" aria-labelledby="tf-title">
+ <section class="tf-hero">
+ <p class="tf-kicker">
+ <span class="tf-live-dot" aria-hidden="true"></span>
+ Verified on-chain · real trades only
+ </p>
+ <h1 id="tf-title" class="tf-title">Live Trade Feed</h1>
+ <p class="tf-sub">
+ Every notable pump.fun exit from three.ws AI agents — provable PnL, conviction tier,
+ hold time, and a one-click path to copy the trader.
+ </p>
+
+ <div class="tf-stats" aria-label="Feed summary">
+ <div class="tf-stat">
+ <div class="tf-stat-val green" id="tf-stat-wins">—</div>
+ <div class="tf-stat-lbl">Profitable exits</div>
+ </div>
+ <div class="tf-stat">
+ <div class="tf-stat-val" id="tf-stat-avg-pnl">—</div>
+ <div class="tf-stat-lbl">Avg PnL %</div>
+ </div>
+ <div class="tf-stat">
+ <div class="tf-stat-val" id="tf-stat-best">—</div>
+ <div class="tf-stat-lbl">Best multiple</div>
+ </div>
+ <div class="tf-stat">
+ <div class="tf-stat-val" id="tf-stat-traders">—</div>
+ <div class="tf-stat-lbl">Active traders</div>
+ </div>
+ </div>
+ </section>
+
+ <div class="tf-controls" aria-label="Feed filters">
+ <div class="tf-seg" role="tablist" aria-label="Time window" id="tfWinSeg">
+ <button class="tf-seg-btn" data-win="1h" role="tab">1h</button>
+ <button class="tf-seg-btn on" data-win="24h" role="tab" aria-selected="true">24h</button>
+ <button class="tf-seg-btn" data-win="7d" role="tab">7d</button>
+ <button class="tf-seg-btn" data-win="30d" role="tab">30d</button>
+ </div>
+
+ <div class="tf-right-controls">
+ <div class="tf-select-wrap">
+ <label class="tf-select-lbl" for="tfMinPnl">Min PnL</label>
+ <select id="tfMinPnl" class="tf-select" aria-label="Minimum profit filter">
+ <option value="10">+10%</option>
+ <option value="25" selected>+25%</option>
+ <option value="50">+50%</option>
+ <option value="100">+100%</option>
+ <option value="200">+200%</option>
+ </select>
+ </div>
+
+ <div class="tf-select-wrap">
+ <label class="tf-select-lbl" for="tfNetwork">Net</label>
+ <select id="tfNetwork" class="tf-select" aria-label="Network">
+ <option value="mainnet">Mainnet</option>
+ <option value="devnet">Devnet</option>
+ </select>
+ </div>
+
+ <button type="button" class="tf-refresh" id="tfRefresh" aria-label="Refresh feed">↻ Refresh</button>
+ </div>
+ </div>
+
+ <div class="tf-grid" id="tfGrid" role="feed" aria-label="Trade activity feed" aria-busy="true"></div>
+
+ <button type="button" class="tf-loadmore" id="tfLoadMore" hidden>Load more</button>
+ </main>
+
+ <footer id="footer-root"></footer>
+ <script type="module" src="/src/trades.js"></script>
+ </body>
+</html>
diff --git a/public/changelog.json b/public/changelog.json
index eaa07023a..280832f8f 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-16T08:33:12.446Z",
+ "generated_at": "2026-06-16T08:41:01.133Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -16,6 +16,16 @@
"launch"
]
},
+ {
+ "date": "2026-06-16",
+ "type": "launch",
+ "title": "Live Trade Feed — Notable pump.fun Exits",
+ "summary": "Real-time feed of every notable pump.fun exit from three.ws AI agents — realized PnL, hold time, exit multiple, conviction tier, and a one-click path to copy the trader.",
+ "link": "/trades",
+ "tags": [
+ "launch"
+ ]
+ },
{
"date": "2026-06-16",
"type": "launch",
@@ -240,6 +250,16 @@
"feature"
]
},
+ {
+ "date": "2026-06-16",
+ "type": "update",
+ "title": "Live Trade Feed — every notable pump.fun win in one public stream",
+ "summary": "A new public feed at /trades shows every notable closed position from three.ws AI agents in real time: exit multiple, realized PnL, hold time, Oracle conviction tier, and the number of copiers following that trader. No login needed. Filter by time window (1h / 24h / 7d / 30d), minimum profit threshold, and network. Each card links directly to the trader's profile, the coin on pump.fun, and the on-chain buy/sell transactions. The feed is the platform's top-of-funnel virality surface — every win is a provable, shareable ad.",
+ "link": "/trades",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-06-16",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 3bcf13d3a..ddcbf94c4 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -14,6 +14,14 @@
<category>launch</category>
<description>The trading floor: every Oracle conviction action from every autonomous 3D agent on pump.fun, live. Filter by tier and mode, track outcomes, and copy the winners.</description>
</item>
+ <item>
+ <title>Live Trade Feed — Notable pump.fun Exits</title>
+ <link>https://three.ws/trades</link>
+ <guid isPermaLink="false">2026-06-16:Live Trade Feed — Notable pump.fun Exits</guid>
+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>Real-time feed of every notable pump.fun exit from three.ws AI agents — realized PnL, hold time, exit multiple, conviction tier, and a one-click path to copy the trader.</description>
+ </item>
<item>
<title>Oracle — AI Conviction Engine</title>
<link>https://three.ws/oracle</link>
@@ -190,6 +198,14 @@
<category>feature</category>
<description>The Trader Leaderboard now includes an Oracle Conviction Rankings section below the main board. Agents are ranked by conviction win rate across their full Oracle action history (minimum 3 resolved calls required). Each row shows wins/losses, realized PnL, and ROI. A new /api/oracle/leaderboard endpoint drives the data. The Arena agent drawer also now shows the agent's Oracle stats — actions, win rate, and recent calls — alongside their trading record.</description>
</item>
+ <item>
+ <title>Live Trade Feed — every notable pump.fun win in one public stream</title>
+ <link>https://three.ws/trades</link>
+ <guid isPermaLink="false">2026-06-16:Live Trade Feed — every notable pump.fun win in one public stream</guid>
+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>A new public feed at /trades shows every notable closed position from three.ws AI agents in real time: exit multiple, realized PnL, hold time, Oracle conviction tier, and the number of copiers following that trader. No login needed. Filter by time window (1h / 24h / 7d / 30d), minimum profit threshold, and network. Each card links directly to the trader's profile, the coin on pump.fun, and the on-chain buy/sell transactions. The feed is the platform's top-of-funnel virality surface — every win is a provable, shareable ad.</description>
+ </item>
<item>
<title>Oracle — live trade tape and 3D conviction graph in the war room</title>
<link>https://three.ws/oracle</link>
diff --git a/public/features.json b/public/features.json
index a0fc8b080..5e93f723e 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-16T08:33:12.434Z",
+ "generated_at": "2026-06-16T08:41:01.096Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
@@ -556,6 +556,16 @@
"tags": [],
"showcase": false
},
+ {
+ "path": "/trades",
+ "title": "Live Trade Feed — Notable pump.fun Exits",
+ "description": "Real-time feed of every notable pump.fun exit from three.ws AI agents — realized PnL, hold time, exit multiple, conviction tier, and a one-click path to copy the trader.",
+ "added": "2026-06-16",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
{
"path": "/pay",
"title": "Pay (x402)",
diff --git a/public/llms-full.txt b/public/llms-full.txt
index d8538e528..2f19d0638 100644
--- a/public/llms-full.txt
+++ b/public/llms-full.txt
@@ -338,6 +338,12 @@ URL: https://three.ws/leaderboard
Pump.fun traders ranked by a provable, on-chain track record — realized P&L, win rate, drawdown — with every number traceable to its transaction.
+### Live Trade Feed — Notable pump.fun Exits
+
+URL: https://three.ws/trades
+
+Real-time feed of every notable pump.fun exit from three.ws AI agents — realized PnL, hold time, exit multiple, conviction tier, and a one-click path to copy the trader.
+
### Pay (x402)
URL: https://three.ws/pay
diff --git a/public/llms.txt b/public/llms.txt
index 1cae91333..f4006ba03 100644
--- a/public/llms.txt
+++ b/public/llms.txt
@@ -77,6 +77,7 @@ On-chain features: pay-per-call, token launches, vanity wallets.
- [Launch a Coin](https://three.ws/launch): Mint a coin for your 3D AI agent in one flow — pick an agent, set the name, symbol, and image, then launch on pump.fun straight from your wallet with an optional three.ws-branded vanity mint.
- [Agent Launches](https://three.ws/launches): Live public feed of every coin launched by a three.ws agent — market caps, graduation status, and the agent behind each launch.
- [Trader Leaderboard](https://three.ws/leaderboard): Pump.fun traders ranked by a provable, on-chain track record — realized P&L, win rate, drawdown — with every number traceable to its transaction.
+- [Live Trade Feed — Notable pump.fun Exits](https://three.ws/trades): Real-time feed of every notable pump.fun exit from three.ws AI agents — realized PnL, hold time, exit multiple, conviction tier, and a one-click path to copy the trader.
- [Pay (x402)](https://three.ws/pay): Pay-per-call gateway: invoke any x402-protocol paid API with a USDC micro-transaction.
- [Agent Wallet (x402 on Solana)](https://three.ws/play/agent-wallet): Watch your 3D avatar walk up to a paid endpoint and pay for it with its agent wallet — a real USDC micropayment signed by the agent and settled on Solana.
- [Sniper Arena — autonomous AI agents trading live](https://three.ws/play/arena): Watch three.ws AI agents trade pump.fun autonomously in real time. Live P&L leaderboard, each trade signed by the agent's own wallet and verifiable on-chain.
diff --git a/public/nav-data.js b/public/nav-data.js
index c43b97713..30cfc9707 100644
--- a/public/nav-data.js
+++ b/public/nav-data.js
@@ -101,6 +101,13 @@ export const NAV_GROUPS = [
badge: 'New',
desc: 'Top traders ranked by a provable track record',
},
+ {
+ title: 'Live Trade Feed',
+ href: '/trades',
+ badge: 'Live',
+ badgeTone: 'live',
+ desc: 'Every notable pump.fun exit — PnL, hold time, and one-click copy',
+ },
{
title: 'Sniper Arena',
href: '/play/arena',
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index eb8290e2d..dfc1350b2 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -65,7 +65,7 @@
<main class="sm-wrap">
<div class="sm-hero">
<h1>Sitemap</h1>
- <p>All 272 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
+ <p>All 273 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
<div class="sm-formats">
<a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a>
<a href="/llms.txt"><code>llms.txt</code> · for AI agents</a>
@@ -77,7 +77,7 @@
</div>
<div class="sm-filter">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>
- <input id="sm-filter-input" type="search" placeholder="Filter 272 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
+ <input id="sm-filter-input" type="search" placeholder="Filter 273 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
<kbd aria-hidden="true">/</kbd>
</div>
<p class="sm-filter-count" id="sm-filter-count" role="status" aria-live="polite"></p>
@@ -452,7 +452,7 @@
<section class="sm-section" id="crypto">
<header>
- <h2>Crypto<span class="sm-count" data-count>41</span></h2>
+ <h2>Crypto<span class="sm-count" data-count>42</span></h2>
<p class="sm-section-desc">On-chain features: pay-per-call, token launches, vanity wallets.</p>
</header>
<ul class="sm-list">
@@ -491,6 +491,13 @@
<span class="sm-desc">Pump.fun traders ranked by a provable, on-chain track record — realized P&amp;L, win rate, drawdown — with every number traceable to its transaction.</span>
</a>
</li>
+ <li>
+ <a href="/trades">
+ <span class="sm-title">Live Trade Feed — Notable pump.fun Exits</span>
+ <span class="sm-path">/trades</span>
+ <span class="sm-desc">Real-time feed of every notable pump.fun exit from three.ws AI agents — realized PnL, hold time, exit multiple, conviction tier, and a one-click path to copy the trader.</span>
+ </a>
+ </li>
<li>
<a href="/pay">
<span class="sm-title">Pay (x402)</span>
diff --git a/src/oracle.js b/src/oracle.js
index 4ecbd91bf..b0876e52b 100644
--- a/src/oracle.js
+++ b/src/oracle.js
@@ -127,7 +127,12 @@ function boot() {
$$('#tierSeg button').forEach((x) => x.classList.toggle('on', x === b));
state.tier = b.dataset.tier; syncFilterUrl(); loadFeed();
});
- $('#catSel').addEventListener('change', (e) => { state.category = e.target.value; syncFilterUrl(); loadFeed(); });
+ $('#catSel').addEventListener('change', (e) => {
+ state.category = e.target.value;
+ syncFilterUrl();
+ loadFeed();
+ $$('#hotSectors .hs-card').forEach((c) => c.classList.toggle('active', c.dataset.cat === state.category && !!state.category));
+ });
$('#minSel').addEventListener('change', (e) => { state.minScore = Number(e.target.value) || 0; syncFilterUrl(); loadFeed(); });
$('#sortSeg').addEventListener('click', (e) => {
const b = e.target.closest('[data-fsort]'); if (!b) return;
@@ -414,6 +419,12 @@ async function loadHotSectors() {
el.style.display = '';
+ // Sync active state with any pre-selected category from URL params.
+ if (state.category) {
+ const activeCard = el.querySelector(`[data-cat="${CSS.escape(state.category)}"]`);
+ if (activeCard) activeCard.classList.add('active');
+ }
+
el.addEventListener('click', (e) => {
const card = e.target.closest('.hs-card');
if (!card) return;
diff --git a/src/trades.js b/src/trades.js
new file mode 100644
index 000000000..181b3cb8b
--- /dev/null
+++ b/src/trades.js
@@ -0,0 +1,315 @@
+/**
+ * Live Trade Feed controller.
+ *
+ * Renders /api/trades/feed — the public, no-auth feed of notable closed
+ * positions from all three.ws AI agents. Filters by time window, min PnL,
+ * and network. Supports pagination via cursor. Auto-refreshes every 30s.
+ */
+
+import { escapeHtml, fmtSol, fmtPct, holdTime, relTime, shortAddr } from './trader-format.js';
+
+const NETWORK_KEY = 'tf_network';
+const API = '/api/trades/feed';
+const REFRESH_MS = 30_000;
+
+const $ = (sel, root = document) => root.querySelector(sel);
+
+const state = {
+ window: '24h',
+ minPnl: 25,
+ network: localStorage.getItem(NETWORK_KEY) || 'mainnet',
+ cursor: null,
+};
+
+let timer = null;
+
+// ── Boot ─────────────────────────────────────────────────────────────────────
+
+document.addEventListener('DOMContentLoaded', () => {
+ readUrl();
+ applyStateToControls();
+
+ $('#tfWinSeg').addEventListener('click', (e) => {
+ const b = e.target.closest('[data-win]');
+ if (!b) return;
+ $('#tfWinSeg button').forEach((x) => x.classList.toggle('on', x === b));
+ state.window = b.dataset.win;
+ state.cursor = null;
+ writeUrl();
+ load(true);
+ });
+
+ $('#tfMinPnl').addEventListener('change', () => {
+ state.minPnl = Number($('#tfMinPnl').value);
+ state.cursor = null;
+ writeUrl();
+ load(true);
+ });
+
+ $('#tfNetwork').addEventListener('change', () => {
+ state.network = $('#tfNetwork').value;
+ localStorage.setItem(NETWORK_KEY, state.network);
+ state.cursor = null;
+ writeUrl();
+ load(true);
+ });
+
+ $('#tfRefresh').addEventListener('click', () => {
+ state.cursor = null;
+ load(true);
+ });
+
+ $('#tfLoadMore').addEventListener('click', () => loadMore());
+
+ load(true);
+ timer = setInterval(() => {
+ if (!state.cursor) load(false); // only auto-refresh when not deep in pagination
+ }, REFRESH_MS);
+});
+
+// ── URL sync ──────────────────────────────────────────────────────────────────
+
+function readUrl() {
+ const p = new URL(location.href).searchParams;
+ const wins = new Set(['1h', '6h', '24h', '7d', '30d', 'all']);
+ if (wins.has(p.get('window'))) state.window = p.get('window');
+ const mp = Number(p.get('min_pnl_pct'));
+ if (mp > 0) state.minPnl = mp;
+ if (p.get('network') === 'devnet') state.network = 'devnet';
+}
+
+function writeUrl() {
+ const p = new URLSearchParams();
+ p.set('window', state.window);
+ p.set('min_pnl_pct', String(state.minPnl));
+ if (state.network !== 'mainnet') p.set('network', state.network);
+ history.replaceState(null, '', `${location.pathname}?${p}`);
+}
+
+function applyStateToControls() {
+ $(`#tfWinSeg button[data-win="${state.window}"]`)?.classList.add('on');
+ $('#tfWinSeg button[data-win="24h"]')?.classList.toggle('on', state.window === '24h');
+ $('#tfMinPnl').value = String(state.minPnl);
+ $('#tfNetwork').value = state.network;
+ // sync seg buttons
+ $('#tfWinSeg button').forEach((b) => b.classList.toggle('on', b.dataset.win === state.window));
+}
+
+// ── Fetch + render ────────────────────────────────────────────────────────────
+
+async function load(reset = false) {
+ if (reset) {
+ state.cursor = null;
+ showSkeletons();
+ }
+
+ const q = new URLSearchParams({
+ network: state.network,
+ window: state.window,
+ min_pnl_pct: String(state.minPnl),
+ limit: '40',
+ });
+
+ let data;
+ try {
+ const r = await fetch(`${API}?${q}`);
+ if (!r.ok) throw new Error(`HTTP ${r.status}`);
+ data = await r.json();
+ } catch {
+ showError();
+ return;
+ }
+
+ if (!data?.items?.length) {
+ showEmpty();
+ return;
+ }
+
+ state.cursor = data.next_cursor || null;
+ renderStats(data.items);
+ renderItems(data.items, reset);
+
+ const btn = $('#tfLoadMore');
+ btn.hidden = !state.cursor;
+ if (!btn.hidden) btn.textContent = 'Load more';
+}
+
+async function loadMore() {
+ if (!state.cursor) return;
+ const btn = $('#tfLoadMore');
+ btn.disabled = true;
+ btn.textContent = 'Loading…';
+
+ const q = new URLSearchParams({
+ network: state.network,
+ window: state.window,
+ min_pnl_pct: String(state.minPnl),
+ limit: '40',
+ cursor: state.cursor,
+ });
+
+ let data;
+ try {
+ const r = await fetch(`${API}?${q}`);
+ if (!r.ok) throw new Error(`HTTP ${r.status}`);
+ data = await r.json();
+ } catch {
+ btn.disabled = false;
+ btn.textContent = 'Load more';
+ return;
+ }
+
+ if (!data?.items?.length) {
+ btn.hidden = true;
+ return;
+ }
+
+ state.cursor = data.next_cursor || null;
+ renderItems(data.items, false);
+
+ btn.disabled = false;
+ if (!state.cursor) {
+ btn.hidden = true;
+ } else {
+ btn.textContent = 'Load more';
+ }
+}
+
+// ── Stats bar ─────────────────────────────────────────────────────────────────
+
+function renderStats(items) {
+ const pnls = items.map((t) => t.realized_pnl_pct).filter((p) => p != null);
+ const mults = items.map((t) => t.multiple).filter((m) => m != null && m > 0);
+ const traders = new Set(items.map((t) => t.agent_id)).size;
+ const avgPnl = pnls.length ? pnls.reduce((a, b) => a + b, 0) / pnls.length : null;
+ const bestMult = mults.length ? Math.max(...mults) : null;
+
+ const el = (id) => $(id) || { textContent: '' };
+ el('#tf-stat-wins').textContent = items.length;
+ el('#tf-stat-avg-pnl').textContent = avgPnl != null ? `+${Math.round(avgPnl)}%` : '—';
+ el('#tf-stat-best').textContent = bestMult != null ? `${bestMult.toFixed(1)}×` : '—';
+ el('#tf-stat-traders').textContent = traders || '—';
+}
+
+// ── Card render ───────────────────────────────────────────────────────────────
+
+const TIER_LABEL = { prime: 'Prime', strong: 'Strong', lean: 'Lean', watch: 'Watch', avoid: 'Avoid' };
+
+function cardHtml(t) {
+ const sym = escapeHtml((t.symbol || t.mint?.slice(0, 6) || '?').toUpperCase());
+ const name = t.name ? escapeHtml(t.name) : '';
+ const imgSrc = t.image_uri ? escapeHtml(t.image_uri) : '';
+ const agentImg = t.agent_image ? escapeHtml(t.agent_image) : '';
+ const agentName = escapeHtml(t.agent_name || shortAddr(t.agent_id || ''));
+ const traderUrl = `/trader/${escapeHtml(t.agent_id || '')}`;
+
+ const imgHtml = imgSrc
+ ? `<img src="${imgSrc}" alt="" class="tf-coin-img" style="width:48px;height:48px;border-radius:12px;object-fit:cover" onerror="this.outerHTML='<div class=tf-coin-img>${sym.slice(0, 2)}</div>'" loading="lazy" />`
+ : `<div class="tf-coin-img">${sym.slice(0, 2)}</div>`;
+
+ const agentImgHtml = agentImg
+ ? `<img src="${agentImg}" alt="" class="tf-agent-img" style="width:18px;height:18px;border-radius:50%;object-fit:cover" onerror="this.style.display='none'" loading="lazy" />`
+ : '';
+
+ const tierBadge = t.oracle_tier && t.oracle_tier !== 'avoid'
+ ? `<span class="tf-tier-badge ${escapeHtml(t.oracle_tier)}">${escapeHtml(TIER_LABEL[t.oracle_tier] || t.oracle_tier)}</span>`
+ : '';
+
+ const catBadge = t.oracle_category
+ ? `<span class="tf-category">${escapeHtml(t.oracle_category.replace(/_/g, ' '))}</span>`
+ : '';
+
+ const copierBadge = t.copier_count > 0
+ ? `<span class="tf-copier-badge">${t.copier_count} copier${t.copier_count !== 1 ? 's' : ''}</span>`
+ : '';
+
+ const pnlPct = t.realized_pnl_pct != null ? `+${Math.round(t.realized_pnl_pct)}%` : null;
+ const pnlSol = t.realized_pnl_sol != null ? `+${t.realized_pnl_sol.toFixed(3)} SOL` : null;
+ const multStr = t.multiple != null ? `${t.multiple.toFixed(2)}×` : null;
+ const hold = t.hold_seconds != null ? holdTime(t.hold_seconds) : null;
+ const when = t.closed_at ? relTime(t.closed_at) : '';
+
+ const scoreStr = t.oracle_score != null ? `Score ${Math.round(t.oracle_score)}` : '';
+
+ const pumpUrl = t.mint ? `https://pump.fun/${escapeHtml(t.mint)}` : null;
+ const buySig = t.buy_sig ? `https://solscan.io/tx/${escapeHtml(t.buy_sig)}` : null;
+ const sellSig = t.sell_sig ? `https://solscan.io/tx/${escapeHtml(t.sell_sig)}` : null;
+
+ return `<article class="tf-card tf-win" aria-label="${sym} trade by ${agentName}">
+ <div class="tf-coin-img-wrap">${imgHtml}</div>
+
+ <div class="tf-main">
+ <div class="tf-coin-row">
+ <span class="tf-coin-sym">$${sym}</span>
+ ${name ? `<span class="tf-coin-name">${name}</span>` : ''}
+ ${tierBadge}
+ ${catBadge}
+ </div>
+ <div class="tf-agent-row">
+ ${agentImgHtml}
+ <a href="${traderUrl}" class="tf-agent-name">${agentName}</a>
+ ${copierBadge}
+ </div>
+ <div class="tf-meta-row">
+ ${hold ? `<span class="tf-meta-item">Held <b>${hold}</b></span>` : ''}
+ ${when ? `<span class="tf-meta-item">${when}</span>` : ''}
+ ${t.exit_reason ? `<span class="tf-meta-item">Exit <b>${escapeHtml(t.exit_reason.replace(/_/g, ' '))}</b></span>` : ''}
+ ${scoreStr ? `<span class="tf-meta-item">${scoreStr}</span>` : ''}
+ </div>
+ </div>
+
+ <div class="tf-pnl">
+ ${multStr ? `<div class="tf-multiple">${multStr}</div>` : ''}
+ ${pnlPct ? `<div class="tf-pnl-pct">${pnlPct}</div>` : ''}
+ ${pnlSol ? `<div class="tf-pnl-sol">${pnlSol}</div>` : ''}
+ ${t.exit_reason ? `<div class="tf-exit-reason">${escapeHtml(t.exit_reason.replace(/_/g, ' '))}</div>` : ''}
+ </div>
+
+ <div class="tf-actions">
+ <a href="${traderUrl}" class="tf-btn primary">Copy trader →</a>
+ ${pumpUrl ? `<a href="${pumpUrl}" class="tf-btn" target="_blank" rel="noopener">pump.fun ↗</a>` : ''}
+ ${buySig ? `<a href="${buySig}" class="tf-btn" target="_blank" rel="noopener">Buy tx ↗</a>` : ''}
+ ${sellSig ? `<a href="${sellSig}" class="tf-btn" target="_blank" rel="noopener">Sell tx ↗</a>` : ''}
+ </div>
+ </article>`;
+}
+
+// ── DOM helpers ───────────────────────────────────────────────────────────────
+
+function showSkeletons() {
+ const grid = $('#tfGrid');
+ grid.setAttribute('aria-busy', 'true');
+ grid.innerHTML = Array.from({ length: 8 }, () => '<div class="tf-skel" aria-hidden="true"></div>').join('');
+ $('#tfLoadMore').hidden = true;
+}
+
+function renderItems(items, reset) {
+ const grid = $('#tfGrid');
+ grid.removeAttribute('aria-busy');
+ if (reset) {
+ grid.innerHTML = items.map(cardHtml).join('');
+ } else {
+ grid.insertAdjacentHTML('beforeend', items.map(cardHtml).join(''));
+ }
+}
+
+function showEmpty() {
+ const grid = $('#tfGrid');
+ grid.removeAttribute('aria-busy');
+ grid.innerHTML = `<div class="tf-state">
+ <h2>No trades yet</h2>
+ <p>No positions meeting the current filters have closed in this window.<br>
+ Try a wider window or lower minimum PnL threshold, or check back shortly.</p>
+ </div>`;
+ $('#tfLoadMore').hidden = true;
+}
+
+function showError() {
+ const grid = $('#tfGrid');
+ grid.removeAttribute('aria-busy');
+ grid.innerHTML = `<div class="tf-state">
+ <h2>Could not load feed</h2>
+ <p>There was a problem reaching the server. <button class="tf-btn" onclick="location.reload()">Try again</button></p>
+ </div>`;
+ $('#tfLoadMore').hidden = true;
+}
diff --git a/vercel.json b/vercel.json
index 2db0ac716..2c658e9e1 100644
--- a/vercel.json
+++ b/vercel.json
@@ -131,10 +131,6 @@
"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
"maxDuration": 15
},
- "api/**/*.js": {
- "includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
- "maxDuration": 30
- },
"api/oracle/stream.js": {
"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
"maxDuration": 300
@@ -151,6 +147,10 @@
"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
"maxDuration": 10
},
+ "api/trades/feed.js": {
+ "includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
+ "maxDuration": 10
+ },
"api/oracle/categories.js": {
"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
"maxDuration": 10
@@ -165,6 +165,10 @@
},
"api/sniper/history.js": {
"maxDuration": 20
+ },
+ "api/**/*.js": {
+ "includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
+ "maxDuration": 30
}
},
"routes": [
@@ -582,6 +586,10 @@
"src": "/leaderboard/?",
"dest": "/leaderboard.html"
},
+ {
+ "src": "/trades/?",
+ "dest": "/trades.html"
+ },
{
"src": "/oracle/?",
"dest": "/oracle.html"
@@ -1900,6 +1908,10 @@
"src": "/api/sniper/leaderboard",
"dest": "/api/sniper/leaderboard.js"
},
+ {
+ "src": "/api/trades/feed",
+ "dest": "/api/trades/feed.js"
+ },
{
"src": "/api/sniper/history",
"dest": "/api/sniper/history.js"
diff --git a/vite.config.js b/vite.config.js
index f43757ff7..f0096ee8d 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -316,6 +316,7 @@ const appConfig = {
watchlist: resolve(__dirname, 'pages/watchlist.html'),
leaderboard: resolve(__dirname, 'pages/leaderboard.html'),
trader: resolve(__dirname, 'pages/trader.html'),
+ trades: resolve(__dirname, 'pages/trades.html'),
'avatar-embed': resolve(__dirname, 'pages/avatar-embed.html'),
'avatar-wallet-chat': resolve(__dirname, 'pages/avatar-wallet-chat.html'),
'agent-exchange': resolve(__dirname, 'pages/agent-exchange.html'),
@@ -676,6 +677,8 @@ support: resolve(__dirname, 'pages/support.html'),
'/leaderboard/': resolve(root, 'pages/leaderboard.html'),
'/trader': resolve(root, 'pages/trader.html'),
'/trader/': resolve(root, 'pages/trader.html'),
+ '/trades': resolve(root, 'pages/trades.html'),
+ '/trades/': resolve(root, 'pages/trades.html'),
'/pump-live': resolve(root, 'pages/pump-live.html'),
'/pump-live/': resolve(root, 'pages/pump-live.html'),
'/radar': resolve(root, 'pages/radar.html'),