before editing.
- Implement from source of truth outward: shared contracts, persistence/schema/migration, service/worker owner, API/projection, frontend projection/UI, tests/gates.
- Frontend may project backend truth; frontend must not own lifecycle, approval, session, permission
under `docs/` is short for `crates/opencompany-core/src/...`;
the data the crate embeds and reads (`companies/`,
`frontend/`, `vendor/`) stays at the repository root, `../..` from
`CARGO_MANIFEST_DIR`.
- `crates/opencompany-app`: the Tauri desktop shell
test
```
# Architecture
- Next.js 16, Onion Architecture, DDD.
- Paths:
- API routes `src/app/api/`.
- Frontend `src/app/`
- Backend `src/contexts/`.
# Documentation
- Detailed conventions with examples live in `docs/`.
- When working on a task, use this
private REST API at `aisandbox-pa.googleapis.com` — and, for accounts Google has moved to `flow.google.com`, that frontend's `batchexecute` wire (text-to-video, image-to-video from a local `--initial-frame`, reference
dashboard (`web/`) also consumes; **desktop has no build/runtime dependency on the dashboard frontend** — it spawns a headless `hermes serve` backend server (the same gateway `dashboard` serves, minus the browser
Working on Toolport
Toolport has a React/Vite frontend, a Tauri desktop shell, an optional GTK shell,
and a Rust headless gateway. `src-tauri/src/bin/toolport-gateway.rs` owns the gateway
protocol and catalog
this is
**AgentBro** is a macOS-only Tauri app (Rust backend + React 19 / TypeScript frontend) that surfaces events from AI coding agents (Claude Code, Codex, Gemini CLI, Cursor, Copilot
edit. The main local guides are:
- Backend: `app/AGENTS.md`, plus `app/agent/AGENTS.md`, `app/api/AGENTS.md`, or
`app/services/AGENTS.md`.
- Frontend: `web/AGENTS.md` and `web/src/AGENTS.md`.
- Native shells: `desktop/AGENTS.md`, `desktop/src-tauri/AGENTS.md`,
`mobile/AGENTS.md`, `mobile/src-tauri/AGENTS.md`, and
`native/shell-core/AGENTS.md`.
- Tests and diagnostics: `tests/AGENTS.md`, `tests/manual/AGENTS.md
sidecar explicitly
make -C desktop build # release desktop bundle
make -C desktop icons
```
For frontend HMR, run `cd web && bun dev` separately. Root `make dev` is also
valid when both