1. default to compiled agent installs on macos and linux - #2140
Conversation
Refs ENG-6027; fixes #2140
Refs ENG-6027; fixes #2140
Refs ENG-6027; fixes #2140
Refs ENG-6027; fixes #2140
Prime Agent performance — completedPR Overall: 1 regressed · 4 improved · 12 no clear change.
Python runtime
Sandbox cost: ~$0.0775 — no inference calls. Methodology and samplesMain resolved at 2026-09-12T07:18:31.982017+00:00. Harness
|
Refs ENG-6047; fixes #2140
fb1582a to
81322c1
Compare
|
[written by prime-agent, checked by snimu] |
|
[written by prime-agent, checked by snimu] |
b671dba to
bb6a9dc
Compare
bb6a9dc to
d91fc7f
Compare
There was a problem hiding this comment.
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.
Reviewed by Cursor Bugbot for commit d91fc7f. Configure here.
2386443 to
ccbc3c9
Compare
|
The first beta produced from the merged commit has a separate failure from Gatekeeper quarantine: the published Verified on Apple Silicon, macOS 27.0 (26A428), using beta
This means the macOS auto installer falls back to Node and forced binary/browser-archive use fails before Gatekeeper notarization is considered. @kevinjosethomas, please add strict |
|
@fettpl thanks for reporting, nice to see people testing nightly! I'll get this fixed soon, sorry about the inconvenience! |

This is part of the PR stack migrating us to use Bun to compile Prime Agent for releases. This makes supported installations self-contained, removing the need to download and install Node.js and npm packages separately.
This PR changes the installer to use the compiled version by default, so new users on supported Macs and Linux machines get the self-contained Prime Agent. The installer checks the download and confirms it runs before making it active. Machines that can't run it automatically use the existing Node.js installation.
Tested fresh installs and failed or interrupted downloads across Debian 12, Ubuntu 18.04/20.04/22.04/24.04, and Alpine 3.24. CI also tested compiled packages on macOS 15 and Ubuntu 24.04, on x64 and ARM64. Actual macOS 13/14 execution remains untested.
ENG-6027 · Stack: #2140 → #2165 → #2166. Ship all three together.
Note
High Risk
This changes the default install and release distribution path for all supported macOS/Linux users, including download security rules and managed filesystem state, so regressions affect production installs directly.
Overview
Adds standalone release archives for four platforms and wires them through CI and the release pipeline. A new reusable workflow compiles with Bun, assembles tarballs, tests the extracted app without Node/npm/Bun on
PATH, and uploads artifacts; CI and Release Prime Agent now depend on that job and pack/publish the verified archives alongside existing npm tarballs.install.shnow defaults to a managed native install on macOS 13+ and glibc Linux (arm64/x64): HTTPS-only downloads (strict curl proto rules), checksum validation, safe archive extraction, executable probe, serialized.install-lock, andbin/previousrollback. It falls back to the Node/npm path inautowhen the release is npm-only or the binary cannot run;binarymode does not fall back. Native installs can runprime-agent --prime-agent-bootstrapto prepare Python/tools.Supporting changes include refactored
build:binaryscripts, release packing via--binary-dir, kernel runtime resolution for the flat executable layout, docs/README HTTPS install lines, and broad installer/artifact tests.Reviewed by Cursor Bugbot for commit ccbc3c9. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Default
install.shto compiled agent installs on macOS and Linuxinstall.shnow defaults to compiledprime-agentbinaries on macOS 13+ and Linux glibc 2.17+, falling back to the Node installer only inautomode.--prime-agent-bootstrapCLI command to prepare the Python kernel and tools; the kernel now checks theprime-agent-runtimesidecar first.install.shinbinarymode now exits when a native platform is not available, instead of falling back to Node.Macroscope summarized ccbc3c9.