From b71c88f03b77070ca3df42404e340ffab5f0e9d2 Mon Sep 17 00:00:00 2001 From: Dorian Date: Mon, 2 Mar 2026 22:41:04 +0000 Subject: [PATCH] =?UTF-8?q?feat(app):=20update=20PWA=20icons=20to=20?= =?UTF-8?q?=E2=9C=A6=20star=20design=20and=20fix=20chat=20panel=20default?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace chat-bubble PWA icons with the four-pointed star (✦) used in the interface. Fix panelSide default so chat appears on the left and content surface on the right. Add CLAUDE.md project guide and .claude/launch.json dev server config. Co-Authored-By: Claude Opus 4.6 --- .claude/launch.json | 19 ++ CLAUDE.md | 282 ++++++++++++++++++ .../app/public/apple-touch-icon-180x180.png | Bin 22652 -> 6140 bytes packages/app/public/favicon.svg | 7 +- packages/app/public/icon.svg | 23 +- packages/app/public/pwa-192x192.png | Bin 24746 -> 6646 bytes packages/app/public/pwa-512x512.png | Bin 140280 -> 26719 bytes packages/app/src/stores/chat.ts | 2 +- 8 files changed, 312 insertions(+), 21 deletions(-) create mode 100644 .claude/launch.json create mode 100644 CLAUDE.md diff --git a/.claude/launch.json b/.claude/launch.json new file mode 100644 index 00000000..6f3007ab --- /dev/null +++ b/.claude/launch.json @@ -0,0 +1,19 @@ +{ + "version": "0.0.1", + "configurations": [ + { + "name": "app", + "runtimeExecutable": "pnpm", + "runtimeArgs": ["--filter", "@aiui/app", "dev:vite"], + "port": 5173, + "autoPort": true + }, + { + "name": "claude-proxy", + "runtimeExecutable": "pnpm", + "runtimeArgs": ["--filter", "@aiui/app", "dev:proxy"], + "port": 3141, + "autoPort": true + } + ] +} diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000..4bdef965 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,282 @@ +# 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 `