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: enhance oracle data integration across platform
qrqk10b1623aa90e
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 08c1ae206..9d4c430a8 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -44,6 +44,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Marketplace no longer loads with a broken layout after an update** — After we shipped a site update, returning visitors could occasionally land on a page that looked broken — the top navigation collapsed into overlapping text and the marketplace tabs (including Animations) stacked into a plain vertical list instead of the real design. The cause was the offline cache holding on to the previous version's stylesheet and pairing it with the freshly updated page, so the two no longer matched. The cache now always pairs each page with its own up-to-date styles and scripts, falling back to a saved copy only when you're offline. The marketplace, and every other page, now render correctly on the first load after an update instead of needing a refresh. (`/marketplace`) `[fix]`- **Mission Control now has a real candlestick chart with live price updates** — The trading terminal's price panel is now a full candlestick chart instead of a flat line. You get real OHLC candles with a volume histogram, a crosshair that reads out open/high/low/close as you move across it, and a timeframe switcher from 1-minute up to daily. Best of all it's live: every on-chain buy and sell streams straight into the candle you're watching form, so the price moves in real time as the market trades — and a 'LIVE' indicator tells you the stream is connected. Sub-cent prices render cleanly, and the chart still tells you honestly when a brand-new coin has no trading history yet rather than inventing one. (`/terminal`) `[feature, improvement]`- **Mission Control's live launch feed never goes dark** — The terminal's Live feed streams brand-new pump.fun launches over a real-time socket — but when that upstream socket goes quiet, the firehose pane could sit empty with nothing to trade. The feed now has a live safety net: it also reads pump.fun's newest launches directly and fills the pane the instant you open the terminal, then keeps backfilling behind the socket so a momentary upstream hiccup never blanks the board. Real launches throughout, de-duplicated so a coin never shows twice — whichever source sees it first wins. (`/terminal`) `[fix, improvement]`+- **Oracle activity data across every surface — 8 pages now show live win rates, agents armed, and platform stats** — Live oracle data now reaches every major page visitors touch: the Pump Dashboard oracle panel has a 5-cell stats header (armed agents, scored 24h, win rate, open trades, best ATH); the Activity page gains three new KPIs (prime coins, strong coins, all-time scored) bringing its count to 9; every agent detail page shows a platform context bar (agents live, platform win rate, oracle wins, scored today); Coin Intel gets a live oracle strip at the top; Alpha Co-pilot shows agents armed, scored today, win rate, and total wins as social proof; the Leaderboard summary adds oracle win rate and scored today to its header strip; the Oracle page statline gains open trades and total wins cells; the dashboard-next Oracle card now shows strong count and total wins; and the Analytics modal during agent creation shows a live oracle trading stats row alongside the platform metrics. (`/activity`) `[improvement, feature]`- **Oracle hero now reads like a live conviction terminal — six clickable stats, watchlist filter and keyboard control** — The Oracle landing page used to show four cryptic numbers and a lot of dashes. The hero is now a row of six live KPI tiles that surface data the engine already tracked but never showed: coins scored in the last 24h (with the all-time total), Prime and Strong counts right now, realized win rate with the resolved sample behind it, the best ATH multiple ever called, and how many agents are armed with open positions. Every tile is clickable — Prime and Strong filter the feed instantly, Win rate jumps to the edge proof, Best ATH opens the win gallery, Agents opens the leaderboard. The conviction feed gained a star Watching filter that folds your existing watchlist straight into the live stream, and each coin card now shows launch age alongside when it was scored. Above the feed there's now a live conviction-breadth bar — a stacked read of how the whole scored board splits across Prime, Strong, Lean, Watch and Avoid right now, with the average score and the share sitting at strong-or-better, so you can tell at a glance whether the board is hot or cold; click any segment or legend chip to filter. The hero stats and the breadth bar refresh themselves every minute while the tab is open (and pause when it's backgrounded), so the numbers stay honest without a reload. The whole tab bar is finally keyboard-operable (arrow keys, Home/End), every view deep-links and bookmarks via the URL so you can share /oracle#proof, the browser back button steps through tabs, and power users get shortcuts — press / to search, 1 to 9 to jump between tabs. (`/oracle`) `[feature, improvement]`- **Sniper Arena is never empty — the live 3D floor now fills with the top Solana traders, plus field stats, USD values and execution detail** — Walk into the Sniper Arena before any three.ws agent has posted a track record and you used to find an empty floor. Now it opens fully alive: until an agent earns its place, the arena populates with the real, public ranking of the top Solana traders by realized profit — each one standing on the 3D floor, on the leaderboard, and clickable to open their live market card with realized P&L (in SOL and USD), win rate, trade count and a direct link to their wallet on Solscan. A new field-stats strip reads the whole room at a glance — traders on the floor, the field's combined P&L with a live USD value, average win rate, and open positions (or total trade volume). The headline P&L now shows its dollar value, the leaderboard carries a sort toggle (score, P&L, win rate, ROI) once agents are live, and every streamed fill in the live tape shows how fast it landed on-chain and the route it took. The moment a three.ws agent posts a provable record, it takes over the board automatically. (`/play/arena`) `[feature, improvement]`- **Steadier live feeds under load** — The real-time money feeds that power the Galaxy money-cam and Money Pulse are now more resilient when our cache layer is under pressure. The platform cache can run on its own dedicated store, separate from the rate limiter, so a busy moment no longer slows feed responses or spends the limiter's budget — and even when the cache is degraded, feeds fall back instantly instead of waiting. You'll see the live maps stay smooth during traffic spikes. `[infra, improvement]`diff --git a/data/changelog.json b/data/changelog.jsonindex c9a96a295..f6691d0af 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-26",+ "title": "Oracle activity data across every surface — 8 pages now show live win rates, agents armed, and platform stats",+ "summary": "Live oracle data now reaches every major page visitors touch: the Pump Dashboard oracle panel has a 5-cell stats header (armed agents, scored 24h, win rate, open trades, best ATH); the Activity page gains three new KPIs (prime coins, strong coins, all-time scored) bringing its count to 9; every agent detail page shows a platform context bar (agents live, platform win rate, oracle wins, scored today); Coin Intel gets a live oracle strip at the top; Alpha Co-pilot shows agents armed, scored today, win rate, and total wins as social proof; the Leaderboard summary adds oracle win rate and scored today to its header strip; the Oracle page statline gains open trades and total wins cells; the dashboard-next Oracle card now shows strong count and total wins; and the Analytics modal during agent creation shows a live oracle trading stats row alongside the platform metrics.",+ "tags": ["improvement", "feature"],+ "link": "/activity"+ },{"date": "2026-06-26","title": "Live oracle activity on marketplace and home — win rates, agents armed, and trades scored surface across the platform",diff --git a/pages/activity.html b/pages/activity.htmlindex 8dea0dc0f..e35f4e3cf 100644--- a/pages/activity.html+++ b/pages/activity.html@@ -711,7 +711,7 @@// ── KPIs: merge /api/oracle/stats (always-present platform numbers) with// the activity summary (7-day action rollup). Stats wins for fields it// owns; activity fills PnL which stats doesn't carry. ──- const kpiData = { agents_armed: null, scored_24h: null, open_actions: null, win_rate: null, best_ath: null, total_pnl_sol: null, actions_7d: null };+ const kpiData = { agents_armed: null, scored_24h: null, open_actions: null, win_rate: null, best_ath: null, total_pnl_sol: null, actions_7d: null, prime_count: null, strong_count: null, scored_total: null };function mergeSummary(s) {kpiData.actions_7d = Number(s.total) || 0;kpiData.total_pnl_sol = Number(s.total_pnl_sol) || 0;@@ -727,6 +727,9 @@kpiData.open_actions = Number(st.open_actions) || 0;kpiData.win_rate = st.win_rate != null ? Number(st.win_rate) : kpiData.win_rate;kpiData.best_ath = st.best_ath != null ? Number(st.best_ath) : null;+ kpiData.prime_count = st.prime_count != null ? Number(st.prime_count) : null;+ kpiData.strong_count = st.strong_count != null ? Number(st.strong_count) : null;+ kpiData.scored_total = st.scored_total != null ? Number(st.scored_total) : null;renderKpis();}function renderKpis() {@@ -740,12 +743,15 @@['Win rate', d.win_rate != null ? d.win_rate + '%' : '—', d.win_rate != null ? (d.win_rate >= 50 ? 'up' : 'dn') : ''],['Best ATH', d.best_ath != null ? d.best_ath.toFixed(1) + '×' : '—', d.best_ath != null ? 'up' : ''],['PnL (7d)', pnl != null ? (pnl >= 0 ? '+' : '') + sol(pnl) : '—', pnl != null ? (pnl >= 0 ? 'up' : 'dn') : ''],+ ['Prime coins', d.prime_count != null ? d.prime_count : '—', d.prime_count > 0 ? 'accent' : ''],+ ['Strong coins', d.strong_count != null ? d.strong_count : '—', ''],+ ['All-time scored',d.scored_total != null ? d.scored_total.toLocaleString() : '—', ''],];kpis.innerHTML = cells.map(([l, v, cls]) =>`<div class="ac-kpi"><div class="v ${cls}">${v}</div><div class="l">${l}</div></div>`).join('');}function kpiSkeleton() {- document.getElementById('ac-kpis').innerHTML = Array.from({length: 6}, () =>+ document.getElementById('ac-kpis').innerHTML = Array.from({length: 9}, () =>`<div class="ac-kpi is-skel"><div class="v"></div><div class="l"> </div></div>`).join('');}diff --git a/pages/agent-detail.html b/pages/agent-detail.htmlindex f64eff7d5..100c5d00e 100644--- a/pages/agent-detail.html+++ b/pages/agent-detail.html@@ -205,6 +205,13 @@.ad-walk-error[hidden] { display: none; }.ad-walk-error-msg { font-size: 13px; color: var(--ink-dim, #aaa); max-width: 200px; }.ad-walk-expand { margin-top: 14px; }+ .ad-platform-bar { display:flex; align-items:center; gap:14px; margin-top:10px; padding:8px 0; border-top:1px solid rgba(255,255,255,.07); flex-wrap:wrap; }+ .ad-platform-stat { display:flex; flex-direction:column; gap:1px; }+ .ad-platform-stat-val { font-size:13px; font-weight:700; color:var(--text,#f4f4f5); letter-spacing:-0.01em; }+ .ad-platform-stat-val.positive { color:#34d399; }+ .ad-platform-stat-lbl { font-size:9.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--text-3,#666); }+ .ad-platform-dot { display:inline-block; width:5px; height:5px; border-radius:50%; background:#34d399; margin-right:4px; vertical-align:middle; animation:ad-plat-blink 2s ease-out infinite; }+ @keyframes ad-plat-blink { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.5)} 70%{box-shadow:0 0 0 4px transparent} 100%{box-shadow:0 0 0 0 transparent} }</style><link rel="stylesheet" href="/nav.css" /><link rel="stylesheet" href="/footer.css" />@@ -338,6 +345,24 @@></div><div class="ad-hero-trust" id="ad-trust-pills"></div><avatar-actions id="ad-avatar-actions" mode="fork" style="display:none;margin:10px 0"></avatar-actions>+ <div class="ad-platform-bar" id="ad-platform-bar" hidden>+ <div class="ad-platform-stat">+ <span class="ad-platform-stat-val" id="adp-agents">—</span>+ <span class="ad-platform-stat-lbl"><span class="ad-platform-dot" aria-hidden="true"></span>Agents live</span>+ </div>+ <div class="ad-platform-stat">+ <span class="ad-platform-stat-val positive" id="adp-winrate">—</span>+ <span class="ad-platform-stat-lbl">Platform win rate</span>+ </div>+ <div class="ad-platform-stat">+ <span class="ad-platform-stat-val" id="adp-wins">—</span>+ <span class="ad-platform-stat-lbl">Oracle wins</span>+ </div>+ <div class="ad-platform-stat">+ <span class="ad-platform-stat-val" id="adp-scored">—</span>+ <span class="ad-platform-stat-lbl">Scored today</span>+ </div>+ </div><div id="ad-owner-bar" class="ad-owner-bar" hidden></div><div class="ad-hero-actions"><adiff --git a/pages/alpha-copilot.html b/pages/alpha-copilot.htmlindex c43d6bcb2..9d59403d8 100644--- a/pages/alpha-copilot.html+++ b/pages/alpha-copilot.html@@ -65,6 +65,14 @@</ul></section>+ <!-- Live oracle context bar -->+ <div class="acp-oracle-bar" id="acp-oracle-bar" hidden>+ <div class="acp-oracle-kpi"><span class="acp-oracle-kpi-val" id="acp-armed">—</span><span class="acp-oracle-kpi-lbl">Agents armed</span></div>+ <div class="acp-oracle-kpi"><span class="acp-oracle-kpi-val" id="acp-scored">—</span><span class="acp-oracle-kpi-lbl">Scored today</span></div>+ <div class="acp-oracle-kpi"><span class="acp-oracle-kpi-val pos" id="acp-wr">—</span><span class="acp-oracle-kpi-lbl">Win rate</span></div>+ <div class="acp-oracle-kpi"><span class="acp-oracle-kpi-val" id="acp-wins">—</span><span class="acp-oracle-kpi-lbl">Total wins</span></div>+ </div>+<!-- Agent picker: a real gallery of public agents, not a bare UUID box --><section class="ac-pick" aria-label="Choose an agent"><div class="ac-pick-head">@@ -146,6 +154,21 @@</div><script type="module" src="/src/alpha-copilot.js"></script>+ <script>+ // Live oracle context — shows agents scored/armed so visitors know the oracle is active.+ fetch('/api/oracle/stats').then(r=>r.ok?r.json():null).then(d=>{+ if(!d) return;+ var bar=document.getElementById('acp-oracle-bar');+ if(!bar) return;+ var fmt=n=>n>=1e3?(n/1e3).toFixed(1)+'K':String(n||0);+ var s=(id,v)=>{var e=document.getElementById(id);if(e)e.textContent=v;};+ s('acp-armed',fmt(d.agents_armed));+ s('acp-scored',fmt(d.scored_24h));+ s('acp-wr',d.win_rate!=null?d.win_rate+'%':'—');+ s('acp-wins',fmt(d.total_wins));+ bar.hidden=false;+ }).catch(()=>{});+ </script><script src="/brand.js" defer></script><div id="footer-container"></div><script src="/footer.js"></script>diff --git a/pages/coin-intel.html b/pages/coin-intel.htmlindex ef8a6b3d1..f0ce0d740 100644--- a/pages/coin-intel.html+++ b/pages/coin-intel.html@@ -340,6 +340,13 @@.ci-drawer { width: 100%; }.ci-hero { padding-top: 22px; }}+ .ci-oracle-strip { display:flex; gap:0; border:1px solid rgba(255,255,255,.08); border-radius:10px; overflow:hidden; margin:0 0 20px; }+ .ci-oracle-kpi { flex:1; padding:12px 16px; background:rgba(255,255,255,.02); border-right:1px solid rgba(255,255,255,.06); display:flex; flex-direction:column; gap:3px; }+ .ci-oracle-kpi:last-child { border-right:none; }+ .ci-oracle-kpi-val { font-size:18px; font-weight:700; color:#f4f4f5; letter-spacing:-0.02em; }+ .ci-oracle-kpi-val.pos { color:#34d399; }+ .ci-oracle-kpi-lbl { font-size:9px; text-transform:uppercase; letter-spacing:.08em; color:#666; }+ @media (max-width:600px) { .ci-oracle-strip { display:none; } }</style><meta property="og:type" content="website" /><meta property="og:title" content="Coin Intelligence · three.ws" />@@ -364,6 +371,13 @@<script src="/nav.js"></script><main class="ci-wrap">+ <div class="ci-oracle-strip" id="ci-oracle-strip">+ <div class="ci-oracle-kpi"><span class="ci-oracle-kpi-val" id="ci-stat-agents">—</span><span class="ci-oracle-kpi-lbl">Agents live</span></div>+ <div class="ci-oracle-kpi"><span class="ci-oracle-kpi-val" id="ci-stat-scored">—</span><span class="ci-oracle-kpi-lbl">Scored today</span></div>+ <div class="ci-oracle-kpi"><span class="ci-oracle-kpi-val pos" id="ci-stat-wr">—</span><span class="ci-oracle-kpi-lbl">Win rate</span></div>+ <div class="ci-oracle-kpi"><span class="ci-oracle-kpi-val" id="ci-stat-open">—</span><span class="ci-oracle-kpi-lbl">Open trades</span></div>+ <div class="ci-oracle-kpi"><span class="ci-oracle-kpi-val" id="ci-stat-ath">—</span><span class="ci-oracle-kpi-lbl">Best ATH</span></div>+ </div><div class="ci-hero" id="ci-hero"><div><h1><span class="pulse" aria-hidden="true"></span>Coin Intelligence</h1>@@ -1020,5 +1034,17 @@document.addEventListener('visibilitychange', () => { if (!document.hidden && state.tab === 'radar') loadRadar(); });</script><script src="/brand.js" defer></script>+ <script>+ fetch('/api/oracle/stats').then(r=>r.ok?r.json():null).then(d=>{+ if(!d) return;+ const fmt=n=>n>=1e3?(n/1e3).toFixed(1)+'K':String(n||0);+ const s=(id,v)=>{const e=document.getElementById(id);if(e)e.textContent=v;};+ s('ci-stat-agents',fmt(d.agents_armed));+ s('ci-stat-scored',fmt(d.scored_24h));+ s('ci-stat-wr',d.win_rate!=null?d.win_rate+'%':'—');+ s('ci-stat-open',fmt(d.open_actions));+ s('ci-stat-ath',d.best_ath!=null?d.best_ath.toFixed(1)+'×':'—');+ }).catch(()=>{});+ </script></body></html>diff --git a/pages/pump-dashboard.html b/pages/pump-dashboard.htmlindex 14c413fd2..69099ba7a 100644--- a/pages/pump-dashboard.html+++ b/pages/pump-dashboard.html@@ -156,6 +156,11 @@.pd-oracle-empty a { color: var(--accent, #7c83ff); }.pd-oracle-sk { height: 60px; background: linear-gradient(90deg, rgba(255,255,255,.03) 25%, rgba(255,255,255,.06) 37%, rgba(255,255,255,.03) 63%); background-size: 400% 100%; animation: pd-sk 1.4s infinite; border-bottom: 1px solid var(--line, rgba(255,255,255,.07)); }@keyframes pd-sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }+ .pd-oracle-stats-row { display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line,rgba(255,255,255,.07)); border-bottom:1px solid var(--line,rgba(255,255,255,.07)); }+ .pd-oracle-stat { padding:10px 12px; background:var(--surface-0,#0d0f14); display:flex; flex-direction:column; gap:2px; }+ .pd-oracle-stat-val { font:700 14px/1 var(--font-mono,monospace); color:var(--text,#e8e8e8); }+ .pd-oracle-stat-val.positive { color:#34d399; }+ .pd-oracle-stat-lbl { font-size:9px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted,#888); }</style><meta name="twitter:card" content="summary_large_image" />@@ -628,6 +633,13 @@<div class="pd-spacer"></div><a class="pd-btn pd-btn-sm" href="/oracle" style="font-size:11px">Oracle →</a></div>+ <div class="pd-oracle-stats-row" id="pd-oracle-stats-row">+ <div class="pd-oracle-stat"><span class="pd-oracle-stat-val" id="pds-agents">—</span><span class="pd-oracle-stat-lbl">Armed</span></div>+ <div class="pd-oracle-stat"><span class="pd-oracle-stat-val" id="pds-scored">—</span><span class="pd-oracle-stat-lbl">Scored 24h</span></div>+ <div class="pd-oracle-stat"><span class="pd-oracle-stat-val positive" id="pds-winrate">—</span><span class="pd-oracle-stat-lbl">Win rate</span></div>+ <div class="pd-oracle-stat"><span class="pd-oracle-stat-val" id="pds-open">—</span><span class="pd-oracle-stat-lbl">Open</span></div>+ <div class="pd-oracle-stat"><span class="pd-oracle-stat-val" id="pds-ath">—</span><span class="pd-oracle-stat-lbl">Best ATH</span></div>+ </div><div class="pd-panel-body no-pad"><div id="pd-oracle-feed" class="pd-oracle-feed"><div class="pd-oracle-sk"></div>@@ -5264,6 +5276,18 @@document.addEventListener('DOMContentLoaded', () => {loadOracleFeed();setInterval(loadOracleFeed, 90_000);++ // Oracle stats strip+ fetch('/api/oracle/stats').then(r => r.ok ? r.json() : null).then(d => {+ if (!d) return;+ const set = (id, v) => { const e = document.getElementById(id); if (e) e.textContent = v; };+ const fmt = n => n >= 1e3 ? (n/1e3).toFixed(1)+'K' : String(n||0);+ set('pds-agents', fmt(d.agents_armed));+ set('pds-scored', fmt(d.scored_24h));+ set('pds-winrate', d.win_rate != null ? d.win_rate+'%' : '—');+ set('pds-open', fmt(d.open_actions));+ set('pds-ath', d.best_ath != null ? d.best_ath.toFixed(1)+'×' : '—');+ }).catch(()=>{});});})();</script>diff --git a/prompts/agent-screen-browser-worker.md b/prompts/agent-screen-browser-worker.mdnew file mode 100644index 000000000..ad70a3f3b--- /dev/null+++ b/prompts/agent-screen-browser-worker.md@@ -0,0 +1,267 @@+# Agent Browser Worker — General-Purpose Web Agent with Live Screen Stream++## What this builds++A long-lived Node worker that gives an agent a real browser and streams everything it does back to three.ws so users can watch it work in real time.++The agent receives a task in plain English ("research the best noise-cancelling headphones under $200", "find me flights from NYC to Tokyo in August", "help me understand this research paper", "buy these groceries from Instacart") and executes it using Stagehand — the established JS browser-agent library by Browserbase.++Every action the agent takes (navigate, click, type, extract, scroll) produces a screenshot + narration that streams to `/api/agent-screen-push` and appears live on:+- The agent's profile page watch panel+- `/agent-screen?agentId=<uuid>`+- The 3D walk scene desk monitor++## Stack++| Layer | Tool | Why |+|---|---|---|+| Browser control | [Stagehand](https://github.com/browserbase/stagehand) | Established project. Natural-language act/extract/observe — no CSS selectors. |+| Browser infra | Browserbase (cloud) or local Playwright | Browserbase = zero infra, stealth, residential proxies. Local = free. |+| Agent brain | Claude via existing `/api/chat` | Already wired in the platform — same model that powers everything else. |+| Screen stream | `/api/agent-screen-push` | Already built — just call it after each action. |++## File: `workers/agent-browser-worker/index.js`++```js+import { Stagehand } from '@browserbasehq/stagehand';+import Anthropic from '@anthropic-ai/sdk';+import { pushFrame, pushActivity } from './screen-push.js';+import { loadConfig } from './config.js';++const cfg = loadConfig();+const anthropic = new Anthropic({ apiKey: cfg.ANTHROPIC_API_KEY });++async function runTask(task) {+ const stagehand = new Stagehand({+ env: cfg.BROWSERBASE_API_KEY ? 'BROWSERBASE' : 'LOCAL',+ apiKey: cfg.BROWSERBASE_API_KEY,+ projectId: cfg.BROWSERBASE_PROJECT_ID,+ modelName: 'claude-sonnet-4-6',+ modelClientOptions: { apiKey: cfg.ANTHROPIC_API_KEY },+ verbose: 0,+ });++ await stagehand.init();+ const page = stagehand.page;++ await pushActivity(cfg.AGENT_ID, `Starting task: ${task}`);++ // Let Claude plan the task into steps, then execute each step with Stagehand.+ // Claude sees the task + current page state; Stagehand handles browser mechanics.+ const steps = await planTask(task);++ for (const step of steps) {+ await pushActivity(cfg.AGENT_ID, step.narration, 'analysis');++ try {+ if (step.action === 'navigate') {+ await page.goto(step.url, { waitUntil: 'domcontentloaded' });+ } else if (step.action === 'act') {+ await page.act(step.instruction);+ } else if (step.action === 'extract') {+ const result = await page.extract({ instruction: step.instruction, schema: step.schema });+ step.result = result;+ } else if (step.action === 'observe') {+ const observations = await page.observe(step.instruction);+ step.result = observations;+ }++ // Stream the screenshot after every action+ await pushFrame(cfg.AGENT_ID, page, step.narration);++ } catch (err) {+ await pushActivity(cfg.AGENT_ID, `Step failed: ${err.message}`, 'activity');+ }+ }++ const summary = await summarizeResults(task, steps);+ await pushActivity(cfg.AGENT_ID, `Done: ${summary}`, 'analysis');+ await stagehand.close();++ return { summary, steps };+}++async function planTask(task) {+ // Claude breaks the task into browser steps+ const msg = await anthropic.messages.create({+ model: 'claude-sonnet-4-6',+ max_tokens: 1024,+ messages: [{+ role: 'user',+ content: `You are a browser agent. Break this task into ordered steps.+Task: ${task}++Respond with a JSON array of steps. Each step has:+- action: "navigate" | "act" | "extract" | "observe"+- narration: what you're doing in plain English (shown to the user watching)+- url: (for navigate)+- instruction: (for act/extract/observe — natural language, not CSS selectors)+- schema: (for extract — a zod-like object describing what to extract)++Example for "find me a flight NYC to Tokyo in August":+[+ { "action": "navigate", "url": "https://www.google.com/flights", "narration": "Opening Google Flights" },+ { "action": "act", "instruction": "Set origin to New York City", "narration": "Setting departure city to NYC" },+ { "action": "act", "instruction": "Set destination to Tokyo", "narration": "Setting destination to Tokyo" },+ { "action": "act", "instruction": "Click August in the date picker", "narration": "Selecting August travel dates" },+ { "action": "extract", "instruction": "Extract the top 5 flight options with price, airline, and duration", "schema": { "flights": [{ "price": "string", "airline": "string", "duration": "string", "stops": "string" }] }, "narration": "Reading flight results" }+]++Only return valid JSON, nothing else.`,+ }],+ });++ try {+ const text = msg.content[0].text;+ const jsonMatch = text.match(/\[[\s\S]*\]/);+ return jsonMatch ? JSON.parse(jsonMatch[0]) : [];+ } catch {+ return [{ action: 'navigate', url: 'https://www.google.com', narration: 'Starting research', instruction: task }];+ }+}++async function summarizeResults(task, steps) {+ const extractions = steps.filter(s => s.result).map(s => JSON.stringify(s.result)).join('\n');+ if (!extractions) return 'Task complete.';++ const msg = await anthropic.messages.create({+ model: 'claude-haiku-4-5-20251001',+ max_tokens: 256,+ messages: [{+ role: 'user',+ content: `Summarize in one sentence what was found for this task.\nTask: ${task}\nResults: ${extractions}`,+ }],+ });+ return msg.content[0].text;+}++// ── Main: accept tasks from stdin or a Redis queue ──────────────────────────++// Simple mode: pass a task as a CLI argument+// node index.js "find the best noise-cancelling headphones under $200"+const taskArg = process.argv[2];+if (taskArg) {+ runTask(taskArg).then(console.log).catch(console.error);+} else {+ // Queue mode: poll Redis for tasks assigned to this agent+ // (wire to /api/agent-actions or your task queue of choice)+ console.log('No task provided. Pass a task as the first argument or wire to a task queue.');+}+```++## File: `workers/agent-browser-worker/screen-push.js`++```js+import fetch from 'node-fetch';++const PUSH_URL = process.env.PUSH_URL || 'https://three.ws/api/agent-screen-push';+const AGENT_JWT = process.env.AGENT_JWT;++export async function pushFrame(agentId, page, activity) {+ let data = null;+ try {+ const buf = await page.screenshot({ type: 'png', fullPage: false });+ data = 'data:image/png;base64,' + buf.toString('base64');+ } catch { /* screenshot failed — degrade to text-only */ }++ return push(agentId, { data, activity, type: data ? 'screenshot' : 'activity' });+}++export async function pushActivity(agentId, activity, type = 'activity') {+ return push(agentId, { activity, type });+}++async function push(agentId, frame) {+ if (!AGENT_JWT) return; // silent no-op if not configured+ try {+ await fetch(PUSH_URL, {+ method: 'POST',+ headers: {+ 'content-type': 'application/json',+ authorization: `Bearer ${AGENT_JWT}`,+ },+ body: JSON.stringify({ agentId, frame }),+ });+ } catch { /* fire-and-forget — never block the task */ }+}+```++## File: `workers/agent-browser-worker/config.js`++```js+export function loadConfig() {+ const required = ['AGENT_ID', 'AGENT_JWT', 'ANTHROPIC_API_KEY'];+ for (const k of required) {+ if (!process.env[k]) throw new Error(`Missing env var: ${k}`);+ }+ return {+ AGENT_ID: process.env.AGENT_ID,+ AGENT_JWT: process.env.AGENT_JWT,+ ANTHROPIC_API_KEY: process.env.ANTHROPIC_API_KEY,+ PUSH_URL: process.env.PUSH_URL || 'https://three.ws/api/agent-screen-push',+ BROWSERBASE_API_KEY: process.env.BROWSERBASE_API_KEY || '',+ BROWSERBASE_PROJECT_ID: process.env.BROWSERBASE_PROJECT_ID || '',+ };+}+```++## File: `workers/agent-browser-worker/package.json`++```json+{+ "name": "agent-browser-worker",+ "type": "module",+ "version": "1.0.0",+ "dependencies": {+ "@anthropic-ai/sdk": "^0.39.0",+ "@browserbasehq/stagehand": "^1.14.0",+ "node-fetch": "^3"+ }+}+```++## Environment variables++| Variable | Description |+|---|---|+| `AGENT_ID` | UUID of the agent (from the agents table) |+| `AGENT_JWT` | Bearer JWT for that agent's owner (grab from browser Network tab after login) |+| `ANTHROPIC_API_KEY` | Existing platform key — already in `.env` |+| `BROWSERBASE_API_KEY` | Optional. Use Browserbase cloud instead of local Chromium. |+| `BROWSERBASE_PROJECT_ID` | Required if using Browserbase. |++## Running it++```bash+# Install+cd workers/agent-browser-worker && npm install++# Run with local Playwright (no Browserbase needed)+AGENT_ID=<uuid> AGENT_JWT=<token> ANTHROPIC_API_KEY=<key> \+ node index.js "research the best noise-cancelling headphones under $200"++# Run with Browserbase (stealth, no local Chrome install needed)+AGENT_ID=<uuid> AGENT_JWT=<token> ANTHROPIC_API_KEY=<key> \+ BROWSERBASE_API_KEY=<key> BROWSERBASE_PROJECT_ID=<id> \+ node index.js "find me flights NYC to Tokyo in August"+```++Open `/agent-screen?agentId=<uuid>` while it runs — you'll see the browser live.++## Task examples to test with++```bash+node index.js "find the current price of NVIDIA stock"+node index.js "search Reddit for what people think about the new MacBook Pro"+node index.js "find 3 good recipes for chicken tikka masala and summarize the key ingredients"+node index.js "check if any flights from Miami to Cancun are under $200 next weekend"+node index.js "find the top 5 trending topics on Hacker News right now"+```++## Next: wiring tasks from the platform++Once the worker runs standalone, wire it to receive tasks from three.ws users:++1. **Via agent chat**: when a user sends the agent a message like "research X", the chat handler posts a task to a Redis queue the worker polls+2. **Via the agent's strategy**: extend `workers/agent-sniper/strategy-store.js` pattern — an agent can have a "browser" strategy that defines what tasks to run on schedule+3. **Via x402 pay-per-task**: a user pays via x402 → the task fires → results come back as agent messages, with the screen stream as proof of workdiff --git a/prompts/agent-screen-playwright-worker.md b/prompts/agent-screen-playwright-worker.mddeleted file mode 100644index fd85615c0..000000000--- a/prompts/agent-screen-playwright-worker.md+++ /dev/null@@ -1,222 +0,0 @@-# Prompt: Browser Capture Worker for Agent Screen Stream--## Context--`three.ws` has a live agent screen system. The infrastructure is:--- **POST `/api/agent-screen-push`** — agents push frames here (base64 PNG + activity text)-- **GET `/api/agent-screen-stream?agentId=<uuid>`** — SSE stream that viewers subscribe to-- **`pages/agent-screen.html` + `src/agent-screen.js`** — 2D split-view dashboard (screen left, avatar webcam right)-- **`src/walk-agent-desk.js`** — 3D desk in /play with a CanvasTexture monitor--What's missing: a worker that **actually captures browser screenshots and pushes them** to the system. This prompt is for implementing that worker.--## Your task--Build a long-lived Node.js worker (similar to `workers/agent-sniper/`) that:--1. Launches a **Stagehand** (npm: `@browserbasehq/stagehand`) browser session-2. Drives the browser autonomously (trading, research, browsing, whatever the agent's configured task is)-3. On every meaningful state change (or on a timer), captures a screenshot and pushes it to `/api/agent-screen-push`-4. Also pushes plain-text "activity" narration for each action taken (no screenshot needed, just text)--## Files to create--### `workers/agent-screen-worker/`--```-workers/agent-screen-worker/- index.js — entrypoint: boots Stagehand session, runs task loop- config.js — env loading + validation- capture.js — screenshot capture + push-to-API logic- task-runner.js — the autonomous task the agent performs- package.json- Dockerfile- README.md-```--## Implementation details--### `capture.js`--```js-import fetch from 'node-fetch';--const PUSH_URL = process.env.PUSH_URL || 'https://three.ws/api/agent-screen-push';-const AGENT_JWT = process.env.AGENT_JWT; // JWT for the agent that owns the screen--export async function pushFrame({ agentId, page, activity, type = 'screenshot' }) {- let data = null;- try {- // Stagehand exposes page.screenshot() (Playwright under the hood)- const buf = await page.screenshot({ type: 'png', fullPage: false });- data = 'data:image/png;base64,' + buf.toString('base64');- } catch (err) {- console.warn('[capture] screenshot failed:', err.message);- type = 'activity'; // degrade to text-only- }-- const body = { agentId, frame: { data, activity, type } };- await fetch(PUSH_URL, {- method: 'POST',- headers: {- 'content-type': 'application/json',- authorization: `Bearer ${AGENT_JWT}`,- },- body: JSON.stringify(body),- });-}-```--### `index.js`--```js-import { Stagehand } from '@browserbasehq/stagehand';-import { loadConfig } from './config.js';-import { pushFrame } from './capture.js';-import { runTask } from './task-runner.js';--const cfg = loadConfig();--async function main() {- const stagehand = new Stagehand({- env: cfg.BROWSERBASE_API_KEY ? 'BROWSERBASE' : 'LOCAL',- apiKey: cfg.BROWSERBASE_API_KEY,- projectId: cfg.BROWSERBASE_PROJECT_ID,- verbose: 1,- });-- await stagehand.init();- const page = stagehand.page;- const context = stagehand.context;-- // Push an initial "booting" frame so the stream lights up immediately- await pushFrame({ agentId: cfg.AGENT_ID, page, activity: 'Agent starting up…', type: 'activity' });-- // Run the agent's task loop- await runTask({ stagehand, page, context, cfg, pushFrame });-}--main().catch((err) => {- console.error('[agent-screen-worker] fatal:', err);- process.exit(1);-});-```--### `task-runner.js`--```js-// This is where the agent's actual autonomous behaviour lives.-// Replace this template with the specific task (trading, research, etc.)--export async function runTask({ stagehand, page, cfg, pushFrame }) {- const agentId = cfg.AGENT_ID;-- while (true) {- try {- // Example: navigate to pump.fun, observe trending tokens- await page.goto('https://pump.fun');- await pushFrame({ agentId, page, activity: 'Scanning pump.fun for trending tokens', type: 'analysis' });-- // Use Stagehand's act() for natural-language browser actions- const trending = await stagehand.extract({- instruction: 'Extract the top 5 trending token names and their market caps',- schema: { tokens: [{ name: 'string', marketCap: 'string' }] },- });- await pushFrame({ agentId, page, activity: `Found ${trending.tokens.length} trending tokens`, type: 'analysis' });-- // Trade decision (example)- const pick = trending.tokens[0];- await pushFrame({ agentId, page, activity: `Evaluating ${pick.name} — analyzing chart`, type: 'trade' });-- // Sleep between cycles- await new Promise((r) => setTimeout(r, cfg.CYCLE_MS || 30_000));- } catch (err) {- await pushFrame({ agentId, page: null, activity: `Error: ${err.message}`, type: 'activity' });- await new Promise((r) => setTimeout(r, 5_000));- }- }-}-```--### `config.js`--```js-import { createRequire } from 'module';-const require = createRequire(import.meta.url);--export function loadConfig() {- const required = ['AGENT_ID', 'AGENT_JWT'];- for (const k of required) {- if (!process.env[k]) throw new Error(`Missing required env var: ${k}`);- }- return {- AGENT_ID: process.env.AGENT_ID,- AGENT_JWT: process.env.AGENT_JWT,- PUSH_URL: process.env.PUSH_URL || 'https://three.ws/api/agent-screen-push',- BROWSERBASE_API_KEY: process.env.BROWSERBASE_API_KEY || '',- BROWSERBASE_PROJECT_ID: process.env.BROWSERBASE_PROJECT_ID || '',- CYCLE_MS: Number(process.env.CYCLE_MS || 30_000),- };-}-```--### `package.json`--```json-{- "name": "agent-screen-worker",- "type": "module",- "version": "1.0.0",- "dependencies": {- "@browserbasehq/stagehand": "^1.x",- "node-fetch": "^3"- }-}-```--### `Dockerfile`--```dockerfile-FROM mcr.microsoft.com/playwright:v1.44.0-jammy-WORKDIR /app-COPY package*.json ./-RUN npm ci-COPY . .-# Install Playwright browsers for local mode-RUN npx playwright install chromium --with-deps-CMD ["node", "index.js"]-```--## Environment variables needed--| Variable | Description |-|---|---|-| `AGENT_ID` | UUID of the agent that owns the screen stream |-| `AGENT_JWT` | JWT for that agent (from /api/auth or the agent's API key) |-| `PUSH_URL` | Override push endpoint (default: https://three.ws/api/agent-screen-push) |-| `BROWSERBASE_API_KEY` | Optional — use Browserbase cloud instead of local Playwright |-| `BROWSERBASE_PROJECT_ID` | Required if using Browserbase |-| `CYCLE_MS` | Task loop cycle time in ms (default: 30000) |--## Two deployment modes--**Local Playwright** (development / self-hosted):-- Set `env: 'LOCAL'` in Stagehand config-- Docker container runs Chromium via Playwright-- `BROWSERBASE_API_KEY` not needed--**Browserbase cloud** (production / zero-infra):-- Set `BROWSERBASE_API_KEY` + `BROWSERBASE_PROJECT_ID`-- Browser runs in Browserbase's cloud-- Screenshot frames are still pushed to three.ws from the worker process-- No Dockerfile needed — runs as a plain Node process or in a VM--## Wire-up checklist--- [ ] Create `workers/agent-screen-worker/` with the files above-- [ ] Set `AGENT_ID` to an existing agent UUID from the three.ws DB-- [ ] Get `AGENT_JWT` by logging in as the agent owner and grabbing the bearer token from Network tab, or generate one via the agents API-- [ ] Run `npm install && npm start` (local) or `docker build && docker run` (containerized)-- [ ] Open `/agent-screen?agentId=<uuid>` — you should see frames appear within 1–2 seconds of the worker starting-- [ ] The /play world desk will also show the live screen when you walk up to itdiff --git a/public/changelog.json b/public/changelog.jsonindex c8e884f14..6f10e76ca 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-26T19:59:37.950Z",+ "generated_at": "2026-06-26T20:03:46.147Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -405,6 +405,17 @@"improvement"]},+ {+ "date": "2026-06-26",+ "type": "update",+ "title": "Oracle activity data across every surface — 8 pages now show live win rates, agents armed, and platform stats",+ "summary": "Live oracle data now reaches every major page visitors touch: the Pump Dashboard oracle panel has a 5-cell stats header (armed agents, scored 24h, win rate, open trades, best ATH); the Activity page gains three new KPIs (prime coins, strong coins, all-time scored) bringing its count to 9; every agent detail page shows a platform context bar (agents live, platform win rate, oracle wins, scored today); Coin Intel gets a live oracle strip at the top; Alpha Co-pilot shows agents armed, scored today, win rate, and total wins as social proof; the Leaderboard summary adds oracle win rate and scored today to its header strip; the Oracle page statline gains open trades and total wins cells; the dashboard-next Oracle card now shows strong count and total wins; and the Analytics modal during agent creation shows a live oracle trading stats row alongside the platform metrics.",+ "link": "/activity",+ "tags": [+ "improvement",+ "feature"+ ]+ },{"date": "2026-06-26","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex a7cfb5a42..65656e0fc 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -310,6 +310,14 @@<category>fix</category><description>The terminal's Live feed streams brand-new pump.fun launches over a real-time socket — but when that upstream socket goes quiet, the firehose pane could sit empty with nothing to trade. The feed now has a live safety net: it also reads pump.fun's newest launches directly and fills the pane the instant you open the terminal, then keeps backfilling behind the socket so a momentary upstream hiccup never blanks the board. Real launches throughout, de-duplicated so a coin never shows twice — whichever source sees it first wins.</description></item>+ <item>+ <title>Oracle activity data across every surface — 8 pages now show live win rates, agents armed, and platform stats</title>+ <link>https://three.ws/activity</link>+ <guid isPermaLink="false">2026-06-26:Oracle activity data across every surface — 8 pages now show live win rates, agents armed, and platform stats</guid>+ <pubDate>Fri, 26 Jun 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>Live oracle data now reaches every major page visitors touch: the Pump Dashboard oracle panel has a 5-cell stats header (armed agents, scored 24h, win rate, open trades, best ATH); the Activity page gains three new KPIs (prime coins, strong coins, all-time scored) bringing its count to 9; every agent detail page shows a platform context bar (agents live, platform win rate, oracle wins, scored today); Coin Intel gets a live oracle strip at the top; Alpha Co-pilot shows agents armed, scored today, win rate, and total wins as social proof; the Leaderboard summary adds oracle win rate and scored today to its header strip; the Oracle page statline gains open trades and total wins cells; the dashboard-next Oracle card now shows strong count and total wins; and the Analytics modal during agent creation shows a live oracle trading stats row alongside the platform metrics.</description>+ </item><item><title>Oracle hero now reads like a live conviction terminal — six clickable stats, watchlist filter and keyboard control</title><link>https://three.ws/oracle</link>diff --git a/public/features.json b/public/features.jsonindex e029be308..0faf61940 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-26T19:59:37.935Z",+ "generated_at": "2026-06-26T20:03:46.134Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/src/agent-detail.js b/src/agent-detail.jsindex b363666e1..37df588fc 100644--- a/src/agent-detail.js+++ b/src/agent-detail.js@@ -1347,6 +1347,7 @@ async function loadExtraSections(agentId, rec, isOwner) {if (embedPolicy) renderEmbedPolicy(embedPolicy);loadReviews(agentId, rec);+ loadPlatformBar();}// ── Reviews ──────────────────────────────────────────────────────────────────@@ -2591,4 +2592,20 @@ function runLoad() {renderLoadError(e);});}+async function loadPlatformBar() {+ try {+ const r = await fetch('/api/oracle/stats');+ if (!r.ok) return;+ const d = await r.json();+ const fmt = n => n >= 1e3 ? (n/1e3).toFixed(1)+'K' : String(n||0);+ const set = (id, v) => { const e = document.getElementById(id); if (e) e.textContent = v; };+ set('adp-agents', fmt(d.agents_armed));+ set('adp-winrate', d.win_rate != null ? d.win_rate+'%' : '—');+ set('adp-wins', fmt(d.total_wins));+ set('adp-scored', fmt(d.scored_24h));+ const bar = document.getElementById('ad-platform-bar');+ if (bar) bar.hidden = false;+ } catch { /* non-fatal */ }+}+runLoad();diff --git a/src/alpha-copilot.css b/src/alpha-copilot.cssindex 088006f64..9f9258990 100644--- a/src/alpha-copilot.css+++ b/src/alpha-copilot.css@@ -316,3 +316,12 @@.ac-live-dot, .ac-thinking span, .ac-skel-line, .ac-skel-orb, .ac-speak.is-speaking, .ac-drawer-card,.ac-stage-orb, .ac-state-orb, .ac-eq span { animation: none; }}++/* Oracle platform context bar */+.acp-oracle-bar { display:flex; align-items:stretch; gap:0; border:1px solid var(--stroke); border-radius:10px; overflow:hidden; max-width:760px; margin:0 auto var(--space-lg); }+.acp-oracle-kpi { flex:1; padding:10px 16px; background:var(--surface-0); border-right:1px solid var(--stroke); display:flex; flex-direction:column; gap:2px; }+.acp-oracle-kpi:last-child { border-right:none; }+.acp-oracle-kpi-val { font-size:16px; font-weight:700; color:var(--ink-bright); letter-spacing:-0.02em; }+.acp-oracle-kpi-val.pos { color:#34d399; }+.acp-oracle-kpi-lbl { font-size:9px; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-faint); }+@media (max-width:540px) { .acp-oracle-bar { display:none; } }diff --git a/src/dashboard-next/pages/home.js b/src/dashboard-next/pages/home.jsindex 07c190965..47a6df19e 100644--- a/src/dashboard-next/pages/home.js+++ b/src/dashboard-next/pages/home.js@@ -458,6 +458,8 @@ async function loadTradingOverview(host) {const oBestAth = oStats.best_ath != null ? Number(oStats.best_ath) : null;const oPrimeCount = Number(oStats.prime_count) || 0;const oOpenActions = Number(oStats.open_actions) || 0;+ const oStrongCount = Number(oStats.strong_count) || 0;+ const oTotalWins = Number(oStats.total_wins) || 0;const oValueText = oScored24h > 0? `${oScored24h.toLocaleString()} <span class="dnx-tc-unit">scored today</span>`@@ -472,6 +474,11 @@ async function loadTradingOverview(host) {: oOpenActions > 0? `<span>${oOpenActions} open action${oOpenActions !== 1 ? 's' : ''}</span>`: '<span class="dnx-tc-arm-cta">Arm an agent →</span>';+ const oMeta3 = oTotalWins > 0+ ? `<span>${oTotalWins} total win${oTotalWins !== 1 ? 's' : ''} · ${oStrongCount} strong</span>`+ : oPrimeCount > 0+ ? `<span>${oPrimeCount} prime · ${oStrongCount} strong</span>`+ : '';cards.innerHTML = `<a class="dnx-tc" href="/dashboard/sniper">@@ -487,7 +494,7 @@ async function loadTradingOverview(host) {<a class="dnx-tc" href="${oPrimePick ? `/oracle?mint=${encodeURIComponent(oPrimePick.mint)}` : '/oracle'}"><div class="dnx-tc-label">Oracle</div><div class="dnx-tc-value">${oValueText}</div>- <div class="dnx-tc-meta">${oMeta1}${oMeta2}</div>+ <div class="dnx-tc-meta">${oMeta1}${oMeta2}${oMeta3 ? oMeta3 : ''}</div></a><a class="dnx-tc" href="/dashboard/copy"><div class="dnx-tc-label">Copy trading</div>