Repository navigation
build(macos): bundle and sign opencode-cli in macOS app - #1309
Merged
Merged
Conversation
Hona
force-pushed
the
feat/macos-bundle-cli
branch
from
November 26, 2026 09:17
e3f6551 to
18db214
Compare
thdxr
approved these changes
Nov 26, 2026
thdxr
left a comment
Member
There was a problem hiding this comment.
entitlements and signing allowlist look good. flipped OPENCODE_RUNE_BUNDLE_CLI on line 284 of build-app.sh (it still defaulted to 0 so fetch-cli.mjs wasn't running) and confirmed macOS PR build now stages opencode-cli cleanly.
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.
Enables bundled
Contents/Resources/opencode-cli+opencode-cli.versionon macOS builds (completing #1303 across all three platforms) and signs it inside-out with official Desktop's CLI entitlements..github/release/opencode-rune-cli.entitlements): Matches officialanomalyco/opencode.github/release/entitlements/desktop-cli.plist(com.apple.security.cs.allow-jit+com.apple.security.cs.disable-library-validationso the Bun CLI can run JIT and loadbun-ptyunder hardened runtime)..github/release/opencode-rune-sign-macos.sh): PermitsContents/Resources/opencode-cliin the strict Mach-O allowlist and signs it inside-out withopencode-rune-cli.entitlementsbefore signing the.app.apps/desktop/scripts/build-app.sh): FlipsOPENCODE_RUNE_BUNDLE_CLIdefault from0to1(opt-out with0).apps/desktop/scripts/validate-app.shalready validates its arch, TeamIdentifier, andopencode-cli.version.