Files
fusion/.changeset/fix-cli-native-module-packaging.md
gsxdsm f2f2062dfb feat(KB-142): fix CLI native module packaging with lazy loading
- Implement lazy native module loading with graceful degradation for standalone CLI

- Align release workflows with executable payload structure

- Update macOS signing script for single-executable bundles

- Add documentation for standalone CLI packaging (STANDALONE.md)

- Create changeset for patch release
2026-03-30 23:56:01 -07:00

539 B

@dustinbyrne/kb
@dustinbyrne/kb
patch

Fix standalone CLI executable native module packaging

  • Native module resolution is now lazy: only initializes when dashboard starts
  • Lightweight commands (--help, task list) no longer trigger native module loading
  • PTY terminal gracefully degrades to HTTP 503 when native assets unavailable
  • Adds process.dlopen() fallback when /$bunfs/root symlink can't be created
  • macOS signing script now signs native .node files in runtime/ directory
  • Release workflows include runtime/ directory in artifacts