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.jsonand the matching dependency URLs inpackages/fleet-prime/package.json. - Reinstall:
npm installat the root andpnpm --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/serverand to the daemon protocol before merging.
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 inPrimeIntellect-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, andnpm 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.