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
2466mo agoReviewMountCreate a free account to mount
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
2325mo agoReviewMountCreate a free account to mount
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
2213mo agoReviewMountCreate a free account to mount
root (directory containing `.webnovel/state.json`).
### Dashboard
```bash
# Backend (FastAPI on port 8765)
python -m .opencode.dashboard
# Frontend dev server (React + Vite, separate terminal)
cd .opencode/dashboard/frontend && npm run dev
```
## Architecture
### Six-Layer Data
2127mo agoReviewMountCreate a free account to mount
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
2112mo agoReviewMountCreate a free account to mount
owns the frozen Bun install and shared web build used by native
packaging. Frontend changes still follow `web/AGENTS.md` and require web
validation.
## Constraints
- Keep remote-server connection behavior distinct from
2112mo agoReviewMountCreate a free account to mount
complexity,
coupling, and import cycles. `make health` and `make health-json` analyze
the web frontend only; `--lang python` still reaches the frozen v2 `app/`.
- `generate_icons.py`: shared source-icon conversion
2112mo agoReviewMountCreate a free account to mount