@toist/ui
v0.10.5
Published
## Dev server
Readme
@toist/ui
Dev server
Run the runner API in one terminal:
bun run startRun the local UI dev server in another terminal:
bun run ui:devOpen http://localhost:2131. That page is served by Vite from packages/ui/src
and proxies /api to the runner at http://localhost:2132.
Do not use the runner URL for UI development; the runner can serve a built
@toist/ui/dist bundle for production-style use.
Keep VITE_API_URL unset for local UI development. The Vite proxy handles API
requests through same-origin /api.
Poikile tokens
The runner UI owns toist-runner-ui.pack.json, a renamed copy of Poikile
Studio's studio-ui.pack.json. Keep palette edits in the pack and regenerate the
Tailwind v4 theme CSS through Poikile sync; do not hand-edit
src/styles/runner-palette.css.
cd packages/ui
bun run sync-palette