1.2.0b1 (2025-11-14)
Features Added
- MCP (Model Context Protocol) Support: Added comprehensive support for Model Context Protocol integration:
MCPServertool type for defining MCP server configurations with authorization, headers, and approval requirementsMCPToolmodel for representing MCP tool definitions with input schemas and annotationsMCPApprovalTypeenum for controlling approval workflows (never,always, or tool-specific)- New item types:
MCPApprovalResponseRequestItem,ResponseMCPApprovalRequestItem,ResponseMCPApprovalResponseItem,ResponseMCPCallItem, andResponseMCPListToolItem - New server events:
ServerEventMcpListToolsInProgress,ServerEventMcpListToolsCompleted,ServerEventMcpListToolsFailed,ServerEventResponseMcpCallArgumentsDelta, andServerEventResponseMcpCallArgumentsDone - Client event
MCP_APPROVAL_RESPONSEfor responding to approval requests - Enhanced
ItemTypeenum with MCP-related types:mcp_list_tools,mcp_call,mcp_approval_request, andmcp_approval_response