Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Young Lee
49abf1fe16 improve: enhance error reporting in build_binaries.js
- Check stderr, stdout, and message for comprehensive error info
- Format multi-line errors with proper indentation
- Ensures all error details are visible for debugging CI failures
2025-08-10 13:37:15 -07:00
Daniel Young Lee
55747791ba fix: address security and reliability issues in build_binaries.js
- Use execFileSync instead of execSync to prevent shell injection
- Exit with non-zero code when builds fail for CI integrity
- Capture and display stderr for better error diagnostics
- Fixes CodeQL security warning about shell command injection
2025-08-10 13:31:06 -07:00
Daniel Young Lee
46480326cf chore: apply prettier formatting to build_binaries.js 2025-08-10 12:50:36 -07:00
Daniel Young Lee
07316598bd 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
2025-08-10 12:44:05 -07:00