Rellm is Makefile-driven from the repo root. After editing any .proto file (or when docs/graphs look stale), regenerate everything with:
make
run from the repo root (/Users/jonlatane/Development/rellm). This is the default target: protos docs graphs.
What `make protos` does
Regenerates proto bindings for every frontend:
cd frontends/flutter && make protos
cd frontends/tamagui && yarn protos
cd frontends/elm-spa && make protos
The Flutter step goes through FVM (the Flutter SDK is pinned in frontends/flutter/.fvmrc; never use a bare flutter/dart): it needs fvm installed, the pinned SDK installed once with make -C frontends/flutter fvm_install, and protoc on PATH. If either FVM piece is missing, its targets stop with a message saying what to run. See frontends/flutter/README.md.
Note the Rust backend does not get its protos regenerated by this target — its prost-build protos regenerate automatically on cargo build/cargo run unless stale build artifacts need clearing first, in which case use cd backend && make rebuild_protos (see the run-backend skill).
When to use
- After adding/editing a message or RPC in
protos/*.proto. - Before testing a frontend change that depends on new/changed proto fields — run this first, then use
run-elm,run-tamagui, orrun-backendto actually check it.