From ff4a7724844f18fbdd565da0e418ad51ba6eb11d Mon Sep 17 00:00:00 2001 From: trumpyla Date: Fri, 22 May 2026 18:41:28 -0400 Subject: [PATCH] fix(deps): pin to published versions of tsx and claude-agent-acp acpx 0.9.0 declared two versions that are not (or were not) published to npm, leaving fresh installs broken: - tsx ^4.22.0 -> ^4.21.0 At the time of the 0.9.0 release `npm view tsx` topped out at 4.21.0, so `pnpm i` / `npm i` failed ETARGET. tsx 4.22.x has since been republished, but ^4.21.0 is the safer floor and resolves to the same 4.22.3 on a fresh install. - @agentclientprotocol/claude-agent-acp ^0.36.1 -> ^0.33.1 The built-in agent registry pinned a version that 404s (npm latest is 0.33.1), so `acpx claude` fails to initialize on a clean install. Both pins lowered to the newest versions actually on the registry. Lockfile refreshed. --- package.json | 2 +- pnpm-lock.yaml | 2 +- src/agent-registry.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 70425764..b1b8f6f7 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "@agentclientprotocol/sdk": "^0.22.1", "commander": "^14.0.3", "skillflag": "^0.1.4", - "tsx": "^4.22.0", + "tsx": "^4.21.0", "zod": "^4.4.3" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bcc11093..d8248ce8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ importers: specifier: ^0.1.4 version: 0.1.4 tsx: - specifier: ^4.22.0 + specifier: ^4.21.0 version: 4.22.3 zod: specifier: ^4.4.3 diff --git a/src/agent-registry.ts b/src/agent-registry.ts index f67b3895..8eb251bd 100644 --- a/src/agent-registry.ts +++ b/src/agent-registry.ts @@ -5,7 +5,7 @@ import { fileURLToPath } from "node:url"; const ACP_ADAPTER_PACKAGE_RANGES = { pi: "^0.0.26", codex: "^0.0.44", - claude: "^0.36.1", + claude: "^0.33.1", } as const; type BuiltInAgentPackageSpec = {