Fleet consumes the upstream engine as a stock, checksum-pinned release tarball. Nothing upstream is vendored or patched in this repository.
The pin
PRIME_AGENT_RUNTIME.json at the repository root records:
packages/fleet-prime/package.json depends on the same tarball URLs, and web/server consumes the same pinned package. npm run check runs node scripts/check-prime-agent-runtime.mjs first, which fails if the manifest and dependencies drift apart.
Upgrading the pin
- Update
PRIME_AGENT_RUNTIME.json and the matching dependency URLs in packages/fleet-prime/package.json.
- Reinstall:
npm install at the root and pnpm --dir web install.
- Verify:
node scripts/check-prime-agent-runtime.mjs, the web-server type checks, and the adapter parity tests.
- 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 or schema revision, review web/docs/architecture/fleet-adapter-contract-v1.md, 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
A Fleet release ships the web product plus a packed CLI artifact:
- Upgrade the runtime pin if needed, then run
npm install, pnpm --dir web install, and npm run check.
- Build and pack:
npm run build && npm run build:web:release && npm run release:pack.
- Tag this repository. Fleet never publishes Prime Agent itself.
Last modified on August 30, 2026