Skip to content

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.

593 B
Raw Blame
// tsup bundles the registry JSON into the JS output, but we also expose it as a
// standalone export ("hoodchain/registry/stock-tokens.json") for non-JS consumers.
import { mkdir, copyFile } from 'node:fs/promises'
import { fileURLToPath } from 'node:url'
import { dirname, join } from 'node:path'

const root = dirname(dirname(fileURLToPath(import.meta.url)))
await mkdir(join(root, 'dist/registry'), { recursive: true })
await copyFile(
  join(root, 'src/registry/stock-tokens.json'),
  join(root, 'dist/registry/stock-tokens.json'),
)
console.log('registry JSON copied to dist/registry/')