Local Minecraft-style UI preview
Run from the repository root:
node tools/minecraft-ui-preview.mjs
The script binds only 127.0.0.1 on an automatically selected free port and prints its URL and PID. Press Ctrl+C to stop it.
This uses the production App, ServerProvider, pages, editor dialogs, and CSS. The injected API operates entirely in browser memory; it does not fetch a management API, open an event stream, read databases, or start Minecraft. The isolated Vite configuration contains no API proxy. Save changes disappear on reload.
The default page is the Chinese V2 trigger editor, including nested conditions, messages and a persistent-variable declaration. Double-click nodes to inspect the real editing dialog. Navigate with the normal sidebar to Overview or Content. To inspect Login, use the printed ?login=1 URL or click Logout. Any nonempty dummy login works; never enter real credentials into preview fixtures.
This entry lives outside src/ and is not linked from the production index.html or bundled into release assets.
Optional standalone fixture type check (does not include unrelated test files):
node web-ui/node_modules/typescript/bin/tsc --project web-ui/dev-preview/tsconfig.json --noEmit