mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 16:02:32 +00:00
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>