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
add xspace-agent/xspace-agent/.github/instructions/cli.instructions.md
overstepping6537af6922ab
diff --git a/xspace-agent/xspace-agent/.github/instructions/cli.instructions.md b/xspace-agent/xspace-agent/.github/instructions/cli.instructions.mdnew file mode 100644index 000000000..8dbf1d0e2--- /dev/null+++ b/xspace-agent/xspace-agent/.github/instructions/cli.instructions.md@@ -0,0 +1,30 @@+---+description: "Use when editing the @xspace/cli tool — Commander.js commands, config loading, interactive prompts."+applyTo: "packages/cli/**"+---+# CLI Package (packages/cli/)++Published as `@xspace/cli`. See `packages/cli/CLAUDE.md` for the module map.++## Commands++- `init` — Setup wizard → writes `xspace.config.json` (chmod 600)+- `auth` — Save X credentials to `.env`+- `join <url>` — Join an X Space with provider flags+- `start` — Start server with admin panel+- `dashboard` — Standalone dashboard server++## Patterns++- **Config precedence**: CLI flags > config file > env vars > defaults+- **Config validation**: Zod schemas in `src/config.ts`+- **Interactive prompts**: Inquirer in `src/prompts.ts`+- **Logging**: Colored console with verbose/quiet modes in `src/logger.ts`+- **Path resolution**: Walks up from `__dirname` looking for `.git` in `src/paths.ts`++## Rules++- New commands go in `src/commands/` using Commander.js+- Config files must be written with restrictive permissions (chmod 600) when containing credentials++