ℹ️ Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
Release Notes
anthropics/claude-agent-sdk-typescript (@​anthropic-ai/claude-agent-sdk)
v0.2.63
- SDK: Fixed
pathToClaudeCodeExecutablefailing when set to a bare command name (e.g.,"claude") that should resolve via PATH - Added
supportedAgents()method to the Query interface to view available subagents - Fixed MCP replacement tools being incorrectly denied in subagents when using unprefixed MCP tool names
v0.2.62
v0.2.61
- Updated to parity with Claude Code v2.1.61
v0.2.59
- Added
getSessionMessages()function for reading a session's conversation history from its transcript file, with support for pagination vialimitandoffsetoptions
v0.2.58
- Updated to parity with Claude Code v2.1.58
v0.2.56
- Updated to parity with Claude Code v2.1.56
v0.2.55
- Updated to parity with Claude Code v2.1.55
v0.2.54
- Updated to parity with Claude Code v2.1.54
v0.2.53
- Added
listSessions()for discovering and listing past sessions with light metadata
v0.2.52
- Updated to parity with Claude Code v2.1.52
v0.2.51
- Updated to parity with Claude Code v2.1.51
- Fixed SDK crashing with
ReferenceErrorwhen used inside compiled Bun binaries (bun build --compile) - Fixed unbounded memory growth in long-running SDK sessions caused by message UUID tracking never evicting old entries
- Fixed local slash command output not being returned to SDK clients
- Added
task_progressevents for real-time background agent progress reporting with cumulative usage metrics, tool counts, and duration - Fixed
session.close()in the v2 session API killing the subprocess before it could persist session data, which brokeresumeSession()
v0.2.50
- Updated to parity with Claude Code v2.1.50
v0.2.49
- Updated to parity with Claude Code v2.1.49
- SDK model info now includes
supportsEffort,supportedEffortLevels, andsupportsAdaptiveThinkingfields 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
ConfigChangehook event that fires when configuration files change during a session, enabling enterprise security auditing and optional blocking of settings changes.
v0.2.48
v0.2.47
- Updated to parity with Claude Code v2.1.47
- Added
promptSuggestion()method onQueryto request prompt suggestions based on the current conversation context - Added
tool_use_idfield totask_notificationevents for correlating task completions with originating tool calls
v0.2.45
- Added support for Claude Sonnet 4.6
- Added
task_startedsystem 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
v0.2.44
- Updated to parity with Claude Code v2.1.44
v0.2.42
- Updated to parity with Claude Code v2.1.42
v0.2.41
- Updated to parity with Claude Code v2.1.41
v0.2.40
- Updated to parity with Claude Code v2.1.40
v0.2.39
- Updated to parity with Claude Code v2.1.39
v0.2.38
- Updated to parity with Claude Code v2.1.38
v0.2.37
- Updated to parity with Claude Code v2.1.37
v0.2.36
- Updated to parity with Claude Code v2.1.36
v0.2.34
- Updated to parity with Claude Code v2.1.34
v0.2.33
- Added
TeammateIdleandTaskCompletedhook events with correspondingTeammateIdleHookInputandTaskCompletedHookInputtypes - Added
sessionIdoption to specify a custom UUID for conversations instead of auto-generated ones - Updated to parity with Claude Code v2.1.33
v0.2.32
- Updated to parity with Claude Code v2.1.32
v0.2.31
- Added
stop_reasonfield toSDKResultSuccessandSDKResultErrorto indicate why the model stopped generating
v0.2.30
- Added
debuganddebugFileoptions for programmatic control of debug logging - Added optional
pagesfield toFileReadToolInputfor reading specific PDF page ranges - Added
partsoutput type toFileReadToolOutputfor page-extracted PDF results - Fixed "(no content)" placeholder messages being included in SDK output
v0.2.29
- Updated to parity with Claude Code v2.1.29
v0.2.27
- Added optional
annotationssupport to thetool()helper function for specifying MCP tool hints (readOnlyHint, destructiveHint, openWorldHint, idempotentHint) - Fixed
mcpServerStatus()to include tools from SDK and dynamically-added MCP servers - Updated to parity with Claude Code v2.1.27
v0.2.26
v0.2.25
- Updated to parity with Claude Code v2.1.25
v0.2.23
- Fixed structured output validation errors not being reported correctly
- Updated to parity with Claude Code v2.1.23
v0.2.22
- Fixed structured outputs to handle empty assistant messsages
- Updated to parity with Claude Code v2.1.22
v0.2.21
- Added
config,scope, andtoolsfields toMcpServerStatusfor richer server introspection - Added
reconnectMcpServer()andtoggleMcpServer()methods for managing MCP server connections - Added
disabledstatus toMcpServerStatus - Fixed PermissionRequest hooks not being executed in SDK mode (e.g., VS Code extension)
- Updated to parity with Claude Code v2.1.21
v0.2.20
- Added support for loading CLAUDE.md files from directories specified via
additionalDirectoriesoption (requires settingCLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1in theenvoption) - Added
CLAUDE_CODE_ENABLE_TASKSenv var, set totrueto opt into the new task system - Updated to parity with Claude Code v2.1.20
v0.2.19
- Added
CLAUDE_CODE_ENABLE_TASKSenv var, set totrueto opt into the new task system
v0.2.18
v0.2.17
[
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.