Skip to content

chore(deps): bump claude-agent-sdk from 0.2.165 to 0.2.166 in /claude-agent-sdk - #22

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/claude-agent-sdk/claude-agent-sdk-0.2.166
Oct 21, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/claude-agent-sdk/claude-agent-sdk-0.2.166

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 21, 2026

Copy link
Copy Markdown
Contributor

Bumps claude-agent-sdk from 0.2.165 to 0.2.166.

Release notes

Sourced from claude-agent-sdk's releases.

v0.2.166

New Features

  • Hook-specific output types: Added typed output classes and missing input fields for hooks, giving hook implementations precise type information instead of untyped dicts (#1331)
  • SystemInitData TypedDict: The init system message payload is now fully typed via SystemInitData, along with nested types SystemInitMcpServer, SystemInitPlugin, SystemInitPluginError, and FastModeState/FastModeDisabledReason literals. Use cast(SystemInitData, msg.data) to access typed fields like capabilities, model, mcp_servers, and more (#1332)

Bug Fixes

  • Fixed SandboxSettings.ignoreViolations type: Changed from a TypedDict with file/network keys to dict[str, list[str]] to match the CLI's actual schema — a map from command-pattern substring to violation-text substrings. The old type caused "file" and "network" to be interpreted as command patterns, and strict type checkers rejected the correct {"*": [...]} shape (#1380)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.299

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

pip install claude-agent-sdk==0.2.166
Changelog

Sourced from claude-agent-sdk's changelog.

0.2.166

New Features

  • Hook-specific output types: Added typed output classes and missing input fields for hooks, giving hook implementations precise type information instead of untyped dicts (#1331)
  • SystemInitData TypedDict: The init system message payload is now fully typed via SystemInitData, along with nested types SystemInitMcpServer, SystemInitPlugin, SystemInitPluginError, and FastModeState/FastModeDisabledReason literals. Use cast(SystemInitData, msg.data) to access typed fields like capabilities, model, mcp_servers, and more (#1332)

Bug Fixes

  • Fixed SandboxSettings.ignoreViolations type: Changed from a TypedDict with file/network keys to dict[str, list[str]] to match the CLI's actual schema — a map from command-pattern substring to violation-text substrings. The old type caused "file" and "network" to be interpreted as command patterns, and strict type checkers rejected the correct {"*": [...]} shape (#1380)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.299
Commits
  • 65a6676 docs: update changelog for v0.2.166
  • 144b3d6 chore: release v0.2.166
  • 603f360 chore: bump bundled CLI version to 2.1.299
  • f33ec2b fix(types): type sandbox ignoreViolations as a command-pattern map (#1380)
  • b6e9d12 chore: bump bundled CLI version to 2.1.296
  • a8e7ce3 feat(types): add hook-specific output types and missing hook input fields (#1...
  • 033b8ed feat(types): add SystemInitData for the init system message payload (#1332)
  • cee5067 chore: bump bundled CLI version to 2.1.295
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [claude-agent-sdk](https://github.com/anthropics/claude-agent-sdk-python) from 0.2.165 to 0.2.166.
- [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.165...v0.2.166)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner October 21, 2026 06:44
@github-actions
github-actions Bot merged commit a24f923 into main Oct 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants