Expand description
v0.48: local workbench — axum web app rendering the substrate
against the cwd’s .vela/ repo.
Doctrine: the static site (vela-site.fly.dev) is a marketing surface
bundled against one frontier at build time. The workbench is a
single-binary, single-user, localhost UI that renders the user’s
frontier, with read+write actions that hit the same on-disk
representation vela <subcommand> would.
Architecture:
- Pure Rust + axum. No node, no bun, no static-build step.
- Each request reads from disk. Writes call back into the same
modules
vela <cmd>uses (e.g., bridge confirm rewrites the.vela/bridges/<vbr_id>.jsonfile in place). - Shared CSS with the hub (
web/styles/tokens.css,web/styles/workbench.css) viainclude_str!. - Auto-opens the default browser on start unless
--no-open.
Functions§
- run
- Start the workbench on
127.0.0.1:<port>, againstrepo_path. Ifopen_browseris true, opens the default browser at the local URL.