From ddd5f541879118edb18df7ff09cd6682d455c710 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Fri, 2 Oct 2026 06:22:24 -0700 Subject: [PATCH] feat(deps): Bump @anthropic-ai/claude-agent-sdk to 0.3.287 (#1224) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Bumps `@anthropic-ai/claude-agent-sdk` to 0.3.287 (Claude Code 2.1.287). No compile or test fixes were needed. ## Review notes for 0.3.287 - **WebFetch/WebSearch keep running when a steer arrives: not active for the adapter.** In 2.1.287, a human-origin `priority: 'now'` steer no longer cancels WebFetch or WebSearch. The call keeps running, and its tool_result is a "[Still running…]" notice for the model with `tool_use_result: {detachedToolCall: true}`. The steer gets its own result, and the CLI holds back idle. When the fetch finishes, Claude starts a follow-up turn on its own. That turn has no user message and its result carries no uuid, and idle only arrives after it. I checked this against the live CLI. However, the CLI only does this when no PostToolUse, PostToolUseFailure or PostToolBatch hook applies to the tool. The adapter's PostToolUse hook has no matcher, so it applies to every tool, and through the adapter the steer still cancels the fetch, as before. I also checked that end to end. Turning the new behavior on needs three changes: limit the hook to Write/Edit/NotebookEdit/EnterPlanMode, render the card while the call keeps running, and close the card at the follow-up turn. That is left for a follow-up PR. - **No changes needed:** - the `includePartialMessages` late or missing `message_stop` fix (the adapter's `message_stop` handling can safely run more than once) - the `commands_changed`-before-`init` fix - the clearer revoked-OAuth error text (it still arrives as an `authentication_failed` error) - MCP `structuredContentOmitted` (the adapter doesn't read `structuredContent`) - the `alwaysLoad: false` semantics (unused) - the remote-only `first_text_post_*` result fields - `get_task_output` (in the types, but `Query` has no method for it) - the fix for a model fallback repeating on every later message ## Test plan - [x] `npm run build` - [x] `npm run test:run` (2142 passed) - [x] `npm run check` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 --- package-lock.json | 72 +++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index c3ba5625..4244f6a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@agentclientprotocol/sdk": "1.7.0", - "@anthropic-ai/claude-agent-sdk": "0.3.286", + "@anthropic-ai/claude-agent-sdk": "0.3.287", "diff": "9.0.0", "zod": "4.6.5" }, @@ -48,22 +48,22 @@ } }, "node_modules/@anthropic-ai/claude-agent-sdk": { - "version": "0.3.286", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk/-/claude-agent-sdk-0.3.286.tgz", - "integrity": "sha512-InL/UNmRGSwBM/81PME0J0TZDsDBBlweWqRZgq2XSViSIg2hBi8nIL8j9Hm6MHRH85wgDJQE5n6Vo/r9hIO0NQ==", + "version": "0.3.287", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk/-/claude-agent-sdk-0.3.287.tgz", + "integrity": "sha512-DrYUMzmSVfL1VciNDo/9BhxiVnTsSCKVzxLHB3+NvvRiyN4pfWTKFrUzQesPnWswds9x1Ir10Gi6GRsnjT0UkA==", "license": "SEE LICENSE IN README.md", "engines": { "node": ">=18.0.0" }, "optionalDependencies": { - "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.286", - "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.286", - "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.286", - "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.286", - "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.286", - "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.286", - "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.286", - "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.286" + "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.287", + "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.287", + "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.287", + "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.287", + "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.287", + "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.287", + "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.287", + "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.287" }, "peerDependencies": { "@anthropic-ai/sdk": ">=0.93.0", @@ -72,9 +72,9 @@ } }, "node_modules/@anthropic-ai/claude-agent-sdk-darwin-arm64": { - "version": "0.3.286", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-arm64/-/claude-agent-sdk-darwin-arm64-0.3.286.tgz", - "integrity": "sha512-gkxWcJ+Z23UxwghI1V3dL09PkELIZmB2vPelR8XsdfhS+yP1KvoW7FThvRLojcxXb3fj0ddYawjQSQYIkXFbxw==", + "version": "0.3.287", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-arm64/-/claude-agent-sdk-darwin-arm64-0.3.287.tgz", + "integrity": "sha512-Ic9GCrPBmMroLi7q+IeQQdtVDQLOaaSxkH1NzPsSRZxSvFcMH6M7zz/LahzlLQTdDyebcyMLk4aBXl4H8NnbFw==", "cpu": [ "arm64" ], @@ -85,9 +85,9 @@ ] }, "node_modules/@anthropic-ai/claude-agent-sdk-darwin-x64": { - "version": "0.3.286", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-x64/-/claude-agent-sdk-darwin-x64-0.3.286.tgz", - "integrity": "sha512-eMdni7sy1ud2IISI4QSsfVBCxotzSe62zCGdXISejL9MxDIwcRgEGZpO5OV+j7t8mNGMTe6Opl1t/3Z/1RUJaQ==", + "version": "0.3.287", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-x64/-/claude-agent-sdk-darwin-x64-0.3.287.tgz", + "integrity": "sha512-7BxpyKMkzLQxCdq4OEnrjtLRC3O69l0LSBZYyUPXPTCFTnvzqpELjPRUssyW9auKEtVoh8eTySwC2rwGzuMUqA==", "cpu": [ "x64" ], @@ -98,9 +98,9 @@ ] }, "node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64": { - "version": "0.3.286", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64/-/claude-agent-sdk-linux-arm64-0.3.286.tgz", - "integrity": "sha512-3h+WWGek9beZ6i1qbIjjwYEFbs46D6qumjSBc6cLsEvnufcoi7mc0iBwbFSh9yRb3upxoi4ZTJdl53T3gLTdUQ==", + "version": "0.3.287", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64/-/claude-agent-sdk-linux-arm64-0.3.287.tgz", + "integrity": "sha512-CWqO5p3YSBmpi/qHywul0re6fjljbDMZVj45PouNb1Qqws2Wi2h/Wp/ojOnfQAmq4m29pV2qgDnN2UtjaOobKA==", "cpu": [ "arm64" ], @@ -114,9 +114,9 @@ ] }, "node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64-musl": { - "version": "0.3.286", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64-musl/-/claude-agent-sdk-linux-arm64-musl-0.3.286.tgz", - "integrity": "sha512-fG8Cqx53jkFyEL86ETA0tdLH3p06yFQKHcoxnMpiU+VmJ5g6uGFhsUZbJ6gFvuT3EgyMcNI2kZwhCCDF/DTnpQ==", + "version": "0.3.287", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64-musl/-/claude-agent-sdk-linux-arm64-musl-0.3.287.tgz", + "integrity": "sha512-2WuRGYigs03B0Z7EnG72Ogiz1cMWIAyTwmV+DpNelhFeKb9VUevLkVRvS9nVQvyin/sO3FCBHV8dYsgZEwpmvQ==", "cpu": [ "arm64" ], @@ -130,9 +130,9 @@ ] }, "node_modules/@anthropic-ai/claude-agent-sdk-linux-x64": { - "version": "0.3.286", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64/-/claude-agent-sdk-linux-x64-0.3.286.tgz", - "integrity": "sha512-kNczbWhWJ1G8sPRZd4Nsx/Ozr/kx16lT2NGp/EEmTV4Hn732xfLkUOlg+tFcS78i6lOPBknjDB/cz/J5Ha4wDQ==", + "version": "0.3.287", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64/-/claude-agent-sdk-linux-x64-0.3.287.tgz", + "integrity": "sha512-/6Zw5nym4xfc2eFGaIrS7dt7JoBgASsGUnLWMoPV4M1hGH0tOSPzpixfb4OWO6r9iw9Nn/Zk5Ke1KRuMuja2+Q==", "cpu": [ "x64" ], @@ -146,9 +146,9 @@ ] }, "node_modules/@anthropic-ai/claude-agent-sdk-linux-x64-musl": { - "version": "0.3.286", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64-musl/-/claude-agent-sdk-linux-x64-musl-0.3.286.tgz", - "integrity": "sha512-WeO/wG2uPh95BhOQi1IsIECdW5gJgC1Q9xtGw4RjV04it1fBMAbUe7aVwP4DQgH8PHnmduA7dRnLtbnZnrGsjg==", + "version": "0.3.287", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64-musl/-/claude-agent-sdk-linux-x64-musl-0.3.287.tgz", + "integrity": "sha512-be7lBO3WihsGbGQbMCAowxmt8vqGgmUo2HkbBee8jrch04LG4LCRj6Ry/gHtYSTle30WAnoyqCLsPHFj064waw==", "cpu": [ "x64" ], @@ -162,9 +162,9 @@ ] }, "node_modules/@anthropic-ai/claude-agent-sdk-win32-arm64": { - "version": "0.3.286", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-arm64/-/claude-agent-sdk-win32-arm64-0.3.286.tgz", - "integrity": "sha512-N4p7Gw5Qg3q9+Y5sEht1cIHHZkmBAUfWXJnqfmDD7N8twqF3XNVK3w65hDLqli4i0ttuZu79bGmRGkgNGm9Imw==", + "version": "0.3.287", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-arm64/-/claude-agent-sdk-win32-arm64-0.3.287.tgz", + "integrity": "sha512-6AdDoLnnVG9aRrWoGVQjS3i4+hceCGFEHVPkMBzbVFs76G1WKlY/ZMnELu3X+ZE5QJFT3j4qqmdJ0y+QbrycEg==", "cpu": [ "arm64" ], @@ -175,9 +175,9 @@ ] }, "node_modules/@anthropic-ai/claude-agent-sdk-win32-x64": { - "version": "0.3.286", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-x64/-/claude-agent-sdk-win32-x64-0.3.286.tgz", - "integrity": "sha512-pg35GRPBKyviod0i8Z3EVMzDnTiiiucuWUbyH1bVIFFN0UWCQQ+PRUJ15qrPKjL6+vlFxOX2ei9FfsWYjGYZwA==", + "version": "0.3.287", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-x64/-/claude-agent-sdk-win32-x64-0.3.287.tgz", + "integrity": "sha512-fczDcWG2Hu+nYQgxeQEsGn5l+3M06RpJXysIsu/BmHTPl7UceTfTpSYr6O/9GU/sNhU0CADJaIIZNwQTfK0DWw==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index a6ee8c69..c221c5e6 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ }, "dependencies": { "@agentclientprotocol/sdk": "1.7.0", - "@anthropic-ai/claude-agent-sdk": "0.3.286", + "@anthropic-ai/claude-agent-sdk": "0.3.287", "diff": "9.0.0", "zod": "4.6.5" },