Repository navigation
fix(sdk): accept @agent-relay/sdk 18 as an optional peer - #709
Conversation
The agent-relay 18.0.0 publish (relay run 42576272570) failed in Build & Version: relayflows-peer-compat.test.ts hit ERESOLVE because @relayflows/sdk@2.0.65 peers @agent-relay/sdk ">=12.3.1 <13 || >=15.1.0 <18". Nothing was published. @agent-relay/sdk now accepts <19. @agent-relay/harness-driver stays <18: Relay 18 no longer publishes it, so the frozen 17.x release still resolves. Compatibility: the SDK loads only RelaycastMessagingClient from the root of @agent-relay/sdk. Relay's packages/sdk/src/index.ts and src/messaging/ are unchanged between v17.2.1 and the 18.0.0 candidate (11be40c92). Validation: packed this manifest and installed it beside a workspace @agent-relay/sdk, as relay's peer-compat test does: 18.0.0 and 17.2.1 install; 19.0.0 still fails ERESOLVE; the old range fails ERESOLVE on 18.0.0. Co-authored-by: Cursor <cursoragent@cursor.com>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
🔍 Devin Review: 1 flag
Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
[Low impact] This PR appears safe to merge; no actionable issues were found.
|
Why
The agent-relay 18.0.0 publish (relay run 42576272570) failed in Build & Version.
relayflows-peer-compat.test.tshit ERESOLVE because@relayflows/sdk@2.0.65has the optional peer@agent-relay/sdk: >=12.3.1 <13 || >=15.1.0 <18. Nothing was published. This is the same failure #701 fixed for Relay 17.Change
packages/sdk's optional peer@agent-relay/sdkis now>=12.3.1 <13 || >=15.1.0 <19. The lockfile's root entry matches.@agent-relay/harness-driverstays at<18. Relay 18 retires the broker and no longer publishes harness-driver, so npm keeps resolving its frozen 17.x release. Relay's peer-compat test only checks the@agent-relay/sdkpeer.Compatibility with 18
@agent-relay/sdkthe SDK loads onlyRelaycastMessagingClient, from the package root.packages/sdk/src/index.tsandpackages/sdk/src/messaging/are unchanged betweenv17.2.1and the 18.0.0 candidate (11be40c92).Validation
I packed this manifest and installed it beside a workspace
@agent-relay/sdk, the same way relay's peer-compat test does:@agent-relay/sdk18.0.0 installs, and so does 17.2.1.<18range fails with ERESOLVE on 18.0.0, reproducing the release failure.After merge
@relayflows/sdkpin to 2.0.66, then rerun relay's 18.0.0 publish.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Widens
@relayflows/sdk's optional peer range for@agent-relay/sdkfrom<18to<19so relay's 18.0.0 publish no longer fails with ERESOLVE.@agent-relay/harness-driverstays at<18; relay 18 no longer publishes it, and npm keeps resolving the frozen 17.x release.RelaycastMessagingClientfrom the package root, unchanged between relay v17.2.1 and the 18.0.0 candidate.@agent-relay/sdk: 18.0.0 and 17.2.1 install, while 19.0.0 still fails as the peer-compat test requires.@relayflows/sdkpin, then rerun relay's 18.0.0 publish.Written for commit d2cc1c3. Summary will update on new commits.