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(news): health-verified source registry, bounded feed fan-out, reader fallbacks, archive polish
fudjiaae949b38967b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex c09ba608d..a57a68b99 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,12 +6,12 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr## 2026-07-10-- **Crypto News** (`/markets/news`) — Live crypto news aggregated natively from 37 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.+- **Crypto News** (`/markets/news`) — Live crypto news aggregated natively from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.- **Crypto News Archive** (`/markets/archive`) — The largest open crypto-news archive: 662,047 articles from September 2017 to today in English and Chinese, searchable by keyword, ticker, source, sentiment, date, and language.- **Crypto News Reader** (`/markets/news/article`) — Rich article reader for crypto news — full story extraction with AI summary, key points, sentiment, detected tickers, and related coverage from across the industry.-- **Markets Hub** (`/markets`) — The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.+- **Markets Hub** (`/markets`) — The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.- **Auto-rigging works again — and the Agent Identity Studio demos are real** — Rigging any generated model into an animation-ready character had been failing since the cloud migration: the rig request was sent to a service that doesn't do rigging, and the GPU rigger itself crashed on a graphics call our cloud GPUs don't support. Both are fixed — rig requests now reach the real UniRig worker, which renders its voxel pass in software instead. Proof: all four Agent Identity Studio demo characters (LedgerLynx, MuseWeaver, Momentum-9, and the three.ws studio's own) were generated, rigged with full skeletons, and photographed in posed renders through the live pipeline — see them on the showcase. (`/agent-identities`) `[fix, feature]`-- **Crypto news is live: a real-time feed from 37 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 37 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]`+- **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]`## 2026-07-09diff --git a/STRUCTURE.md b/STRUCTURE.mdindex eab61a273..f157934f3 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -78,7 +78,7 @@ bottom.| Global markets + coin detail pages | [pages/coins.html](pages/coins.html) + [src/coins-index.js](src/coins-index.js) `→ /coins`, [pages/coin.html](pages/coin.html) + [src/coin-page.js](src/coin-page.js) `→ /coin/:id`, backend [api/coin/](api/coin) (detail, ohlc, markets, news, global over [api/_lib/coingecko.js](api/_lib/coingecko.js)) | In-repo | CoinGecko-style markets index (global stats bar, sortable top-coins table, search, sparklines) + a rich detail page per coin (interactive chart, stats grid, related news, links). Design adopted from cryptocurrency.cv; accepts CoinGecko slugs or Solana mints. Docs: [docs/coin-pages.md](docs/coin-pages.md) || Market tools (heatmap, sentiment, gas, compare) | [pages/heatmap.html](pages/heatmap.html) + [src/heatmap.js](src/heatmap.js) `→ /heatmap`, [pages/fear-greed.html](pages/fear-greed.html) + [src/fear-greed.js](src/fear-greed.js) `→ /fear-greed`, [pages/gas.html](pages/gas.html) + [src/gas.js](src/gas.js) `→ /gas`, [pages/compare.html](pages/compare.html) + [src/compare.js](src/compare.js) `→ /compare`; backend [api/coin/fear-greed.js](api/coin/fear-greed.js), [api/coin/gas.js](api/coin/gas.js) | In-repo | Four tools extending Markets, same design system: treemap heatmap (market-cap-sized tiles), Fear & Greed gauge + history, live Ethereum gas tracker (keyless `eth_feeHistory`), and up-to-4-coin compare (overlay perf + stats). All real key-free data; cross-linked from the markets table. Docs: [docs/coin-pages.md](docs/coin-pages.md) || Market tools II (screener, categories, exchanges, derivatives, converter, DeFi, chains, stablecoins) | Pages+JS `→ /screener /categories /exchanges /derivatives /converter /defi /chains /stablecoins`; backend [api/coin/](api/coin) (categories, exchanges, derivatives, rates) over CoinGecko + [api/defi/](api/defi) (protocols, chains, stablecoins) over DeFiLlama | In-repo | Eight more Markets tools, same design system: token screener + category rankings + exchange/derivatives tables + crypto⇄fiat converter (CoinGecko), plus a DeFiLlama trio — DeFi TVL by protocol, chains by TVL, stablecoins with peg health. All real key-free data; cross-linked from the markets table. Docs: [docs/coin-pages.md](docs/coin-pages.md) |-| Crypto news + archive + markets hub | [pages/markets.html](pages/markets.html) + [src/markets-page.js](src/markets-page.js) `→ /markets`, [pages/markets-news.html](pages/markets-news.html) + [src/markets-news.js](src/markets-news.js) `→ /markets/news`, [pages/news-article.html](pages/news-article.html) + [src/news-article.js](src/news-article.js) `→ /markets/news/article`, [pages/news-archive.html](pages/news-archive.html) + [src/news-archive.js](src/news-archive.js) `→ /markets/archive`; backend [api/news/](api/news) (feed, article, archive) over [api/_lib/news.js](api/_lib/news.js) + [api/_lib/news-sources.js](api/_lib/news-sources.js), corpus on `gs://three-ws-news-archive` | In-repo | The Markets news wing + front door: live news aggregated natively from 37 publisher feeds (category tabs, search, sentiment, ticker chips), a rich article reader (server-side extraction, AI summary/key points with extractive fallback, related coverage), the largest open crypto-news archive (662,047 enriched articles, Sept 2017 → today, EN+中文, GCS-hosted), and the /markets hub aggregating global stats, the top-100 table, breaking news, and every market surface as a hero card. Docs: [docs/coin-pages.md](docs/coin-pages.md), [docs/api-reference.md](docs/api-reference.md) |+| Crypto news + archive + markets hub | [pages/markets.html](pages/markets.html) + [src/markets-page.js](src/markets-page.js) `→ /markets`, [pages/markets-news.html](pages/markets-news.html) + [src/markets-news.js](src/markets-news.js) `→ /markets/news`, [pages/news-article.html](pages/news-article.html) + [src/news-article.js](src/news-article.js) `→ /markets/news/article`, [pages/news-archive.html](pages/news-archive.html) + [src/news-archive.js](src/news-archive.js) `→ /markets/archive`; backend [api/news/](api/news) (feed, article, archive) over [api/_lib/news.js](api/_lib/news.js) + [api/_lib/news-sources.js](api/_lib/news-sources.js), corpus on `gs://three-ws-news-archive` | In-repo | The Markets news wing + front door: live news aggregated natively from 38 publisher feeds (category tabs, search, sentiment, ticker chips), a rich article reader (server-side extraction, AI summary/key points with extractive fallback, related coverage), the largest open crypto-news archive (662,047 enriched articles, Sept 2017 → today, EN+中文, GCS-hosted), and the /markets hub aggregating global stats, the top-100 table, breaking news, and every market surface as a hero card. Docs: [docs/coin-pages.md](docs/coin-pages.md), [docs/api-reference.md](docs/api-reference.md) || Liquidations pulse (/coins) | Collector [services/liquidation-collector/](services/liquidation-collector) (standalone always-on Node service, ported from SperaxOS), proxy [api/coin/liquidations.js](api/coin/liquidations.js) `→ GET /api/coin/liquidations`, UI strip in [src/coins-index.js](src/coins-index.js) `→ /coins` | In-repo · collector needs an always-on host | Real-time long/short liquidation pain across Binance, Bybit, and OKX public futures WebSocket streams: dominant-side badge (LONG PAIN / SHORT SQUEEZE / BALANCED), 1h long-vs-short bars, and the 3 largest recent liquidations, polled every 30s (pauses on hidden tab). The collector holds long-lived WebSockets so it can't run as a Vercel function — deploy it separately and point `LIQUIDATION_COLLECTOR_URL` at it. No fallback data: the proxy 503s `collector_offline` (never fabricated numbers) when unset or unreachable, and the strip degrades to a quiet single-line offline state. Docs: [docs/api-reference.md#liquidations](docs/api-reference.md#liquidations) || BNB Chain campaign hub | [pages/bnb.html](pages/bnb.html) + [src/bnb.js](src/bnb.js) `→ /bnb`, pure helpers [src/bnb-hub-helpers.js](src/bnb-hub-helpers.js), live block-time API [api/bnb/block-time.js](api/bnb/block-time.js) over [api/_lib/bnb/chains.js](api/_lib/bnb/chains.js) `probeBlockTime` | In-repo · hub live, tracks rolling out | The campaign's front door: three feature cards (gasless agent onboarding, on-chain-gated 3D vault, real-time on-chain world), each claim traced to `prompts/bnb-chain/00-CONTEXT.md`'s verified facts (0.45s blocks — never 20k TPS or 250ms finality). Embeds a live block-time widget (real RPC measurement on every load). Each card self-detects liveness via a real HTTP probe against its track's route/API on the running deployment — a 404 renders a designed "coming soon" state, never a dead link — so cards auto-light-up as the sibling tracks below ship: gasless registration `→ /create-agent` + `api/bnb/register-agent.js` (prompt 03), vault `→ /vault` (prompt 12), on-chain world `→ /bnb-latency` (prompt 17) + the Explore on-chain toggle (prompt 16). Campaign root: [prompts/bnb-chain/](prompts/bnb-chain) || BABT holder check (BNB Chain) | Lib [api/_lib/bnb/babt.js](api/_lib/bnb/babt.js) `hasBabt()`, free API [api/bnb/babt-check.js](api/bnb/babt-check.js) `→ GET /api/bnb/babt-check?address=` | In-repo · shipped | Free, rate-limited on-chain check for whether a BSC address holds a Binance Account Bound Token (BABT) — a real, live, KYC-backed soulbound token (1.16M+ mainnet holders, verified via `eth_getCode`/`balanceOf` against the real contract `0x2B09d47D...5215D7c8`). Verification writeup + honest comparison vs. Gitcoin Passport/World ID/Coinbase attestations: [docs/bnb-babt-findings.md](docs/bnb-babt-findings.md). Spike prompt: `prompts/bnb-chain/20-babt-verification-spike.md`. |diff --git a/api/_lib/news-sources.js b/api/_lib/news-sources.jsindex 18a728478..4dedb25f0 100644--- a/api/_lib/news-sources.js+++ b/api/_lib/news-sources.js@@ -19,43 +19,44 @@ export const NEWS_SOURCES = {dailyhodl: { name: 'The Daily Hodl', url: 'https://dailyhodl.com/feed/', category: 'general' },coinjournal: { name: 'CoinJournal', url: 'https://coinjournal.net/feed/', category: 'general' },cryptopotato: { name: 'CryptoPotato', url: 'https://cryptopotato.com/feed/', category: 'general' },+ cryptodaily: { name: 'CryptoDaily', url: 'https://cryptodaily.co.uk/feed', category: 'general' },+ cryptopolitan: { name: 'Cryptopolitan', url: 'https://www.cryptopolitan.com/feed/', category: 'general' },+ coinspeaker: { name: 'Coinspeaker', url: 'https://www.coinspeaker.com/feed/', category: 'general' },// ── Bitcoin ──────────────────────────────────────────────────────────────bitcoinmagazine: { name: 'Bitcoin Magazine', url: 'https://bitcoinmagazine.com/.rss/full/', category: 'bitcoin' },bitcoinist: { name: 'Bitcoinist', url: 'https://bitcoinist.com/feed/', category: 'bitcoin' },+ bitcoinops: { name: 'Bitcoin Optech', url: 'https://bitcoinops.org/feed.xml', category: 'bitcoin' },+ stackernews: { name: 'Stacker News', url: 'https://stacker.news/rss', category: 'bitcoin' },- // ── Ethereum + L2 ────────────────────────────────────────────────────────- daily_gwei: { name: 'The Daily Gwei', url: 'https://thedailygwei.substack.com/feed', category: 'ethereum' },- optimism_blog: { name: 'Optimism', url: 'https://optimism.mirror.xyz/feed/atom', category: 'layer2' },- arbitrum_blog: { name: 'Arbitrum', url: 'https://arbitrum.io/blog/rss.xml', category: 'layer2' },- base_blog: { name: 'Base', url: 'https://base.mirror.xyz/feed/atom', category: 'layer2' },+ // ── Ethereum ─────────────────────────────────────────────────────────────+ ef_blog: { name: 'Ethereum Foundation', url: 'https://blog.ethereum.org/feed.xml', category: 'ethereum' },// ── Solana ───────────────────────────────────────────────────────────────solana_news: { name: 'Solana News', url: 'https://solana.com/news/rss.xml', category: 'solana' },// ── DeFi / NFT ───────────────────────────────────────────────────────────defiant: { name: 'The Defiant', url: 'https://thedefiant.io/feed', category: 'defi' },- nftnow: { name: 'NFT Now', url: 'https://nftnow.com/feed/', category: 'nft' },+ defirate: { name: 'DeFi Rate', url: 'https://defirate.com/feed/', category: 'defi' },+ nftevening: { name: 'NFTevening', url: 'https://nftevening.com/feed/', category: 'nft' },// ── Trading / research / on-chain ────────────────────────────────────────beincrypto: { name: 'BeInCrypto', url: 'https://beincrypto.com/feed/', category: 'trading' },u_today: { name: 'U.Today', url: 'https://u.today/rss', category: 'trading' },- messari: { name: 'Messari', url: 'https://messari.io/rss', category: 'research' },glassnode: { name: 'Glassnode Insights', url: 'https://insights.glassnode.com/rss/', category: 'research' },cryptobriefing: { name: 'Crypto Briefing', url: 'https://cryptobriefing.com/feed/', category: 'research' },intotheblock: { name: 'IntoTheBlock', url: 'https://medium.com/feed/intotheblock', category: 'onchain' },- coin_metrics: { name: 'Coin Metrics', url: 'https://coinmetrics.substack.com/feed', category: 'onchain' },+ hashrateindex: { name: 'Hashrate Index', url: 'https://hashrateindex.com/blog/feed/', category: 'onchain' },// ── Institutional / mainstream ───────────────────────────────────────────- coinbase_blog: { name: 'Coinbase Blog', url: 'https://www.coinbase.com/blog/rss.xml', category: 'institutional' },- binance_blog: { name: 'Binance Blog', url: 'https://www.binance.com/en/blog/rss.xml', category: 'institutional' },kraken_blog: { name: 'Kraken Blog', url: 'https://blog.kraken.com/feed/', category: 'institutional' },+ bitfinex_blog: { name: 'Bitfinex Blog', url: 'https://blog.bitfinex.com/feed/', category: 'institutional' },cnbc_crypto: { name: 'CNBC Crypto', url: 'https://www.cnbc.com/id/100727362/device/rss/rss.html', category: 'mainstream' },techcrunch_crypto: { name: 'TechCrunch Crypto', url: 'https://techcrunch.com/category/cryptocurrency/feed/', category: 'mainstream' },// ── Asia ─────────────────────────────────────────────────────────────────- wu_blockchain: { name: 'Wu Blockchain', url: 'https://wublock.substack.com/feed', category: 'asia' },forkast: { name: 'Forkast News', url: 'https://forkast.news/feed/', category: 'asia' },+ coinpost_en: { name: 'CoinPost', url: 'https://coinpost.jp/?feed=rss2', category: 'asia' },// ── Regulation / policy ──────────────────────────────────────────────────sec_press: { name: 'SEC Press Releases', url: 'https://www.sec.gov/news/pressreleases.rss', category: 'regulation' },@@ -63,7 +64,6 @@ export const NEWS_SOURCES = {// ── Independent journalism ───────────────────────────────────────────────protos: { name: 'Protos', url: 'https://protos.com/feed/', category: 'journalism' },- milkroad: { name: 'Milk Road', url: 'https://www.milkroad.com/feed/', category: 'journalism' },unchained_crypto: { name: 'Unchained', url: 'https://unchainedcrypto.com/feed/', category: 'journalism' },};@@ -72,7 +72,6 @@ export const NEWS_CATEGORIES = ['general','bitcoin','ethereum',- 'layer2','solana','defi','nft',diff --git a/api/_lib/news.js b/api/_lib/news.jsindex 1e0130b72..ce3732792 100644--- a/api/_lib/news.js+++ b/api/_lib/news.js@@ -155,7 +155,18 @@ export function parseFeed(xml, sourceKey) {const iso = pubDate && !Number.isNaN(Date.parse(pubDate)) ? new Date(pubDate).toISOString() : null;const author =stripHtml(str(it?.['dc:creator']) || str(it?.author?.name) || str(it?.author) || '') || null;- const description = stripHtml(rawDesc).slice(0, 320) || null;+ // Some feeds (e.g. Bitcoin Magazine) prefix descriptions with their own+ // name and/or repeat the headline verbatim — strip the echo so cards+ // don't read "Source Title Title …".+ let descText = stripHtml(rawDesc);+ const srcName = src?.name || '';+ if (srcName && descText.toLowerCase().startsWith(srcName.toLowerCase())) {+ descText = descText.slice(srcName.length).trimStart();+ }+ if (title && descText.toLowerCase().startsWith(title.toLowerCase())) {+ descText = descText.slice(title.length).replace(/^[\s—–:-]+/, '');+ }+ const description = descText.slice(0, 320) || null;// Full body many feeds ship (WordPress content:encoded, Atom content).// Server-side only — the reader uses it when the publisher's site// blocks direct fetches; the feed API strips it from list payloads.@@ -217,13 +228,16 @@ async function refreshSource(key) {async function ensureSources(keys) {const now = Date.now();- await Promise.all(- keys.map((key) => {- const hit = sourceCache.get(key);- if (hit && now - hit.fetchedAt < FRESH_MS) return null;- return refreshSource(key);- }),- );+ const stale = keys.filter((key) => {+ const hit = sourceCache.get(key);+ return !hit || now - hit.fetchedAt >= FRESH_MS;+ });+ // Bounded concurrency: firing all ~38 feeds at once trips publisher+ // rate-gates (429/403) and starves slow feeds of the timeout budget —+ // batches of 10 keep every source healthy at ~1s per batch.+ for (let i = 0; i < stale.length; i += 10) {+ await Promise.all(stale.slice(i, i + 10).map(refreshSource));+ }return keys.flatMap((key) => {const hit = sourceCache.get(key);if (!hit) return [];diff --git a/api/news/archive.js b/api/news/archive.jsindex 3b9b1b291..883abe178 100644--- a/api/news/archive.js+++ b/api/news/archive.js@@ -215,7 +215,12 @@ export default wrap(async (req, res) => {const counts = new Map();for (const month of recent) {for (const a of await loadMonth(month)) {- for (const t of a.tickers) counts.set(t, (counts.get(t) || 0) + 1);+ for (const t of a.tickers) {+ // the corpus enrichment has occasional junk tickers ("A", "4") —+ // keep them queryable but out of the trending strip+ if (t.length < 2 || /^\d+$/.test(t)) continue;+ counts.set(t, (counts.get(t) || 0) + 1);+ }}}const trending = [...counts.entries()]@@ -278,6 +283,12 @@ export default wrap(async (req, res) => {if (found.length >= need) break;}+ // Zero months loaded with months available = the archive store is down,+ // not an empty result — surface that instead of a misleading "no matches".+ if (!scannedMonths.length && window.length) {+ throw new Error('no archive months could be loaded');+ }+found.sort((a, b) => new Date(b.pub_date || 0) - new Date(a.pub_date || 0));const monthsRemaining = window.length - scannedMonths.length;const body = {diff --git a/api/news/article.js b/api/news/article.jsindex 6a8b92cc5..7ce9ea293 100644--- a/api/news/article.js+++ b/api/news/article.js@@ -293,6 +293,12 @@ export default wrap(async (req, res) => {const relatedQuery = tickers[0] || title.split(/\s+/).slice(0, 3).join(' ');const rel = await getNews({ q: relatedQuery, limit: 7 });related = rel.articles.filter((a) => a.link !== target).slice(0, 6);+ if (!related.length) {+ // niche story with no keyword siblings — fall back to the latest+ // headlines from the same category (or the front page)+ const fallback = await getNews({ category: feedCopy?.category, limit: 7 });+ related = fallback.articles.filter((a) => a.link !== target).slice(0, 6);+ }} catch {related = []; // related rail is optional; the article itself already loaded}diff --git a/data/changelog.json b/data/changelog.jsonindex 368c67822..19663cb73 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -12737,8 +12737,8 @@},{"date": "2026-07-10",- "title": "Crypto news is live: a real-time feed from 37 publishers, a rich article reader, and a 662,047-article archive back to 2017",- "summary": "Markets grew a full news wing. /markets/news streams live headlines aggregated directly from 37 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.",+ "title": "Crypto news is live: a real-time feed from 38 publishers, a rich article reader, and a 662,047-article archive back to 2017",+ "summary": "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.","tags": ["feature"],diff --git a/data/pages.json b/data/pages.jsonindex 8e38405d4..156821365 100644--- a/data/pages.json+++ b/data/pages.json@@ -1545,7 +1545,7 @@{"path": "/markets","title": "Markets Hub",- "description": "The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.",+ "description": "The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.","priority": 0.8,"changefreq": "hourly","added": "2026-07-10"@@ -1553,7 +1553,7 @@{"path": "/markets/news","title": "Crypto News",- "description": "Live crypto news aggregated natively from 37 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.",+ "description": "Live crypto news aggregated natively from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.","priority": 0.8,"changefreq": "hourly","added": "2026-07-10"diff --git a/docs/api-reference.md b/docs/api-reference.mdindex 8fddb7e12..c257506a8 100644--- a/docs/api-reference.md+++ b/docs/api-reference.md@@ -2461,7 +2461,7 @@ GET /api/coin/news?q=<coin name>&limit=8Returns `{ "articles": [{ title, link, description, image, source,published_at }], "source": "three.ws" }`. Served by the native three.ws-aggregator (`api/_lib/news.js` — 37 publisher feeds, per-source 5-minute cache+aggregator (`api/_lib/news.js` — 38 publisher feeds, per-source 5-minute cachewith serve-stale-on-error).---@@ -2477,9 +2477,9 @@ The engine behind [/markets/news](https://three.ws/markets/news) andGET /api/news/feed?category=defi&q=etf&source=coindesk&limit=30&offset=0&meta=1```-Aggregates 37 publisher RSS/Atom feeds natively (registry:-`api/_lib/news-sources.js`). All params optional: `category` (one of the 15-canonical categories — `general`, `bitcoin`, `ethereum`, `layer2`, `solana`,+Aggregates 38 publisher RSS/Atom feeds natively (registry:+`api/_lib/news-sources.js`). All params optional: `category` (one of the 14+canonical categories — `general`, `bitcoin`, `ethereum`, `solana`,`defi`, `nft`, `trading`, `research`, `onchain`, `institutional`,`mainstream`, `asia`, `regulation`, `journalism`), `source` (a single sourcekey, overrides `category`), `q` (full-text over title/description/tickers),diff --git a/docs/coin-pages.md b/docs/coin-pages.mdindex 6afaf7960..fa48f1a2e 100644--- a/docs/coin-pages.md+++ b/docs/coin-pages.md@@ -136,11 +136,11 @@ feed it: `/api/coin/global`, `/api/coin/markets`, `/api/coin/gas`,### `/markets/news` — live crypto news-Live headlines aggregated **natively** by three.ws from 37 publisher RSS/Atom+Live headlines aggregated **natively** by three.ws from 38 publisher RSS/Atomfeeds (CoinDesk, The Block, Decrypt, CoinTelegraph, Blockworks, SEC press,-Wu Blockchain, and more — the registry lives in+Forkast, and more — the registry lives in[`api/_lib/news-sources.js`](../api/_lib/news-sources.js)). Category tabs-(Bitcoin, Ethereum, L2, Solana, DeFi, NFT, trading, research, on-chain,+(Bitcoin, Ethereum, Solana, DeFi, NFT, trading, research, on-chain,institutional, mainstream, Asia, regulation, journalism), debounced search, aper-source filter, a lead-story hero, sentiment dots, and ticker chips thatpivot the feed to that symbol. Each source is cached server-side for 5 minutes@@ -189,8 +189,8 @@ All data is real and fetched at runtime — nothing is hardcoded or sampled:| `/api/coin/global` | CoinGecko `/global` + alternative.me Fear & Greed | 120 s || `/api/coin/fear-greed` | alternative.me `/fng` (current + history) | 300 s || `/api/coin/gas` | public Ethereum RPC `eth_feeHistory` + CoinGecko ETH price | 15 s |-| `/api/coin/news` | native aggregator (`api/_lib/news.js`, 37 publisher feeds) | 300 s |-| `/api/news/feed` | native aggregator — 37 publisher RSS/Atom feeds, per-source cache + serve-stale | 120 s |+| `/api/coin/news` | native aggregator (`api/_lib/news.js`, 38 publisher feeds) | 300 s |+| `/api/news/feed` | native aggregator — 38 publisher RSS/Atom feeds, per-source cache + serve-stale | 120 s || `/api/news/article` | publisher page fetch (SSRF-guarded) → publisher feed body → preview; LLM analysis via Groq/OpenRouter with extractive fallback | 1800 s || `/api/news/archive` | `gs://three-ws-news-archive` (662k-article JSONL corpus + indexes on GCS) | 300 s / 3600 s || `/api/coin/liquidations`| `services/liquidation-collector` (Binance/Bybit/OKX public liquidation WebSocket streams) | 15 s, `503` no-fallback offline |diff --git a/pages/markets-news.html b/pages/markets-news.htmlindex 3fd83d156..f6368bf46 100644--- a/pages/markets-news.html+++ b/pages/markets-news.html@@ -21,7 +21,7 @@<title>Crypto News · three.ws</title><metaname="description"- content="Live crypto news aggregated from 37 publisher feeds — CoinDesk, The Block, Decrypt, CoinTelegraph and more. Filter by category, search headlines, and open any story in a rich reader."+ content="Live crypto news aggregated from 38 publisher feeds — CoinDesk, The Block, Decrypt, CoinTelegraph and more. Filter by category, search headlines, and open any story in a rich reader."/><meta property="og:type" content="website" /><meta property="og:site_name" content="three.ws" />@@ -29,11 +29,11 @@<meta property="og:title" content="Crypto News · three.ws" /><metaproperty="og:description"- content="Live crypto news aggregated from 37 publisher feeds, filterable by category and searchable — with a rich reader for every story."+ content="Live crypto news aggregated from 38 publisher feeds, filterable by category and searchable — with a rich reader for every story."/><metaproperty="og:image"- content="https://three.ws/api/page-og?s=crypto&t=Crypto+News&d=Live+crypto+news+aggregated+from+37+publisher+feeds+%E2%80%94+filter+by+category%2C+search+headlines%2C+and+open+any+story+in+a+rich+reader.&p=%2Fmarkets%2Fnews"+ content="https://three.ws/api/page-og?s=crypto&t=Crypto+News&d=Live+crypto+news+aggregated+natively+from+38+publisher+feeds+%E2%80%94+filter+by+category+%28Bitcoin%2C+DeFi%2C+regulation%2C+and+more%29%2C+search+headlines%2C+and+open+any+story+in&p=%2Fmarkets%2Fnews"/><meta property="og:image:width" content="1200" /><meta property="og:image:height" content="630" />@@ -42,11 +42,11 @@<meta name="twitter:title" content="Crypto News · three.ws" /><metaname="twitter:description"- content="Live crypto news aggregated from 37 publisher feeds, filterable by category and searchable."+ content="Live crypto news aggregated from 38 publisher feeds, filterable by category and searchable."/><metaname="twitter:image"- content="https://three.ws/api/page-og?s=crypto&t=Crypto+News&d=Live+crypto+news+aggregated+from+37+publisher+feeds+%E2%80%94+filter+by+category%2C+search+headlines%2C+and+open+any+story+in+a+rich+reader.&p=%2Fmarkets%2Fnews"+ content="https://three.ws/api/page-og?s=crypto&t=Crypto+News&d=Live+crypto+news+aggregated+natively+from+38+publisher+feeds+%E2%80%94+filter+by+category+%28Bitcoin%2C+DeFi%2C+regulation%2C+and+more%29%2C+search+headlines%2C+and+open+any+story+in&p=%2Fmarkets%2Fnews"/><meta name="theme-color" content="#09090b" /><link rel="icon" href="/favicon.ico" sizes="any" />@@ -61,7 +61,7 @@<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1" /><meta property="og:locale" content="en_US" /><meta property="og:image:alt" content="Crypto News — three.ws" />- <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Crypto News","description":"Live crypto news aggregated from 37 publisher feeds — filterable by category, searchable, with a rich reader for every story.","url":"https://three.ws/markets/news","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}]}</script>+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Crypto News","description":"Live crypto news aggregated from 38 publisher feeds — filterable by category, searchable, with a rich reader for every story.","url":"https://three.ws/markets/news","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}]}</script></head><body><header><div id="nav-container"></div></header>@@ -73,7 +73,7 @@</nav><h1 class="cv-h1">Crypto News</h1><p class="cv-sub">- Live headlines aggregated from 37 publisher feeds across the industry — majors,+ Live headlines aggregated from 38 publisher feeds across the industry — majors,research desks, on-chain analysts, exchanges, and regulators. Click any story for arich reader with summary, key points, and related coverage.</p>diff --git a/pages/markets.html b/pages/markets.htmlindex cb73951f8..4e1c1aee3 100644--- a/pages/markets.html+++ b/pages/markets.html@@ -21,7 +21,7 @@<title>Markets — live crypto prices, news & tools · three.ws</title><metaname="description"- content="The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and the full markets toolset: heatmap, screener, fear & greed, gas, DeFi TVL, and more."+ content="The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and the full markets toolset: heatmap, screener, fear & greed, gas, DeFi TVL, and more."/><meta property="og:type" content="website" /><meta property="og:site_name" content="three.ws" />@@ -33,7 +33,7 @@/><metaproperty="og:image"- content="https://three.ws/api/page-og?s=crypto&t=Markets&d=Live+global+stats%2C+the+top+100+coins%2C+breaking+crypto+news%2C+a+662k-article+archive%2C+and+the+full+markets+toolset+in+one+hub.&p=%2Fmarkets"+ content="https://three.ws/api/page-og?s=crypto&t=Markets+Hub&d=The+three.ws+markets+hub+%E2%80%94+live+global+stats%2C+the+top+100+coins%2C+breaking+crypto+news+from+38+publisher+feeds%2C+a+662k-article+news+archive%2C+and+hero+links+to+th&p=%2Fmarkets"/><meta property="og:image:width" content="1200" /><meta property="og:image:height" content="630" />@@ -46,7 +46,7 @@/><metaname="twitter:image"- content="https://three.ws/api/page-og?s=crypto&t=Markets&d=Live+global+stats%2C+the+top+100+coins%2C+breaking+crypto+news%2C+a+662k-article+archive%2C+and+the+full+markets+toolset+in+one+hub.&p=%2Fmarkets"+ content="https://three.ws/api/page-og?s=crypto&t=Markets+Hub&d=The+three.ws+markets+hub+%E2%80%94+live+global+stats%2C+the+top+100+coins%2C+breaking+crypto+news+from+38+publisher+feeds%2C+a+662k-article+news+archive%2C+and+hero+links+to+th&p=%2Fmarkets"/><meta name="theme-color" content="#09090b" /><link rel="icon" href="/favicon.ico" sizes="any" />@@ -61,7 +61,7 @@<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1" /><meta property="og:locale" content="en_US" /><meta property="og:image:alt" content="Markets hub — three.ws" />- <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Markets","description":"The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and the full markets toolset.","url":"https://three.ws/markets","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}]}</script>+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Markets","description":"The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and the full markets toolset.","url":"https://three.ws/markets","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}]}</script></head><body><header><div id="nav-container"></div></header>@@ -71,7 +71,7 @@<h1 class="cv-h1">Markets</h1><p class="cv-sub">Everything the market is doing, in one place — live global stats, the top 100- coins, breaking news from 37 publisher feeds, a 662,047-article archive back to+ coins, breaking news from 38 publisher feeds, a 662,047-article archive back to2017, and the full markets toolset.</p>diff --git a/pages/news-archive.html b/pages/news-archive.htmlindex c510cc8a5..b8e410e60 100644--- a/pages/news-archive.html+++ b/pages/news-archive.html@@ -33,7 +33,7 @@/><metaproperty="og:image"- content="https://three.ws/api/page-og?s=crypto&t=Crypto+News+Archive&d=662%2C047+articles+from+September+2017+to+today+%E2%80%94+searchable+by+keyword%2C+ticker%2C+source%2C+sentiment%2C+date%2C+and+language.&p=%2Fmarkets%2Farchive"+ content="https://three.ws/api/page-og?s=crypto&t=Crypto+News+Archive&d=The+largest+open+crypto-news+archive%3A+662%2C047+articles+from+September+2017+to+today+in+English+and+Chinese%2C+searchable+by+keyword%2C+ticker%2C+source%2C+sentiment%2C+da&p=%2Fmarkets%2Farchive"/><meta property="og:image:width" content="1200" /><meta property="og:image:height" content="630" />@@ -46,7 +46,7 @@/><metaname="twitter:image"- content="https://three.ws/api/page-og?s=crypto&t=Crypto+News+Archive&d=662%2C047+articles+from+September+2017+to+today+%E2%80%94+searchable+by+keyword%2C+ticker%2C+source%2C+sentiment%2C+date%2C+and+language.&p=%2Fmarkets%2Farchive"+ content="https://three.ws/api/page-og?s=crypto&t=Crypto+News+Archive&d=The+largest+open+crypto-news+archive%3A+662%2C047+articles+from+September+2017+to+today+in+English+and+Chinese%2C+searchable+by+keyword%2C+ticker%2C+source%2C+sentiment%2C+da&p=%2Fmarkets%2Farchive"/><meta name="theme-color" content="#09090b" /><link rel="icon" href="/favicon.ico" sizes="any" />diff --git a/pages/news-article.html b/pages/news-article.htmlindex cd23046ff..5e5b68ed9 100644--- a/pages/news-article.html+++ b/pages/news-article.html@@ -32,7 +32,7 @@/><metaproperty="og:image"- content="https://three.ws/api/page-og?s=crypto&t=Crypto+News+Reader&d=Full+story+extraction+with+summary%2C+key+points%2C+sentiment%2C+detected+tickers%2C+and+related+coverage.&p=%2Fmarkets%2Fnews%2Farticle"+ content="https://three.ws/api/page-og?s=crypto&t=Crypto+News+Reader&d=Rich+article+reader+for+crypto+news+%E2%80%94+full+story+extraction+with+AI+summary%2C+key+points%2C+sentiment%2C+detected+tickers%2C+and+related+coverage+from+across+the+indus&p=%2Fmarkets%2Fnews%2Farticle"/><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:site" content="@trythreews" />@@ -46,7 +46,16 @@<link rel="stylesheet" href="/src/coin-pages.css" /><link rel="stylesheet" href="/footer.css" /><meta name="robots" content="noindex, follow" />- </head>++ <link rel="canonical" href="https://three.ws/markets/news/article">+ <meta property="og:locale" content="en_US">+ <meta property="og:url" content="https://three.ws/markets/news/article">+ <meta property="og:image:alt" content="Crypto News Reader — three.ws">+ <meta name="twitter:title" content="Crypto News Reader · three.ws">+ <meta name="twitter:description" content="Rich article reader for crypto news — full story extraction with AI summary, key points, sentiment, detected tickers, and related coverage from across the industry.">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=crypto&t=Crypto+News+Reader&d=Rich+article+reader+for+crypto+news+%E2%80%94+full+story+extraction+with+AI+summary%2C+key+points%2C+sentiment%2C+detected+tickers%2C+and+related+coverage+from+across+the+indus&p=%2Fmarkets%2Fnews%2Farticle">+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Crypto News Reader","description":"Rich article reader for crypto news — full story extraction with AI summary, key points, sentiment, detected tickers, and related coverage from across the industry.","url":"https://three.ws/markets/news/article","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=crypto&t=Crypto+News+Reader&d=Rich+article+reader+for+crypto+news+%E2%80%94+full+story+extraction+with+AI+summary%2C+key+points%2C+sentiment%2C+detected+tickers%2C+and+related+coverage+from+across+the+indus&p=%2Fmarkets%2Fnews%2Farticle"},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://three.ws/"},{"@type":"ListItem","position":2,"name":"Markets","item":"https://three.ws/markets"},{"@type":"ListItem","position":3,"name":"News","item":"https://three.ws/markets/news"},{"@type":"ListItem","position":4,"name":"Article","item":"https://three.ws/markets/news/article"}]}]}</script>+</head><body><header><div id="nav-container"></div></header><script src="/nav.js"></script>diff --git a/public/changelog.json b/public/changelog.jsonindex 2e6e5f8e5..355010b8e 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-10T02:09:48.113Z",+ "generated_at": "2026-07-10T02:26:05.911Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -10,7 +10,7 @@"date": "2026-07-10","type": "launch","title": "Crypto News",- "summary": "Live crypto news aggregated natively from 37 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.",+ "summary": "Live crypto news aggregated natively from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.","link": "/markets/news","tags": ["launch"@@ -40,7 +40,7 @@"date": "2026-07-10","type": "launch","title": "Markets Hub",- "summary": "The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.",+ "summary": "The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.","link": "/markets","tags": ["launch"@@ -60,8 +60,8 @@{"date": "2026-07-10","type": "update",- "title": "Crypto news is live: a real-time feed from 37 publishers, a rich article reader, and a 662,047-article archive back to 2017",- "summary": "Markets grew a full news wing. /markets/news streams live headlines aggregated directly from 37 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.",+ "title": "Crypto news is live: a real-time feed from 38 publishers, a rich article reader, and a 662,047-article archive back to 2017",+ "summary": "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.","link": "/markets","tags": ["feature"diff --git a/public/changelog.xml b/public/changelog.xmlindex 217eb2c7f..31a17aa23 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -12,7 +12,7 @@<guid isPermaLink="false">2026-07-10:Crypto News</guid><pubDate>Fri, 10 Jul 2026 12:00:00 GMT</pubDate><category>launch</category>- <description>Live crypto news aggregated natively from 37 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.</description>+ <description>Live crypto news aggregated natively from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.</description></item><item><title>Crypto News Archive</title>@@ -36,7 +36,7 @@<guid isPermaLink="false">2026-07-10:Markets Hub</guid><pubDate>Fri, 10 Jul 2026 12:00:00 GMT</pubDate><category>launch</category>- <description>The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.</description>+ <description>The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.</description></item><item><title>Auto-rigging works again — and the Agent Identity Studio demos are real</title>@@ -47,12 +47,12 @@<description>Rigging any generated model into an animation-ready character had been failing since the cloud migration: the rig request was sent to a service that doesn't do rigging, and the GPU rigger itself crashed on a graphics call our cloud GPUs don't support. Both are fixed — rig requests now reach the real UniRig worker, which renders its voxel pass in software instead. Proof: all four Agent Identity Studio demo characters (LedgerLynx, MuseWeaver, Momentum-9, and the three.ws studio's own) were generated, rigged with full skeletons, and photographed in posed renders through the live pipeline — see them on the showcase.</description></item><item>- <title>Crypto news is live: a real-time feed from 37 publishers, a rich article reader, and a 662,047-article archive back to 2017</title>+ <title>Crypto news is live: a real-time feed from 38 publishers, a rich article reader, and a 662,047-article archive back to 2017</title><link>https://three.ws/markets</link>- <guid isPermaLink="false">2026-07-10:Crypto news is live: a real-time feed from 37 publishers, a rich article reader, and a 662,047-article archive back to 2017</guid>+ <guid isPermaLink="false">2026-07-10:Crypto news is live: a real-time feed from 38 publishers, a rich article reader, and a 662,047-article archive back to 2017</guid><pubDate>Fri, 10 Jul 2026 12:00:00 GMT</pubDate><category>feature</category>- <description>Markets grew a full news wing. /markets/news streams live headlines aggregated directly from 37 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>+ <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>/play: real water at the fishing ponds, and spare rods to find on the bank</title>diff --git a/public/features.json b/public/features.jsonindex 039c88c9f..bcce61589 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-10T02:09:48.099Z",+ "generated_at": "2026-07-10T02:26:05.898Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",@@ -1889,7 +1889,7 @@{"path": "/markets","title": "Markets Hub",- "description": "The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.",+ "description": "The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.","added": "2026-07-10","auth": null,"indexable": true,@@ -1899,7 +1899,7 @@{"path": "/markets/news","title": "Crypto News",- "description": "Live crypto news aggregated natively from 37 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.",+ "description": "Live crypto news aggregated natively from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.","added": "2026-07-10","auth": null,"indexable": true,diff --git a/public/llms-full.txt b/public/llms-full.txtindex f6abfd66f..cd47accb4 100644--- a/public/llms-full.txt+++ b/public/llms-full.txt@@ -1148,13 +1148,13 @@ Grind a custom Ethereum / EVM wallet address with the prefix or suffix of your cURL: https://three.ws/markets-The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.+The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.### Crypto NewsURL: https://three.ws/markets/news-Live crypto news aggregated natively from 37 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.+Live crypto news aggregated natively from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.### Crypto News Readerdiff --git a/public/llms.txt b/public/llms.txtindex a06e56102..f2484671a 100644--- a/public/llms.txt+++ b/public/llms.txt@@ -206,8 +206,8 @@ On-chain features: pay-per-call, token launches, vanity wallets.- [Token in 3D](https://three.ws/coin3d): Any pump.fun token as a live 3D scene — a spinning coin medallion with the token's logo, top holders as a galaxy sized by balance, and a graduation ring tracking bonding-curve progress.- [Hero Stage](https://three.ws/hero-demo): A cinematic 3D hero stage for three.ws agents — a lit avatar centered in deep space over concentric glowing rings, a drifting starfield, and soft bloom, with pointer parallax and a live avatar switcher. Motion-safe.- [EVM Vanity Wallet](https://three.ws/evm-wallet): Grind a custom Ethereum / EVM wallet address with the prefix or suffix of your choice. A real secp256k1 keypair, generated entirely in your browser — the private key never leaves your device.-- [Markets Hub](https://three.ws/markets): The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.-- [Crypto News](https://three.ws/markets/news): Live crypto news aggregated natively from 37 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.+- [Markets Hub](https://three.ws/markets): The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.+- [Crypto News](https://three.ws/markets/news): Live crypto news aggregated natively from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.- [Crypto News Reader](https://three.ws/markets/news/article): Rich article reader for crypto news — full story extraction with AI summary, key points, sentiment, detected tickers, and related coverage from across the industry.- [Crypto News Archive](https://three.ws/markets/archive): The largest open crypto-news archive: 662,047 articles from September 2017 to today in English and Chinese, searchable by keyword, ticker, source, sentiment, date, and language.diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex 77add3a00..8e0548958 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -56,6 +56,25 @@.sm-brand img { width: 24px; height: 24px; border-radius: 5px; }.sm-brand:hover { text-decoration: none; }</style>++ <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">+ <meta property="og:type" content="website">+ <meta property="og:site_name" content="three.ws">+ <meta property="og:locale" content="en_US">+ <meta property="og:title" content="Sitemap · three.ws">+ <meta property="og:description" content="Human-readable index of every page on three.ws.">+ <meta property="og:url" content="https://three.ws/sitemap">+ <meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">+ <meta property="og:image:width" content="1200">+ <meta property="og:image:height" content="630">+ <meta property="og:image:type" content="image/png">+ <meta property="og:image:alt" content="Sitemap — three.ws">+ <meta name="twitter:card" content="summary_large_image">+ <meta name="twitter:site" content="@trythreews">+ <meta name="twitter:title" content="Sitemap · three.ws">+ <meta name="twitter:description" content="Human-readable index of every page on three.ws.">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap"}]}</script></head><body><header class="sm-topbar">@@ -1426,14 +1445,14 @@<a href="/markets"><span class="sm-title">Markets Hub</span><span class="sm-path">/markets</span>- <span class="sm-desc">The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 37 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.</span>+ <span class="sm-desc">The three.ws markets hub — live global stats, the top 100 coins, breaking crypto news from 38 publisher feeds, a 662k-article news archive, and hero links to the full markets toolset.</span></a></li><li><a href="/markets/news"><span class="sm-title">Crypto News</span><span class="sm-path">/markets/news</span>- <span class="sm-desc">Live crypto news aggregated natively from 37 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.</span>+ <span class="sm-desc">Live crypto news aggregated natively from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search headlines, and open any story in a rich reader with summary, key points, sentiment, and related coverage.</span></a></li><li>diff --git a/src/markets-news.js b/src/markets-news.jsindex b6f2630fc..dfde35a99 100644--- a/src/markets-news.js+++ b/src/markets-news.js@@ -1,5 +1,5 @@// /markets/news — live aggregated crypto news over /api/news/feed (native-// three.ws aggregator, 37 publisher feeds). Category tabs, debounced search,+// three.ws aggregator, 38 publisher feeds). Category tabs, debounced search,// source filter, lead-story hero, card grid with sentiment + ticker chips,// offset pagination. Every story opens the rich reader at// /markets/news/article; the source link goes straight to the publisher.@@ -22,7 +22,6 @@ const CATEGORY_LABELS = {general: 'Top',bitcoin: 'Bitcoin',ethereum: 'Ethereum',- layer2: 'Layer 2',solana: 'Solana',defi: 'DeFi',nft: 'NFT',diff --git a/src/markets-page.js b/src/markets-page.jsindex fc368c057..35f447cde 100644--- a/src/markets-page.js+++ b/src/markets-page.js@@ -125,7 +125,7 @@ const G = {const SUITE = [{ href: '/coins', glyph: 'table', title: 'Coins', desc: 'Sortable markets table for hundreds of assets with a rich detail page each.', stat: 'coins' },- { href: '/markets/news', glyph: 'news', title: 'Crypto News', desc: 'Live headlines from 37 publisher feeds, filterable and searchable.', stat: 'news' },+ { href: '/markets/news', glyph: 'news', title: 'Crypto News', desc: 'Live headlines from 38 publisher feeds, filterable and searchable.', stat: 'news' },{ href: '/markets/archive', glyph: 'archive', title: 'News Archive', desc: 'The largest open crypto-news archive, back to September 2017.', stat: 'archive' },{ href: '/heatmap', glyph: 'grid', title: 'Heatmap', desc: 'The whole market in one view — tiles sized by cap, colored by move.', stat: 'mover' },{ href: '/screener', glyph: 'filter', title: 'Screener', desc: 'Filter the top 250 by cap, volume, and 24h move to find movers fast.' },diff --git a/tests/news-archive-api.test.js b/tests/news-archive-api.test.jsnew file mode 100644index 000000000..813974efd--- /dev/null+++ b/tests/news-archive-api.test.js@@ -0,0 +1,201 @@+// Coverage for api/news/archive.js — the GCS-backed historical archive+// endpoint. Tests param validation, stats/months/trending modes, the+// newest-first month scan with honest coverage reporting, and filter+// predicates. GCS is mocked; record shapes mirror the real corpus schema.++import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';++vi.mock('../api/_lib/http.js', () => ({+ wrap: (fn) => fn,+ cors: () => false,+ method: () => true,+ rateLimited: (res) => {+ res._json = { status: 429, body: { error: 'rate_limited' } };+ return res;+ },+ json: (res, status, body, headers = {}) => {+ res._json = { status, body, headers };+ return res;+ },+ error: (res, status, code, message) => {+ res._json = { status, body: { error: code, message } };+ return res;+ },+}));+vi.mock('../api/_lib/rate-limit.js', () => ({+ limits: { marketFeedIp: vi.fn(async () => ({ success: true })) },+ clientIp: () => '1.2.3.4',+}));++const { default: handler } = await import('../api/news/archive.js');++function fakeRes() {+ return { setHeader() {}, end() {}, statusCode: 200 };+}+function call(url) {+ const res = fakeRes();+ return handler({ method: 'GET', url, headers: {} }, res).then(() => res);+}++function record(over = {}) {+ return {+ id: Math.random().toString(16).slice(2, 18),+ schema_version: '2.0.0',+ title: 'Bitcoin ETF sees inflows',+ link: 'https://example.com/a',+ canonical_link: 'https://example.com/a',+ description: 'Spot ETF products absorbed inflows.',+ source: 'CoinDesk',+ source_key: 'coindesk',+ category: 'general',+ pub_date: '2025-12-02T10:00:00.000Z',+ first_seen: '2025-12-02T10:00:00.000Z',+ tickers: ['BTC'],+ tags: ['etf'],+ sentiment: { score: 0.4, label: 'positive', confidence: 0.7 },+ market_context: null,+ meta: { language: 'en', is_breaking: false, word_count: 12 },+ ...over,+ };+}+const jsonl = (records) => records.map((r) => JSON.stringify(r)).join('\n');++const STATS = {+ version: '2.0.0',+ total_articles: 662047,+ total_with_date: 487690,+ total_with_url: 340047,+ first_article_date: '2017-09-23T10:00:42.000Z',+ last_article_date: '2025-12-03T10:28:51.000Z',+ sources: { odaily: 316016, coindesk: 2108 },+};+const LISTING = {+ items: [+ { name: 'articles/2025-10.jsonl' },+ { name: 'articles/2025-11.jsonl' },+ { name: 'articles/2025-12.jsonl' },+ { name: 'articles/unknown-date-part1.jsonl' },+ ],+};++const MONTHS = {+ '2025-12': jsonl([+ record(),+ record({+ id: 'aaaaaaaaaaaaaaaa',+ title: 'JTO短时跌破2 USDT',+ link: 'https://odaily.news/1',+ canonical_link: 'https://odaily.news/1',+ source: 'Odaily 星球日报',+ source_key: 'odaily',+ pub_date: '2025-12-01T05:00:00.000Z',+ first_seen: '2025-12-01T05:00:00.000Z',+ tickers: ['USDT', 'JTO'],+ sentiment: { score: -0.4, label: 'negative', confidence: 0.7 },+ meta: { language: 'zh', is_breaking: false, word_count: 20 },+ }),+ ]),+ '2025-11': jsonl([+ record({+ id: 'bbbbbbbbbbbbbbbb',+ title: 'Solana hits new high',+ link: 'https://example.com/sol',+ canonical_link: 'https://example.com/sol',+ pub_date: '2025-11-10T10:00:00.000Z',+ first_seen: '2025-11-10T10:00:00.000Z',+ tickers: ['SOL'],+ }),+ ]),+ '2025-10': jsonl([record({ id: 'cccccccccccccccc', pub_date: '2025-10-05T10:00:00.000Z', first_seen: '2025-10-05T10:00:00.000Z' })]),+};++const originalFetch = global.fetch;++beforeEach(() => {+ global.fetch = vi.fn(async (url) => {+ const u = String(url);+ if (u.includes('/storage/v1/b/')) return { ok: true, json: async () => LISTING };+ if (u.endsWith('/meta/stats.json')) return { ok: true, json: async () => STATS };+ const m = u.match(/articles\/(\d{4}-\d{2})\.jsonl$/);+ if (m && MONTHS[m[1]]) return { ok: true, text: async () => MONTHS[m[1]] };+ return { ok: false, status: 404, json: async () => ({}), text: async () => '' };+ });+});+afterEach(() => {+ global.fetch = originalFetch;+ vi.restoreAllMocks();+});++describe('GET /api/news/archive', () => {+ it('stats=true returns corpus stats and the month range', async () => {+ const res = await call('/api/news/archive?stats=true');+ expect(res._json.status).toBe(200);+ expect(res._json.body.stats.total_articles).toBe(662047);+ expect(res._json.body.stats.undated_articles).toBe(662047 - 487690);+ expect(res._json.body.months).toEqual({ first: '2025-10', last: '2025-12', count: 3 });+ });++ it('months=true lists YYYY-MM months only (unknown-date files excluded)', async () => {+ const res = await call('/api/news/archive?months=true');+ expect(res._json.body.months).toEqual(['2025-10', '2025-11', '2025-12']);+ });++ it('trending=true counts tickers over the newest months', async () => {+ const res = await call('/api/news/archive?trending=true');+ const tickers = res._json.body.trending.map((t) => t.ticker);+ expect(tickers).toEqual(expect.arrayContaining(['BTC', 'SOL', 'USDT']));+ });++ it('rejects malformed dates and bad enums', async () => {+ expect((await call('/api/news/archive?start_date=2024')). _json.status).toBe(400);+ expect((await call('/api/news/archive?start_date=2024-02-01&end_date=2024-01-01'))._json.status).toBe(400);+ expect((await call('/api/news/archive?sentiment=angry'))._json.status).toBe(400);+ expect((await call('/api/news/archive?lang=fr'))._json.status).toBe(400);+ });++ it('queries newest→oldest, sorted by pub_date desc, with coverage report', async () => {+ const res = await call('/api/news/archive?limit=10');+ const { body } = res._json;+ expect(body.articles.length).toBe(4);+ expect(body.articles[0].pub_date >= body.articles[1].pub_date).toBe(true);+ expect(body.scanned.complete).toBe(true);+ expect(body.scanned.months).toEqual(expect.arrayContaining(['2025-12', '2025-11', '2025-10']));+ expect(body.has_more).toBe(false);+ });++ it('filters by ticker + lang + sentiment', async () => {+ const res = await call('/api/news/archive?ticker=JTO&lang=zh&sentiment=negative');+ const { body } = res._json;+ expect(body.total_scanned_matches).toBe(1);+ expect(body.articles[0].lang).toBe('zh');+ expect(body.articles[0].tickers).toContain('JTO');+ });++ it('respects a date-bounded month window', async () => {+ const res = await call('/api/news/archive?start_date=2025-11-01&end_date=2025-11-30');+ const { body } = res._json;+ expect(body.scanned.months).toEqual(['2025-11']);+ expect(body.total_scanned_matches).toBe(1);+ expect(body.articles[0].title).toContain('Solana');+ });++ it('returns an empty result with a hint when the range has no months', async () => {+ const res = await call('/api/news/archive?start_date=2010-01-01&end_date=2010-12-31');+ expect(res._json.body.articles).toEqual([]);+ expect(res._json.body.scanned.complete).toBe(true);+ });++ it('502s with archive_unavailable when GCS is unreachable and nothing is cached', async () => {+ // Fresh module instance — the long-lived handler above has months warm in+ // its LRU (serving from cache during an outage is the desired behavior).+ vi.resetModules();+ const { default: coldHandler } = await import('../api/news/archive.js');+ global.fetch = vi.fn(async () => {+ throw new Error('network down');+ });+ const res = fakeRes();+ await coldHandler({ method: 'GET', url: '/api/news/archive?limit=5', headers: {} }, res);+ expect(res._json.status).toBe(502);+ expect(res._json.body.error).toBe('archive_unavailable');+ });+});diff --git a/tests/news-lib.test.js b/tests/news-lib.test.jsnew file mode 100644index 000000000..17cb485c1--- /dev/null+++ b/tests/news-lib.test.js@@ -0,0 +1,153 @@+// Coverage for api/_lib/news.js — the native crypto-news aggregation engine.+// Exercises feed parsing (RSS 2.0 + Atom), normalization, ticker extraction,+// lexicon sentiment, dedupe, and the serve-stale-on-error source cache. All+// network I/O is mocked; the parsing runs on realistic fixture XML.++import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';++const { parseFeed, lexiconSentiment, extractTickers, articleId, stripHtml, getNews, findArticle } =+ await import('../api/_lib/news.js');++const RSS_FIXTURE = `<?xml version="1.0" encoding="UTF-8"?>+<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">+<channel><title>CoinDesk</title>+<item>+ <title>Bitcoin Surges Past $120K as ETF Inflows Hit Record High</title>+ <link>https://www.coindesk.com/markets/2026/07/09/btc-surge</link>+ <description><![CDATA[<p>Bitcoin rallied to a new all-time high & analysts cite $4B in weekly ETF inflows.</p>]]></description>+ <content:encoded><![CDATA[<p>Bitcoin rallied to a new all-time high on Thursday.</p><p>Spot ETF products absorbed roughly four billion dollars over the week, the strongest stretch since launch, according to exchange data.</p><p>Ethereum and Solana followed with smaller gains.</p>]]></content:encoded>+ <pubDate>Thu, 09 Jul 2026 14:00:00 GMT</pubDate>+ <dc:creator>Jane Doe</dc:creator>+ <media:content url="https://img.example.com/btc.jpg" />+</item>+<item>+ <title>Exchange Hacked: $40M Stolen in Hot Wallet Exploit</title>+ <link>https://www.coindesk.com/business/2026/07/09/hack</link>+ <description>Attackers drained the exchange hot wallet overnight.</description>+ <pubDate>Thu, 09 Jul 2026 10:00:00 GMT</pubDate>+</item>+</channel></rss>`;++const ATOM_FIXTURE = `<?xml version="1.0" encoding="utf-8"?>+<feed xmlns="http://www.w3.org/2005/Atom">+ <title>Base</title>+ <entry>+ <title>Scaling update: throughput doubled</title>+ <link rel="alternate" href="https://base.mirror.xyz/scaling-update"/>+ <summary>The network upgrade doubled gas throughput.</summary>+ <published>2026-07-08T09:00:00Z</published>+ <author><name>Base Team</name></author>+ </entry>+</feed>`;++describe('parseFeed', () => {+ it('parses RSS 2.0 items into normalized articles', () => {+ const articles = parseFeed(RSS_FIXTURE, 'coindesk');+ expect(articles).toHaveLength(2);+ const a = articles[0];+ expect(a.title).toBe('Bitcoin Surges Past $120K as ETF Inflows Hit Record High');+ expect(a.link).toBe('https://www.coindesk.com/markets/2026/07/09/btc-surge');+ expect(a.source).toBe('CoinDesk');+ expect(a.source_key).toBe('coindesk');+ expect(a.category).toBe('general');+ expect(a.image).toBe('https://img.example.com/btc.jpg');+ expect(a.author).toBe('Jane Doe');+ expect(a.pub_date).toBe('2026-07-09T14:00:00.000Z');+ expect(a.description).toContain('Bitcoin rallied');+ expect(a.description).not.toContain('<p>');+ expect(a.id).toMatch(/^[0-9a-f]{16}$/);+ });++ it('captures the full content:encoded body for the reader fallback', () => {+ const [a] = parseFeed(RSS_FIXTURE, 'coindesk');+ expect(a.content_text).toContain('four billion dollars');+ expect(a.content_text.length).toBeGreaterThan((a.description || '').length);+ });++ it('parses Atom entries including rel=alternate links', () => {+ const articles = parseFeed(ATOM_FIXTURE, 'base_blog');+ expect(articles).toHaveLength(1);+ expect(articles[0].link).toBe('https://base.mirror.xyz/scaling-update');+ expect(articles[0].title).toBe('Scaling update: throughput doubled');+ expect(articles[0].pub_date).toBe('2026-07-08T09:00:00.000Z');+ });++ it('drops items with no link or title', () => {+ const xml = `<rss><channel><item><title>only title</title></item></channel></rss>`;+ expect(parseFeed(xml, 'coindesk')).toHaveLength(0);+ });+});++describe('enrichment', () => {+ it('detects tickers from $SYMBOL and known names', () => {+ expect(extractTickers('Bitcoin and $PEPE rally while Solana dips')).toEqual(+ expect.arrayContaining(['BTC', 'PEPE', 'SOL']),+ );+ });++ it('scores clearly positive and negative headlines apart', () => {+ const pos = lexiconSentiment('Bitcoin surges to all-time high after ETF approval');+ const neg = lexiconSentiment('Exchange hacked, funds stolen in $40M exploit');+ expect(pos.label).toMatch(/positive/);+ expect(neg.label).toMatch(/negative/);+ expect(lexiconSentiment('Weekly newsletter roundup').label).toBe('neutral');+ });++ it('articleId is a stable 16-hex hash of the link', () => {+ expect(articleId('https://x.com/a')).toBe(articleId('https://x.com/a'));+ expect(articleId('https://x.com/a')).not.toBe(articleId('https://x.com/b'));+ expect(articleId('https://x.com/a')).toMatch(/^[0-9a-f]{16}$/);+ });++ it('stripHtml flattens tags and entities', () => {+ expect(stripHtml('<p>A & B — C</p>')).toBe('A & B — C');+ });+});++describe('getNews aggregation', () => {+ const originalFetch = global.fetch;+ beforeEach(() => {+ global.fetch = vi.fn(async () => ({+ ok: true,+ text: async () => RSS_FIXTURE,+ }));+ });+ afterEach(() => {+ global.fetch = originalFetch;+ vi.restoreAllMocks();+ });++ it('aggregates a single source, filters by q, strips content_text from payloads', async () => {+ const res = await getNews({ source: 'coindesk', q: 'etf', limit: 10 });+ expect(res.articles.length).toBe(1);+ expect(res.articles[0].title).toContain('ETF');+ expect(res.articles[0]).not.toHaveProperty('content_text');+ expect(res.sources_total).toBe(1);+ expect(res.sources_ok).toBe(1);+ });++ it('returns empty for an unknown source key instead of fanning out', async () => {+ const res = await getNews({ source: 'not-a-source' });+ expect(res.articles).toEqual([]);+ expect(global.fetch).not.toHaveBeenCalled();+ });++ it('serves the last-good copy when a source starts failing', async () => {+ await getNews({ source: 'coindesk' }); // primes the cache (fresh fetch above)+ global.fetch = vi.fn(async () => ({ ok: false, status: 503, text: async () => '' }));+ // force refetch by advancing time past the 5-minute TTL+ vi.useFakeTimers();+ vi.setSystemTime(Date.now() + 6 * 60_000);+ const res = await getNews({ source: 'coindesk' });+ expect(res.articles.length).toBeGreaterThan(0); // stale copy, not a blank page+ expect(res.sources_ok).toBe(0);+ vi.useRealTimers();+ });++ it('findArticle locates a cached article with its content_text intact', async () => {+ const link = 'https://www.coindesk.com/markets/2026/07/09/btc-surge';+ const hit = await findArticle({ link });+ expect(hit).toBeTruthy();+ expect(hit.content_text).toContain('four billion dollars');+ });+});