Follow-on from the v0.5.1 npm release (#689, #694).
@khive-ai/lattice-embed (native napi-rs) declares a 7-platform optionalDependencies matrix in binding.js, but the initial release publishes only the darwin-arm64 prebuilt binary. On any other platform binding.js throws FL_EMBED_NATIVE_LOAD_FAILED (there is no automatic WASM fallback) and users must fall back to @khive-ai/lattice-embed-wasm.
Scope: add CI cross-compilation + prebuild + publish for the remaining platform subpackages:
linux-x64-gnu, linux-arm64-gnu
linux-x64-musl, linux-arm64-musl
darwin-x64
win32-x64-msvc
Each becomes a @khive-ai/lattice-embed-<platform> subpackage matching the existing darwin-arm64 layout, wired into make publish-npm's preflight + publish loop (already discovers any present .node, so the script needs no change — just the built artifacts).
Until then the coverage limitation is documented plainly in docs/releases/v0.5.1.md.
Follow-on from the v0.5.1 npm release (#689, #694).
@khive-ai/lattice-embed(native napi-rs) declares a 7-platformoptionalDependenciesmatrix inbinding.js, but the initial release publishes only thedarwin-arm64prebuilt binary. On any other platformbinding.jsthrowsFL_EMBED_NATIVE_LOAD_FAILED(there is no automatic WASM fallback) and users must fall back to@khive-ai/lattice-embed-wasm.Scope: add CI cross-compilation + prebuild + publish for the remaining platform subpackages:
linux-x64-gnu,linux-arm64-gnulinux-x64-musl,linux-arm64-musldarwin-x64win32-x64-msvcEach becomes a
@khive-ai/lattice-embed-<platform>subpackage matching the existingdarwin-arm64layout, wired intomake publish-npm's preflight + publish loop (already discovers any present.node, so the script needs no change — just the built artifacts).Until then the coverage limitation is documented plainly in
docs/releases/v0.5.1.md.