chore(deps): bump bundled relaycast SDKs to v5#1200
Conversation
- agent-relay-broker: relaycast crate =5.0.0; drop the removed workspace_stream_set call (v5 makes node delivery unconditional, so the per-workspace stream is no longer client-toggled). - @relaycast/sdk ^5.0.0 (sdk + cli), relaycast-sdk 0.3.0 (sdk-py), relaycast Swift 5.0.0 (sdk-swift). Verified green against v5: broker 774 tests; sdk/cli typecheck+build+vitest; sdk-py communicate 53 tests; sdk-swift 70 tests. No source changes beyond the broker's removed workspace_stream call. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
📝 WalkthroughWalkthroughThe PR upgrades relaycast/relaycast to v5 across Rust, JavaScript, Python, and Swift package definitions, updates the Swift lockfile, records the change in the changelog, and removes the broker’s pre-connection workspace stream enablement step. ChangesRelaycast v5 upgrade
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
CHANGELOG.md (1)
12-12: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winSplit this changelog entry into smaller bullets.
This line combines the version bump and the broker behavior change, which makes the Unreleased section harder to scan.
As per coding guidelines,
CHANGELOG.mdentries should be concise, impact-first, and one short bullet per user-visible change.♻️ Proposed split
-- Bumped the bundled relaycast SDKs to v5: `agent-relay-broker` builds against the `relaycast` crate 5.0.0, `agent-relay`/`@agent-relay/sdk` use `@relaycast/sdk` ^5.0.0, the Python `communicate` client uses `relaycast-sdk` 0.3.0, and the Swift SDK tracks relaycast 5.0.0. Node delivery is unconditional in v5, so the broker no longer toggles the per-workspace stream (the removed `workspace_stream_set` API). +- Bumped the bundled relaycast SDKs to v5 across broker, CLI, SDK, Python, and Swift. +- Relaycast v5 makes node delivery unconditional, so the broker no longer toggles the per-workspace stream.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@CHANGELOG.md` at line 12, Split the combined changelog text in CHANGELOG.md into separate concise bullets: one for the bundled relaycast SDK version updates across the listed packages, and another for the broker behavior change about unconditional Node delivery and removal of the workspace_stream_set API. Keep each bullet impact-first and short so the Unreleased section is easier to scan.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@CHANGELOG.md`:
- Line 12: Split the combined changelog text in CHANGELOG.md into separate
concise bullets: one for the bundled relaycast SDK version updates across the
listed packages, and another for the broker behavior change about unconditional
Node delivery and removal of the workspace_stream_set API. Keep each bullet
impact-first and short so the Unreleased section is easier to scan.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 65c51ac7-f50a-4306-ace7-7b87fdd28dfd
⛔ Files ignored due to path filters (2)
Cargo.lockis excluded by!**/*.lockpackage-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (8)
CHANGELOG.mdcrates/broker/Cargo.tomlcrates/broker/src/relaycast/ws.rspackages/cli/package.jsonpackages/sdk-py/pyproject.tomlpackages/sdk-swift/Package.resolvedpackages/sdk-swift/Package.swiftpackages/sdk/package.json
💤 Files with no reviewable changes (1)
- crates/broker/src/relaycast/ws.rs
|
Superseded. The broker half (relaycast |
What
Updates the broker and all bundled SDKs to relaycast v5 (PR AgentWorkforce/relaycast#212 → v5.0.0, which makes node delivery unconditional).
agent-relay-broker(Rust)relaycastcrate=4.2.0→=5.0.0agent-relay/@agent-relay/sdk(npm)@relaycast/sdk^4.1.6→^5.0.0sdk-pycommunicaterelaycast-sdk>=0.2.0→>=0.3.0sdk-swiftfrom: 4.2.0→5.0.0Only code change
The broker dropped
ensure_workspace_stream_enabled()/RelayCast::workspace_stream_set— removed in v5 (node delivery is unconditional; the per-workspace stream is no longer a client-toggled setting). Everything else was a clean dep bump; nothing in relay referenced the removedworkspace_stream_*API.Verification (all green against v5)
cargo build+cargo test -p agent-relay-broker→ 774 pass.@relaycast/sdk@5.0.0resolves; sdk + clitscclean;turbo build8/8; vitest 19/19; sdk suite 110/110; type tests 5/5.relaycast-sdk 0.3.0; communicate wrap unchanged; 53 tests pass.5.0.0;swift buildclean; 70 tests pass.This PR is "compiles + unit-tests green against v5." Because v5 removed the workspace-stream toggle in favor of unconditional node delivery, there's an open runtime question: does a v5 engine still serve the workspace stream (①) to broker keys, or are broker-hosted agents now delivered only via node delivery (②)? If the latter, the broker needs the node-delivery migration (always-a-node, bind agents, take delivery+context from
/v1/node/ws, deletefleet_mode) for messages to actually inject. Recommend an end-to-end delivery check against the v5 engine before relying on this in production.🤖 Generated with Claude Code