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
fix(api): resilient rate-limit mock in pump tests + changelog for the sitewide fixes
fudjia64a3c9074fd5
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 373dc1e68..d3a33280b 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -16,9 +16,12 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Coin buybacks and vault balances work again** — A wiring mistake in how the platform opened its connection to Solana meant every automated buyback silently failed — for nearly a month, roughly 40,000 times a day — and the vault-balance view for any agent coin returned an error instead of its numbers. Both are fixed. Buybacks now run against the chain as intended, agent coin pages show real payment, buyback and withdraw vault balances again, and the failed-run log that quietly grew to a quarter-million rows is now pruned automatically while every on-chain burn record is kept. (`/launches`) `[fix]`- **Coin price charts stop dropping out, and the walk demos load fast on phones** — The price chart on coin and trading pages intermittently showed "unavailable" because every refresh asked the upstream price service for a slightly different time window, so nothing could be cached and the free service rate-limited us. Refreshes now share a window, the busiest lookup is remembered, and if both price sources go quiet for a moment the chart keeps showing the most recent real candles with a "delayed" marker instead of an error. A coin that has no liquidity pool now says exactly that. Separately, the walk landing page used to start all eight interactive demos at once — on a phone that exhausted the browser's 3D limit and stalled the page for over twenty seconds. Each demo now starts as you scroll to it. (`/walk`) `[fix, improvement]`- **Crypto news is live: a real-time feed from 38 publishers, a rich article reader, and a 662,047-article archive back to 2017** — Markets grew a full news wing. /markets/news streams live headlines aggregated directly from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search, and open any story in a reader that extracts the full text with a summary, key points, sentiment, and related coverage. Behind it sits the largest open crypto-news archive anywhere: 662,047 articles from September 2017 to today in English and Chinese, searchable by keyword, ticker, source, sentiment, date, and language at /markets/archive. A new /markets hub ties the whole suite together — live global stats, the top 100 coins, breaking news, and every market tool as its own card. (`/markets`) `[feature]`+- **Fixed two API endpoints that returned an error for every request** — The $THREE balance check (/api/pump/check-three-balance) and the $THREE price signal (/api/three-signal) crashed on every call because of an incorrect internal call signature. Both now return real data. `[fix]`- **Friends now see you online — and can message you — while you're in /play** — Your account's friends list, presence, and DMs (already live on /walk) now work inside /play's coin worlds too: a Friends button on the HUD (or press J) opens a drawer showing who's online and where, with live direct messages that arrive instantly whether or not the drawer is open. Previously /play never told the server who you were signed in as, so friends saw you as offline no matter how long you played, and any message sent your way was silently lost. (`/play`) `[feature, fix]`- **News Digest: the day's crypto coverage, grouped into the stories that actually matter** — Reading 90 headlines to find the 8 things that happened is a chore. /markets/digest does it for you: it reads every story from all 38 publisher feeds over your chosen window (6 hours to 3 days) and groups them into distinct narratives — each with a plain-language summary, whether it reads bullish or bearish, the coins involved, and an expandable list of every outlet that covered it. When an AI provider is available it groups the stories semantically; otherwise it clusters them by keyword and ticker overlap. Either way, every story links back to the real articles behind it — nothing is invented. (`/markets/digest`) `[feature]`+- **Pages no longer rate-limit themselves during normal browsing** — A single request budget was shared across roughly 166 endpoints, so ordinary pages that load several panels at once — agent profiles, the markets dashboards, the galaxy view, the activity feed — could exhaust it and start showing "too many requests" errors to the person browsing. Market data, agent profiles and the galaxy each have their own budget now, and the shared one has far more headroom. `[fix, infra]`- **The autonomous agent loop stops retrying payments it can't afford** — The platform runs an autonomous loop that pays its own paid endpoints in USDC, so the agent economy keeps moving on its own. It had two limits: a daily spending cap, and the actual balance in its wallet. Only the cap was being checked. When the wallet ran dry, the loop kept building and submitting payments it could never fund — roughly one failed attempt every minute, indefinitely. Nothing was ever lost (the payments failed before any money moved, and no network fees were burned), but the loop did no useful work and leaned on the Solana network for nothing. It now reads its own balance first and simply skips the paid calls when the float is empty, while its free and monitoring work carries on untouched. The moment the wallet is topped up, spending resumes on its own. We also made the platform's alerting status visible on the health endpoint, so a missing alert channel can no longer look identical to a healthy, quiet one. `[fix, infra]`+- **The blog is back — 30 posts were silently redirecting to the changelog** — Every /blog post, including the IBM, AWS, Google Cloud and Alibaba Cloud partnership announcements, was being redirected to the changelog even though the articles were still published and linked from Pricing, Partners and Tutorials. The posts are readable again at their original URLs. (`/blog`) `[fix]`- **The liquidations pulse on /coins is live** — The long/short liquidation strip on the markets page had been showing its offline state since launch — the collector that listens to Binance, Bybit, and OKX futures streams needs to run around the clock, which the old serverless setup couldn't do. It now runs as its own always-on service, so the dominant-side badge, the 1-hour long-vs-short bars, and the biggest recent liquidations fill in with real exchange data. (`/coins`) `[feature, infra]`- **The news archive now updates itself every hour — and the live feed has an RSS feed** — The 660,000-article news archive is no longer frozen in time: an hourly archiver now appends every new story from the live feed into the corpus, complete with the market snapshot at capture time (BTC/ETH/SOL price, market cap, Fear & Greed), so /markets/archive stays current forever. And if you'd rather read three.ws crypto news in your own reader, the feed is now available as standard RSS at /api/news/rss — subscribe to everything or just one category. (`/markets/archive`) `[feature, infra]`- **The Oracle can see the news again** — The Oracle's narrative pillar — one of the four signals behind every 0-100 conviction score — reads live headlines to tell whether a coin is riding a real story. It had been reading them from an outside news service that went offline, and because the code was built to fail quietly rather than break, it simply scored with no headlines at all. Conviction scores now draw on three.ws's own news engine, which reads 38 publisher feeds directly, so the narrative read is live again and no longer depends on anyone else staying up. The pump.fun news-meme detector and the sniper's coin classifier read from the same engine. (`/oracle`) `[fix, improvement]`diff --git a/data/changelog.json b/data/changelog.jsonindex a0beac3de..3f8fe66ac 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -12850,6 +12850,32 @@"feature"],"link": "/markets/digest"+ },+ {+ "date": "2026-07-10",+ "title": "The blog is back — 30 posts were silently redirecting to the changelog",+ "summary": "Every /blog post, including the IBM, AWS, Google Cloud and Alibaba Cloud partnership announcements, was being redirected to the changelog even though the articles were still published and linked from Pricing, Partners and Tutorials. The posts are readable again at their original URLs.",+ "link": "/blog",+ "tags": [+ "fix"+ ]+ },+ {+ "date": "2026-07-10",+ "title": "Pages no longer rate-limit themselves during normal browsing",+ "summary": "A single request budget was shared across roughly 166 endpoints, so ordinary pages that load several panels at once — agent profiles, the markets dashboards, the galaxy view, the activity feed — could exhaust it and start showing \"too many requests\" errors to the person browsing. Market data, agent profiles and the galaxy each have their own budget now, and the shared one has far more headroom.",+ "tags": [+ "fix",+ "infra"+ ]+ },+ {+ "date": "2026-07-10",+ "title": "Fixed two API endpoints that returned an error for every request",+ "summary": "The $THREE balance check (/api/pump/check-three-balance) and the $THREE price signal (/api/three-signal) crashed on every call because of an incorrect internal call signature. Both now return real data.",+ "tags": [+ "fix"+ ]}]-}\ No newline at end of file+}diff --git a/public/changelog.json b/public/changelog.jsonindex 33e79af1e..0869452ed 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-10T12:47:45.316Z",+ "generated_at": "2026-07-10T12:49:27.850Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -108,6 +108,16 @@"feature"]},+ {+ "date": "2026-07-10",+ "type": "update",+ "title": "Fixed two API endpoints that returned an error for every request",+ "summary": "The $THREE balance check (/api/pump/check-three-balance) and the $THREE price signal (/api/three-signal) crashed on every call because of an incorrect internal call signature. Both now return real data.",+ "link": null,+ "tags": [+ "fix"+ ]+ },{"date": "2026-07-10","type": "update",@@ -129,6 +139,17 @@"feature"]},+ {+ "date": "2026-07-10",+ "type": "update",+ "title": "Pages no longer rate-limit themselves during normal browsing",+ "summary": "A single request budget was shared across roughly 166 endpoints, so ordinary pages that load several panels at once — agent profiles, the markets dashboards, the galaxy view, the activity feed — could exhaust it and start showing \"too many requests\" errors to the person browsing. Market data, agent profiles and the galaxy each have their own budget now, and the shared one has far more headroom.",+ "link": null,+ "tags": [+ "fix",+ "infra"+ ]+ },{"date": "2026-07-10","type": "update",@@ -140,6 +161,16 @@"infra"]},+ {+ "date": "2026-07-10",+ "type": "update",+ "title": "The blog is back — 30 posts were silently redirecting to the changelog",+ "summary": "Every /blog post, including the IBM, AWS, Google Cloud and Alibaba Cloud partnership announcements, was being redirected to the changelog even though the articles were still published and linked from Pricing, Partners and Tutorials. The posts are readable again at their original URLs.",+ "link": "/blog",+ "tags": [+ "fix"+ ]+ },{"date": "2026-07-10","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex bab8b1e39..45ce99606 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -86,6 +86,14 @@<category>feature</category><description>Markets grew a full news wing. /markets/news streams live headlines aggregated directly from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search, and open any story in a reader that extracts the full text with a summary, key points, sentiment, and related coverage. Behind it sits the largest open crypto-news archive anywhere: 662,047 articles from September 2017 to today in English and Chinese, searchable by keyword, ticker, source, sentiment, date, and language at /markets/archive. A new /markets hub ties the whole suite together — live global stats, the top 100 coins, breaking news, and every market tool as its own card.</description></item>+ <item>+ <title>Fixed two API endpoints that returned an error for every request</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-07-10:Fixed two API endpoints that returned an error for every request</guid>+ <pubDate>Fri, 10 Jul 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>The $THREE balance check (/api/pump/check-three-balance) and the $THREE price signal (/api/three-signal) crashed on every call because of an incorrect internal call signature. Both now return real data.</description>+ </item><item><title>Friends now see you online — and can message you — while you're in /play</title><link>https://three.ws/play</link>@@ -102,6 +110,14 @@<category>feature</category><description>Reading 90 headlines to find the 8 things that happened is a chore. /markets/digest does it for you: it reads every story from all 38 publisher feeds over your chosen window (6 hours to 3 days) and groups them into distinct narratives — each with a plain-language summary, whether it reads bullish or bearish, the coins involved, and an expandable list of every outlet that covered it. When an AI provider is available it groups the stories semantically; otherwise it clusters them by keyword and ticker overlap. Either way, every story links back to the real articles behind it — nothing is invented.</description></item>+ <item>+ <title>Pages no longer rate-limit themselves during normal browsing</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-07-10:Pages no longer rate-limit themselves during normal browsing</guid>+ <pubDate>Fri, 10 Jul 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>A single request budget was shared across roughly 166 endpoints, so ordinary pages that load several panels at once — agent profiles, the markets dashboards, the galaxy view, the activity feed — could exhaust it and start showing "too many requests" errors to the person browsing. Market data, agent profiles and the galaxy each have their own budget now, and the shared one has far more headroom.</description>+ </item><item><title>The autonomous agent loop stops retrying payments it can't afford</title><link>https://three.ws/changelog</link>@@ -110,6 +126,14 @@<category>fix</category><description>The platform runs an autonomous loop that pays its own paid endpoints in USDC, so the agent economy keeps moving on its own. It had two limits: a daily spending cap, and the actual balance in its wallet. Only the cap was being checked. When the wallet ran dry, the loop kept building and submitting payments it could never fund — roughly one failed attempt every minute, indefinitely. Nothing was ever lost (the payments failed before any money moved, and no network fees were burned), but the loop did no useful work and leaned on the Solana network for nothing. It now reads its own balance first and simply skips the paid calls when the float is empty, while its free and monitoring work carries on untouched. The moment the wallet is topped up, spending resumes on its own. We also made the platform's alerting status visible on the health endpoint, so a missing alert channel can no longer look identical to a healthy, quiet one.</description></item>+ <item>+ <title>The blog is back — 30 posts were silently redirecting to the changelog</title>+ <link>https://three.ws/blog</link>+ <guid isPermaLink="false">2026-07-10:The blog is back — 30 posts were silently redirecting to the changelog</guid>+ <pubDate>Fri, 10 Jul 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>Every /blog post, including the IBM, AWS, Google Cloud and Alibaba Cloud partnership announcements, was being redirected to the changelog even though the articles were still published and linked from Pricing, Partners and Tutorials. The posts are readable again at their original URLs.</description>+ </item><item><title>The liquidations pulse on /coins is live</title><link>https://three.ws/coins</link>diff --git a/tests/api/pump.test.js b/tests/api/pump.test.jsindex b3c7f9f86..6d72ba5c1 100644--- a/tests/api/pump.test.js+++ b/tests/api/pump.test.js@@ -25,8 +25,12 @@ vi.mock('../../api/_lib/db.js', () => ({isDbCapacityError: () => false,}));+// Any bucket resolves to "allowed". The handlers under test move between buckets+// as page-load reads get isolated from write paths (authIp → authedReadIp → …);+// enumerating names here just means a silent 500 ("limits.<name> is not a+// function") the next time one is renamed — which is exactly what this mock did.vi.mock('../../api/_lib/rate-limit.js', () => ({- limits: { authIp: vi.fn(async () => ({ success: true })) },+ limits: new Proxy({}, { get: () => vi.fn(async () => ({ success: true })) }),clientIp: vi.fn(() => '127.0.0.1'),}));