Skip to content

npm: broaden @khive-ai/lattice-embed native prebuilt matrix beyond darwin-arm64 #696

Description

@ohdearquant

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions