@vrs-soft/wecom-aibot-mcp 3.2.4 → 3.2.5
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 -0
- package/package.json +1 -1
package/dist/channel-server.js
CHANGED
|
@@ -95,6 +95,7 @@ async function sendWecomMediaFromFile(args) {
|
|
|
95
95
|
'X-Target-User': args.target_user,
|
|
96
96
|
'X-Media-Type': args.media_type,
|
|
97
97
|
'X-Filename': encodeURIComponent(filename),
|
|
98
|
+
'X-Cc-Id': args.cc_id, // v3.2.5: daemon 用 ccId 查 registry 找到正确的 robot(群聊必须用 CC 自己的机器人)
|
|
98
99
|
};
|
|
99
100
|
if (MCP_AUTH_TOKEN)
|
|
100
101
|
headers['Authorization'] = `Bearer ${MCP_AUTH_TOKEN}`;
|