Add bun kit - #247
Open
kristiyan-velkov wants to merge 1 commit into
Open
Conversation
Avoid the unsigned curl|bash installer; pin version and SHA256 in git. Signed-off-by: kristiyan.velkov <christiyanweb@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bunmixin that installs Bun v1.4.0 from a SHA256-verified GitHub release zip (bun-linux-x64/bun-linux-aarch64).zipfileso the kit does not needapt-get install unzipor Ubuntu/Docker apt hosts.bun installregistries are opt-in per sandbox.Spec choices worth flagging for review
curl | bashfrom bun.sh. Version + per-arch SHA256 are pinned from the releaseSHASUMS256.txt.registry.npmjs.org, etc.) are intentionally not allowlisted — same posture as keeping Vale/Task install-only. Documented in the README.unzipkeeps the network contract to three GitHub asset hosts.Origin
New runtime mixin, patterned on
vale//task/(pinned GitHub release).Test plan
./scripts/test-kit.sh bunpasses (the TCK)./scripts/test-kit-e2e.sh bunpasses under deny-allsbx run --kit ./bun/ claudethenbun --versionMade with Cursor