|
1 | 1 | ### New Features |
2 | 2 |
|
3 | | -- **VSCode Extension**: Full-featured VSCode plugin — chat with sbot directly in the IDE, built-in server picker, working directory selector, reads connection info from CLI config |
4 | | -- **Unified Chat UI Component Library**: Refactored chat interface into a standalone `chat-ui` package shared across VSCode extension, PWA, and Web (ChatView, SessionBar, ConfigToolbar, StatusBar, etc.) |
5 | | -- **PWA Application**: Added PWA build support for offline-capable installation; new server connection picker |
6 | | -- **Zip Skill Installation**: Support installing Skill packages via zip file upload |
7 | | -- **Agent Abort Signal**: Agent execution supports cancellation (AbortSignal) — model calls and tool execution can be aborted |
8 | | -- **Model Timeout Configuration**: Global and per-agent model call timeout settings |
9 | | -- **Sleep Tool**: New sleep tool allowing agents to pause during execution |
10 | | -- **MP4 Support**: `readMediaFile` now supports reading MP4 video files |
| 3 | +- **ACP Agent Support**: Full Agent Client Protocol integration — persistent and transient ACP agent modes, agent pool management, permission handling, and streaming responses via ACP |
| 4 | +- **Conversation Compaction**: Automatic conversation summarization when token usage exceeds threshold, preserving context continuity while reducing token consumption |
| 5 | +- **OneBot Channel**: New channel supporting QQ and other OneBot-compatible platforms |
| 6 | +- **XiaoAI Channel**: New channel for Xiaomi AI speakers — account login, device discovery, TTS playback, and polling-based conversation |
| 7 | +- **Token Usage Tracking**: Per-model token usage statistics with admin dashboard visualization |
| 8 | +- **Session Search Tool**: New tool allowing agents to search across session history |
11 | 9 |
|
12 | 10 | ### Architecture Changes |
13 | 11 |
|
14 | | -- **Chat UI Component Split**: `ChatApp` decomposed into `ChatView`, `ChatArea`, `AskForm`, `MessageList`, `SessionBar`, `ConfigToolbar`, `StatusBar`, `ToolApprovalBar`, `ThinkDrawer` and other independent components |
15 | | -- **WebSocket Transport Layer**: New standalone `WebSocketTransport` class unifying WebSocket connection management across all platforms |
16 | | -- **IModelService Interface**: All model service methods now accept AbortSignal parameter |
17 | | -- **Shared Assets Package**: New `shared-assets` package for unified management of logos, icons, and static resources |
| 12 | +- **Static / Dynamic Prompt System**: Prompts split into static environment context and dynamic per-turn context, with frontmatter variable declarations |
| 13 | +- **ACP Agent Architecture**: New `ACPAgentServiceBase` with `PersistentACPAgentService` (long-lived process, session reuse) and `TransientACPAgentService` (per-request lifecycle) |
| 14 | +- **Hybrid Search**: New `HybridSearcher` combining keyword matching with embedding-based semantic search for skill retrieval |
| 15 | +- **Model Retry Proxy**: `RetryModelServiceProxy` with exponential backoff for transient errors (rate limits, timeouts, connection resets) |
| 16 | +- **Skill Service Refactor**: `SkillService` rewritten with cleaner lifecycle and parsing logic |
18 | 17 |
|
19 | 18 | ### Improvements |
20 | 19 |
|
21 | | -- **Unified Theme System**: Added theme-dark, theme-light, theme-vscode, theme-pwa theme files for consistent styling across platforms |
22 | | -- **Lark Channel**: Improved history handling, fixed message flow, excluded at-mention noise |
23 | | -- **Intent Classification**: Fixed classification logic issues |
24 | | -- **Empty Message Filtering**: Fixed handling of empty content messages |
25 | | -- **Attachment Handling**: Improved Web UI attachment upload experience |
26 | | -- **Code Cleanup**: Removed dead code and types, deleted redundant dev-dist files |
27 | | -- **Logo Update**: Unified brand logo across the entire project |
| 20 | +- **Channel Message Merging**: Consecutive messages from the same user are merged before processing |
| 21 | +- **Channel Tools Configuration**: Channels support configurable tool whitelists per plugin |
| 22 | +- **Channel Proactive Send**: Channels can now send messages proactively (not just in response) |
| 23 | +- **Claude Thinking Support**: Anthropic model service supports configurable extended thinking |
| 24 | +- **Generative Model Auto-Truncation**: Generative agent automatically truncates input when exceeding context window |
| 25 | +- **Image Auto-Scaling**: Images auto-resized to configurable max dimensions before sending to model |
| 26 | +- **Prompt Frontmatter**: PromptLoader supports YAML frontmatter with variable metadata, used by admin API |
| 27 | +- **Admin Panel**: New ProcessesView, TokenUsageView pages; enhanced Channels, Prompts, and Agents management |
| 28 | +- **Async Module Loading**: Server modules loaded asynchronously for faster startup |
| 29 | +- **WeChat QR Login**: WeChat channel supports QR code based login |
| 30 | +- **Cache Statistics**: Model response caching with hit/miss statistics |
0 commit comments