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

@@ -19,6 +19,7 @@ The table below summarizes the inbound message types, bot reply types, and group
| [QQ](/channels/qq) | ✅ | ✅ | ✅ | | ✅ |
| [WeCom App](/channels/wecom) | ✅ | ✅ | ✅ | ✅ | |
| [Official Account](/channels/wechatmp) | ✅ | ✅ | | ✅ | |
| [WeChat Customer Service](/channels/wechat-kf) | ✅ | ✅ | ✅ | ✅ | |
| [Telegram](/channels/telegram) | ✅ | ✅ | ✅ | ✅ | ✅ |
| [Slack](/channels/slack) | ✅ | ✅ | ✅ | | ✅ |
| [Discord](/channels/discord) | ✅ | ✅ | ✅ | | ✅ |

View File

@@ -1,12 +1,12 @@
---
title: WeCom Customer Service
description: Integrate CowAgent into WeCom Customer Service (微信客服)
title: WeChat Customer Service
description: Integrate CowAgent into WeChat Customer Service
---
By binding a WeCom custom enterprise app to a WeCom Customer Service (微信客服) account, CowAgent can take over inbound inquiries from external WeChat users and serve them through links or QR codes embedded in WeChat Mini Programs, Official Accounts, Video Channels, and Video Channel stores.
By binding a WeCom custom enterprise app to a WeChat Customer Service account, CowAgent can take over inbound inquiries from external WeChat users and serve them through links or QR codes embedded in WeChat Mini Programs, Official Accounts, Video Channels, and Video Channel stores.
<Note>
WeCom Customer Service only supports Docker deployment or server Python deployment. A publicly reachable callback URL is required; local run mode is not supported.
WeChat Customer Service only supports Docker deployment or server Python deployment. A publicly reachable callback URL is required; local run mode is not supported.
</Note>
## 1. Prerequisites
@@ -15,7 +15,7 @@ Required resources:
1. A server with a public IP
2. A registered and verified WeCom account
3. WeCom Customer Service capability enabled
3. WeChat Customer Service capability enabled
<Note>
It is recommended to create a **dedicated** WeCom custom app for Customer Service rather than reusing the existing `wechatcom_app` one — otherwise the two channels will compete for the same callback URL.
@@ -49,7 +49,7 @@ Fill in the 4 fields collected from the previous step (Corp ID / Secret / Token
<Tabs>
<Tab title="Web Console">
Start the Cow project and open the Web Console. Go to the **Channels** menu, click **Connect**, choose **WeCom Customer Service**, fill in Corp ID / Secret / Token / AES Key (port defaults to 9888, configurable), and click Connect.
Start the Cow project and open the Web Console. Go to the **Channels** menu, click **Connect**, choose **WeChat Customer Service**, fill in Corp ID / Secret / Token / AES Key (port defaults to 9888, configurable), and click Connect.
<img src="https://cdn.link-ai.tech/doc/cow-weixinkefu-web-control.png" width="800"/>
</Tab>
@@ -92,9 +92,9 @@ Then go back to **Receive Messages → Set API Reception** in the WeCom console
3. Verified WeCom accounts must use a filed domain matching the entity
</Warning>
## 4. Bind a WeCom Customer Service Account
## 4. Bind a WeChat Customer Service Account
In the WeCom Admin Console, go to **WeCom Customer Service**, create a customer service account, and bind it to the custom app you created above:
In the WeCom Admin Console, go to **WeChat Customer Service**, create a customer service account, and bind it to the custom app you created above:
<img src="https://img-1317903499.cos.ap-guangzhou.myqcloud.com/docs/wxcustomer-hosting-step1.jpg" width="600"/>
@@ -102,7 +102,7 @@ In the WeCom Admin Console, go to **WeCom Customer Service**, create a customer
<img src="https://img-1317903499.cos.ap-guangzhou.myqcloud.com/docs/wxcustomer-hosting-step3.jpg" width="600"/>
After binding, go to **WeCom Customer Service → Account Details**, and under **"Access Link"**:
After binding, go to **WeChat Customer Service → Account Details**, and under **"Access Link"**:
- Click **"Copy Link"** to get an access link like `https://work.weixin.qq.com/kfid/kfcd83e5896b9ba07be`
- Click **"Generate QR Code"** to get the corresponding QR code
@@ -117,7 +117,7 @@ After WeChat users enter the customer service conversation via the link or QR co
<img src="https://img-1317903499.cos.ap-guangzhou.myqcloud.com/docs/wxcustomer-hosting-chat-demo.jpg" width="900"/>
Beyond that, leveraging the official WeChat ecosystem, WeCom Customer Service can also be embedded into Official Accounts, Mini Programs, Video Channels and more. See the **WeCom Customer Service → Access Scenarios** section in the [WeCom Admin Console](https://work.weixin.qq.com/wework_admin/frame#/app/servicer) for details:
Beyond that, leveraging the official WeChat ecosystem, WeChat Customer Service can also be embedded into Official Accounts, Mini Programs, Video Channels and more. See the **WeChat Customer Service → Access Scenarios** section in the [WeCom Admin Console](https://work.weixin.qq.com/wework_admin/frame#/app/servicer) for details:
<img src="https://img-1317903499.cos.ap-guangzhou.myqcloud.com/docs/wxcustomer-hosting-interface-demo.png" width="800"/>

View File

@@ -240,6 +240,7 @@
"group": "Release Notes",
"pages": [
"releases/overview",
"releases/v2.1.0",
"releases/v2.0.9",
"releases/v2.0.8",
"releases/v2.0.7",
@@ -453,6 +454,7 @@
"group": "发布记录",
"pages": [
"zh/releases/overview",
"zh/releases/v2.1.0",
"zh/releases/v2.0.9",
"zh/releases/v2.0.8",
"zh/releases/v2.0.7",
@@ -666,6 +668,7 @@
"group": "リリースノート",
"pages": [
"ja/releases/overview",
"ja/releases/v2.1.0",
"ja/releases/v2.0.9",
"ja/releases/v2.0.8",
"ja/releases/v2.0.7",

View File

@@ -190,6 +190,8 @@ CowAgent は主要な LLM プロバイダーすべてに対応しています。
## 🏷 更新履歴
> **2026.06.01:** [v2.1.0](https://github.com/zhayujie/CowAgent/releases/tag/2.1.0) — 国際化対応、新チャネルTelegram、Discord、Slack、WeChat カスタマーサービス、CLI インタラクション強化、ワンライナーインストールの最適化、MCP Streamable HTTP 対応、新モデルclaude-opus-4-8、MiMo
> **2026.05.22:** [v2.0.9](https://github.com/zhayujie/CowAgent/releases/tag/2.0.9) — モデル管理、MCP プロトコル対応、ブラウザセッション永続化、新モデルgpt-5.5、gemini-3.5-flash、qwen3.7-max、デプロイのセキュリティ強化。
> **2026.05.06:** [v2.0.8](https://github.com/zhayujie/CowAgent/releases/tag/2.0.8) — Feishu チャネル全面アップグレード音声、ストリーミング、QR 接続、DeepSeek V4 と Baidu Qianfan 対応、スケジューラツール強化。

View File

@@ -22,6 +22,7 @@ CowAgent は複数のチャットチャネルへの接続に対応しており
| [QQ](/ja/channels/qq) | ✅ | ✅ | ✅ | | ✅ |
| [WeCom アプリ](/ja/channels/wecom) | ✅ | ✅ | ✅ | ✅ | |
| [WeChat 公式アカウント](/ja/channels/wechatmp) | ✅ | ✅ | | ✅ | |
| [WeChat カスタマーサービス](/ja/channels/wechat-kf) | ✅ | ✅ | ✅ | ✅ | |
- **画像 / ファイル / 音声**列は対応するメッセージタイプの送受信に対応していることを示します。詳細は各チャネルのドキュメントを参照してください
- **グループチャット**列はグループメッセージを認識して応答できることを示します

View File

@@ -1,12 +1,12 @@
---
title: WeChat カスタマーサービス
description: CowAgent を 微信客服WeCom Customer Serviceに統合する
title: WeChat Customer Service
description: CowAgent を WeChat Customer Service に統合する
---
WeCom の自建アプリを「微信客服WeCom Customer Service)」アカウントにバインドすることで、CowAgent は外部 WeChat ユーザーからの問い合わせを引き受けることができます。WeChat ミニプログラム、公式アカウント、ビデオチャンネル、ビデオチャンネルストアなどから、リンクや QR コードで WeChat ユーザーに到達できます。
WeCom の自建アプリを WeChat Customer Service アカウントにバインドすることで、CowAgent は外部 WeChat ユーザーからの問い合わせを引き受けることができます。WeChat ミニプログラム、公式アカウント、ビデオチャンネル、ビデオチャンネルストアなどから、リンクや QR コードで WeChat ユーザーに到達できます。
<Note>
WeChat カスタマーサービスは Docker デプロイまたはサーバー Python デプロイのみサポートしており、外部からアクセス可能なコールバック URL が必要です。ローカル実行モードには対応していません。
WeChat Customer Service は Docker デプロイまたはサーバー Python デプロイのみサポートしており、外部からアクセス可能なコールバック URL が必要です。ローカル実行モードには対応していません。
</Note>
## 1. 前提条件
@@ -15,7 +15,7 @@ WeCom の自建アプリを「微信客服WeCom Customer Service」アカ
1. パブリック IP を持つサーバー
2. 登録済みかつ認証済みの WeCom アカウント
3. 「微信客服」機能が有効になっていること
3. WeChat Customer Service 機能が有効になっていること
<Note>
カスタマーサービス専用に **新たな** 企業微信自建アプリを作成することを推奨します。既存の `wechatcom_app` アプリを流用すると、2 つのチャネルが同じコールバック URL を奪い合うことになります。
@@ -49,7 +49,7 @@ WeCom の自建アプリを「微信客服WeCom Customer Service」アカ
<Tabs>
<Tab title="Web コンソール">
Cow プロジェクトを起動した後、Web コンソールを開きます。**チャネル** メニューを選択し、**接入チャネル** をクリックし、**微信客服** を選択して、Corp ID / Secret / Token / AES Key を入力し(ポートはデフォルト 9888、変更可能、接入をクリックします。
Cow プロジェクトを起動した後、Web コンソールを開きます。**チャネル** メニューを選択し、**接入チャネル** をクリックし、**WeChat Customer Service** を選択して、Corp ID / Secret / Token / AES Key を入力し(ポートはデフォルト 9888、変更可能、接入をクリックします。
<img src="https://cdn.link-ai.tech/doc/cow-weixinkefu-web-control.png" width="800"/>
</Tab>
@@ -92,9 +92,9 @@ WeCom の自建アプリを「微信客服WeCom Customer Service」アカ
3. 認証済みの WeCom アカウントは、法人に対応する届け出済みドメインを設定する必要があります
</Warning>
## 4. 微信客服アカウントとのバインド
## 4. WeChat Customer Service アカウントとのバインド
WeCom 管理コンソールの **微信客服** ページに入り、カスタマーサービスアカウントを作成し、上で作成した企業微信自建アプリとバインドします:
WeCom 管理コンソールの **WeChat Customer Service** ページに入り、カスタマーサービスアカウントを作成し、上で作成した WeCom 自建アプリとバインドします:
<img src="https://img-1317903499.cos.ap-guangzhou.myqcloud.com/docs/wxcustomer-hosting-step1.jpg" width="600"/>
@@ -102,7 +102,7 @@ WeCom 管理コンソールの **微信客服** ページに入り、カスタ
<img src="https://img-1317903499.cos.ap-guangzhou.myqcloud.com/docs/wxcustomer-hosting-step3.jpg" width="600"/>
バインド完了後、**微信客服 → 微信客服アカウント詳細** に入り、「**接入リンク**」の項目で:
バインド完了後、**WeChat Customer Service → WeChat Customer Service アカウント詳細** に入り、「**接入リンク**」の項目で:
- 「**リンクをコピー**」をクリックすると、`https://work.weixin.qq.com/kfid/kfcd83e5896b9ba07be` のような接入リンクが取得できます
- 「**QR コード生成**」をクリックすると、対応する QR コードが取得できます
@@ -117,7 +117,7 @@ WeChat ユーザーがリンクや QR コードからカスタマーサービス
<img src="https://img-1317903499.cos.ap-guangzhou.myqcloud.com/docs/wxcustomer-hosting-chat-demo.jpg" width="900"/>
これに加え、WeChat 公式エコシステムの機能に基づき、微信客服を公式アカウント、ミニプログラム、ビデオチャンネルなどの場面でも使用できます。詳細は [WeCom 管理コンソール](https://work.weixin.qq.com/wework_admin/frame#/app/servicer) の **微信客服 → 接入シナリオ** を参照してください:
これに加え、WeChat 公式エコシステムの機能に基づき、WeChat Customer Service を公式アカウント、ミニプログラム、ビデオチャンネルなどの場面でも使用できます。詳細は [WeCom 管理コンソール](https://work.weixin.qq.com/wework_admin/frame#/app/servicer) の **WeChat Customer Service → 接入シナリオ** を参照してください:
<img src="https://img-1317903499.cos.ap-guangzhou.myqcloud.com/docs/wxcustomer-hosting-interface-demo.png" width="800"/>

View File

@@ -5,6 +5,7 @@ description: CowAgent バージョン更新履歴
| バージョン | 日付 | 説明 |
| --- | --- | --- |
| [2.1.0](/ja/releases/v2.1.0) | 2026.06.01 | 国際化対応、Telegram / Discord / Slack / WeChat カスタマーサービスチャネルの追加、CLI インタラクション強化ストリーミング出力、コマンドあいまいマッチング、タスクキャンセル、MCP Streamable HTTP、新モデル追加 |
| [2.0.9](/ja/releases/v2.0.9) | 2026.05.22 | モデル管理機能の追加、MCP プロトコル対応、ブラウザログイン状態の永続化、新モデル追加gpt-5.5、gemini-3.5-flash、qwen3.7-max など)、デプロイ・セキュリティ強化 |
| [2.0.8](/ja/releases/v2.0.8) | 2026.05.06 | Feishu チャネル全面アップグレード(音声、ストリーミング出力と Markdown、QR コードによるワンクリック接続、DeepSeek V4 と百度モデルの追加、スケジュールタスクツールの強化 |
| [2.0.7](/ja/releases/v2.0.7) | 2026.04.22 | 画像生成スキル6 プロバイダー自動ルーティング、新モデル対応Kimi K2.6、Claude Opus 4.7、GLM 5.1、ナレッジベース強化、Web コンソール最適化 |

View File

@@ -0,0 +1,69 @@
---
title: v2.1.0
description: CowAgent 2.1.0 - 国際化対応、Telegram / Discord / Slack / WeChat カスタマーサービスチャネルの追加、CLI インタラクション強化、MCP プロトコル強化、新モデル追加
---
🌐 [English](https://docs.cowagent.ai/releases/v2.1.0) | [中文](https://docs.cowagent.ai/zh/releases/v2.1.0)
## 📱 接続チャネルの追加
今回、主要プラットフォームのチャネルを複数追加。設定すればすぐ使える、すぐ接続可能です:
- **Telegram Bot**Telegram ボットに接続、テキストとマルチメディアメッセージに対応
- **Discord Bot**Discord ボットに接続、チャンネルおよび DM で対話可能
- **Slack Bot**Slack ボットに接続、チームのワークフローに統合
- **WeChat カスタマーサービス**WeChat カスタマーサービスチャネルを新設。画像・ファイルの受信に対応し、自動で次のターンに統合。マルチメディアのコンテキスト体験が他チャネルと同等に。Thanks [@6vision](https://github.com/6vision) (#2840)
ドキュメント:[チャネル概要](https://docs.cowagent.ai/ja/channels)
## 🌍 国際化対応
CowAgent は全世界の開発者に向けたエンドツーエンドの国際化フレームワークを導入。システム言語に応じて自動で適応します:
- **エンドツーエンドのローカライズ**インストールガイド、CLI、ログとエラー、Agent システムプロンプトなどがローカライズに対応
- **言語の自動判定**:デフォルトの `auto` モードはシステムロケールから判定。`config.json` の `cow_lang` で明示的に指定も可能。まずは英語と中国語に対応し、今後さらに多くの言語を拡充予定
- **コンソールでワンクリック切り替え**Web コンソールでシステム言語をオンライン切り替え可能、リアルタイムで反映
## ⌨️ CLI インタラクション強化
- **ワンライナーインストールの最適化**:インストールスクリプトを簡素化し、対話的なセットアップに対応——言語を選択でき、ガイドに沿ってモデルとチャンネルも任意で選択可能。数分でデプロイして利用開始できます
- **ストリーミング出力**Terminal チャネルが Agent モードの推論過程、ツール呼び出し、ストリーミング返信をリアルタイムに表示
- **コマンドのあいまいマッチング**コマンドの省略形や近似タイポの自動サジェストに対応。よく使うショートカットを内蔵し、設定ファイルでカスタムエイリアスも定義可能。Thanks [@lyteen](https://github.com/lyteen) (#2850)
- **タスクのキャンセル対応**:実行中の Agent タスクを能動的に中断可能。Web 端に中止ボタンを追加、その他のチャネルでは `/cancel` を送信して中止
ドキュメント:[CLI ガイド](https://docs.cowagent.ai/ja/cli/general)
## 🧩 MCP プロトコル強化
MCP ツールが **Streamable HTTP** 伝送に新対応。既存の `stdio`・`sse` に加え、より多くの MCP サービスに互換となり、ストリーミング HTTP プロトコルを用いるリモートツールへ直接接続できます。
ドキュメント:[MCP ツール](https://docs.cowagent.ai/ja/tools/mcp)
## 🤖 モデル追加と最適化
- **モデル新規追加**`claude-opus-4-8`、Xiaomi `MiMo`
- **モデル最適化**:一部モデルが返すツール呼び出し引数の JSON 解析に失敗する問題を修正 (#2823)
ドキュメント:[モデル概要](https://docs.cowagent.ai/ja/models)
## 🧠 記憶と検索の最適化
- **キーワード検索の最適化**:中国語キーワード検索のヒット率が低い問題、純英語キーワードでクエリ結果が空になる問題を修正
- **ベクトル検索の強化**ベクトル検索フローを最適化し、Python バージョン互換性を向上
Thanks [@yangluxin613](https://github.com/yangluxin613) (#2832)
## 🛠 体験改善と修正
- **ファイルアクセスの限定**Web 端のファイル読み取り・送信をデフォルトでユーザーホームディレクトリと Agent ワークスペース内に限定し、任意ファイル読み取りを防止。`web_file_serve_root` で範囲を拡張可能
- **スケジュールタスクの安定化**:個人 WeChat チャネルで再起動後にスケジュールタスクの配信が失効する問題を修正
- **ブラウザツール**:ナビゲーション URL の非 HTTP スキームが破棄される問題を修正、ブラウザのメモリ使用量を最適化
- **WeChat 公式アカウント**:パッシブ返信でキャッシュ済みテキストセグメントの結合、タスク実行中の準備完了セグメントの先行配信、ローカル `file://` 画像の送信に対応。Thanks [@6vision](https://github.com/6vision) (#2848)
- **WeCom ボットの応答高速化**コールバックを非同期ディスパッチに変更し、WeCom の 5 秒タイムアウトによるメッセージ欠落を回避
- **ログインの堅牢化**`web_password` が文字列でない場合にログインエラーになる問題を修正
## 📦 アップグレード方法
ソースコードデプロイは `cow update` でワンクリックアップグレード、または最新コードを手動で pull して再起動してください。詳細は [アップグレードガイド](https://docs.cowagent.ai/ja/guide/upgrade) を参照。
**リリース日**2026.06.01 | [Full Changelog](https://github.com/zhayujie/CowAgent/compare/2.0.9...2.1.0)

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)

View File

@@ -191,6 +191,8 @@ CowAgent 支持国内外主流厂商的大语言模型。**文本对话、图像
## 🏷 更新日志
> **2026.06.01** [v2.1.0](https://github.com/zhayujie/CowAgent/releases/tag/2.1.0) — 国际化支持、新增通道Telegram、Discord、Slack、微信客服、命令行交互升级、一键安装脚本优化、MCP Streamable HTTP 支持、新模型接入claude-opus-4-8、MiMo
> **2026.05.22** [v2.0.9](https://github.com/zhayujie/CowAgent/releases/tag/2.0.9) — 模型管理、MCP 协议支持、浏览器登录态持久化、新模型接入gpt-5.5、gemini-3.5-flash、qwen3.7-max、部署安全加固
> **2026.05.06** [v2.0.8](https://github.com/zhayujie/CowAgent/releases/tag/2.0.8) — 飞书渠道全面升级语音、流式输出、扫码接入、新模型支持DeepSeek V4、百度千帆、定时任务工具增强

View File

@@ -19,6 +19,7 @@ CowAgent 支持接入多种聊天通道,启动时通过 `channel_type` 切换
| [QQ](/zh/channels/qq) | ✅ | ✅ | ✅ | | ✅ |
| [企业微信应用](/zh/channels/wecom) | ✅ | ✅ | ✅ | ✅ | |
| [公众号](/zh/channels/wechatmp) | ✅ | ✅ | | ✅ | |
| [微信客服](/zh/channels/wechat-kf) | ✅ | ✅ | ✅ | ✅ | |
| [Telegram](/zh/channels/telegram) | ✅ | ✅ | ✅ | ✅ | ✅ |
| [Slack](/zh/channels/slack) | ✅ | ✅ | ✅ | | ✅ |
| [Discord](/zh/channels/discord) | ✅ | ✅ | ✅ | | ✅ |

View File

@@ -1,6 +1,6 @@
---
title: 微信客服
description: 将 CowAgent 接入微信客服WeCom Customer Service
description: 将 CowAgent 接入微信客服WeChat Customer Service
---
通过把企业微信自建应用绑定到「微信客服」账号CowAgent 可以接管来自外部微信用户的客服咨询,并可在小程序、公众号、视频号及视频号小店等场景中通过链接或二维码触达微信用户。

View File

@@ -5,6 +5,7 @@ description: CowAgent 版本更新历史
| 版本 | 日期 | 说明 |
| --- | --- | --- |
| [2.1.0](/zh/releases/v2.1.0) | 2026.06.01 | 国际化支持、新增 Telegram / Discord / Slack / 微信客服通道、命令行交互升级流式输出、命令模糊匹配、任务取消、MCP Streamable HTTP、新模型接入 |
| [2.0.9](/zh/releases/v2.0.9) | 2026.05.22 | 新增模型管理、MCP 协议支持、浏览器登录态持久化、新模型接入gpt-5.5、gemini-3.5-flash、qwen3.7-max 等)、部署安全加固 |
| [2.0.8](/zh/releases/v2.0.8) | 2026.05.06 | 飞书渠道全面升级语音、流式输出和Markdown、扫码一键接入、DeepSeek V4和百度模型新增、定时任务工具增强 |
| [2.0.7](/zh/releases/v2.0.7) | 2026.04.22 | 图像生成技能六厂商自动路由、新模型支持Kimi K2.6、Claude Opus 4.7、GLM 5.1、知识库增强、Web 控制台优化 |

View File

@@ -0,0 +1,68 @@
---
title: v2.1.0
description: CowAgent 2.1.0 - 国际化支持、新增 Telegram / Discord / Slack / 微信客服通道、命令行交互升级、MCP协议增强、新模型接入
---
🌐 [English](https://docs.cowagent.ai/releases/v2.1.0) | [中文](https://docs.cowagent.ai/zh/releases/v2.1.0)
## 📱 新增接入通道
本次新增多个主流平台通道,配置即用,开箱接入:
- **Telegram Bot**:接入 Telegram 机器人,支持文本与多媒体消息
- **Discord Bot**:接入 Discord 机器人,可在频道与私信中对话
- **Slack Bot**:接入 Slack 机器人,融入团队协作场景
- **微信客服**新增微信客服通道支持接收图片与文件并自动并入下一轮对话多媒体上下文体验对齐其它通道。Thanks @6vision (#2840)
相关文档:[通道概览](https://docs.cowagent.ai/zh/channels)
## 🌍 国际化支持
CowAgent 引入全链路国际化框架,面向全球开发者,支持根据系统语言自动适配:
- **全链路本地化**安装引导、命令行、日志和报错、Agent 系统提示词等均已支持本地化语言适配
- **自动识别语言**:默认 `auto` 模式按系统语言自动判断,也可在 `config.json` 中通过 `cow_lang` 显式配置。首批提供英文与中文,后续将持续扩充更多语言。
- **控制台一键切换**Web 控制台支持在线切换系统语言,实时生效
## ⌨️ 命令行交互升级
- **一键安装脚本优化**:安装脚本简化流程并支持交互式配置——可选择语言,并在引导中按需选择模型与通道,几分钟即可完成部署
- **流式输出体验**Terminal 通道支持 Agent 模式的推理过程、工具调用与流式回复
- **命令模糊匹配**支持命令缩写及近似拼写自动提示内置常用快捷指令并可在配置文件中自定义别名。Thanks @lyteen (#2850)
- **支持任务取消**Agent 任务执行中可主动中断Web 端新增中止按钮,其他通道可发送 `/cancel` 进行中止
相关文档:[命令行指南](https://docs.cowagent.ai/zh/cli/general)
## 🧩 MCP 协议增强
MCP 工具新增对 **Streamable HTTP** 传输的支持,在原有 `stdio` 和 `sse` 基础上进一步兼容更多 MCP 服务,可直接接入采用流式 HTTP 协议的远程工具。
相关文档:[MCP 工具](https://docs.cowagent.ai/zh/tools/mcp)
## 🤖 模型新增与优化
- **模型新增**`claude-opus-4-8`、小米 `MiMo`
- **模型优化**:修复部分模型的工具调用参数 JSON 解析失败问题 (#2823)
相关文档:[模型概览](https://docs.cowagent.ai/zh/models)
## 🧠 记忆与检索优化
- **关键词检索优化**:修复中文关键词搜索命中率低、纯英文关键词出现查询为空的问题
- **向量检索增强**:优化向量检索流程,并提升 Python 版本兼容性
Thanks @yangluxin613 (#2832)
## 🛠 体验优化与修复
- **文件访问收敛**Web 端文件读取与发送默认限制在用户主目录及 Agent 工作空间内,防止任意文件读取,可通过 `web_file_serve_root` 配置放开范围
- **定时任务更稳定**:修复定时任务推送在个人微信通道重启后失效的问题
- **浏览器工具**:修复导航 URL 中非 http 协议被丢弃的问题;优化浏览器内存占用
- **微信公众号**:被动回复支持合并缓存文本片段、任务执行中先行下发已就绪片段、支持发送本地 `file://` 图片。Thanks @6vision (#2848)
- **企微机器人响应提速**:回调改为异步分发,避免企微 5 秒超时导致的消息丢失
- **登录鲁棒性**:修复 `web_password` 为非字符串时登录报错的问题
## 📦 升级方式
源码部署可执行 `cow update` 一键升级,或手动拉取代码后重启。详见 [更新升级文档](https://docs.cowagent.ai/zh/guide/upgrade)。
**发布日期**2026.06.01 | [Full Changelog](https://github.com/zhayujie/CowAgent/compare/2.0.9...2.1.0)