Skip to main content
Fleet consumes the upstream engine as stock, checksum-pinned release artifacts. Nothing upstream is vendored or patched in this repository.

The pin

PRIME_AGENT_RUNTIME.json at the repository root records:
The rust block pins the native runtime that Fleet runs. It lists one entry for each of darwin-arm64, darwin-x64, linux-arm64, and linux-x64 (only one is shown above), each with the archive name, the archive SHA-256, and the SHA-256 of the extracted prime-agent executable. The launcher downloads <baseUrl>/<archive> on first launch, verifies both checksums, and caches the binary with its packaged prime-agent-runtime directory under ~/.prime/fleet/runtimes/<version>/<platform>/. The build copies the manifest into the published package so the launcher can read it. The top-level version, tarball, and sha256 fields pin the prime-agent npm tarball. packages/fleet-web/package.json (the published @qredence/fleet package) and web/server depend on that tarball URL, plus the matching prime-agent-core and prime-agent-ai release-family tarballs. pnpm run check:runtime runs node scripts/check-prime-agent-runtime.mjs, which fails if the manifest and dependencies drift apart or if the rust block is missing an archive or executable SHA-256 for any supported platform. pnpm run check includes it.

Upgrading the pin

  1. Update PRIME_AGENT_RUNTIME.json, including the rust block’s version, baseUrl, and each platform’s archive and checksums, and the matching dependency URLs, including the release-family tarballs, in packages/fleet-web/package.json and web/server/package.json.
  2. Reinstall from the repository root: pnpm install.
  3. Verify: pnpm run check:runtime, the web-server type checks, and the adapter parity tests.
  4. Review changes to the public runtime APIs consumed by web/server and to the daemon protocol before merging.
The daemon protocol is upstream-owned. When an upgrade changes the protocol identity or schema revision, update web/server and run the daemon-runtime and bridge parity tests in the same PR.

Engine contributions

Engine features (providers, models, daemon protocol, CLI behavior) are developed in PrimeIntellect-ai/prime-agent. Contribute there first, then upgrade Fleet’s pin to a release that includes the change.

Cutting a Fleet release

Fleet ships as the @qredence/fleet npm package. Releases are driven by Changesets:
  1. Add a Changeset with pnpm changeset for every user-visible change to the published package. A runtime pin upgrade is one.
  2. The release automation turns accumulated Changesets into a release pull request that bumps the version and updates packages/fleet-web/CHANGELOG.md.
  3. After the merged release commit passes CI, the release job publishes the new @qredence/fleet version to npm and creates the matching GitHub release. Fleet never publishes Prime Agent itself.
Do not publish from your machine. To inspect the package locally, run pnpm run build and then pnpm run release:pack.
Last modified on November 8, 2026