adapters
- `api/`: FastAPI server for query, replay, streaming, auth, and packaged UI serving
- `frontend/`: React + TypeScript + Vite UI for trace inspection
Primary loop: instrument an agent with the SDK, persist/query
Project
One-sentence project description here.
## Monorepo
pnpm workspaces + Turborepo. Packages:
- `apps/web` — Next.js frontend
- `apps/api` — Express API server
See each package's `CLAUDE.md` for package-specific guidance.
For full project
910mo agoReviewMountCreate a free account to mount
chain
tool). Deliberate exceptions, each justified in `docs/architecture/decisions.md`:
`github.com/BurntSushi/toml` (Codex configs). The dashboard frontend has its own
npm deps but they are build-time only — the binary embeds
browser.
Plain Node, no build step: Express + `ws` backend, vanilla ES modules on the frontend.
## Development workflow
### Restart the daemon after making changes
```bash
./restart.sh # silent restart — browser reconnects
HTTP server: reads platform dirs directly, SSE `/api/stream`, same API shape used by the frontend |
| `platform-readers.mjs` | **Single source of truth** for reading non-JSONL platforms (Cursor, OpenCode, Antigravity, Hermes). Used
into Electron main process (`electron/mcp-service.js`)
- **IPC Communication** - Replaces HTTP requests for better performance
- **Next.js Frontend** - React-based UI with TailwindCSS, exported to static files for Electron
- **Zero Runtime Dependencies** - Packaged
912mo agoReviewMountCreate a free account to mount
root CLAUDE.md rules still apply; the
> numbering below keeps the original rule numbers.
## Frontend Code Rules
11. **Frontend unit tests:** Vitest + React Testing Library. Every component that
handles data
stacks. Each agent enforces best practices, fetches current docs via Context7 MCP, and (for frontend agents) applies psychology-driven UI/UX principles.
**Expo / React Native is not here.** It moved
task infrastructure
- A file upload and storage system
- An admin UI or dashboard
- Any frontend code
- Email or notification sending
- Billing or subscription logic
- Feature flags
These are real product
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.