fix(core): bump @relayfile/sdk past the fatal bare-POST /v1/workspaces 404
Merged
KH
3mo ago+81+81+01234567890123456789-23-23-01234567890123456789
Summary
@relayflows/corepinned@relayfile/sdkto^0.8.0(resolves to 0.8.10), a version that predates relayfile's own fix forcreateWorkspaceIfNeeded()throwing on a 404 from the deprecated barePOST /v1/workspacesroute.- 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 localrelayflows runof a workflow that declares agentpermissions(which is what turns onprovisionWorkflowAgents()) hit a guaranteed fatalFailed to create workspace <id>: HTTP 404before doing any real work. - relayfile shipped the fix for this exact case in
a747865e(published since0.10.47): a 404 on the collection route is now treated as "nothing to pre-create," not fatal. - Bumps the range to
^0.10.47so 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 attachespermissionsto every agent) and confirmed a local run with this SDK version gets past the create-workspace step that previously failed withHTTP 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.