Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(desktop): bump bundled claude code to 2.1.280 (#104916)

Shy Alter5f9f1bcb9554
diff --git a/products/desktop/docs/LOCAL-DEVELOPMENT.md b/products/desktop/docs/LOCAL-DEVELOPMENT.md
index b22ce2fc6be1..e0004b91a2ed 100644
--- a/products/desktop/docs/LOCAL-DEVELOPMENT.md
+++ b/products/desktop/docs/LOCAL-DEVELOPMENT.md
@@ -70,7 +70,7 @@ openssl genrsa 2048 | openssl pkcs8 -topk8 -nocrypt -outform PEM | \
## Bundled agent versions
-The desktop app bundles Codex 0.154.0 and Claude Code 2.1.270 from Claude Agent SDK 0.3.270.
+The desktop app bundles Codex 0.154.0 and Claude Code 2.1.280 from Claude Agent SDK 0.3.280.
Codex 0.154.0 includes GPT-6-Astra support.
Updating a separately installed CLI does not update the app's bundled agents.
diff --git a/products/desktop/packages/agent/package.json b/products/desktop/packages/agent/package.json
index 88de330ef8dc..265e0a2f8110 100644
--- a/products/desktop/packages/agent/package.json
+++ b/products/desktop/packages/agent/package.json
@@ -169,7 +169,7 @@
},
"dependencies": {
"@agentclientprotocol/sdk": "1.1.0",
- "@anthropic-ai/claude-agent-sdk": "0.3.270",
+ "@anthropic-ai/claude-agent-sdk": "0.3.280",
"@anthropic-ai/sdk": "0.109.0",
"@earendil-works/pi-agent-core": "catalog:",
"@earendil-works/pi-ai": "catalog:",
diff --git a/products/desktop/packages/agent/src/test/mocks/claude-sdk.ts b/products/desktop/packages/agent/src/test/mocks/claude-sdk.ts
index 7a5191d081a4..16e48608327c 100644
--- a/products/desktop/packages/agent/src/test/mocks/claude-sdk.ts
+++ b/products/desktop/packages/agent/src/test/mocks/claude-sdk.ts
@@ -99,6 +99,7 @@ export function createMockQuery(
initializationResult: vi.fn().mockResolvedValue({}),
reconnectMcpServer: vi.fn().mockResolvedValue(undefined),
toggleMcpServer: vi.fn().mockResolvedValue(undefined),
+ readMcpResource: vi.fn().mockResolvedValue({ contents: [] }),
supportedAgents: vi.fn().mockResolvedValue([]),
stopTask: vi.fn().mockResolvedValue(undefined),
applyFlagSettings: vi.fn().mockResolvedValue(undefined),
diff --git a/products/desktop/packages/workspace-server/package.json b/products/desktop/packages/workspace-server/package.json
index c6d353566604..63faf341f015 100644
--- a/products/desktop/packages/workspace-server/package.json
+++ b/products/desktop/packages/workspace-server/package.json
@@ -19,7 +19,7 @@
},
"dependencies": {
"@agentclientprotocol/sdk": "0.22.1",
- "@anthropic-ai/claude-agent-sdk": "0.3.270",
+ "@anthropic-ai/claude-agent-sdk": "0.3.280",
"@earendil-works/pi-coding-agent": "catalog:",
"@hono/node-server": "catalog:",
"@hono/trpc-server": "catalog:",
diff --git a/products/desktop/pnpm-lock.yaml b/products/desktop/pnpm-lock.yaml
index 5e3e15b10556..8b8770669c5b 100644
--- a/products/desktop/pnpm-lock.yaml
+++ b/products/desktop/pnpm-lock.yaml
@@ -751,8 +751,8 @@ importers:
specifier: 1.1.0
version: 1.1.0([email protected])
'@anthropic-ai/claude-agent-sdk':
- specifier: 0.3.270
- version: 0.3.270(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))([email protected])
+ specifier: 0.3.280
+ version: 0.3.280(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))([email protected])
'@anthropic-ai/sdk':
specifier: 0.109.0
version: 0.109.0([email protected])
@@ -1634,8 +1634,8 @@ importers:
specifier: 0.22.1
version: 0.22.1([email protected])
'@anthropic-ai/claude-agent-sdk':
- specifier: 0.3.270
- version: 0.3.270(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))([email protected])
+ specifier: 0.3.280
+ version: 0.3.280(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))([email protected])
'@earendil-works/pi-coding-agent':
specifier: 'catalog:'
@@ -1812,52 +1812,52 @@ packages:
resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==}
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-nk7BP+i559rheYz9DIwAfevd4DulQXP0mXPP+MeO2fGuIGFmzhE/c0JRm9YswXv5HdaYJvSzjGIB7dVA01NehA==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-Yws14X5g5hgDtF565Tld/+dILAhH9QZpundjKMyO3dFasq9miXZlhU0NwXqwTO2xP0jDjJ54zduIiJwkcfcvGw==}
cpu: [arm64]
os: [darwin]
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-89Uql8Oalm52ojdZZeNLU24LKrU+WG9QR7d6YP9ly4aY0YvQUJDaTosbDkijQngUETbPBFdKuVp6fNM8x0Zt3Q==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-B1eLx/oZ5RL1c3a13nQ4cRUksWyhGcVNS5vbCHnOVu4Pz+dH0moZ+iY8VaE6FvikVAQwFEW6VDU00b6m3tYdsQ==}
cpu: [x64]
os: [darwin]
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-2BlLk2MAohWG2h43RKcjCA4ooMfBxzKf4yyYfOVv1DtYr8zPU876MHCT1VXB2BaemjKA0pdYJJBzH6pncwx6MQ==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-uDh+Ggjb36l+jcVgaYxSziGHmBSSR3clqvGlQ0Bgc1v5dLF4igwqZ6ZPW/hS9dArG27fislIOetH1waEgIr+GA==}
cpu: [arm64]
os: [linux]
libc: [musl]
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-iHPYqwetyeO4tZPzXyKZz0hUh2fLpwu/+biGTxxynikG3XrYknovZ/znGDA3TxjSFurqHf5IIDA+SOjh9OPs0A==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-6s96OIvBHT2817hCFLIZ421JBpQnvrmZucpjlWsyCODKmwGsSxiEhlWqK2h5Q7lwS6F7bzeAhqjGvC7FzDl9Rw==}
cpu: [arm64]
os: [linux]
libc: [glibc]
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-mzH3lnbzrbDGrTf75jLEmkbvkKRLLgmjLaWvf3QuUsgcw+aU69aOY0mW33oOrsuq5zg330uI3B4e68f4LbxNIA==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-IVbIgvi5C0sdLg/p9hpiVvAQ/ikvTKwOOEy5C1aT7w8XLqBgfpJbzzVuk06df1Q0HlILUmf63EKPmq48lbxtqA==}
cpu: [x64]
os: [linux]
libc: [musl]
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-ADaqz2viyAd0GUxdupYLX/K0YJb46xckNpEeWxyLK/9+26b/R5stbaGDyL29fIzyq1ymnNUOaCgEWEemgX0kEA==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-vpPyxYLy+zNc7LwQDWsZf0GZtTYa0PJLxzuv2vK9iV2dG+hrbRNTl35NSKKRR9rMj6RpKz0i2NLyVQ+D4mREgw==}
cpu: [x64]
os: [linux]
libc: [glibc]
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-Pexeu26cLZByhs6VlrawNYAEu+QE2YptvwNkXsmpLRm7Q/C/M0N/BZBmuUcikXrQQ9cuVzSjuuTTpZt64mvtLA==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-heTflHwciJF+Hrf7v0J53QBzD+9mxN9gt2VVmEJAN0+ejbPcOcqnGGZHvyc9aZUuGh5INN0ECaiL4Fn1X2vXQQ==}
cpu: [arm64]
os: [win32]
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-9UyfFcUYsyUZqSe/xX9nIJ1Og6i8FxhlQ35BDi79Ik5He87XFxEIGUvJuMcl7Mq2e3panyhekELFE+9H79xKdw==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-N+Y1zJb19nx0oPTvzkl/E3ng9AtWGW+K4hySmSHCgYSsgIwfs1YzDj/F5eHDMrxgklTuzFp76TvL3S75z5ge+g==}
cpu: [x64]
os: [win32]
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-sSfcm5Nhb+WHeBCxqeHRRQMUKPmFTL+zgv5xcRUVaFMLttfNEbn3IZJE+fLJJmy4h3J8zdc5sXdSa1JxyB8ppQ==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-aIQSTKcCJcOgi125GAGQaNZUYgxbEBQwV2Ac+Utp0+gGUjIEWjTqz4B8kXr9XjkcCTYiRUMTDsXPAUfIcBDjnw==}
engines: {node: '>=18.0.0'}
peerDependencies:
'@anthropic-ai/sdk': '>=0.93.0'
@@ -16292,44 +16292,44 @@ snapshots:
package-manager-detector: 1.8.0
tinyexec: 1.2.4
- '@anthropic-ai/[email protected]':
+ '@anthropic-ai/[email protected]':
optional: true
- '@anthropic-ai/[email protected]':
+ '@anthropic-ai/[email protected]':
optional: true
- '@anthropic-ai/[email protected]':
+ '@anthropic-ai/[email protected]':
optional: true
- '@anthropic-ai/[email protected]':
+ '@anthropic-ai/[email protected]':
optional: true
- '@anthropic-ai/[email protected]':
+ '@anthropic-ai/[email protected]':
optional: true
- '@anthropic-ai/[email protected]':
+ '@anthropic-ai/[email protected]':
optional: true
- '@anthropic-ai/[email protected]':
+ '@anthropic-ai/[email protected]':
optional: true
- '@anthropic-ai/[email protected]':
+ '@anthropic-ai/[email protected]':
optional: true
dependencies:
'@anthropic-ai/sdk': 0.109.0([email protected])
'@modelcontextprotocol/sdk': 1.29.0([email protected])
zod: 4.4.3
optionalDependencies:
- '@anthropic-ai/claude-agent-sdk-darwin-arm64': 0.3.270
- '@anthropic-ai/claude-agent-sdk-darwin-x64': 0.3.270
- '@anthropic-ai/claude-agent-sdk-linux-arm64': 0.3.270
- '@anthropic-ai/claude-agent-sdk-linux-arm64-musl': 0.3.270
- '@anthropic-ai/claude-agent-sdk-linux-x64': 0.3.270
- '@anthropic-ai/claude-agent-sdk-linux-x64-musl': 0.3.270
- '@anthropic-ai/claude-agent-sdk-win32-arm64': 0.3.270
- '@anthropic-ai/claude-agent-sdk-win32-x64': 0.3.270
+ '@anthropic-ai/claude-agent-sdk-darwin-arm64': 0.3.280
+ '@anthropic-ai/claude-agent-sdk-darwin-x64': 0.3.280
+ '@anthropic-ai/claude-agent-sdk-linux-arm64': 0.3.280
+ '@anthropic-ai/claude-agent-sdk-linux-arm64-musl': 0.3.280
+ '@anthropic-ai/claude-agent-sdk-linux-x64': 0.3.280
+ '@anthropic-ai/claude-agent-sdk-linux-x64-musl': 0.3.280
+ '@anthropic-ai/claude-agent-sdk-win32-arm64': 0.3.280
+ '@anthropic-ai/claude-agent-sdk-win32-x64': 0.3.280
dependencies: