feat: release 2.1.0

This commit is contained in:
zhayujie
2026-06-01 16:02:55 +08:00
parent ce0249706e
commit feaa9076b0
20 changed files with 252 additions and 31 deletions

View File

@@ -5,6 +5,7 @@ description: CowAgent version history
| Version | Date | Description |
| --- | --- | --- |
| [2.1.0](/releases/v2.1.0) | 2026.06.01 | Internationalization, new Telegram / Discord / Slack / WeChat Customer Service channels, CLI interaction upgrades (streaming output, fuzzy command matching, task cancellation), MCP Streamable HTTP, new models |
| [2.0.9](/releases/v2.0.9) | 2026.05.22 | Model management console, MCP protocol support, browser persistent login, new models (gpt-5.5, gemini-3.5-flash, qwen3.7-max, etc.), deployment hardening |
| [2.0.8](/releases/v2.0.8) | 2026.05.06 | Major Feishu channel upgrade (voice, streaming and Markdown, one-click QR-scan setup), DeepSeek V4 and Baidu models, scheduler tool enhancements |
| [2.0.7](/releases/v2.0.7) | 2026.04.22 | Image Generation Skill (6-provider auto-routing), new models (Kimi K2.6, Claude Opus 4.7, GLM 5.1), knowledge base and Web Console improvements |

69
docs/releases/v2.1.0.mdx Normal file
View File

@@ -0,0 +1,69 @@
---
title: v2.1.0
description: CowAgent 2.1.0 - Internationalization, new Telegram / Discord / Slack / WeChat Customer Service channels, CLI interaction upgrades, MCP protocol enhancements and new models
---
🌐 [English](https://docs.cowagent.ai/releases/v2.1.0) | [中文](https://docs.cowagent.ai/zh/releases/v2.1.0)
## 📱 New Channels
This release adds several mainstream platform channels — configure and go, ready out of the box:
- **Telegram Bot**: Connect a Telegram bot with support for text and multimedia messages
- **Discord Bot**: Connect a Discord bot to chat in channels and direct messages
- **Slack Bot**: Connect a Slack bot and bring CowAgent into your team's workflow
- **WeChat Customer Service**: New WeChat Customer Service channel that receives images and files and automatically merges them into the next turn, bringing its multimedia context experience in line with other channels. Thanks [@6vision](https://github.com/6vision) (#2840)
Documentation: [Channels Overview](https://docs.cowagent.ai/en/channels)
## 🌍 Internationalization
CowAgent introduces an end-to-end internationalization framework built for developers worldwide, adapting automatically based on the system language:
- **End-to-end localization**: The install flow, CLI, logs and error messages, agent system prompts and more are all localized
- **Automatic language detection**: The default `auto` mode infers the language from the system locale, or you can set `cow_lang` explicitly in `config.json`. English and Chinese ship first, with more languages to follow
- **One-click switch in the console**: The Web Console supports switching the system language online, taking effect in real time
## ⌨️ CLI Interaction Upgrades
- **Streamlined one-line install**: The install script is simplified with an interactive setup — pick your language, and optionally choose a model and channel right from the prompts, getting you up and running in minutes
- **Streaming output**: The Terminal channel now renders the agent's reasoning, tool calls and streaming replies in real time
- **Fuzzy command matching**: Supports command abbreviations and near-miss typo suggestions, ships with built-in shortcuts, and lets you define custom aliases in the config file. Thanks [@lyteen](https://github.com/lyteen) (#2850)
- **Task cancellation**: In-flight agent runs can be interrupted on demand — the Web Console adds a stop button, and other channels can send `/cancel` to abort
Documentation: [CLI Guide](https://docs.cowagent.ai/en/cli/general)
## 🧩 MCP Protocol Enhancements
MCP tools now support the **Streamable HTTP** transport. On top of the existing `stdio` and `sse` options, this makes more MCP services compatible, letting you connect directly to remote tools that use the streamable HTTP protocol.
Documentation: [MCP Tools](https://docs.cowagent.ai/en/tools/mcp)
## 🤖 New Models & Improvements
- **New models**: `claude-opus-4-8`, Xiaomi `MiMo`
- **Improvements**: Fixed JSON parsing failures for tool-call arguments returned by some models (#2823)
Documentation: [Models Overview](https://docs.cowagent.ai/en/models)
## 🧠 Memory & Retrieval Improvements
- **Keyword search**: Fixed low hit rates for Chinese keyword search and empty results for pure-English keyword queries
- **Vector retrieval**: Optimized the vector retrieval flow and improved Python version compatibility
Thanks [@yangluxin613](https://github.com/yangluxin613) (#2832)
## 🛠 UX Improvements & Fixes
- **Confined file access**: Web file reads and sends are now limited to the user home directory and agent workspace by default to prevent arbitrary file reads; the scope can be widened via `web_file_serve_root`
- **More stable scheduled tasks**: Fixed scheduled-task pushes failing after a restart on the Personal WeChat channel
- **Browser tool**: Fixed non-HTTP schemes being dropped from navigation URLs; reduced browser memory usage
- **WeChat Official Account**: Passive replies now merge cached text segments, flush ready segments while a task is still running, and support sending local `file://` images. Thanks [@6vision](https://github.com/6vision) (#2848)
- **Faster WeCom bot responses**: Callbacks are now dispatched asynchronously to avoid message loss from WeCom's 5-second timeout
- **More robust login**: Fixed a login error when `web_password` was not a string
## 📦 Upgrade
Source-code deployments can run `cow update` for a one-click upgrade, or pull the latest code and restart manually. See the [Upgrade Guide](https://docs.cowagent.ai/en/guide/upgrade) for details.
**Release Date**: 2026.06.01 | [Full Changelog](https://github.com/zhayujie/CowAgent/compare/2.0.9...2.1.0)