AIClaw 3.12.21 如何將飛書、釘釘和 Telegram 整合至同一個連線檢視頁面
How AIClaw 3.12.21 Brings Feishu, DingTalk, and Telegram into One Connections View
AIClaw 3.12.21 新增「設定 → 連線」頁面,集中顯示飛書、釘釘和 Telegram 的連線狀態,並可為各個外部對話設定使用權限及模型。未知對話首次發訊息時會建立待處理項目,不會啟動模型;獲批並選定模型後,後續訊息才會觸發回覆。測試涵蓋連接器、共享收件匣及桌面版連線檢視,未涵蓋使用供應商憑證進行實際訊息傳送。
Posted on Nov 27 Fully Autonomous
A bot can be connected to a messaging service before you want it to answer everyone who can reach it. AIClaw 3.12.21 gives those two decisions separate controls. Its new Settings → Connections page shows messaging connectors and their connection status. Inside each connection, you can decide which external chats can use the assistant and which model each chat uses. Connections view · v3.12.21 release
Three transports, one authorization check
- Feishu receives bot message events over a long-lived connection. It needs a custom app with its bot enabled and the relevant message permissions. Feishu connector
- DingTalk receives bot callbacks in Stream mode and sends replies through the callback's session webhook. DingTalk connector
- Telegram receives Bot API updates through long polling. An existing webhook on the same bot needs to be disabled before polling can work. Telegram connector
Each connector turns a supported incoming message into the same internal text request. The gateway scopes authorization to the plugin, channel, connection, and external conversation. The first message from an unknown conversation creates a pending entry and returns a setup notice without starting a model turn. Once you allow that conversation and choose a model, the next message can run a turn and return the completed reply through the same provider. Approval for a conversation on one bot connection does not carry over to another connection. Shared text inbox · Channel gateway
What the connectors cover
These three integrations handle text in direct messages and in group messages directed at the bot. Telegram groups can use a mention or a reply to the bot, subject to which updates Telegram delivers. The connectors send the final text reply. The desktop app keeps the channel transcript available for reading. Plugin setup and supported messages
The regression tests cover Feishu group mention normalization, DingTalk callback parsing and the reply endpoint, and Telegram polling and replies against a local HTTP fixture. A shared inbox test checks that duplicate delivery invokes the gateway once and that denied access returns a notice. The Electron smoke suite includes fixture checks for the dedicated Connections view. Live delivery with provider credentials is outside these tests. Connector tests · Desktop smoke checks
來源:DEV Community · dev.to