fix(coding-agent): preserve Homebrew update ownership - #846
Merged
Merged
Conversation
This was referenced Aug 7, 2026
snimu
previously approved these changes
Aug 7, 2026
snimu
force-pushed
the
fix/homebrew-self-update
branch
from
August 7, 2026 18:41
ec712a6 to
4740c65
Compare
snimu
approved these changes
Aug 7, 2026
zhengr
pushed a commit
to zhengr/prime-agent
that referenced
this pull request
Aug 8, 2026
zhengr
pushed a commit
to zhengr/prime-agent
that referenced
this pull request
Aug 8, 2026
This was referenced Aug 11, 2026
sethkarten
pushed a commit
that referenced
this pull request
Aug 11, 2026
Patch release. Bug fixes, small UX additions behind existing surfaces, and a dependency consolidation; no breaking changes, per the no-major-releases policy. Contents since v0.7.1: - #838 in-place queue editing (Alt+Up/Alt+Down browse, Enter/Alt+Enter apply) and queue preservation on interrupt - #850/#851/#852 worker lifecycle truthfulness, timed-out stop finalization, and stale-registration self-heal (the "Session worker is not connected" family) - #1226 Down Arrow stays in a nonempty prompt until the cursor reaches the end - #767 independent expand/collapse for tool calls, a2a messages, and thinking - #1135 agents view keeps expansion state when leaving and returning - #647 login URL copy action - #521 privacy-safe agent analytics with disclosure and opt-out - #846 Homebrew ownership preserved on self-update - #772 sent a2a messages show only message text when expanded - #632 consolidated dependency updates (undici 7.29, biome 2.5.5, marked 18, typescript 7 dev-only, typebox 1.3, aws-sdk bedrock, vitest 4.1.10, et al.) - #1132 stale Gemini test model update (test-only) Missing changelog entries for #838/#850/#851/#852 are added under 0.7.2. Lockstep bump across the root package and the four published packages; example and private workspaces untouched. Lockfile updated surgically (version fields and inter-package ranges only).
0oAstro
pushed a commit
to 0oAstro/fulcrum
that referenced
this pull request
Aug 11, 2026
Patch release. Bug fixes, small UX additions behind existing surfaces, and a dependency consolidation; no breaking changes, per the no-major-releases policy. Contents since v0.7.1: - PrimeIntellect-ai#838 in-place queue editing (Alt+Up/Alt+Down browse, Enter/Alt+Enter apply) and queue preservation on interrupt - PrimeIntellect-ai#850/PrimeIntellect-ai#851/PrimeIntellect-ai#852 worker lifecycle truthfulness, timed-out stop finalization, and stale-registration self-heal (the "Session worker is not connected" family) - PrimeIntellect-ai#1226 Down Arrow stays in a nonempty prompt until the cursor reaches the end - PrimeIntellect-ai#767 independent expand/collapse for tool calls, a2a messages, and thinking - PrimeIntellect-ai#1135 agents view keeps expansion state when leaving and returning - PrimeIntellect-ai#647 login URL copy action - PrimeIntellect-ai#521 privacy-safe agent analytics with disclosure and opt-out - PrimeIntellect-ai#846 Homebrew ownership preserved on self-update - PrimeIntellect-ai#772 sent a2a messages show only message text when expanded - PrimeIntellect-ai#632 consolidated dependency updates (undici 7.29, biome 2.5.5, marked 18, typescript 7 dev-only, typebox 1.3, aws-sdk bedrock, vitest 4.1.10, et al.) - PrimeIntellect-ai#1132 stale Gemini test model update (test-only) Missing changelog entries for PrimeIntellect-ai#838/PrimeIntellect-ai#850/PrimeIntellect-ai#851/PrimeIntellect-ai#852 are added under 0.7.2. Lockstep bump across the root package and the four published packages; example and private workspaces untouched. Lockfile updated surgically (version fields and inter-package ranges only).
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
prime-agent updatefrom constructing an npm command that mutates the versioned kegbrew upgrade prime-agentVerification
npx tsx ../../node_modules/vitest/dist/cli.js --run test/config.test.ts(21 tests passed)npm run checknpm --prefix /opt/homebrew/Cellar/prime-agent/0.7.0/libexec install -g prime-agentwith normal permissionsFixes #844. Supports the official Homebrew submission tracked in #843.
@badlogic please review the package-manager ownership behavior.
Note
Prevent self-update for Homebrew-managed installs and show
brew upgradeinstructionsisHomebrewInstall()in config.ts to detect Cellar keg paths (/cellar/+/libexec/lib/node_modules/) and classifies them as"homebrew"indetectInstallMethod().getSelfUpdateCommandForMethod()returnsundefinedfor Homebrew installs, suppressing self-update attempts.getSelfUpdateUnavailableInstruction()now returns"Update with: brew upgrade <APP_NAME>"for Homebrew installs instead of a generic message.getGlobalPackageRoots().Macroscope summarized ec712a6.