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
Add Oracle Activity feed and Agent leaderboard tabs
nirholas02fe4f01538f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3234987b1..733e28d56 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -32,6 +32,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Oracle Proof ✓ tab — gallery of verified high-conviction wins** — New Proof ✓ tab on the Oracle page shows every coin that the Oracle called strong or prime and that subsequently delivered — graduated to Raydium or hit ≥2× ATH. Each card shows the conviction score at call time, the four pillar breakdown, and the outcome ATH multiple. Filterable by tier and time window (7d / 30d / 90d). This is the edge made visible: every number is ground-truth, on-chain verifiable. (`/oracle`) `[feature]`- **Oracle social signal — X posts now feed into coin conviction scores** — The Oracle's Narrative pillar now receives real-time social signal from X. When a coin's $SYMBOL is mentioned in a tweet, the post's reach and engagement — views, likes, retweets — translate into a virality boost that raises the Oracle's conviction score. KOL accounts (verified smart-money voices on X) apply a 1.5× multiplier. The POST /api/oracle/social endpoint accepts raw tweet batches from any scraper, and the three.surf chart tool ships a --push-social flag that pipes its tweet analysis directly into the Oracle after each run. (`/oracle`) `[feature, improvement]`- **Oracle wallet drawer: trader profile and copy-trades links** — When you open a wallet from the Oracle's Top Wallets leaderboard, the drawer now shows 'Trader profile ↗' and 'Copy trades →' links below the track record — connecting the wallet reputation system directly to copy trading. The wallet list rows also gain a hover-reveal '→' button that opens the trader profile without needing to open the drawer first. (`/oracle`) `[improvement]`+- **Oracle: Activity feed and Agent leaderboard** — Two new tabs on the Oracle page. Activity shows a live trading floor — every Oracle-armed agent action (buy/outcome/PnL) in real time, filterable by mode, tier, and outcome. Agents ranks every conviction agent by their real track record: win rate, realized PnL, and ROI across all graded calls. Subscribe to copy the top performers directly from the leaderboard. (`/oracle`) `[feature]`- **Portfolio: Oracle conviction for every token you hold** — The portfolio dashboard now shows Oracle conviction scores on Solana tokens. Each row gets a live badge showing the Oracle score and tier (prime / strong / lean). The pump.fun tokens table adds an Oracle column. And when you open any token's detail drawer, a conviction breakdown appears — score dial, pillar bars, and a link to the full Oracle analysis. Helps you make informed hold / sell decisions from the portfolio view. (`/dashboard/portfolio`) `[improvement]`- **Pump Dashboard: live Oracle conviction panel on the main trading desk** — The Pump Dashboard now has a High Conviction panel alongside the live feed — showing the top 5 Oracle-scored coins (score ≥ 60) with their tier badge, 4-pillar bars, and a link to the Oracle drawer. The panel auto-refreshes every 90 seconds and pulses with a live indicator. Clicking any coin opens the full conviction breakdown. (`/pump-dashboard`) `[improvement]`- **Radar drawer: Oracle conviction scores now inline with coin intelligence** — When you open a coin in the /radar drawer, it now shows the Oracle conviction score alongside the coin intelligence analysis — score, tier badge, and four pillar bars (pedigree/structure/narrative/momentum), with a link to the full Oracle breakdown. Data loads asynchronously so the drawer opens instantly. (`/radar`) `[improvement]`diff --git a/data/changelog.json b/data/changelog.jsonindex 14ed255ae..0c78d86a0 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": "Oracle: Activity feed and Agent leaderboard",+ "summary": "Two new tabs on the Oracle page. Activity shows a live trading floor — every Oracle-armed agent action (buy/outcome/PnL) in real time, filterable by mode, tier, and outcome. Agents ranks every conviction agent by their real track record: win rate, realized PnL, and ROI across all graded calls. Subscribe to copy the top performers directly from the leaderboard.",+ "tags": ["feature"],+ "link": "/oracle"+ },{"date": "2026-06-16","title": "Sniper: Oracle conviction gate",diff --git a/pages/oracle.html b/pages/oracle.htmlindex 916e100d0..e752f860d 100644--- a/pages/oracle.html+++ b/pages/oracle.html@@ -494,6 +494,34 @@<div class="lwrap" id="agentLeadWrap"></div></section>+ <!-- ACTIVITY FEED -->+ <section class="view" id="view-activity">+ <p class="intro">Every Oracle-armed agent action in real time — what the autonomous trading floor is buying, what resolved to wins, what didn't. Simulated and live actions together.</p>+ <div class="af-filters">+ <div class="seg" id="afModeSeg">+ <button data-afmode="" class="on">All</button>+ <button data-afmode="live">Live</button>+ <button data-afmode="simulate">Simulate</button>+ </div>+ <div class="seg" id="afTierSeg">+ <button data-aftier="" class="on">All tiers</button>+ <button data-aftier="prime">Prime</button>+ <button data-aftier="strong">Strong</button>+ <button data-aftier="lean">Lean</button>+ </div>+ <div class="seg" id="afOutcomeSeg">+ <button data-afoutcome="" class="on">All outcomes</button>+ <button data-afoutcome="open">Open</button>+ <button data-afoutcome="win">Wins</button>+ <button data-afoutcome="loss">Losses</button>+ </div>+ </div>+ <div id="afTableWrap"></div>+ <div class="af-more" id="afMore" style="display:none">+ <button class="btn" id="afMoreBtn">Load more</button>+ </div>+ </section>+<!-- AGENT --><section class="view" id="view-agent"><div class="apanel">diff --git a/public/changelog.json b/public/changelog.jsonindex 028b33ac3..018cdc43f 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-16T06:20:19.677Z",+ "generated_at": "2026-06-16T06:26:02.424Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -271,6 +271,16 @@"improvement"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "Oracle: Activity feed and Agent leaderboard",+ "summary": "Two new tabs on the Oracle page. Activity shows a live trading floor — every Oracle-armed agent action (buy/outcome/PnL) in real time, filterable by mode, tier, and outcome. Agents ranks every conviction agent by their real track record: win rate, realized PnL, and ROI across all graded calls. Subscribe to copy the top performers directly from the leaderboard.",+ "link": "/oracle",+ "tags": [+ "feature"+ ]+ },{"date": "2026-06-16","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 9d144bde0..b23b2b127 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -214,6 +214,14 @@<category>improvement</category><description>When you open a wallet from the Oracle's Top Wallets leaderboard, the drawer now shows 'Trader profile ↗' and 'Copy trades →' links below the track record — connecting the wallet reputation system directly to copy trading. The wallet list rows also gain a hover-reveal '→' button that opens the trader profile without needing to open the drawer first.</description></item>+ <item>+ <title>Oracle: Activity feed and Agent leaderboard</title>+ <link>https://three.ws/oracle</link>+ <guid isPermaLink="false">2026-06-16:Oracle: Activity feed and Agent leaderboard</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Two new tabs on the Oracle page. Activity shows a live trading floor — every Oracle-armed agent action (buy/outcome/PnL) in real time, filterable by mode, tier, and outcome. Agents ranks every conviction agent by their real track record: win rate, realized PnL, and ROI across all graded calls. Subscribe to copy the top performers directly from the leaderboard.</description>+ </item><item><title>Portfolio: Oracle conviction for every token you hold</title><link>https://three.ws/dashboard/portfolio</link>diff --git a/public/features.json b/public/features.jsonindex 35d54333e..30ddb1296 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-16T06:20:19.666Z",+ "generated_at": "2026-06-16T06:26:02.412Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/src/oracle.js b/src/oracle.jsindex 1eaf9a815..0ad9ce2b5 100644--- a/src/oracle.js+++ b/src/oracle.js@@ -144,6 +144,25 @@ function boot() {$('#proofLoadMoreBtn')?.addEventListener('click', () => {$('#proofLoadMoreBtn').disabled = true; loadProof(false);});+ // activity feed filters+ $('#afModeSeg')?.addEventListener('click', (e) => {+ const b = e.target.closest('[data-afmode]'); if (!b) return;+ $$('#afModeSeg button').forEach((x) => x.classList.toggle('on', x === b));+ _afState.mode = b.dataset.afmode; loadActivity(true);+ });+ $('#afTierSeg')?.addEventListener('click', (e) => {+ const b = e.target.closest('[data-aftier]'); if (!b) return;+ $$('#afTierSeg button').forEach((x) => x.classList.toggle('on', x === b));+ _afState.tier = b.dataset.aftier; loadActivity(true);+ });+ $('#afOutcomeSeg')?.addEventListener('click', (e) => {+ const b = e.target.closest('[data-afoutcome]'); if (!b) return;+ $$('#afOutcomeSeg button').forEach((x) => x.classList.toggle('on', x === b));+ _afState.outcome = b.dataset.afoutcome; loadActivity(true);+ });+ $('#afMoreBtn')?.addEventListener('click', () => {+ $('#afMoreBtn').disabled = true; loadActivity(false);+ });// drawer close$$('#drawer [data-close]').forEach((el) => el.addEventListener('click', closeDrawer));document.addEventListener('keydown', (e) => { if (e.key === 'Escape') closeDrawer(); });@@ -166,6 +185,7 @@ function switchView(view) {if (view === 'edge' && !$('#edgeWrap').dataset.loaded) loadEdge();if (view === 'proof' && !$('#proofGrid').dataset.loaded) loadProof();if (view === 'agents' && !$('#agentLeadWrap').dataset.loaded) loadAgentLeaderboard();+ if (view === 'activity' && !$('#afTableWrap').dataset.loaded) loadActivity(true);if (view === 'agent' && !$('#armBody').dataset.loaded) loadAgentPanel();if (view === 'graph') loadGraph();}@@ -448,6 +468,85 @@ function agentLeadRow(a, i) {</div>`;}+// ── activity feed ─────────────────────────────────────────────────────────────+const _afState = { mode: '', tier: '', outcome: '', cursor: null, loading: false };++async function loadActivity(reset = false) {+ if (_afState.loading) return;+ _afState.loading = true;+ const wrap = $('#afTableWrap');+ wrap.dataset.loaded = '1';+ if (reset) { _afState.cursor = null; wrap.innerHTML = afSkeletons(8); }++ const params = new URLSearchParams({ network: NETWORK, limit: '40' });+ if (_afState.mode) params.set('mode', _afState.mode);+ if (_afState.tier) params.set('tier', _afState.tier);+ if (_afState.outcome) params.set('outcome', _afState.outcome);+ if (_afState.cursor) params.set('before', _afState.cursor);++ const { ok, data } = await api(`/api/oracle/activity?${params}`);+ _afState.loading = false;++ const items = ok && data ? (data.items || []) : [];+ if (!items.length && reset) {+ wrap.innerHTML = `<div class="state"><b>No actions yet</b>Once Oracle-armed agents make their first call, the floor lights up here — every buy, every outcome, in real time.</div>`;+ $('#ctActivity').textContent = '';+ $('#afMore').style.display = 'none';+ return;+ }++ if (reset) {+ wrap.innerHTML = afTableHtml(items);+ } else {+ const tbody = wrap.querySelector('tbody');+ if (tbody) tbody.insertAdjacentHTML('beforeend', items.map(afRow).join(''));+ }++ _afState.cursor = data?.next_before || null;+ const moreEl = $('#afMore');+ const moreBtn = $('#afMoreBtn');+ moreEl.style.display = _afState.cursor ? '' : 'none';+ if (moreBtn) moreBtn.disabled = false;+ const total = data?.summary?.total ?? data?.total ?? null;+ if (reset && total != null) $('#ctActivity').textContent = total;+}++function afSkeletons(n) {+ return `<div class="af-outer">${Array.from({length: n}, () => '<div class="af-skel" style="height:46px;border-bottom:1px solid rgba(255,255,255,0.04)"></div>').join('')}</div>`;+}++function afTableHtml(items) {+ return `<div class="af-outer"><table class="af-table"><thead><tr>+ <th>Agent</th><th>Coin</th><th>Tier</th><th>Score</th><th>Size ◎</th><th>Mode</th><th>Outcome</th><th>PnL ◎</th><th>When</th>+ </tr></thead><tbody>${items.map(afRow).join('')}</tbody></table></div>`;+}++function afRow(a) {+ const av = a.agent_image+ ? `<img class="af-av" src="${esc(a.agent_image)}" alt="" loading="lazy">`+ : `<div class="af-av" style="display:grid;place-items:center;font:700 11px/1 var(--mono);color:var(--faint)">${esc((a.agent_name || '?')[0].toUpperCase())}</div>`;+ const outcome = a.outcome || 'open';+ const outCls = outcome === 'win' ? 'af-outcome-win' : outcome === 'loss' ? 'af-outcome-loss' : 'af-outcome-open';+ const outLabel = outcome === 'win'+ ? `✓ Win${a.peak_multiple ? ` ${Number(a.peak_multiple).toFixed(1)}×` : ''}`+ : outcome === 'loss' ? '✗ Loss' : '—';+ const pnl = a.realized_pnl_sol != null ? Number(a.realized_pnl_sol) : null;+ const pnlStr = pnl != null ? `${pnl >= 0 ? '+' : ''}${Math.abs(pnl) < 0.01 ? pnl.toFixed(4) : pnl.toFixed(3)}` : '—';+ const pnlCls = pnl != null ? (pnl >= 0 ? 'up' : 'dn') : '';+ const modeBadge = a.mode === 'live' ? '<span class="act-live">live</span>' : '<span class="act-sim">sim</span>';+ return `<tr class="af-row">+ <td class="af-agent">${av}<a class="af-name" href="/agents/${encodeURIComponent(a.agent_id)}" target="_blank" rel="noopener">${esc(a.agent_name || 'Agent')}</a></td>+ <td class="af-coin"><a href="${esc(a.pump_url)}" target="_blank" rel="noopener">${esc(a.symbol || a.mint?.slice(0, 6) || '?')}</a></td>+ <td><span class="tierpill ${tierPill(a.tier)}">${esc(a.tier || '—')}</span></td>+ <td class="af-mono">${a.conviction ?? '—'}</td>+ <td class="af-mono">${a.size_sol != null ? Number(a.size_sol).toFixed(3) : '—'}</td>+ <td>${modeBadge}</td>+ <td class="${outCls}">${outLabel}</td>+ <td class="af-mono ${pnlCls}">${pnlStr}</td>+ <td class="af-mono" style="color:var(--faint);font-size:11px">${a.acted_at ? ago(a.acted_at) + ' ago' : '—'}</td>+ </tr>`;+}+// ── edge (backtest) ──────────────────────────────────────────────────────────let _backtest = null;function cacheBacktest(bt) {