fix(core): bump @relayfile/sdk past the fatal bare-POST /v1/workspaces 404

Merged
KH
3mo ago
+81-23

Summary

  • @relayflows/core pinned @relayfile/sdk to ^0.8.0 (resolves to 0.8.10), a version that predates relayfile's own fix for createWorkspaceIfNeeded() throwing on a 404 from the deprecated bare POST /v1/workspaces route.
  • relayfile-cloud only registers /v1/workspaces/:id/... โ€” workspaces are Durable Objects addressed by name and created implicitly on first request, there is no collection-create route. Any local relayflows run of a workflow that declares agent permissions (which is what turns on provisionWorkflowAgents()) hit a guaranteed fatal Failed to create workspace <id>: HTTP 404 before doing any real work.
  • relayfile shipped the fix for this exact case in a747865e (published since 0.10.47): a 404 on the collection route is now treated as "nothing to pre-create," not fatal.
  • Bumps the range to ^0.10.47 so npm resolves the fixed SDK.

Test plan

  • npm run build (full monorepo, including primitives + core + cli) โ€” passes
  • npm run test โ€” 64 test files / 1099 tests pass unchanged against @relayfile/sdk@0.10.54
  • Reproduced the original bug against a real deployment (relay's workflows/verify-fleet-daytona.ts, which attaches permissions to every agent) and confirmed a local run with this SDK version gets past the create-workspace step that previously failed with HTTP 404

๐Ÿค– Generated with Claude Code

https://claude.ai/code/session_01Jne2359AFNa6hnYMzxMm2Y


Summary by cubic

Bumps @relayfile/sdk from ^0.8.0 to ^0.10.47 so createWorkspaceIfNeeded() no longer throws a fatal HTTP 404 when provisioning workflow agents.

The old SDK called a deprecated bare POST /v1/workspaces route that doesn't exist in relayfile-cloud. The new SDK treats a 404 on that collection route as "nothing to pre-create" instead of failing. This unblocks local relayflows run for workflows with agent permissions.