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
docs(skill-import): log order 525 Anchor IDL import, with the live devnet decode still open
nirholas7cd5ff2b158e
diff --git a/prompts/finish/_context/integrate-PROGRESS.md b/prompts/finish/_context/integrate-PROGRESS.mdindex 96c9beacd..4c182b288 100644--- a/prompts/finish/_context/integrate-PROGRESS.md+++ b/prompts/finish/_context/integrate-PROGRESS.md@@ -1365,6 +1365,6 @@ Step 0 measured: `packages/readme-3d` had no product surface; its README forge eStep 0 measured: both callers read X through oEmbed (text only, no metrics or media). The shared keyless reader `api/_lib/x-syndication.js` (X syndication, then fxtwitter, then guest-token GraphQL when `X_BEARER_TOKEN` is set) now backs `handleSocialXPostImpact` in `api/pump-fun-mcp.js` and `src/social/x-post-impact.js`; `POST /api/x-video/extract` and the host-locked `GET /api/x-video/download` proxy (https `video.twimg.com` and `pbs.twimg.com` only, no credentials, ports or redirects) plus `pages/x-video.html` and `src/x-video.js` ship the free tool. Code landed in `0ad88fb38`, `22a5a1f49`, `ed75c5946` and `7718bf4fb` (all swept in by concurrent agents). Evidence: `tests/x-post-impact.test.js`, `tests/x-syndication.test.js`, `tests/api/x-video.test.js` and `tests/pumpfun-mcp-tools.test.js` 49 of 49 pass, including host refusals; `check:rules` exits 0; a local server on a spare port returned all mp4 variants (1080p, 720p, 480p and lower) for a real public video post, `no_video` for a text post, streamed a real mp4 through the proxy with 200, and answered 400 `invalid_media_url` for example.com. Open: (1) browser verification of the page and `npm run check:pages`, which needs a Vite build; the shared `node_modules` was being rewritten by a concurrent `npm install` (vite missing, then `@upstash/qstash` and `three` unresolved) for the whole session, so `dist/` is empty of every recent page. Owner: whoever next has a stable install; run `npx vite build && npm run check:pages` and open `/x-video`. The order file stays until then. The live check used a public Tripo post because the recent @trythreews posts the timeline returned contain no video.-## 2026-10-23: order 537 (integrate 38, market anomaly feed), done+## 2026-10-23: order 525 (integrate 26, Anchor IDL to skill), code done, live decode on a cluster open-Step 0 measured: no upstream tarball was needed. The detectors (modified z-score with MAD, EWMA deviation, rate of change) were written from the algorithm description in `api/_lib/market-anomaly.js` and fed from real series: CoinGecko hourly sparklines (top 100), DeFiLlama Solana TVL and Solana stablecoin supply history (built first), the stablecoin board, and Hyperliquid funding history plus open interest snapshots (no public OI history, so the cron records `market_anomaly_samples` each tick). Gas and whale processors were not built (gas is EVM-only, whale detection already exists in Oracle). Shipped in `35afe5904` (engine, sources, store, cron, migration, paid route, alert kind end to end, alerts-mcp), `22a5a1f49` and `2b7bb3921` (registry entry, fixtures and tests swept in by concurrent commits), `3f1eb493d` (ring catalog), plus the docs commit that closes this order. Migration `20261023140000_market_anomalies.sql` applied alone with `--apply --file`; 20 unrelated migrations stay pending. Evidence: 32 detector and alert tests pass on live-recorded fixtures; the cron run wrote 10 real events (stablecoin pegs) and a rerun wrote 0 (dedupe), skipping 20 open interest series as `insufficient_history` (have 2, need 29); `/api/x402/market` lists `market-anomalies` and the route answers 402. Open interest begins scoring after about 7 hours of snapshots.+Step 0 measured: `packages/skill-import` (order 524) had shipped; no Borsh coder existed in `api/`, `src/` or `packages/`; `contracts/idl/` holds `skill_license.json` and `agent_invocation.json`. Shipped `generateAnchorBundle`, `importFromAnchorIdl` and `fetchOnchainIdl` in `packages/skill-import/src/anchor-idl.js` plus the self-contained Borsh codec `anchor-runtime.js` appended to the generated `handlers.js` (the skill sandbox allows no imports), `POST /api/skills/import { idl_url | program_id, cluster? }`, `kind: 'anchor'` drafts (migration `20261023120000_openapi_skill_imports_anchor_kind.sql`, not yet applied), docs and changelog. Tools: `read_<account>`, `preview_<ix>` (read-only, never signs) and `send_<ix>` (`destructiveHint: true`, returns `confirmation_required` with the unsigned instruction); the risk panel flags token movement, SOL spend, account closure and authority changes. Code landed in `b00ee311a`, `22a5a1f49` and `e75ee5681` (swept in by concurrent agents). Evidence: `packages/skill-import/tests/anchor-idl.test.js` 14 of 14 and `tests/openapi-skill-import.test.js` 9 of 9 pass; generated bundles for both IDLs pass `validateBundle`; decoded Marketplace and SkillLicense accounts and encoded `mint_skill_license` data match `@coral-xyz/anchor`'s `BorshAccountsCoder` and `BorshInstructionCoder` byte for byte; spy wallet and a throwing `ctx.secrets` prove preview and send never sign. Open: `skill_license` (`EdngSwxmDktyrr4phwGEZnCXEoQ27vgnBtowjhKa7Wr8`) returns a null account on both devnet and mainnet-beta, so a live decode needs a devnet deploy (`contracts/skill-license/DEPLOYMENT.md`, owner-gated spend). The decode check ran against account bytes produced by the reference Anchor coder instead. The order file stays until the live line passes. Owner: deploy the program to devnet, then re-run `read_marketplace` with `cluster: 'devnet'` after the deploy.