|
1 | 1 | # Release History |
2 | 2 |
|
| 3 | +## 1.2.0 (2025-12-10) |
| 4 | + |
| 5 | +### Features Added |
| 6 | + |
| 7 | +- **MCP (Model Context Protocol) Support**: Added comprehensive support for Model Context Protocol integration: |
| 8 | + - `MCPServer` tool type for defining MCP server configurations with authorization, headers, and approval requirements |
| 9 | + - `MCPTool` model for representing MCP tool definitions with input schemas and annotations |
| 10 | + - `MCPApprovalType` enum for controlling approval workflows (`never`, `always`, or tool-specific) |
| 11 | + - New item types: `MCPApprovalResponseRequestItem`, `ResponseMCPApprovalRequestItem`, `ResponseMCPApprovalResponseItem`, `ResponseMCPCallItem`, and `ResponseMCPListToolItem` |
| 12 | + - New server events: `ServerEventMcpListToolsInProgress`, `ServerEventMcpListToolsCompleted`, `ServerEventMcpListToolsFailed`, `ServerEventResponseMcpCallArgumentsDelta`, `ServerEventResponseMcpCallArgumentsDone`, `ServerEventResponseMcpCallInProgress`, `ServerEventResponseMcpCallCompleted`, and `ServerEventResponseMcpCallFailed` |
| 13 | + - Client event `MCP_APPROVAL_RESPONSE` for responding to approval requests |
| 14 | + - Enhanced `ItemType` enum with MCP-related types: `mcp_list_tools`, `mcp_call`, `mcp_approval_request`, and `mcp_approval_response` |
| 15 | +- **Enhanced Avatar Configuration**: Expanded avatar functionality with new configuration options: |
| 16 | + - Added `AvatarConfigTypes` enum with support for `video-avatar` and `photo-avatar` types |
| 17 | + - Added `PhotoAvatarBaseModes` enum for photo avatar base models (e.g., `vasa-1`) |
| 18 | + - Added `AvatarOutputProtocol` enum for avatar streaming protocols (`webrtc`, `websocket`) |
| 19 | + - Enhanced `AvatarConfig` model with new properties: `type`, `model`, and `output_protocol` |
| 20 | +- **Image Content Support**: Added support for image inputs in conversations: |
| 21 | + - New `RequestImageContentPart` model for including images in requests |
| 22 | + - New `RequestImageContentPartDetail` enum for controlling image detail levels (`auto`, `low`, `high`) |
| 23 | + - Added `INPUT_IMAGE` to `ContentPartType` enum |
| 24 | + - Enhanced token details models (`InputTokenDetails`, `CachedTokenDetails`) with `image_tokens` tracking |
| 25 | +- **Enhanced OpenAI Voices**: Added new OpenAI voice options: |
| 26 | + - Added `marin` and `cedar` voices to `OpenAIVoiceName` enum |
| 27 | +- **Extended Azure Personal Voice Configuration**: Enhanced `AzurePersonalVoice` with additional customization options: |
| 28 | + - Added support for custom lexicon via `custom_lexicon_url` |
| 29 | + - Added `prefer_locales` for locale preferences |
| 30 | + - Added `locale`, `style`, `pitch`, `rate`, and `volume` properties for fine-tuned voice control |
| 31 | +- **Pre-generated Assistant Messages**: Added support for pre-generated assistant messages in `ResponseCreateParams` via the `pre_generated_assistant_message` property |
| 32 | + |
3 | 33 | ## 1.2.0b2 (2025-11-20) |
4 | 34 |
|
5 | 35 | ### Features Added |
|
0 commit comments