Skip to content

feat: single binary using bun#22

Merged
designcode merged 2 commits intomainfrom
bun-poc
Feb 19, 2026
Merged

feat: single binary using bun#22
designcode merged 2 commits intomainfrom
bun-poc

Conversation

@designcode
Copy link
Collaborator

@designcode designcode commented Feb 18, 2026

Note

Medium Risk
Touches core CLI command wiring and release automation, so regressions could break command availability or publishing/binary install flows across platforms.

Overview
Adds a Bun-compiled single-binary distribution path: introduces src/cli-binary.ts (static module loading via generated command-registry.ts) plus embedded specs (src/specs-embedded.ts) and a setSpecs() hook to avoid runtime filesystem reads.

Refactors the CLI entrypoint by extracting shared command registration/help/arg parsing/error handling into src/cli-core.ts, and rewires src/cli.ts to use it while keeping dynamic imports for the npm package.

Expands release automation to build, package, and upload multi-platform binaries (and new scripts/install.sh/scripts/install.ps1 installers) only when a new semantic-release tag is published; also updates update-notification messaging for binary installs and improves isNewerVersion to handle prerelease suffixes (with added tests).

Written by Cursor Bugbot for commit cc3ccb7. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@designcode designcode merged commit 6467ded into main Feb 19, 2026
2 checks passed
@designcode designcode deleted the bun-poc branch February 19, 2026 13:14
@github-actions
Copy link

🎉 This PR is included in version 2.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants