mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-24 01:11:34 +01:00
880370ce3c
* Update Anthropic SDK packages ### `@anthropic-ai/sdk` (0.71.2 → 0.72.1) #### Features - Structured Outputs support in Messages API - MCP SDK helper functions #### Breaking Changes - `output_format` → `output_config` parameter migration ### `@anthropic-ai/claude-agent-sdk` (0.2.5 → 0.2.31) #### Features - **Query interface:** Added `close()` method, `reconnectMcpServer()`, `toggleMcpServer()` methods - **Sessions:** Added `listSessions()` function for discovering resumable sessions - **MCP:** Added `config`, `scope`, `tools` fields and `disabled` status to `McpServerStatus` - **PDF support:** Added `pages` field for reading specific page ranges - **Debugging:** Added `debug` and `debugFile` options - **Results:** Added `stop_reason` field to `SDKResultSuccess` and `SDKResultError` - **Hooks:** Added notification hook support #### Bug Fixes - Fixed `mcpServerStatus()` to include tools from SDK and dynamically-added MCP servers - Fixed PermissionRequest hooks in SDK mode - Fixed structured output validation errors and empty assistant message handling #### Breaking Changes - `KillShellInput` → `TaskStopInput`: Updated type mapping in claudeTools.ts Also improved upgrade documentation in AGENTS.md with GitHub release URLs and consolidated summary format guidance. Co-Authored-By: Claude <noreply@anthropic.com> * Fix erroring out by deleting the base's value of temperature & top_p, honoring the request. --------- Co-authored-by: Claude <noreply@anthropic.com>