feat: add native binary compilation to releases

- Add Bun-based native binary compilation for macOS, Linux, and Windows
- Create build_binaries.js script to compile from bundle/gemini.js
- Update release workflow to build and include binaries in GitHub releases
- Add build:binaries npm script

Related to #3804
This commit is contained in:
Daniel Young Lee
2025-08-10 12:44:05 -07:00
parent 2865a52778
commit 07316598bd
3 changed files with 88 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@
"build:all": "npm run build && npm run build:sandbox && npm run build:vscode",
"build:packages": "npm run build --workspaces",
"build:sandbox": "node scripts/build_sandbox.js --skip-npm-install-build",
"build:binaries": "node scripts/build_binaries.js",
"bundle": "npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js",
"test": "npm run test --workspaces --if-present",
"test:ci": "npm run test:ci --workspaces --if-present && npm run test:scripts",