Repository navigation
v1.5.3
v1.5.3
Fixed
- The installed app failed to start Cortex with
Cannot find module 'apache-arrow'.
apache-arrowis a peer of LanceDB, so pnpm's isolated linker never placed it in the production
tree electron-builder packages. The app now declares it directly and the workspace uses
nodeLinker: hoisted, which keeps the LanceDB peer closure (apache-arrow,
@opentelemetry/api,reflect-metadata) insideapp.asar. - Native runtimes were unpacked incompletely.
asarUnpacknow covers the whole
@lancedb,onnxruntime-node,sharp, and@imgdirectories (.node,.dll,.dylib,
.so*), not just the top-level.nodefiles. - Broken installers can no longer be published.
scripts/verify-pack.cjsruns after every
package and fails the build if a critical JS dependency, LanceDB/ONNX/sharp native binary, or the
unpacked MCP server is missing.
Changed
- Packaging prunes the build machine's Hugging Face model cache and duplicate optional
ONNX/sharp/LanceDB trees before electron-builder runs. The Windows unpacked payload dropped from
~1.1 GB to ~0.8 GB, and a downloaded model can never be shipped by accident. - macOS builds are Apple Silicon (
arm64) only. LanceDB 0.40 does not publish a
darwin-x64native package; Intel Mac builds would install and then crash in Cortex. The CI
macOS job now uses an arm64 runner. - CI prunes native dependencies for each target explicitly before packaging, then runs the same
afterPack verifier used locally.
Full changelog: https://github.com/hyperbolictonic/kuang-grade-mark-eleven/blob/main/CHANGELOG.md