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
style(comments): replace the banned dash characters in the news comments
nirholascb6d8c4bf5a7
diff --git a/api/_lib/news.js b/api/_lib/news.jsindex d6a9f389b..c3bfeac6d 100644--- a/api/_lib/news.js+++ b/api/_lib/news.js@@ -173,9 +173,9 @@ const TICKER_WORDS = new Map([// turned every "near-term profit booking" note into NEAR Protocol (the archive's// trending strip ranked NEAR third on the strength of it), "optimism" tagged// every hopeful Fed headline as OP, and "maker" tagged every market maker as-// MKR. A false ticker is expensive here — it pins a price widget to an unrelated+// MKR. A false ticker is expensive here: it pins a price widget to an unrelated// story, skews trending, and lets a non-crypto article through the display gate-// on the strength of a detected ticker — so these count only when the text names+// on the strength of a detected ticker, so these count only when the text names// the project rather than uses the word. A cashtag ($NEAR) still matches via the// pass above, and crypto-native coverage of these three reliably qualifies them.const QUALIFIED_TICKER_PHRASES = new Map([diff --git a/api/news/article.js b/api/news/article.jsindex e4876b23b..a350536cc 100644--- a/api/news/article.js+++ b/api/news/article.js@@ -147,7 +147,7 @@ export default wrap(async (req, res) => {}// An article link is a web link. `new URL()` happily parses javascript:,// file:, and data: URLs, and every rung of the extraction ladder then- // refuses them one by one — which used to end in a 200 carrying an empty+ // refuses them one by one, which used to end in a 200 carrying an empty// "Untitled" record. Reject the scheme here instead: a non-web URL is bad// input, not an article we failed to read.if (parsed.protocol !== 'https:' && parsed.protocol !== 'http:') {@@ -268,7 +268,7 @@ export default wrap(async (req, res) => {// Only rows carrying real body text are worth recording. A zero-content// preview (every rung of the ladder refused the URL) grounds no agent and// is never reused as the cross-instance cache above, which requires a- // page/reader row over 400 chars — so writing it only adds noise to the+ // page/reader row over 400 chars, so writing it only adds noise to the// corpus. It also closes the corpus to drive-by writes: this endpoint is// public and unauthenticated, and the caller controls `url`, `title`, and// `source`, so an arbitrary link used to mint a permanent knowledge rowdiff --git a/tests/news-article-api.test.js b/tests/news-article-api.test.jsindex db626b1ab..a50561bc3 100644--- a/tests/news-article-api.test.js+++ b/tests/news-article-api.test.js@@ -1,4 +1,4 @@-// Coverage for api/news/article.js — the reader endpoint's input boundary and+// Coverage for api/news/article.js: the reader endpoint's input boundary and// its write into the durable knowledge base.//// Two guarantees are load-bearing and both were previously unenforced:@@ -102,7 +102,7 @@ describe('url validation', () => {const out = await call(`/api/news/article?url=${encodeURIComponent(scheme)}`);expect(out.status).toBe(400);expect(out.body.error).toBe('bad_url');- // The refusal happens at the boundary — nothing is fetched, nothing+ // The refusal happens at the boundary: nothing is fetched, nothing// reaches the corpus.expect(extractArticle).not.toHaveBeenCalled();expect(recordExtraction).not.toHaveBeenCalled();diff --git a/tests/news-knowledge-api.test.js b/tests/news-knowledge-api.test.jsindex 08de86a89..0899c238f 100644--- a/tests/news-knowledge-api.test.js+++ b/tests/news-knowledge-api.test.js@@ -1,4 +1,4 @@-// Coverage for api/news/knowledge.js — the read side of the crypto knowledge+// Coverage for api/news/knowledge.js: the read side of the crypto knowledge// base the 3D agents ground on.//// The guarantee under test: every row served carries real extracted body text.