Skip to content

build(deps): bump @anthropic-ai/claude-agent-sdk from 0.2.42 to 0.2.50 in /services/agent#62

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/services/agent/anthropic-ai/claude-agent-sdk-0.2.50
Open

build(deps): bump @anthropic-ai/claude-agent-sdk from 0.2.42 to 0.2.50 in /services/agent#62
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/services/agent/anthropic-ai/claude-agent-sdk-0.2.50

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2026

Bumps @anthropic-ai/claude-agent-sdk from 0.2.42 to 0.2.50.

Release notes

Sourced from @​anthropic-ai/claude-agent-sdk's releases.

v0.2.50

What's changed

  • Updated to parity with Claude Code v2.1.50

Update

npm install @anthropic-ai/claude-agent-sdk@0.2.50
# or
yarn add @anthropic-ai/claude-agent-sdk@0.2.50
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.2.50
# or
bun add @anthropic-ai/claude-agent-sdk@0.2.50

v0.2.49

What's changed

  • Updated to parity with Claude Code v2.1.49
  • SDK model info now includes supportsEffort, supportedEffortLevels, and supportsAdaptiveThinking fields so consumers can discover model capabilities.
  • Permission suggestions are now populated when safety checks trigger an ask response, enabling SDK consumers to display permission options.
  • Added ConfigChange hook event that fires when configuration files change during a session, enabling enterprise security auditing and optional blocking of settings changes.

Update

npm install @anthropic-ai/claude-agent-sdk@0.2.49
# or
yarn add @anthropic-ai/claude-agent-sdk@0.2.49
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.2.49
# or
bun add @anthropic-ai/claude-agent-sdk@0.2.49

v0.2.47

What's changed

  • Updated to parity with Claude Code v2.1.47
  • Added promptSuggestion() method on Query to request prompt suggestions based on the current conversation context
  • Added tool_use_id field to task_notification events for correlating task completions with originating tool calls

Update

npm install @anthropic-ai/claude-agent-sdk@0.2.47
# or
yarn add @anthropic-ai/claude-agent-sdk@0.2.47
</tr></table> 

... (truncated)

Changelog

Sourced from @​anthropic-ai/claude-agent-sdk's changelog.

0.2.50

  • Updated to parity with Claude Code v2.1.50

0.2.49

  • Updated to parity with Claude Code v2.1.49
  • SDK model info now includes supportsEffort, supportedEffortLevels, and supportsAdaptiveThinking fields so consumers can discover model capabilities.
  • Permission suggestions are now populated when safety checks trigger an ask response, enabling SDK consumers to display permission options.
  • Added ConfigChange hook event that fires when configuration files change during a session, enabling enterprise security auditing and optional blocking of settings changes.

0.2.47

  • Updated to parity with Claude Code v2.1.47
  • Added promptSuggestion() method on Query to request prompt suggestions based on the current conversation context
  • Added tool_use_id field to task_notification events for correlating task completions with originating tool calls

0.2.46

  • Updated to parity with Claude Code v2.1.46

0.2.45

  • Added support for Claude Sonnet 4.6
  • Added task_started system message to the SDK stream, emitted when subagent tasks are registered
  • Fixed Session.stream() returning prematurely when background subagents are still running, by holding back intermediate result messages until all tasks complete
  • Improved memory usage for shell commands that produce large output — RSS no longer grows unboundedly with command output size

0.2.44

  • Updated to parity with Claude Code v2.1.44

0.2.43

  • Updated to parity with Claude Code v2.1.43
Commits

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 [@anthropic-ai/claude-agent-sdk](https://github.com/anthropics/claude-agent-sdk-typescript) from 0.2.42 to 0.2.50.
- [Release notes](https://github.com/anthropics/claude-agent-sdk-typescript/releases)
- [Changelog](https://github.com/anthropics/claude-agent-sdk-typescript/blob/main/CHANGELOG.md)
- [Commits](anthropics/claude-agent-sdk-typescript@v0.2.42...v0.2.50)

---
updated-dependencies:
- dependency-name: "@anthropic-ai/claude-agent-sdk"
  dependency-version: 0.2.50
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 23, 2026
@netclode
Copy link

netclode bot commented Feb 23, 2026

Dependency Update Review: @anthropic-ai/claude-agent-sdk 0.2.42 → 0.2.50

Update Summary

Field Value
Package @anthropic-ai/claude-agent-sdk
Version 0.2.42 → 0.2.50
Bump Type Patch
Intermediate versions v0.2.43, v0.2.44, v0.2.45, v0.2.46, v0.2.47, v0.2.49

Changelog Analysis (All Intermediate Versions)

v0.2.43-v0.2.44, v0.2.46, v0.2.50: Parity updates with Claude Code releases

v0.2.45:

  • Added support for Claude Sonnet 4.6
  • Added task_started system message to SDK stream
  • Fixed Session.stream() returning prematurely when background subagents are running
  • Improved memory usage for large shell command outputs

v0.2.47:

  • Added promptSuggestion() method on Query
  • Added tool_use_id field to task_notification events

v0.2.49:

  • Added supportsEffort, supportedEffortLevels, supportsAdaptiveThinking model info fields
  • Permission suggestions now populated when safety checks trigger
  • Added ConfigChange hook event for enterprise auditing

Breaking changes: None. All changes are additive features.

Transitive Dependencies

Sharp image libraries updated from 0.33.5 → 0.34.5 (optional platform binaries). Added Windows ARM64 support. No breaking API changes.

Code Impact Analysis

The SDK is used in services/agent/src/sdk/claude/adapter.ts:68-83:

const q = query({
  prompt: text,
  options: {
    cwd, permissionMode, allowDangerouslySkipPermissions,
    model, persistSession, includePartialMessages,
    maxThinkingTokens, systemPrompt, settingSources,
    abortController, resume
  }
});

All used options (query, streaming iteration pattern, message types) remain unchanged. The new features (promptSuggestion(), model capability fields, ConfigChange hook) are entirely additive and unused by this codebase.

Verification

Check Result
GitHub Actions CI ✅ Passed
npm install ✅ Clean
npm run build ✅ Success
npm run typecheck ✅ No errors
npm test ✅ 256 tests pass

Verdict: Safe to merge

No breaking changes, all tests pass, CI green. The update brings bug fixes (Session.stream early return, memory improvements) and additive features.

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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants