Commit Graph

57 Commits

Author SHA1 Message Date
github-actions[bot]
1c562a95d5 release: v3.0.0-beta.14 2026-01-23 17:09:52 +00:00
github-actions[bot]
dab3e1e13f release: v3.0.0-beta.13 2026-01-22 18:04:51 +00:00
github-actions[bot]
ac192435cb release: v3.0.0-beta.12 2026-01-22 02:10:33 +00:00
github-actions[bot]
5d1f917633 release: v3.0.0-beta.11 2026-01-19 06:34:40 +00:00
justsisyphus
a2f64e18f3 chore(release): bump platform packages to 3.0.0-beta.9
🤖 Generated with OhMyOpenCode assistance
2026-01-17 17:58:54 +09:00
github-actions[bot]
bad98e88ec release: v3.0.0-beta.8 2026-01-15 17:50:06 +00:00
Kenny
c67ca8275e feat: Bun single-file executable distribution (#819)
* feat: add Bun single-file executable distribution

- Add 7 platform packages for standalone CLI binaries
- Add bin/platform.js for shared platform detection
- Add bin/oh-my-opencode.js ESM wrapper
- Add postinstall.mjs for binary verification
- Add script/build-binaries.ts for cross-compilation
- Update publish workflow for multi-package publishing
- Add CI guard against @ast-grep/napi in CLI
- Add unit tests for platform detection (12 tests)
- Update README to remove Bun runtime requirement

Platforms supported:
- macOS ARM64 & x64
- Linux x64 & ARM64 (glibc)
- Linux x64 & ARM64 (musl/Alpine)
- Windows x64

Closes #816

* chore: remove unnecessary @ast-grep/napi CI check

* chore: gitignore compiled platform binaries

* fix: use require() instead of top-level await import() for Bun compile compatibility

* refactor: use static ESM import for package.json instead of require()
2026-01-16 00:33:07 +09:00