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(solana): fail over past a provider's paid-tier method gate
fudjia66efb1a5dbd8
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 87f57c8f8..f6da4c53c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -19,6 +19,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **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]`+- **Wallet balances and the leak scanner stay online when the RPC pool thins** — When the platform's paid Solana data providers hit their quota, requests roll over to a chain of free public ones. One of those free providers answers most requests but quietly refuses two of them — reading a wallet's balance, and listing a wallet's transaction history — telling you to upgrade instead. The platform treated that refusal as a real answer, so whenever the rollover reached that provider, balance lookups failed and the background scan that watches platform wallets for unauthorised transfers went blind. Those refusals are now recognised for what they are, and the request moves on to the next provider automatically. `[fix, infra, security]`- **What can an agent actually do? The complete abilities dossier is live** — Every ability a three.ws agent has, mapped in one place: /docs/agent-abilities. Fifteen chapters cover the agent end to end — the 3D body and how it moves, the studios where agents are made, memory and autonomy, conversation, on-chain identity, skills, screens, the agent economy, markets intelligence, live worlds, embeds and mobile, and the developer platform — plus a dedicated deep-dive page for each of the Agent Wallet's 23 abilities, from Balance and Deposit through Autopilot, Intents, Proof of Custody, and Self-defense. Everything was researched from the shipped code, so every claim on those pages describes something you can use today. (`/docs/agent-abilities`) `[docs, feature]`## 2026-07-09diff --git a/api/_lib/solana/connection.js b/api/_lib/solana/connection.jsindex 92fee10fa..7c9f98497 100644--- a/api/_lib/solana/connection.js+++ b/api/_lib/solana/connection.js@@ -284,9 +284,26 @@ const PROVIDER_CAPACITY_CODES = new Set([-32004, // block/slot not available yet — another node may have it]);+// A provider that gates a method behind its paid/registered tier answers with a+// method-shaped JSON-RPC error (Tatum returns -32601-class codes for+// `getBalance` / `getSignaturesForAddress` on the keyless lane). The code alone+// is indistinguishable from a genuinely absent method — which is deterministic+// and must NOT rotate — so this matches the plan-gate phrasing instead. Unlike a+// missing method, a tier gate is provider-specific: the next lane serves the call+// normally, so failing over is the correct disposition. Left unclassified these+// surfaced straight to the caller and blinded every getSignaturesForAddress+// consumer (the ring leak scanner) and every getBalance consumer the moment the+// rotation cascaded past the keyed lanes onto Tatum.+function isProviderTierError(rpcError) {+ return /not available for anonymous access|available for paid plans only|upgrade your subscription|please register at/i.test(+ String(rpcError?.message || ''),+ );+}+function isProviderCapacityError(rpcError) {if (!rpcError || typeof rpcError !== 'object') return false;if (PROVIDER_CAPACITY_CODES.has(rpcError.code)) return true;+ if (isProviderTierError(rpcError)) return true;return /too many requests|rate.?limit|quota|usage limit|credits?\s*exhausted|forbidden|api key|unauthor|max usage/i.test(String(rpcError.message || ''),);diff --git a/data/changelog.json b/data/changelog.jsonindex b0fdf8cd2..09b27bd42 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,16 @@{"$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-07-10",+ "title": "Wallet balances and the leak scanner stay online when the RPC pool thins",+ "summary": "When the platform's paid Solana data providers hit their quota, requests roll over to a chain of free public ones. One of those free providers answers most requests but quietly refuses two of them — reading a wallet's balance, and listing a wallet's transaction history — telling you to upgrade instead. The platform treated that refusal as a real answer, so whenever the rollover reached that provider, balance lookups failed and the background scan that watches platform wallets for unauthorised transfers went blind. Those refusals are now recognised for what they are, and the request moves on to the next provider automatically.",+ "tags": [+ "fix",+ "infra",+ "security"+ ]+ },{"date": "2026-07-10","title": "The Oracle can see the news again",diff --git a/public/changelog.json b/public/changelog.jsonindex fd1e6d138..7b9765d9c 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-10T12:19:11.573Z",+ "generated_at": "2026-07-10T12:24:50.452Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -141,6 +141,18 @@"improvement"]},+ {+ "date": "2026-07-10",+ "type": "update",+ "title": "Wallet balances and the leak scanner stay online when the RPC pool thins",+ "summary": "When the platform's paid Solana data providers hit their quota, requests roll over to a chain of free public ones. One of those free providers answers most requests but quietly refuses two of them — reading a wallet's balance, and listing a wallet's transaction history — telling you to upgrade instead. The platform treated that refusal as a real answer, so whenever the rollover reached that provider, balance lookups failed and the background scan that watches platform wallets for unauthorised transfers went blind. Those refusals are now recognised for what they are, and the request moves on to the next provider automatically.",+ "link": null,+ "tags": [+ "fix",+ "infra",+ "security"+ ]+ },{"date": "2026-07-10","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex c4840f1a0..b7e7a6fea 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -110,6 +110,14 @@<category>fix</category><description>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.</description></item>+ <item>+ <title>Wallet balances and the leak scanner stay online when the RPC pool thins</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-07-10:Wallet balances and the leak scanner stay online when the RPC pool thins</guid>+ <pubDate>Fri, 10 Jul 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>When the platform's paid Solana data providers hit their quota, requests roll over to a chain of free public ones. One of those free providers answers most requests but quietly refuses two of them — reading a wallet's balance, and listing a wallet's transaction history — telling you to upgrade instead. The platform treated that refusal as a real answer, so whenever the rollover reached that provider, balance lookups failed and the background scan that watches platform wallets for unauthorised transfers went blind. Those refusals are now recognised for what they are, and the request moves on to the next provider automatically.</description>+ </item><item><title>What can an agent actually do? The complete abilities dossier is live</title><link>https://three.ws/docs/agent-abilities</link>diff --git a/public/features.json b/public/features.jsonindex ea17bf84b..f8b9b1c66 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-10T12:13:15.844Z",+ "generated_at": "2026-07-10T12:24:50.414Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",@@ -1963,16 +1963,6 @@"tags": [],"showcase": true},- {- "path": "/agent",- "title": "Agent Home",- "description": "Default landing for an agent instance — chat, embed, and remix actions.",- "added": "2026-04-14",- "auth": null,- "indexable": true,- "tags": [],- "showcase": false- },{"path": "/agents","title": "Agents Index",diff --git a/tests/solana-rpc-rotating-fetch.test.js b/tests/solana-rpc-rotating-fetch.test.jsindex fb73420fa..b0fc04be8 100644--- a/tests/solana-rpc-rotating-fetch.test.js+++ b/tests/solana-rpc-rotating-fetch.test.js@@ -65,4 +65,37 @@ describe('makeRotatingFetch — never leaks an unvalidated upstream body', () =>// First healthy endpoint answers — no failover round-trips.expect(fetchSpy).toHaveBeenCalledTimes(1);});++ // A keyless lane that gates a method behind its paid/registered tier answers 200+ // with a method-shaped JSON-RPC error. It is provider-specific — the next lane+ // serves the call — so it must rotate rather than surface. Production symptom:+ // the ring leak scanner's getSignaturesForAddress and the balance reader's+ // getBalance both hard-failed whenever rotation cascaded onto Tatum.+ // -16401 is the code Tatum actually returns (verified live against+ // solana-mainnet.gateway.tatum.io); -32601 covers a provider that reuses the+ // standard method-not-found code for the same gate. Both must rotate, so the+ // match is on the message, never the code.+ it.each([+ [-16401, "Method 'getSignaturesForAddress' is not available for anonymous access. Please register at https://co.tatum.io/signup."],+ [-32601, "Method 'getBalance' is available for paid plans only. To access this feature, please upgrade your subscription at https://co.tatum.io/upgrade."],+ ])('fails over past a provider tier gate (code %i)', async (code, message) => {+ const eps = [`https://tier-${-code}.test/`, `https://tier-${-code}-next.test/`];+ const gated = { jsonrpc: '2.0', id: 1, error: { code, message } };+ global.fetch = vi.fn(async (url) => (url === eps[0] ? resp(gated) : resp(VALID)));+ const out = await makeRotatingFetch(eps)(null, { method: 'POST', body: '{}' });+ expect((await out.json()).result).toEqual({ ok: true });+ });++ // The mirror-image guard: a genuinely absent method is deterministic across every+ // provider, so rotating on it would just retry a guaranteed failure on each lane.+ // It must reach the caller untouched.+ it('surfaces a genuine method-not-found without rotating', async () => {+ const eps = ['https://mnf-1.test/', 'https://mnf-2.test/'];+ const missing = { jsonrpc: '2.0', id: 1, error: { code: -32601, message: 'Method not found' } };+ const fetchSpy = vi.fn(async () => resp(missing));+ global.fetch = fetchSpy;+ const out = await makeRotatingFetch(eps)(null, { method: 'POST', body: '{}' });+ expect((await out.json()).error.message).toBe('Method not found');+ expect(fetchSpy).toHaveBeenCalledTimes(1);+ });});