build -o bdrive ./cmd/bdrive # build the binary (gitignored at repo root)
# web frontend (internal/webapp/frontend — only needed when changing frontend/src):
npm run build # rebuild the committed assets in internal/webapp/static (run from
594mo agoReviewMountCreate a free account to mount
/prod.sh build # PyInstaller build + verify + deploy to daemon
cd desktop && npm run build:all # frontend production build (embedded in the .app)
cd backend && python -m pytest tests/test_ .py -v --timeout
507mo agoReviewMountCreate a free account to mount
approaches this, split it before
adding more. This applies to Python, JS and CSS.
## Frontend
`static/js/` is vanilla JS with no build step, loaded as ordered script tags.
State lives
493mo agoReviewMountCreate a free account to mount
streams results to a live web UI.
## Tech Stack
- **Backend**: Python 3.11+, FastAPI, uvicorn
- **Frontend**: Vanilla HTML/CSS/JS (no framework), SSE for real-time streaming
- **AI Backends**: Claude Code CLI, OpenAI
488mo agoReviewMountCreate a free account to mount
senior-backend`; system or architecture decisions -> `senior-architect`; UI components, state, or performance -> `senior-frontend`; visual or aesthetic polish -> `frontend-design`; animation, gesture, or motion -> `motion-craft`; reviewing a diff
4858d agoReviewMountCreate a free account to mount
Runtime checks exist in `bin/clopen.ts` and `backend/index.ts`
### Architecture
- **Backend:** Bun + Elysia with WebSocket architecture
- **Frontend:** Svelte 5 with runes system ($state, $derived, $effect)
- **Database:** SQLite with migration system
### Code Style
484mo agoReviewMountCreate a free account to mount
greenfield. The platform has 109 SQLAlchemy tables, 103 API routers, 599 frontend TS files, and a Knowledge Graph mapping every code path. **Most "new" work
476mo agoReviewMountCreate a free account to mount
this directory contains overlapping developer notes; keep both in sync when behavior changes.
## Commands
Frontend scripts (`package.json`):
- `npm run dev` — Vite dev server (port 1420, required by `tauri.conf.json
476mo agoReviewMountCreate a free account to mount
build # Build for production
npm run lint # Run ESLint on routes directory
```
### Frontend (Angular)
```bash
cd frontend
npm install # Install dependencies
npm run start:dev # Start dev server with proxy
4417mo agoReviewMountCreate a free account to mount
packages/web`). The server exposes Claude Code as an HTTP API; the built frontend is embedded into the server's `public/` directory for serving.
**Prerequisite**: Claude Code CLI must be installed
447mo agoReviewMountCreate a free account to mount
A file Claude Code reads at the start of every session. It holds the commands, conventions and warnings the agent needs for this project.
Where does it go?
At the repository root. Claude Code also reads CLAUDE.md files in subdirectories when it works there.
What should it contain?
Build and test commands, the project's layout, conventions that aren't obvious from the code, and mistakes to avoid. Short files tend to work better than long ones.
CLAUDE.md or AGENTS.md?
Claude Code reads CLAUDE.md; most other agents read AGENTS.md. Many projects keep one and point the other at it.