v0.21.1
π What's New
Dependency Upgrades (feat(libs))
Upgraded the core dependency stack to current compatible versions:
- agent-client-protocol
0.10.0β0.12.1 - mcp
2.0.0β2.1.1 - openai
2.36.0β3.3.1 - anthropic
0.97.0β1.0.0 - google-genai
1.73.1β2.20.0 - together
2.16.0β2.31.0 - voyageai
0.3.7β0.5.0 - tavily-python
0.7.26β0.8.0 - elevenlabs
2.44.0β2.65.0 - redis
7.4.0β8.1.0 - docling
2.118.0β2.122.0 - firecrawl-anydoc
0.1.6β0.2.3 - tree-sitter-language-pack
1.12.5β1.15.8 - plus updates to
click,pillow,prompt-toolkit,markdown,pyside6,sounddevice,soundfile,python-dotenv, and more.
π Bug Fixes
OpenAI Codex Structured Output Schema
- Fixed an incorrect JSON schema field in the Codex service:
json_schemaβschema, aligning with the current structured-output API contract.
MCP Tool Result Handling
- Added
MCPToolErrorand a shared_normalize_call_tool_resultpath so MCP tool calls that returnCallToolResult(is_error=True)are surfaced as failures (with the server's message) instead of silently succeeding. - Unsupported MCP response types (e.g.
InputRequiredResult) now fail with a clear error instead of crashing later on a missing.content.
β»οΈ Refactors & Compatibility
ACP 0.12.x Compatibility
- Reworked terminal-auth capability detection to use the new
field_metafield. - Removed the deprecated
session/set_modelRPC; model selection is now exposed via aSessionConfigOptionSelectconfig option. - Reordered method parameter signatures (
prompt,list_sessions,set_session_mode,fork_session,resume_session) to match theacp.Agentprotocol for correct keyword dispatch. - Added ACP compatibility test suites pinning the agent to the
agent-client-protocol0.12.x surface.
Code analysis tool
- Updated the code-analysis tool's
feature_scopedescription for clearer, more reusable feature scoping.