# CLAUDE.md — AIUI Project Guide ## Project Overview AIUI is a next-generation AI content surface UI. It's a **pnpm monorepo** with two packages: - `@aiui/app` — Reference application (Vite + Vue 3 + Tailwind CSS) - `@aiui/core` — Reusable component library **Stack**: Vue 3 (Composition API), TypeScript ~5.8 (strict), Vite, Tailwind CSS, Pinia, Vue Router, Turborepo **Node**: >=20.0.0 | **pnpm**: >=10.0.0 ## Quick Reference ```bash pnpm dev # Run app dev server + Claude proxy pnpm dev:core # Watch-build core library pnpm build # Build all packages (turbo) pnpm test # Run tests (vitest) pnpm lint # Lint all packages (eslint) pnpm typecheck # Type-check all packages (vue-tsc) pnpm clean # Remove dist/ directories ``` Dev server: `http://localhost:5173` | Claude proxy: `http://localhost:3141` ## Core Philosophy - **Open source only** — MIT/Apache-2.0 licensed dependencies only - **Decentralized-first** — Pluggable adapters, no vendor lock-in - **Bitcoin only** — sats/Lightning/Cashu/Fedimint. Never fiat, never altcoins. AIUI is never a wallet — always deep-link to external wallets - **Privacy-first** — E2E encryption (tweetnacl.js), encrypted local storage (AES-256-GCM), no tracking/telemetry - **Mobile-first, everywhere-perfect** — Desktop is an enhancement of the mobile experience - **Plugin-everything** — All integrations go through typed plugin interfaces ## Vue 3 Conventions **Always use `