@nice-code/commander 0.80.0 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -64,6 +64,19 @@ terms). `up --dry-run` and `explain` show exactly what would be touched, without
64
64
  Node ≥ 22 or Bun. The web UI is pre-built into the package; Vite and React are not installed on
65
65
  your machine. Built on [`@nice-code/process`](https://www.npmjs.com/package/@nice-code/process).
66
66
 
67
+ ## Developing the web UI (`bun run dev`)
68
+
69
+ Editing the UI needs a fast loop, so the package ships a dev harness: `bun run dev` (from
70
+ `packages/nice-commander`) serves the client **source** with Vite hot reload and proxies its
71
+ auth/websocket lanes to a throwaway daemon running the `dev/showroom.config.ts` demo. Open the
72
+ printed URL, edit `src/client/**`, and watch it hot-reload live against a real backend.
73
+
74
+ - `NICE_COMMANDER_DEV_PORT` changes the vite port (default 5196). The daemon runs on its own
75
+ `showroom` data dir and port range, so it never touches your real environment.
76
+ - `NICE_COMMANDER_DEV_OPEN=0` skips auto-opening a browser (headless runs).
77
+ - Ctrl+C (or closing the vite server) stops the showroom daemon and its processes too.
78
+ - The demo needs `build/cli.mjs`; the harness runs `bun run build:server` itself if it is missing.
79
+
67
80
  ## Security posture
68
81
 
69
82
  Loopback only. The browser takes a capability from a same-origin bootstrap and keeps it in memory —