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.

514 B
Raw Blame
import { defineConfig } from 'tsup'

export default defineConfig({
  entry: { cli: 'src/cli.ts' },
  format: ['esm'],
  target: 'node20',
  platform: 'node',
  outDir: 'dist',
  clean: true,
  sourcemap: true,
  dts: false,
  // Ship a single self-contained CLI file so `npm i -g` needs no runtime
  // resolution of the sibling SDK; viem/ws/commander stay external (installed
  // as dependencies).
  noExternal: ['hoodchain'],
  external: ['viem', 'ws', 'commander'],
  banner: { js: '#!/usr/bin/env node' },
})