Skip to content

chore(deps): bump claude-agent-sdk from 0.2.118 to 0.2.128 - #17

Merged
OctavianTocan merged 2 commits into
mainfrom
dependabot/uv/claude-agent-sdk-0.2.128
Aug 2, 2026
Merged

chore(deps): bump claude-agent-sdk from 0.2.118 to 0.2.128#17
OctavianTocan merged 2 commits into
mainfrom
dependabot/uv/claude-agent-sdk-0.2.128

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 30, 2026

Copy link
Copy Markdown
Contributor

Bumps claude-agent-sdk from 0.2.118 to 0.2.128.

Release notes

Sourced from claude-agent-sdk's releases.

v0.2.128

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.220

PyPI: https://pypi.org/project/claude-agent-sdk/0.2.128/

pip install claude-agent-sdk==0.2.128

v0.2.127

Bug Fixes

  • Fixed premature stdin closure when background tasks are in flight: query() no longer closes stdin on the first result frame when background tasks (e.g. run_in_background: true subagents) are still running. Previously, closing stdin too early caused SDK-MCP tool calls from background tasks to fail with "Stream closed" and silently bypassed PreToolUse hooks. Stdin now stays open until all in-flight tasks complete and the final result frame arrives (#1103)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.219

PyPI: https://pypi.org/project/claude-agent-sdk/0.2.127/

pip install claude-agent-sdk==0.2.127

v0.2.126

New Features

  • terminal_reason on ResultMessage: ResultMessage.terminal_reason now surfaces why the query loop ended ("completed", "max_turns", "aborted_streaming", "aborted_tools", etc.). A value of "aborted_streaming" or "aborted_tools" means the turn was cancelled via ClaudeSDKClient.interrupt(). Mirrors the TypeScript SDK's SDKResultMessage.terminal_reason (#1142)
  • Typed model_usage on ResultMessage: ResultMessage.model_usage is now typed as dict[str, ModelUsage] instead of dict[str, Any], with a new ModelUsage TypedDict that mirrors the TypeScript SDK's shape. Includes optional canonicalModel and provider fields for stable model identification across provider-specific aliases (#1143)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.218

PyPI: https://pypi.org/project/claude-agent-sdk/0.2.126/

... (truncated)

Changelog

Sourced from claude-agent-sdk's changelog.

0.2.128

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.220

0.2.127

Bug Fixes

  • Fixed premature stdin closure when background tasks are in flight: query() no longer closes stdin on the first result frame when background tasks (e.g. run_in_background: true subagents) are still running. Previously, closing stdin too early caused SDK-MCP tool calls from background tasks to fail with "Stream closed" and silently bypassed PreToolUse hooks. Stdin now stays open until all in-flight tasks complete and the final result frame arrives (#1103)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.219

0.2.126

New Features

  • terminal_reason on ResultMessage: ResultMessage.terminal_reason now surfaces why the query loop ended ("completed", "max_turns", "aborted_streaming", "aborted_tools", etc.). A value of "aborted_streaming" or "aborted_tools" means the turn was cancelled via ClaudeSDKClient.interrupt(). Mirrors the TypeScript SDK's SDKResultMessage.terminal_reason (#1142)
  • Typed model_usage on ResultMessage: ResultMessage.model_usage is now typed as dict[str, ModelUsage] instead of dict[str, Any], with a new ModelUsage TypedDict that mirrors the TypeScript SDK's shape. Includes optional canonicalModel and provider fields for stable model identification across provider-specific aliases (#1143)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.218

0.2.125

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.217

0.2.124

Bug Fixes

  • Refused batch script CLI spawning on Windows: Blocked spawning .bat/.cmd CLI scripts (including npm's claude.cmd shim) on Windows to prevent command injection via cmd.exe metacharacter re-parsing (BatBadBut / CVE-2024-27980 class). Windows users relying on the npm shim should switch to the native installer, an explicit claude.exe path, or a platform wheel that bundles the CLI (#1127)
  • Windows cmd.exe metacharacter rejection: resume and session_id values containing cmd.exe metacharacters (& | < > ^ % ! ") or newlines now raise ValueError on Windows, preventing injection even if a cmd.exe hop is reintroduced. POSIX behavior is unchanged (#1127)
  • Dash-prefixed extra_args value binding: extra_args now uses --flag=value form when the value starts with -, preventing a dash-leading value from being misinterpreted as a separate CLI flag (#1127)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.216

0.2.123

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.215

... (truncated)

Commits
  • f8b9ec9 docs: update changelog for v0.2.128
  • ec77673 chore: release v0.2.128
  • cadaa63 chore: bump bundled CLI version to 2.1.220
  • 3145cc6 docs: update changelog for v0.2.127
  • 26b1a5c chore: release v0.2.127
  • f277fd8 chore: bump bundled CLI version to 2.1.219
  • e6e07f1 fix(query): don't close stdin on a result frame while tasks are in flight (#1...
  • 74fe445 docs: update changelog for v0.2.126
  • 013cb15 chore: release v0.2.126
  • ee68d65 chore: bump bundled CLI version to 2.1.218
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Dependency / Dependabot updates python Python / uv dependency updates labels Jul 30, 2026
@dependabot
dependabot Bot requested a review from OctavianTocan as a code owner July 30, 2026 03:24
@dependabot dependabot Bot added dependencies Dependency / Dependabot updates python Python / uv dependency updates labels Jul 30, 2026
@semanticdiff-com

Copy link
Copy Markdown

Review changes with  SemanticDiff

@socket-security

socket-security Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedclaude-agent-sdk@​0.2.118 ⏵ 0.2.12899 +1100100100100

View full report

@OctavianTocan OctavianTocan left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: CI green, scope is version bump only. Safe to merge.

Bumps [claude-agent-sdk](https://github.com/anthropics/claude-agent-sdk-python) from 0.2.118 to 0.2.128.
- [Release notes](https://github.com/anthropics/claude-agent-sdk-python/releases)
- [Changelog](https://github.com/anthropics/claude-agent-sdk-python/blob/main/CHANGELOG.md)
- [Commits](anthropics/claude-agent-sdk-python@v0.2.118...v0.2.128)

---
updated-dependencies:
- dependency-name: claude-agent-sdk
  dependency-version: 0.2.128
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/claude-agent-sdk-0.2.128 branch from 090821f to eac90af Compare August 2, 2026 09:03
@OctavianTocan
OctavianTocan merged commit 2fbe8fc into main Aug 2, 2026
6 checks passed
@OctavianTocan
OctavianTocan deleted the dependabot/uv/claude-agent-sdk-0.2.128 branch August 2, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency / Dependabot updates python Python / uv dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant