Development
Prerequisites
- Node.js 20+
- npm 10+
Local Run
git clone https://github.com/nullclaw/nullclaw-chat-ui.git
cd nullclaw-chat-ui
npm install
npm run dev
Default local URL: http://localhost:5173
Most Useful Scripts
npm run devnpm run buildnpm run previewnpm run testnpm run test:watchnpm run checknpm run check:watch
Source Map
src/
routes/ route shell + main page
lib/components/ UI components
lib/protocol/ protocol types/client/crypto
lib/session/ controller + auth storage
lib/stores/ session timeline store
lib/ui/ preference helpers
lib/theme.ts theme/effects logic
Safe Feature Workflow
- update protocol/store/controller contracts first
- connect UI components to updated contracts
- add or update tests near changed layer
- run
npm run testandnpm run check