@typesafe-ai/sdk breaking changes
@typesafe-ai/sdk 0.7.0 (October 14, 2026) is its newest release with breaking changes, 14 of them. The first: @typesafe-ai/sdk 0.7.0 requires Node.js 22 or later. Every breaking API change we have recorded in @typesafe-ai/sdk on npm: 14 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.7.0, released October 14, 2026. Source repository
Its 0.7.0 release requires Node.js 22 or later. Node.js end of life dates.
@typesafe-ai/sdk 0.7.0 breaking changes
- Removed
The package no longer supports Node.js versions older than 22. Upgrade Node.js to 22 or newer before using this release. github.com - Removed
Request payload types are no longer exported from the package. Code that imports them must change to not depend on those types. github.com - Removed
SystemOneRequestPayload
SystemOneRequestPayload was removed in @typesafe-ai/sdk 0.7.0 npmjs.com - Behavior changed
Invalid requests now reject the returned promise rather than throwing synchronously. Code that catches the synchronous throw must handle the rejection instead. github.com - Behavior changed
request bodies
Request bodies of 1 KiB or more are now compressed with zstd on Node.js 22.15 or newer. Pass compression: false to send them uncompressed. github.com - Signature changed
EntryType
Was type EntryType = string | {[key: string]: JsonValue;} | JsonValue[] | null; now type EntryType = string | Asset | TextWithAssets | {[key: string]: ContentValue;} | ContentValue[] | null. npmjs.com - Signature changed
noul
Was const noul: (instructions?: EntryType, criteria?: NoulQuestion["criteria"]) => NoulQuestion; now const noul: {(instructions: NonNullable<EntryType>, criteria?: NoulQuestion["criteria"]): NoulQuestion; (instructions: EntryType |... npmjs.com - Signature changed
Question
Was type Question = NoulQuestion | ScoreQuestion | ChoiceQuestion; now type Question = NoulQuestion | ScoreQuestion | ChoiceQuestion | BoxQuestion. npmjs.com - Signature changed
ResultFor
Was type ResultFor<T extends Question> = T extends NoulQuestion ? NoulResponse : T extends ScoreQuestion<infer S> ? ScoreResponse<S> : T extends ChoiceQuestion<infer E> ? ChoiceResponse<E> : never; now type ResultFor<T extends Question> =... npmjs.com - Signature changed
score
Was const score$1: <const T extends ScoreCriteria>(instructions: EntryType, criteria: T) => ScoreQuestion<T>; now const score$1: {<const T extends ScoreCriteria>(instructions: EntryType, criteria: T): ScoreQuestion<T>; <const T extends... npmjs.com - Signature changed
ScoreLegend
Was type ScoreLegend<T extends ScoreCriteria> = {readonly [score in ScoreOf<T>]: T[score];}; now type ScoreLegend<T extends ScoreCriteria> = {readonly [score in ScoreOf<T>]: SentContent<T[score]>;}. npmjs.com - Signature changed
SystemOneRequest.state
Was state: EntryType; now state: NonNullable<EntryType>. npmjs.com - Signature changed
Usage.input_tokens
Was readonly input_tokens: number; now readonly input_tokens: number | null. npmjs.com - Signature changed
Usage.output_tokens
Was readonly output_tokens: number; now readonly output_tokens: number | null. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.