You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rohas Workbench is a Next.js dashboard that pairs generated Rohas projects with a modern shadcn/ui front-end. It automatically detects the nearest `config/rohas.toml`, parses your local schemas/handlers, and surfaces health signals without needing a backend service.
-`toml` parser to read Cargo metadata straight from disk
11
+
12
+
## Getting started
13
+
14
+
```bash
15
+
pnpm install
16
+
pnpm dev
17
+
```
18
+
19
+
Visit http://localhost:3000 to view the dashboard. Updating schema files under `./schema` or handlers under `./src/handlers` immediately updates the inventory, because Workbench reads directly from disk on every request.
-`src/stores/workbench-store.ts` – Zustand store for cross-route search & navigation state
38
+
-`src/lib/project.ts` / `src/lib/workbench-data.ts` – filesystem helpers that discover schema, handler, and workflow assets
39
+
40
+
Because the UI executes inside the same repo as the generated Rohas project, no network calls are required—Workbench renders everything from local state, which keeps the feedback loop fast even when offline.
41
+
42
+
## Project root detection
43
+
44
+
Workbench walks up from the app directory until it finds `config/rohas.toml`, which becomes the project root. Override this detection with:
45
+
46
+
```bash
47
+
ROHAS_PROJECT_ROOT=/absolute/path/to/project pnpm dev
48
+
```
49
+
50
+
The override is especially helpful when running the dashboard from a globally installed bundle or when the project structure deviates from the default generator layout.
0 commit comments