[0.9.120] - 2026-06-23
Added
- Added request timing metrics (TTFT, TPS) display in InputArea for real-time performance monitoring.
- Added cache shape debugging information in AssistantMessage showing system hash, tools hash, message prefix hash, tool count, and cache read ratio.
- Added new models to Routin AI provider: Kimi K2.7 Code HighSpeed, MiMo V2.5 Pro, MiMo V2.5 with thinking support.
- Added
getCacheCreationTokensandgetUsageCacheHitRateutility functions for improved token usage tracking. - Added
calculateCacheReadRatiofunction for cache analytics and debugging. - Added
RequestTimingtype support for detailed request performance metrics. - Added Volcengine (火山引擎) provider preset with Doubao Seed 2.1 Pro/Turbo models supporting vision, function calling, and thinking.
- Added Doubao Seed Evolving, Seed 2.1 Pro (260628), and Seed 2.1 Turbo (260628) models to Routin AI provider.
- Added sub-agent workspace protocol injection — sub-agents now automatically load project-level AGENTS.md as authoritative workspace context.
- Added parallel tool calls prompt for sub-agents to maximize concurrent independent tool invocations.
- Added sub-agent runtime cache policy with prompt cache key generation for OpenAI Responses WebSocket backend.
- Added
turn-contextinjection for plan mode sub-agent runs. - Added stable tool definition sorting (by name → description → schema) for deterministic cache keys.
- Added
cache-shapemodule with stable hash/serialize utilities for prompt cache debugging. - Added
SmoothTokenNumbercomponent with animated token counter transitions. - Added thinking content extraction and model avatar with breathing dots animation for streaming placeholder state.
- Added model info hover card panel in model switcher showing provider, capabilities, and auto-routing target model.
- Added
toolUseOrderByIdindex for sub-agent inline rendering decisions. - Added
canRenderInlineSubAgentRunheuristic for multi-sub-agent message layout decisions. - Added
resolveSubAgentProviderConfigwith session-scoped provider resolution.
Changed
- Refactored chat streaming placeholder from static "生成回复" to "Thinking.../正在思考中..." with per-model avatar and animated breathing dots.
- Replaced model switcher plain label with hover card showing model name, provider, and capability tags for auto-routing clarity.
- Deferred large Read tool result text rendering to lazy mount for performance.
- Memoized MCP active tool computation to reduce store selector re-derivation.
- Set pending assistant message timestamp to current time instead of epoch 0 for correct sort order.
- Hidden file diff dialog close button to match interaction design.
- Enhanced chat components (AssistantMessage, ToolCallCard, InputArea) with improved UI and performance.
- Improved settings pages and analytics overview with better data visualization.
- Updated Anthropic API integration with optimized cache control logic and cache target selection.
- Improved MCP tools and agent runtime with better error handling and stability.
- Enhanced internationalization (en/zh) with updated translations.
- Updated Routin AI provider models with new pricing and thinking support configurations.
- Various performance and stability improvements across the application.
Fixed
- Fixed widget rendering logic in ToolCallCard with simplified state management.
- Fixed cache hit rate calculations and token usage tracking.
- Fixed various UI inconsistencies and improved component rendering.
Removed
- Removed unused imports and properties (Loader2, Wrench icons) for cleaner codebase.
- Removed redundant model thinking indicator properties for simplified component API.
Fixed
- fix(mcp): expose connected MCP tools in chat for MCP-enabled sessions.
- Fixed sub-agent inline rendering: background sub-agents now properly hidden and synchronous sub-agents rendered inline when no visible content sits between them.
Documentation
- Added comprehensive Repository Guidelines (AGENTS.md) covering project structure, build commands, coding conventions, and commit guidelines.
- Updated README.md and README.zh.md.