Repository navigation
Configuration
Brook Li edited this page Oct 16, 2026
·
1 revision
| Variable | Used by | Effect |
|---|---|---|
CODE_EDITOR |
Inspector (inspector.mjs) |
IDE command or absolute path; tried first, then cursor, then code, with -g file:line:1
|
HTML_PROTOTYPE_PACK_ROOT |
resolve/list/validate scripts | Extra pack roots (path-delimiter list) |
HTML_PROTOTYPE_PACK_REGISTRY |
install-pack.mjs |
Registry URL or local path |
HTML_PROTOTYPE_PACK_SOURCE |
install-pack.mjs |
Tarball base URL (<base>/<ref>.tar.gz), e.g. a mirror |
Read by the author server at startup; existing env vars win. Template: .env.example. Do not commit .env.
CODE_EDITOR=cursor
# CODE_EDITOR="C:\\Users\\you\\AppData\\Local\\Programs\\cursor\\Cursor.exe"| Param | Effect |
|---|---|
scene=<id> |
Activate a declared scenario |
collapsed=1 |
Collapse the annotation rail |
product-only=1 |
Hide all author overlays and badges |
Sketch board: /sketch/?pack=<id>.
- Pack install metadata is written into the installed pack directory (origin
localvs remote drives overwrite protection). - Registry:
.html-prototype/packs/registry.jsonand the bundled fallback must stay identical to generator output.
Getting started
Concepts
Authoring
UI packs
Reference