@vrs-soft/wecom-aibot-mcp 2.4.10 → 2.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/channel-server.js +1 -1
- package/package.json +1 -1
package/dist/channel-server.js
CHANGED
|
@@ -605,7 +605,7 @@ export async function startChannelServer() {
|
|
|
605
605
|
tools: {},
|
|
606
606
|
},
|
|
607
607
|
// 告知 Claude 如何处理 channel 事件
|
|
608
|
-
instructions: '企业微信消息通过 <channel> 标签推送。属性说明:from=发送者userid, chatid=会话ID(单聊=用户ID,群聊=群ID), chattype=single|group, cc_id
|
|
608
|
+
instructions: '企业微信消息通过 <channel> 标签推送。属性说明:from=发送者userid, chatid=会话ID(单聊=用户ID,群聊=群ID), chattype=single|group, cc_id=当前会话标识。【强制规则】收到任何用户消息后,必须先执行步骤1再执行步骤2,禁止跳过:1) 立即发送确认 send_message(cc_id, "收到,正在处理...", target_user=chatid);2) 处理任务;3) 发送结果 send_message(cc_id, "【完成】...", target_user=chatid)。',
|
|
609
609
|
});
|
|
610
610
|
// 注册工具
|
|
611
611
|
registerChannelTools(mcpServer);
|