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(lint): eliminate 3 real eslint errors flagged by npm run lint
nirholasd5e146c3b92b
diff --git a/api/wk.js b/api/wk.jsindex 3939560b1..6a1ae5d1d 100644--- a/api/wk.js+++ b/api/wk.js@@ -1378,34 +1378,6 @@ const REST_OUTPUT_EXAMPLES = Object.freeze({expiresAt: '2026-06-15T18:48:09.000Z',downloadUrl: 'https://three.ws/cdn/u/spin-kick-combo.glb?X-Amz-Algorithm=...',},- '/api/x402/analytics': {- ok: true,- report: 'marketplace',- period: '7d',- generated_at: '2026-06-28T00:00:00.000Z',- catalog: { listing_count: 128, priced_listings: 41, free_listings: 87, new_in_period: 9 },- pricing: {- avg_price_usd: 4.21,- avg_price_sol: 0.028,- min_price_usd: 0.5,- max_price_usd: 25,- priceable_count: 41,- sol_usd_price: 150.0,- by_currency: [- { currency: 'USDC', currency_mint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', chain: 'solana', count: 38, avg_price: 4.1, priceable: true },- ],- },- engagement: {- total_views: 9521,- total_forks: 642,- most_viewed_id: '7b9a4f30-2d11-4e2d-9d12-1cdb1f6a3a55',- most_viewed_name: 'Helios',- most_viewed_count: 1840,- most_forked_id: 'a1b2c3d4-1111-2222-3333-444455556666',- most_forked_name: 'Forge',- most_forked_count: 96,- },- },'/api/x402/club-cover': {ok: true,admitted: true,diff --git a/src/agent-screen.js b/src/agent-screen.jsindex def9d0658..9232e0e58 100644--- a/src/agent-screen.js+++ b/src/agent-screen.js@@ -3210,19 +3210,6 @@ async function boot(id) {todReadout.textContent = `${TOD_ICON[label] || '·'} ${label}`;}- // Owners (and the first-party caster) land each host line in the live log +- // stream backfill so late joiners replay it; for a non-owner viewer the push- // 403s and we swallow it — the channel still hosts locally.- async function pushNarration(text) {- try {- await fetch('/api/agent-screen-push', {- method: 'POST', credentials: 'include',- headers: { 'content-type': 'application/json' },- body: JSON.stringify({ agentId: id, frame: { activity: text, type: 'activity' } }),- });- } catch { /* local-only narration is fine */ }- }-function tickDj() {if (!ambientOn || !ambientWorld || !ambientDj || document.hidden) return;const line = ambientDj.observe(ambientWorld.getState(), Date.now());diff --git a/workers/robinhood-feed/tests/normalize.test.js b/workers/robinhood-feed/tests/normalize.test.jsindex cfcc7af91..6940d878a 100644--- a/workers/robinhood-feed/tests/normalize.test.js+++ b/workers/robinhood-feed/tests/normalize.test.js@@ -43,9 +43,9 @@ test('normalizeCurveTrade: real Odyssey Traded log → pump-compatible trade', (assert.equal(out.trader, raw.args.trader);assert.equal(out.user, raw.args.trader); // chart-screen reads `user`assert.equal(out.tx, raw.transactionHash); // chart-screen dedupe key- // quoteAmount 90044474151232482 wei = 0.090044474151232482 ETH- assert.ok(Math.abs(out.sol_amount - 0.090044474151232482) < 1e-9);- assert.ok(Math.abs(out.usd_amount - 0.090044474151232482 * 3000) < 1e-6);+ // quoteAmount 90044474151232482 wei = 0.09004447415123248 ETH (double-precision-exact)+ assert.ok(Math.abs(out.sol_amount - 0.09004447415123248) < 1e-9);+ assert.ok(Math.abs(out.usd_amount - 0.09004447415123248 * 3000) < 1e-6);assert.equal(out.usd_amount, out.sol_value_usd);assert.equal(out.quote_symbol, 'ETH');assert.ok(Number.isFinite(out.price_usd));