Skip to content

Build(deps): Update claude-agent-sdk requirement from <0.3,>=0.2.136 to >=0.2.157,<0.3 - #844

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/claude-agent-sdk-gte-0.2.153-and-lt-0.3
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/claude-agent-sdk-gte-0.2.153-and-lt-0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on claude-agent-sdk to permit the latest version.

Changelog

Sourced from claude-agent-sdk's changelog.

Changelog

0.2.159

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.281
  • Pinned default model for e2e tests to claude-opus-5 to work around CI failures with the CLI's new default model (#1287)

0.2.158

New Features

  • verbatim_prompts option: Added ClaudeAgentOptions.verbatim_prompts (default False). When True, user messages are delivered to the CLI exactly as written — no @path file expansion and no slash-command dispatch. This prevents untrusted text inlined into prompts from triggering unintended file reads or command execution. Works with query(), ClaudeSDKClient.connect(), and ClaudeSDKClient.query() for both string and async-iterable prompts. Requires CLI 2.1.248+; a warning is logged on older CLIs. (#1269)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.280
  • CI improvements: recompressed wheels and raised the PyPI pre-flight threshold (#1283)

0.2.156

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.276

0.2.155

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.275

0.2.154

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.274

0.2.153

New Features

  • snapshot option for system prompts: Added a snapshot field to SystemPromptPreset and a new SystemPromptCustom typed dict. When snapshot is True, the session keeps the system prompt recorded on its first request, improving prompt-caching behavior across resumed sessions. When False, the prompt is rebuilt on every request, useful for iterating on append text. Requires CLI 2.1.257+ (#1268)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.273

0.2.152

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Sep 19, 2026
@dependabot dependabot Bot changed the title Build(deps): Update claude-agent-sdk requirement from <0.3,>=0.2.136 to >=0.2.153,<0.3 Build(deps): Update claude-agent-sdk requirement from <0.3,>=0.2.136 to >=0.2.157,<0.3 Sep 22, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/claude-agent-sdk-gte-0.2.153-and-lt-0.3 branch from 5dbcb82 to 45b7bc1 Compare September 22, 2026 16:26

@pengfei-threemoonslab pengfei-threemoonslab left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review at 45b7bc1eff86230cdd114f807bb35181a8d611b4: the one-line SDK floor change is scoped to the developer adoption harness. No code defect found. All 169 harness tests pass locally, and fresh Agents Shipgate verification returns control_state=complete.

Validation remains incomplete: harness/requirements.txt explicitly requires smoke plus a paid Sonnet cell against the new SDK before raising this floor. The existing mocked tests do not demonstrate live streaming, tool events, and cost reporting with 0.2.157. No Anthropic credentials are available in this review session. The repository owner explicitly requested leaving this PR open pending live validation. No merge attempted.

@dependabot
dependabot Bot force-pushed the dependabot/pip/claude-agent-sdk-gte-0.2.153-and-lt-0.3 branch 3 times, most recently from 2988ba6 to 755907b Compare September 24, 2026 00:23
Updates the requirements on [claude-agent-sdk](https://github.com/anthropics/claude-agent-sdk-python) to permit the latest version.
- [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](https://github.com/anthropics/claude-agent-sdk-python/commits)

---
updated-dependencies:
- dependency-name: claude-agent-sdk
  dependency-version: 0.2.153
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/claude-agent-sdk-gte-0.2.153-and-lt-0.3 branch from 755907b to f9fb6eb Compare September 24, 2026 00:38
@pengfei-threemoonslab

Copy link
Copy Markdown
Contributor

Rechecked the updated revision f9fb6ebd834fed8ed2b66aa33dc6b7bac18914d3: the PR now raises the SDK floor to 0.2.157 and still changes only harness/requirements.txt. The adjacent requirement to rerun the smoke test and a paid Sonnet cell still applies. Static verification passes, but it cannot establish live SDK event/cost behavior.

Per the maintainer's explicit instruction, this PR remains open pending live validation. No paid run was attempted and no merge is planned without that evidence.

@dependabot @github

dependabot Bot commented on behalf of github Sep 26, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #885.

@dependabot dependabot Bot closed this Sep 26, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/claude-agent-sdk-gte-0.2.153-and-lt-0.3 branch September 26, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant