Skip to main content

Upgrading to the 2026-11-24 release

This page lists what you change in your code when you move to the packages released on 2026-11-24.

PackageWhat changedWhat to do
Every published packageMany names leave the package roots, with no alias. Some move to another entry of the same package; the rest are removedImport a moved name from the entry its package's changelog lists. A removed name has no replacement: drop the import
coreThe root carries the names an app imports. The rest move to @flow-state-dev/core/types, and the coding-harness names to @flow-state-dev/core/harnessImport from those subpaths. @flow-state-dev/core/internal is for the framework's own packages
corectx.emit.component and the component item kind are removed. Structured content is a data itemReplace ctx.emit.component(name, data, opts) with ctx.emit.data(name, data, opts), and register its renderer under renderers.data
coreA flow's reads and a scope's client.derived are removed. defineFlow refuses either keyDeclare each one as a view: views: { name: defineView({ scope: "session", block }) }, with an outputSchema on the block
coreLooseBlockContext is removedType helpers with BlockContext. A block's ctx passes to them with no cast
coreThe model resolver's RetryPolicy is ModelRetryPolicy; @flow-state-dev/core/blocks/sequencer exports only sequencerRename the imports
coreThe benchmark contract types (BenchmarkTask, BenchmarkAdapter and the rest) leave the rootImport them from @flow-state-dev/testing/benchmark
core, engine, client, react, orchestration, harness-manager, workforce, workspace, scheduledExported names say resource where they said row or collection item for a resource, and task where they said row for a task: useResourceCollectionItem is useCollectionResource, client.resources.listCollectionItems is listCollectionResources, WorkerRow is WorkerResourceState, taskRowView is taskView. Refusal messages change the same noun, and the dispatch refusal "external-dispatcher" is "external-flow-runner"Rename the imports as each package's changelog lists them, and update code that matches a message or the refusal value
coreA three-part gateway/provider/model model string fails as an invalid formatWrite "gateway:provider/model"
coredefineFlow throws when two declarations of one state field differ in type or default, and on a .default(() => ...) factory that a block or capability declares, or that sits anywhere in user or org stateMake the declarations agree. Replace each such factory with a static default, or move it to the flow's own session schema
coreA single resource with runBy and no state projection throws at definitionList the fields the client reads and writes: client: { expose: ["pinned"] }
engineThe exports are split across the root and @flow-state-dev/engine/host. Host, transport and store-adapter names live on engine/hostMove those imports to @flow-state-dev/engine/host
enginecreateFlowState takes its flows as a list. A keyed record throwsReplace flows: { chat: chatFlow } with flows: [chatFlow]
engineThe worker option is jobQueue. WorkerAdapter is JobQueueAdapter, and the modes are "enqueue-only", "process-only" and "colocated"Rename the option, the types and any mode values in your environment
engine, client, reactEvery send names its session. An HTTP send without one is refused with 400 session-required, and runAction throws SessionRequiredErrorPass the conversation's id ((await client.flow(f).createSession()).id), or oneOffSessionId() from @flow-state-dev/core/helpers for a one-off run
engine, scheduled, nodeFlow State fires your schedules itself, and serves the schedule endpoints under /api/flows/:flowKind/schedules on every app. createScheduledTransportAdapter and serveScheduleTicks are removed, and an adapter of yours that registers either schedule path is refused at startupDelete createScheduledTransportAdapter() from adapters, the serveScheduleTicks call and your own cron routes. On a serverless host, pass a scheduler such as vercelScheduler()
engineJSON routes refuse a body not sent as content-type: application/json (415), and a cross-site browser mutation (403)Send content-type: application/json on every curl or fetch POST to a flow route
engine, node, next, vercelIn every environment, a host refuses a flow with no principal resolver, which trusts body.userId. serve() throws before it listens on any address other than loopback (127.0.0.1, ::1, localhost). Next, Vercel and Lambda answer each request with a 500Give each flow a principal resolver: authentication.resolvePrincipal on the flow, or resolvePrincipal on createFlowState. For local work, bind serve() to 127.0.0.1 or pass allowUnauthenticated: true
engineA custom SuspensionStore needs listPendingForUser(query)Implement it, and run createPendingUserSuspensionsConformanceTests from @flow-state-dev/engine/testing against the store
engineThe queue and scheduler store profile slots are removedDelete those lines from a typed profile
enginectx.suspend({ reason: "human_approval" }) and "human_input" throwUse "user_approval" and "user_input"
engineDispatchHandle from a transport host is InboundDispatchHandle, and the bridge's StreamEvent is StreamBridgeEvent. ChildSessionStatus and ChildSessionSummary leave engineRename the imports, and import the child-session types from @flow-state-dev/client
engineA request stream ends early for a reader more than 4 MiB behind, with no terminal eventTreat a stream that ends without a terminal request.* event as cut off, and resume it from the last event id
store-sqlite, store-postgresThe registry factories, per-store constructors and schema functions move to a ./host entryImport them from @flow-state-dev/store-sqlite/host or @flow-state-dev/store-postgres/host. sqliteStores and postgresStores stay on the root
clientclient.flow(kind).read(name, input, { sessionId }) is removedCall client.view(viewRef(flow, name), input, { sessionId }), or useView in React
clientExecuteActionRequestBody, QueryValue and clientPackageMarker are removedDrop the imports
reactsession.resumeSuspension is session.answerSuspension, and resumedBy is gone from its argumentsRename the calls, and pass session.answerSuspension to <SuspensionResolverProvider resolve>
reactbuildItemRenderStream is conversationLines(items, turns?, options?). ItemRenderSegment, BuildItemRenderStreamOptions and groupToolCalls are removedCall conversationLines and draw its ItemLine kinds
reactThe voice primitives move to @flow-state-dev/react/voice, and the workforce panels (Roster, BoardColumns, BoardList, WorkerDetail) to @flow-state-dev/workforce/reactImport them from those subpaths
reactuseSuspensions({ reasons }) throws on human_approval or human_inputFilter on user_approval or user_input
testingBenchmarking moves to @flow-state-dev/testing/benchmark, and testBlock replaces testSequencer and testRouterImport benchmark names from the subpath, and test sequencers and routers with testBlock
testingtestFlow runs durably by default: a step that stops for a user ends the run suspendedAnswer the stop with run.answer(...), or pass durable: false to fail the run as before
orchestrationThe task names leave the rootImport them from @flow-state-dev/orchestration/tasks
orchestrationThe "topological" claim order and topologicalClaimOrder are removedUse "fifo", the default, or drop the option
orchestrationwithRetiredShapes and heldFromBlocked are removed. A write to a stored task with status blocked is refused unknown-status, and a hold marked "row" is not read as "task"Before you upgrade, set status held on every stored blocked task, and "task" on every hold marked "row"
orchestrationA model's createTask with no assignee is refused assignee_required unless the roster claims unassigned tasksSet claimsUnassigned: true on a roster whose default worker takes them
patternsThe benchmark adapters move to @flow-state-dev/patterns/benchmark, which needs @flow-state-dev/testing installedChange the import and install @flow-state-dev/testing
patterns/routedSpecialists is /routed-specialists and /eventActors is /event-actors. Names the root re-exported live on their pattern's subpath, and the debate helpers drop their Debate infix thereImport from the kebab-case subpaths and the pattern's own subpath
patternsThe patterns' building blocks and schemas, such as createLabelFailedReviews, PlanSchema and debateVerdictSchema, leave the root. Each pattern's factory, input schema and config types stayImport them from the pattern's subpath, such as @flow-state-dev/patterns/supervisor
workforceThe *_ENTRY constants leave the rootName each entry by its string: work, onTaskSteered, onMessageReceived, onWorkstreamOpened, onTaskSettled, routeSubscriptionEvent, deliverSubscriptionEvent
workforcetaskBriefOf, taskBriefMetadata and TaskBrief leave the rootImport them from @flow-state-dev/workforce/browser
workforceSUBSCRIPTIONS_RESOURCE, SUBSCRIPTION_CURSORS_RESOURCE, SUBSCRIPTION_INDEX_RESOURCE, MAX_SCREEN_TERMS, screenVerdictsSchema, ListedScreen and SubscriptionCursor are removedDeclare the subscription resources with subscriptionResources. For the shapes, use listedScreenSchema, subscriptionCursorSchema, screenVerdictSchema and SubscribeInput["screens"]
workspaceLAND_TIMEOUT_MS is removed. A landing defaults to two minutes when LandRequest.timeoutMs is unsetDrop the import
workforcereportProblem answers { status, waitsIn?, note?, title?, inbox?, issue? }, not { decision, reportId }. status is words such as "drafting", "waiting in Inbox" or "filed", and issue is { identifier?, url }Read status, and the optional fields when present
workforceWorkforceClientSource takes the client's view and subscribe, not livePass those from your client
workforcecreateWorkforceCapability takes roster and inventory. agents and catalog are unknown optionsRename the options
workforceThe projects collections are written through a flow named "projects" (PROJECTS_FLOW), and checkRepository is a viewRegister the project blocks' actions on a flow of that name, and install views: { ...projects.views }
workforceWorkers on the built-in flows are shown today's date and their skills, and summarize older turns, by default. A worker flow that declares the worker contract's keys by hand, not through workerConfigSchema(), is refused at boot until it adds defaultsAdd defaults to a hand-declared worker contract. To keep a worker's old prompt, set defaults: false in its WORKER.md, or turn off one section: defaults: { date: false }, { skillsIndex: false } or { historySummary: false }
harness-managerharnessRunChangesRead, harnessReadinessAction and harnessUsageAction are removedUse harnessRunChangesView, harnessReadinessView and harnessUsageFlow with its usage view
harness-managerA coding run's branch starts with the app's prefix, not conductor/Set branchPrefix on harnessManager or harnesses
claude-codeThe package has one entry, the root. ./sdk and ./cli are gone, and names say ClaudeCode (SDK_SESSION_ID_KEY is CLAUDE_CODE_SESSION_ID_KEY, listClaudeModels is listClaudeCodeModels)Import from @flow-state-dev/claude-code and rename as the changelog lists
claude-codeThe @anthropic-ai/claude-agent-sdk peer range is >=0.3.316 <0.4.0, and a version outside it is refusedInstall an SDK in that range
codex, cursorestimateCodexCost and estimateCursorCost are removedRead handle.cost from the block's handle
devtoolgetAssetPath() is getDevToolAssetPath()Rename the call
bullmqbullmqWorker is bullmqJobQueue. The schedule entry @flow-state-dev/bullmq/schedules is removedRename the call, and drop the schedule wiring: the job-queue processes fire schedules
vercel@flow-state-dev/vercel/schedules is removed, and vercelPostgresStores() lists no scheduler capabilityReplace the per-schedule cron routes with vercelScheduler() and its one route
workspaceChild processes the workspace starts get an allowlisted environment, not the host's whole onePass any variable a setup or check needs through setup.env or the check's env

Each package's changelog has the full list of changes: core, engine, client, react, testing, orchestration, patterns, workforce, workspace, harness-manager, claude-code, codex, cursor, devtool, node, next, vercel, bullmq, store-sqlite, store-postgres, scheduled, contracts, fsdev, mcp, tools, shift-manager.