chore(cli): pin @relayflows/sdk 2.0.66 so 18.0.0 installs beside it
Merged
KH
4d ago+15+15+01234567890123456789-15-15-01234567890123456789
Why
The 18.0.0 publish (run 42576272570) failed in Build & Version. relayflows-peer-compat.test.ts hit ERESOLVE because @relayflows/sdk@2.0.65's optional @agent-relay/sdk peer stops at <18. Nothing was published.
flows #709 widened that peer to <19, and it's published as @relayflows/sdk 2.0.66. #709 is the only flows change since 2.0.65.
Change
- Pins
@relayflows/sdk2.0.66 inpackage.json,packages/cli/package.jsonand theproduct-surfaces.tsrange. - Updates the exact version that the GitLab released-pins case checks.
- Lockfile: only the two
@relayflowsentries and the two pin lines change.- A full
npm install --package-lock-onlyalso moved@agent-relay/sdkoff its workspace link to a registry copy underpackages/cli, and markedpackages/sdkextraneous. - That doesn't happen on untouched
main, so I kept those entries as they are onmain, the same as the Relay 17 pin (5a9f0b78f).
- A full
- No changelog entry: this only unblocks the release.
- The root
overridesentry stays unchanged; the publish workflow rewrites it during the version bump.
Validation
- Lockfile: integrity hashes match the registry for
@relayflows/sdkand@relayflows/surface2.0.66.npm ciaccepts the lockfile, andnpm lsshows@agent-relay/sdklinked to./packages/sdk. - Peer-compat test:
relayflows-peer-compat.test.tspasses at 17.2.1, and again with the CLI version set to 18.0.0, which is the case that failed the release. - Typecheck:
npm run typecheckpasses. - Full suite: I couldn't complete it locally because the disk filled up (ENOSPC), so CI is the full-suite check.
After merge
Rerun the 18.0.0 publish (package=all, version=major).
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.