Problem
agent-relay fleet enable, fleet disable, fleet config and fleet inherit always fail on 12.4.1:
$ agent-relay fleet enable
RelaycastMessagingClient.workspace.fleetNodes requires @relaycast/sdk with the workspace fleet nodes API.
Seen live on 2026-09-22 with a fresh workspace (workspace create) on agent-relay 12.4.1, @relaycast/sdk 8.11.7 (latest).
Root cause
relaycast#212 (8f24574b, "Add first-class node delivery contracts") removed the per-workspace fleet rollout flag completely: the GET/PUT /v1/workspace/fleet-nodes endpoint, packages/engine/src/middleware/fleetNodes.ts, and the TS SDK's workspace.fleetNodes.get/set/inherit helpers (added in relaycast#199). Relay's CLI still calls them:
packages/cli/src/cli/commands/fleet.ts:1122-1156 (config / enable / disable / inherit)
packages/sdk/src/facade.ts:207 (fleetNodes on the workspace facade)
packages/sdk/src/messaging/relaycast.ts:1294 (requireWorkspaceFleetNodes, the throw)
Fleet placement now works without the flag. In the same run, two nodes (node up) registered as online/live with spawn:* capabilities and accepted targeted spawns, all without fleet enable.
Expected
These four commands shouldn't dead-end on an SDK-internal error. Suggested fix:
- Remove
fleet enable|disable|inherit, or keep them as hidden no-ops that print "fleet nodes are always on; this command is no longer needed" and exit 0, for back-compat with scripts and docs that still run fleet enable.
- Remove
fleet config or repoint it at something real. Drop workspace.fleetNodes from the SDK facade and RelaycastMessagingClient.
- Update tests (
fleet.test.ts) and any docs or CLI help that say fleet is "off by default".
Acceptance
agent-relay fleet enable on a fresh workspace exits 0 (or the command is gone) and never prints the requires @relaycast/sdk error.
- No remaining
fleetNodes references in packages/sdk/src or packages/cli/src.
- A changelog entry under
[Unreleased].
Problem
agent-relay fleet enable,fleet disable,fleet configandfleet inheritalways fail on 12.4.1:Seen live on 2026-09-22 with a fresh workspace (
workspace create) on agent-relay 12.4.1, @relaycast/sdk 8.11.7 (latest).Root cause
relaycast#212 (
8f24574b, "Add first-class node delivery contracts") removed the per-workspace fleet rollout flag completely: theGET/PUT /v1/workspace/fleet-nodesendpoint,packages/engine/src/middleware/fleetNodes.ts, and the TS SDK'sworkspace.fleetNodes.get/set/inherithelpers (added in relaycast#199). Relay's CLI still calls them:packages/cli/src/cli/commands/fleet.ts:1122-1156(config / enable / disable / inherit)packages/sdk/src/facade.ts:207(fleetNodeson the workspace facade)packages/sdk/src/messaging/relaycast.ts:1294(requireWorkspaceFleetNodes, the throw)Fleet placement now works without the flag. In the same run, two nodes (
node up) registered asonline/livewithspawn:*capabilities and accepted targeted spawns, all withoutfleet enable.Expected
These four commands shouldn't dead-end on an SDK-internal error. Suggested fix:
fleet enable|disable|inherit, or keep them as hidden no-ops that print "fleet nodes are always on; this command is no longer needed" and exit 0, for back-compat with scripts and docs that still runfleet enable.fleet configor repoint it at something real. Dropworkspace.fleetNodesfrom the SDK facade andRelaycastMessagingClient.fleet.test.ts) and any docs or CLI help that say fleet is "off by default".Acceptance
agent-relay fleet enableon a fresh workspace exits 0 (or the command is gone) and never prints therequires @relaycast/sdkerror.fleetNodesreferences inpackages/sdk/srcorpackages/cli/src.[Unreleased].