---
title: "acpx 0.22.0 Breaking Changes on npm | Since.dev"
description: "What each acpx release removed, renamed or changed: 63 breaking changes in 16 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/acpx
last_updated: 2026-12-04
---

# acpx breaking changes

acpx 0.22.0 (November 7, 2026) is its newest release with breaking changes, 6 of them. The first: Usage errors on subcommands now exit with code 2 instead of 1 in acpx 0.22.0. Every breaking API change we have recorded in acpx on npm: 63 breaking changes in 16 versions. Below, its 16 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.23.0`, released November 26, 2026. [Source repository](https://github.com/openclaw/acpx)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.13.1](#v-0-13-1) to [0.22.0](#v-0-22-0): 58 breaking changes in 15 versions.

## acpx 0.22.0 breaking changes

acpx 0.22.0, released November 7, 2026: 6 breaking changes.

- **Behavior changed**  

Unknown options and other usage errors on subcommands now exit with code 2 as documented, and --format json reports them as a JSON-RPC error. Scripts that check for exit code 1 must be updated. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.22.0)
- **Behavior changed** `resumeSessionId`  

Explicit resumeSessionId attachments stay strict when local records are reused and on later prompt or control reconnects. Adding one to unfinished untargeted work is now refused until that work settles. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.22.0)
- **Signature changed** `flows:AcpNodeDefinition`  

Was type AcpNodeDefinition = FlowNodeCommon & {nodeType: "acp"; profile?: string; cwd?: string | ((context: FlowNodeContext) => MaybePromise\<string | undefined>); session?: {handle?: string; isolated?: boolean;}; prompt: (context... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.22.0)
- **Signature changed** `flows:FlowRunnerOptions`  

Was type FlowRunnerOptions = {resolveAgent: (profile?: string) => ResolvedFlowAgent; permissionMode: PermissionMode; mcpServers?: McpServer$1\[\]; nonInteractivePermissions?: NonInteractivePermissionPolicy; permissionPolicy?... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.22.0)
- **Signature changed** `flows:FlowSessionBinding`  

Was type FlowSessionBinding = {key: string; handle: string; bundleId: string; name: string; profile?: string; agentName: string; agentCommand: string; agentArgv?: string\[\]; cwd: string; acpxRecordId: string; acpSessionId: string... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.22.0)
- **Signature changed** `runtime:AcpRuntimeOptions`  

Was type AcpRuntimeOptions = {cwd: string; agentProcessEnv?: Record\<string, string>; agentProcessEnvAllow?: readonly string\[\]; agentProcessEnvBlock?: readonly string\[\]; sessionStore: AcpSessionStore; agentRegistry: AcpAgentRegistry... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.22.0)

## acpx 0.21.0 breaking changes

acpx 0.21.0, released October 24, 2026: 3 breaking changes.

- **Behavior changed** `--agent`  

A malformed --agent command, such as an unterminated quote or a quoted empty command, is now reported as a usage error with exit code 2 and acpxCode USAGE instead of a runtime error. Scripts that check the exit code or error type should be... [github.com](https://github.com/openclaw/acpx/releases/tag/v0.21.0)
- **Signature changed** `runtime:AcpRuntimeOptions`  

Was type AcpRuntimeOptions = {cwd: string; agentProcessEnv?: Record\<string, string>; sessionStore: AcpSessionStore; agentRegistry: AcpAgentRegistry; mcpServers?: McpServer$1\[\] | ((session: AcpRuntimeSessionContext) => McpServer$1\[\])... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.21.0)
- **Signature changed** `runtime:InspectAgentModelsOptions`  

Was type InspectAgentModelsOptions = {agentCommand: string\[\]; cwd: string; signal?: AbortSignal; timeoutMs?: number; agentProcessEnv?: Record\<string, string>;}; now type InspectAgentModelsOptions = {agentCommand: string\[\]; cwd: string... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.21.0)

## acpx 0.20.0 breaking changes

acpx 0.20.0, released October 20, 2026: 1 breaking change.

- **Signature changed** `runtime:AcpPermissionDecision`  

Was type AcpPermissionDecision = {outcome: "allow_once";} | {outcome: "allow_always";} | {outcome: "reject_once";} | {outcome: "reject_always";} | {outcome: "cancel";}; now type AcpPermissionDecision = {outcome: "selected"; optionId... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.20.0)

## acpx 0.19.6 breaking changes

acpx 0.19.6, released October 16, 2026: 4 breaking changes.

- **Removed** `agent-registry:BuiltInAgentLaunch`  

BuiltInAgentLaunch was removed in acpx 0.19.6 [npmjs.com](https://www.npmjs.com/package/acpx/v/0.19.6)
- **Removed** `agent-registry:BuiltInAgentPackageSpec`  

BuiltInAgentPackageSpec was removed in acpx 0.19.6 [npmjs.com](https://www.npmjs.com/package/acpx/v/0.19.6)
- **Removed** `agent-registry:BuiltInLaunchResolverOptions`  

BuiltInLaunchResolverOptions was removed in acpx 0.19.6 [npmjs.com](https://www.npmjs.com/package/acpx/v/0.19.6)
- **Removed** `SessionConnectionStatus`  

SessionConnectionStatus was removed in acpx 0.19.6 [npmjs.com](https://www.npmjs.com/package/acpx/v/0.19.6)

## acpx 0.19.5 breaking changes

acpx 0.19.5, released October 11, 2026: 1 breaking change.

- **Behavior changed**  

Imported journal retention is now capped, while higher retention settings and history already saved locally are preserved. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.19.5)

## acpx 0.19.4 breaking changes

acpx 0.19.4, released October 1, 2026: 4 breaking changes.

- **Behavior changed**  

The built-in Claude adapter was updated for current models, and sessions saved under earlier built-in commands stay discoverable after upgrades. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.19.4)
- **Behavior changed**  

Terminal control characters in approval prompts are shown visibly rather than interpreted, so prompt text is no longer erased or overwritten. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.19.4)
- **Behavior changed**  

Session records are kept separate when adapters reuse session IDs, and model handling now keeps the resolved model ID after acknowledgement while preserving the requested alias for reconnect. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.19.4)
- **Behavior changed**  

Replay viewer now completes shutdown while dependencies are still warming and keeps the last readable run state during live projection replacement. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.19.4)

## Older versions

10 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### acpx 0.19.1 breaking changes

acpx 0.19.1, released September 22, 2026: 1 breaking change.

- **Behavior changed**  

Runs that pass conflicting permission modes now fail early instead of proceeding. Remove the conflicting permission mode options from calls that set more than one. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.19.1)

### acpx 0.19.0 breaking changes

acpx 0.19.0, released September 22, 2026: 6 breaking changes.

- **Behavior changed**  

Missing token totals are now reported as unknown rather than derived from context capacity or occupancy. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.19.0)
- **Behavior changed**  

Update participating clients and restart embedding hosts after active turns finish. Forced retirement is refused when a legacy owner's process identity cannot be verified. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.19.0)

And 4 more in this version.

### acpx 0.18.0 breaking changes

acpx 0.18.0, released September 20, 2026: 4 breaking changes.

- **Behavior changed**  

The replay viewer now rejects requests with foreign Host or Origin headers before HTTP access, WebSocket subscriptions, or shutdown. Native clients without an Origin header still work. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.18.0)
- **Behavior changed** `--host`  

Wildcard binds now reject unconfigured DNS aliases with HTTP 403. Use a numeric interface address, or bind with --host \<hostname> to keep using that hostname. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.18.0)

And 2 more in this version.

### acpx 0.17.1 breaking changes

acpx 0.17.1, released September 20, 2026: 5 breaking changes.

- **Behavior changed**  

Fixed-choice Antigravity questions now cancel with a user-answer-required error, including for existing custom launchers and overriding --approve-all and permission policies. Continue those conversations in an interactive client that... [github.com](https://github.com/openclaw/acpx/releases/tag/v0.17.1)
- **Behavior changed** `--no-fs`  

The --no-fs and --no-terminal flags are now enforced against direct agent requests, so agents that relied on those requests being allowed will be refused. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.17.1)

And 3 more in this version.

### acpx 0.17.0 breaking changes

acpx 0.17.0, released September 17, 2026: 7 breaking changes.

- **Behavior changed**  

The .stream.ndjson session journal now mixes local records in with ACP messages. Direct readers must check for jsonrpc: "2.0" to tell them apart; the built-in readers and portable ACP archives already filter local records. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.17.0)
- **Signature changed** `runtime:AcpRuntime.setConfigOption`  

Was setConfigOption?(input: {handle: AcpRuntimeHandle; key: string; value: string;}): Promise\<SetSessionConfigOptionResponse | void>; now setConfigOption?(input: AcpControlAuthority & {handle: AcpRuntimeHandle; key: string; value... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.17.0)

And 5 more in this version.

### acpx 0.16.0 breaking changes

acpx 0.16.0, released September 16, 2026: 9 breaking changes.

- **Behavior changed**  

File access through ACP operations and the replay viewer now uses fs-safe roots. Code that relied on reading outside symlinks or special files will now get a rejection. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.16.0)
- **Signature changed** `runtime:AcpRuntimeEvent`  

Was type AcpRuntimeEvent = {type: "text_delta"; text: string; stream?: "output" | "thought"; tag?: AcpSessionUpdateTag; messageId?: string; meta?: AcpTextDeltaOriginMeta;} | {type: "status"; text: string; tag?: AcpSessionUpdateTag; used?... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.16.0)

And 7 more in this version.

### acpx 0.15.1 breaking changes

acpx 0.15.1, released September 8, 2026: 1 breaking change.

- **Configuration changed**  

Incoming ACP messages are now limited to 64 MiB by default instead of unlimited. Set ACPX_MAX_ACP_MESSAGE_BYTES to a higher value, or to 0 to disable the limit, to keep larger messages working. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.15.1)

### acpx 0.15.0 breaking changes

acpx 0.15.0, released September 7, 2026: 4 breaking changes.

- **Signature changed** `flows:ShellActionExecution`  

Was type ShellActionExecution = {command: string; args?: string\[\]; cwd?: string; env?: Record\<string, string>; stdin?: string; shell?: boolean | string; allowNonZeroExit?: boolean; timeoutMs?: number;}; now type ShellActionExecution =... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.15.0)
- **Signature changed** `runtime:AcpRuntimeEvent`  

Was type AcpRuntimeEvent = {type: "text_delta"; text: string; stream?: "output" | "thought"; tag?: AcpSessionUpdateTag; messageId?: string; meta?: AcpTextDeltaOriginMeta;} | {type: "status"; text: string; tag?: AcpSessionUpdateTag; used?... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.15.0)

And 2 more in this version.

### acpx 0.13.2 breaking changes

acpx 0.13.2, released August 28, 2026: 2 breaking changes.

- **Signature changed** `runtime:AcpRuntime.setConfigOption`  

Was setConfigOption?(input: {handle: AcpRuntimeHandle; key: string; value: string;}): Promise\<void>; now setConfigOption?(input: {handle: AcpRuntimeHandle; key: string; value: string;}): Promise\<SetSessionConfigOptionResponse | void>. [npmjs.com](https://www.npmjs.com/package/acpx/v/0.13.2)
- **Signature changed** `runtime:AcpxRuntime.setConfigOption`  

Was setConfigOption(input: {handle: AcpRuntimeHandle; key: string; value: string;}): Promise\<void>; now setConfigOption(input: {handle: AcpRuntimeHandle; key: string; value: string;}): Promise\<SetSessionConfigOptionResponse>. [npmjs.com](https://www.npmjs.com/package/acpx/v/0.13.2)

### acpx 0.13.1 breaking changes

acpx 0.13.1, released August 19, 2026: 5 breaking changes.

- **Signature changed** `AcpRuntimeTurn.promptStarted`  

Runtime turn objects must now provide promptStarted, which settles after connection.prompt() returns its request promise or fails beforehand. Custom AcpRuntimeTurn implementations must add it. [github.com](https://github.com/openclaw/acpx/releases/tag/v0.13.1)
- **Signature changed** `runtime:AcpRuntimeEvent`  

Was type AcpRuntimeEvent = {type: "text_delta"; text: string; stream?: "output" | "thought"; tag?: AcpSessionUpdateTag;} | {type: "status"; text: string; tag?: AcpSessionUpdateTag; used?: number; size?: number; cost?: AcpRuntimeUsageCost... [npmjs.com](https://www.npmjs.com/package/acpx/v/0.13.1)

And 3 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
