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(earnings): describe the earnings card API in prose and drop an em-dash so the hard-rule check passes
nirholas47994b1635b9
diff --git a/src/agent-wallet-hub/tabs/earn.js b/src/agent-wallet-hub/tabs/earn.jsindex 064724f0a..0ae3bd6a3 100644--- a/src/agent-wallet-hub/tabs/earn.js+++ b/src/agent-wallet-hub/tabs/earn.js@@ -14,7 +14,7 @@* 1. Earnings hero — lifetime / 7d / today, count-up, "earned while away".* 2. Earning engine — price the agent's skills in USDC (the buy side settles* for real over Solana Pay → real funds into the agent wallet).- * 2b. Sell as an API — one switch turns the whole agent into a paid x402+ * 2b. Sell as an API: one switch turns the whole agent into a paid x402* endpoint (POST /api/x402/agents/:id): price per call, public description,* the stable URL + a ready curl, and what the service has earned.* 3. Autonomous spend — allowance snapshot + prominent kill switch; the agentdiff --git a/src/shared/agent-earnings-card.js b/src/shared/agent-earnings-card.jsindex 411ae5704..5cf9753a8 100644--- a/src/shared/agent-earnings-card.js+++ b/src/shared/agent-earnings-card.js@@ -6,10 +6,9 @@// breakdown, and every recorded claim with its Solscan link. Every figure comes// from GET /api/agents/:id/earnings; the card never computes or invents one.//-// Single source of truth: import and mount it, never copy it per page.-// import { mountEarningsCard } from './shared/agent-earnings-card.js';-// const handle = mountEarningsCard({ mount, agentId, onState });-// handle.refresh(); handle.destroy();+// Single source of truth: import mountEarningsCard and call it with a mount+// element and an agent id, never copy it per page. It returns a handle whose+// refresh() re-reads the endpoint and whose destroy() tears the card down.//// `onState(state)` reports 'loading' | 'empty' | 'zero' | 'earned' | 'error' so a// host page can decide whether to show the surrounding card at all.