fix(sdk): accept @agent-relay/sdk and harness-driver 17 as optional peers

Merged
KJ
9d ago
+4-4

Why

The agent-relay 17.0.0 publish (relay run 41906338523) failed in Build & Version. relayflows-peer-compat.test.ts hit ERESOLVE because @relayflows/sdk@2.0.61 has optional peers >=12.3.1 <13 || >=15.1.0 <17. Nothing was published.

Change

  • packages/sdk peers @agent-relay/sdk and @agent-relay/harness-driver: >=12.3.1 <13 || >=15.1.0 <18. The lockfile's root entry is updated to match.

Compatibility with 17 (relay #2069)

  • The SDK loads only HarnessDriverClient, RelaycastMessagingClient and @agent-relay/harness-driver/broker-path.
  • Between relay v16.0.0 and main, the only change in those packages is the rename of harness-driver's PROBE_* install-path exports to RELAY_NODE_*. The SDK imports none of them, and it doesn't reference agent-relay-probe or the removed bridge methods.

After merge

  1. Lockstep release 2.0.62 (package=all).
  2. Bump relay's @relayflows/sdk pin, together with @relayflows/cli, to match relayflows#67.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.