feat(berd-call): bundle CLI with Berd and check updates on call start - #360
Open
johnmatthewtennant wants to merge 11 commits into
Open
johnmatthewtennant wants to merge 11 commits into
johnmatthewtennant wants to merge 11 commits into
Conversation
johnmatthewtennant
marked this pull request as ready for review
September 29, 2026 17:01
This branch has not been deployed
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
Why
A separately installed Berd Call CLI would not reliably track Berd app updates. Starting a call should also be able to discover a newer Berd release without replacing the app while the call is using its bundled binary.
What
Berd now bundles the macOS
berd-callCLI, and a call started from that bundle triggers a background app update check. A shared lock permits download during the call but defers app-bundle installation until the call ends. Standalone developer builds neither trigger nor block Berd app updates.The README explains installation through Berd and a stable PATH symlink. Release archives exclude macOS AppleDouble entries so the updater can unpack them.
just install-berd-call-devbuilds and installs a development CLI in a stable user-local location and links~/.local/bin/berd-callto it.just uninstall-berd-call-devrestores the link to the installed Berd app CLI when available, otherwise removes the development command. The installer preserves unrelated existing commands.Related issue
None found.
Testing
End-to-end in an isolated, signed 0.6.5 to 0.6.6 update rehearsal:
All three steps passed. The rehearsal used isolated bundles and a local signed feed; it did not modify the installed production Berd app.
Development installation was exercised in isolated directories, including uninstall with no released CLI installed and refusal to replace an unrelated command. The real
just install-berd-call-devcommand also passed:berd-callresolved from PATH, help and version ran, and the installed binary matched the newly built binary.