chore(deps): update ACPX to 0.13.0 - #2111
Conversation
|
Claude (@claude) review |
|
Greptile (@greptileai) review |
|
Claude finished Nikhil (@shadowfax92)'s task in 3m 49s —— View job Claude finished reviewing PR #2111Tasks
OverviewThis bumps Code quality & correctness
Test coverageSolid. The launcher test suite was rewritten around a Minor notes (non-blocking)
RisksLow. This is a well-scoped, well-tested dependency bump with a mechanical (but carefully executed) internal API change from string commands to argv arrays. CI's Code Quality (lint/typecheck) check has already passed on this commit; the Tests workflow was still in progress at review time. |
Greptile SummaryThis PR upgrades the server-owned ACPX runtime to 0.13.0 and adopts its structured argv interface throughout agent policy, probing, provider types, and host launchers.
Confidence Score: 5/5The PR appears safe to merge, with structured ACP launch behavior and fresh-session history handling covered across the relevant platform and runtime paths. The changed launchers preserve argument and environment boundaries across bundled Bun, Unix host fallback, and Windows host fallback, while the post-prepare persistence check deliberately distinguishes resumable sessions from fresh replacement records. Important Files Changed
Sequence DiagramsequenceDiagram
participant UI
participant Server as AcpAgentRuntime
participant Launcher
participant ACPX
participant Adapter as Claude/Codex ACP
UI->>Server: Stream conversation turn
Server->>Launcher: Resolve structured argv and environment
Server->>ACPX: prepare(sessionKey, argv, options)
ACPX->>Adapter: Spawn argv
ACPX-->>Server: Persistent session prepared
Server->>ACPX: Reload persisted record
alt Record contains messages
Server->>ACPX: Send latest user turn
else Fresh or replaced record
Server->>ACPX: Send complete UI history
end
ACPX-->>UI: Stream agent response
Reviews (1): Last reviewed commit: "chore: merge latest main into acpx updat..." | Re-trigger Greptile |
✅ Tests passed — 2186/2189
|
Summary
cmd.exehandling, Codex process configuration, and fresh-session history after legacy records are replaced.Design
BrowserOS continues to own adapter selection and environment construction. It now passes an argv array to ACPX instead of a command string. Unix uses
env; Windows uses the available Bun or Node runner and an encoded environment payload, with hostnpx.cmdlaunched through safely escapedcmd.exearguments.No legacy-record migration is introduced. If ACPX replaces an incompatible 0.12 record, BrowserOS detects the fresh persisted session and sends the complete UI history on its first turn.
Test plan
bun install --frozen-lockfilebun run check@browseros/acpx-ai-providersuite: 214 passingapps/claw-onboardtests still fail on the existing@/components/ui/*alias-resolution baseline.