Files
orca/config
JinjingandOrca 39364f975f fix(cli): unpack zod so packaged CLI can resolve it at runtime (#1098)
The CLI is compiled by tsc (not bundled) and launched via
ELECTRON_RUN_AS_NODE, which bypasses Electron's asar integration. After
#1090 introduced zod for envelope validation, the packaged CLI crashed
with MODULE_NOT_FOUND because zod was inside app.asar. Add it to
asarUnpack so require() can resolve it from app.asar.unpacked/node_modules.

Follow-up tracked in #1097 to add CI smoke-testing of the packaged CLI.

Co-authored-by: Orca <help@stably.ai>
2026-04-25 16:55:43 -07:00
..