@outputai/http, @outputai/llm and @outputai/evals into @outputai/core. None of these packages is published anymore: their APIs now live at @outputai/core/http, @outputai/core/llm and @outputai/core/evals. The http and llm exports are unchanged; the evals LLM judges moved to @outputai/core/llm, and the evals internals are no longer exported. The @outputai/output umbrella package is not published anymore either: projects depend on @outputai/core and @outputai/cli directly.
Smaller breaks come with them: ky, undici and ai are now peer dependencies of @outputai/core, the AI SDK provider packages are no longer installed for you, provider-native web search charges are included in normalized LLM costs, and sendHttpRequest() parses some response bodies differently.
Separately, the worker no longer sets defaults for two workflow concurrency variables, and one telemetry field is renamed. See Worker defaults and telemetry.
What changed
@outputai/httpis replaced by the@outputai/core/httpsubpath.outputFetch,createKyClient,addRequestCost, and thekyandundicire-exports are unchanged.@outputai/llmis replaced by the@outputai/core/llmsubpath.generateText,generateTextWithStreaming,streamText,generateImage,Agent,loadPrompt,registerProvider,getProviderNames, and theaiSdkre-export are unchanged.@outputai/evalsis replaced by the@outputai/core/evalssubpath.evalWorkflow,verify,Verdict,VERDICT,CRITICALITY,DatasetSchema,EvalOutputSchema, and the eval types are unchanged.judgeVerdict,judgeScore,judgeBoolean,judgeLabel, and theJudgeArgstype moved to@outputai/core/llm, with the same arguments and results.interpretResult,aggregateCaseVerdict,renderEvalOutput,computeExitCode,getEvalWorkflowName,isEvalWorkflow,getParentWorkflowName, and the other Zod schemas of@outputai/evals(VerdictSchema,CriticalitySchema,InterpretConfigSchema,EvaluatorResultSchema,EvalCaseSchema,LastOutputSchema,LastEvalSchema) are no longer exported.- Steps and evaluators referenced as values in workflow files, rather than called, are replaced with their activity names in the workflow bundle. Previously their modules were bundled into the workflow sandbox when the file had no activity calls.
- The
output-workflow-bundlepackage export condition is no longer used when bundling workflows. Packages resolve through theirimport,module,webpackordefaultconditions. @outputai/outputis no longer published. New projects depend on@outputai/coreand, as a dev dependency,@outputai/cli.output fixreplaces an existing@outputai/outputdependency with both.zod(>=4.6.6 <5),ky(>=2 <3),undici(>=8.12.2 <9) andai(>=7 <8) are peer dependencies of@outputai/core.- The built-in AI SDK provider packages are optional peer dependencies of
@outputai/core, so they are no longer installed automatically. Using a provider whose package is missing throws aFatalErrornaming the package. getProviderNames()lists only the built-in providers whose package is installed, plus registered ones.- Normalized LLM metering records Anthropic and OpenAI native web searches as
toolsusage and includes their charges incost.toolsandcost.total. - Google Vertex grounding pricing now includes Gemini 4 per-query charges. Existing Gemini 2 prompt pricing and Gemini 3 query pricing remain supported.
- Context-tiered LLM models are priced separately for each provider request. Normalized cost items can repeat a
groupandlabelwith different rates and tiers. - The legacy
cost:llm:requestevent andllm:usagetrace attribute remain token-only and unchanged. sendHttpRequest()returns XML, form-urlencoded, and JavaScript response bodies as text instead of base64, and returns empty or invalid JSON bodies as raw text instead of throwing.- With
OUTPUT_TRACE_HTTP_VERBOSEon, HTTP request and response bodies in trace files are parsed the same way assendHttpRequest(). Multipart bodies are stored as base64. - Step and workflow failures no longer duplicate the error as their own
ApplicationFailurecause. API responses, traces and logs expose one fewer level in the cause chain.
Migration steps
Update imports
Replace every import of@outputai/http with @outputai/core/http, every import of @outputai/llm with @outputai/core/llm, and every import of @outputai/evals with @outputai/core/evals, including module mocks in tests. Import the LLM judges from @outputai/core/llm:
@outputai/evals, copy its logic into your project. output workflow test still interprets, aggregates and renders eval results the same way.
Replace @outputai/output
If your project depends on @outputai/output, replace it with @outputai/core in dependencies and @outputai/cli in devDependencies:
npx @outputai/cli@0.16.0 fix makes this change for you, keeping the version you had. Bump both packages to 0.16.0 afterwards.
Remove the dependencies
Delete@outputai/http, @outputai/llm and @outputai/evals from dependencies, devDependencies, and peerDependencies in package.json. Bump @outputai/core and @outputai/cli to 0.16.0.
Install the peer dependencies
npm 7+ and pnpm install required peer dependencies automatically. With other package managers, or if your install reports missing peers, add them yourself:zod, ky, undici or ai, make sure the versions fall in the supported ranges.
Install the AI SDK providers you use
The provider packages are optional peers, so no package manager installs them for you. Add the ones your prompts reference in theirprovider field:
For example, a project with Anthropic and OpenAI prompts:
Provider "<name>" requires the "<package>" package, which is not installed. Providers added with registerProvider() are not affected.
Re-check normalized LLM metering
If you consume thellm:generation:metering event or the llm:generation:usage and llm:generation:cost trace attributes, account for native web search tool items:
- Anthropic searches use the
web_searchlabel. - OpenAI searches use
web_searchorweb_search_preview. An ambiguous variant is retained as unpricedweb_search_unknown. - Tool charges appear in
cost.toolsand are included incost.total. Code that expects only token items or calculates token spend fromcost.totalmust handle them separately. - For context-tiered models, aggregate matching
itemsinstead of usingfind(): multi-step calls can contain the samegroupandlabelat differentppmandtiervalues. LLMGenerationCostItemStatusnow includesuncertainfor items whose applicable tier cannot be determined precisely. Update exhaustive switches over this union.
cost:llm:request event and llm:usage trace attribute still exclude tool charges.
Re-check sendHttpRequest() response bodies
This only affects calls with responseOptions.includeBody: true:
Remove any base64 decoding of those content types. If you relied on the error to detect a bad JSON response, check whether
body is a string instead.
Re-check trace file readers
If you parse trace files recorded withOUTPUT_TRACE_HTTP_VERBOSE on, request and response bodies now follow the table above, and multipart request bodies are base64 strings.
Worker defaults and telemetry
No code changes are needed, but the worker behaves differently if you never set its concurrency variables, and one telemetry field is renamed.Workflow concurrency defaults
The worker no longer sets defaults for these two variables. When they are unset,@temporalio/worker applies its own:
The cache size is
(heap limit in MiB - 200) * 600 / 1024, with a minimum of 10. With --max-old-space-size=4096 that is about 2,400 cached workflows. The formula assumes roughly 600 cached workflows per GB of heap, so if your workflows hold large inputs, outputs, or step results, set TEMPORAL_MAX_CACHED_WORKFLOWS explicitly.
If you relied on 200 concurrent workflow tasks, set TEMPORAL_MAX_CONCURRENT_WORKFLOW_TASK_EXECUTIONS=200. Keep it at or below TEMPORAL_MAX_CACHED_WORKFLOWS.
The resolved values are logged at startup in the Worker sizing record, as maxCachedWorkflows and workflowTaskSlots.
New startup warnings
After theWorker sizing record, the worker logs a warning in either or both of these cases, each with the values it compared:
A project that only set
TEMPORAL_MAX_CACHED_WORKFLOWS below 40 will now see the second warning, because task executions default to 40. See Memory and Isolates.
A Dockerfile copied from an earlier version of the Railway or Render guide sets --max-old-space-size-percentage=80, which triggers the first warning because the worker runs two isolates by default. Those guides now use 40.
Telemetry field rename
If you enableOUTPUT_WORKER_TELEMETRY_INTERVAL_MS and parse the periodic Worker log, memory.constrainedMemory is now memory.memoryLimit.
The old field reported process.constrainedMemory() directly, which returns a sentinel near 2^64 when the process has no memory limit. memoryLimit reports the container’s limit, or the machine’s total memory when there is none.
Two fields were added to the same block: memory.nonMainHeap (rss - heapUsed) and memory.heapSizeLimit.
Checklist
- Replace the
@outputai/outputdependency with@outputai/coreand, as a dev dependency,@outputai/cli, both at0.16.0. - Replace
@outputai/httpimports and mocks with@outputai/core/http, and remove the dependency. - Replace
@outputai/llmimports and mocks with@outputai/core/llm, and remove the dependency. - Replace
@outputai/evalsimports and mocks with@outputai/core/evals, import the judges from@outputai/core/llm, and remove the dependency. - Install
zod@^4.6.6,ky@2,undici@^8.12.2andai@7if your package manager does not install peer dependencies. - Install the
@ai-sdk/*provider packages your prompts use. - Update normalized LLM metering consumers to handle native web search tool items and charges.
- Remove base64 decoding of XML, form-urlencoded, and JavaScript response bodies from
sendHttpRequest(). - Update API response, trace and log consumers that read the previous duplicated failure cause level.
- Set
TEMPORAL_MAX_CACHED_WORKFLOWSandTEMPORAL_MAX_CONCURRENT_WORKFLOW_TASK_EXECUTIONSexplicitly if you relied on the old defaults or your workflows hold large state. - Lower
--max-old-space-size-percentageto40if your Dockerfile uses the earlier Railway or Render value of80. - Rename
memory.constrainedMemorytomemory.memoryLimitin anything that parses worker telemetry.