@wu529778790/open-im 1.11.4-beta.13 → 1.11.4-beta.14
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/clawbot/client.js +3 -2
- package/package.json +1 -1
package/dist/clawbot/client.js
CHANGED
|
@@ -261,8 +261,9 @@ async function extractImages(msg) {
|
|
|
261
261
|
log.warn('Image item missing full_url/cdn_url');
|
|
262
262
|
continue;
|
|
263
263
|
}
|
|
264
|
-
// AES key:
|
|
265
|
-
|
|
264
|
+
// AES key: aeskey 字段是 hex 格式,media.aes_key 是 base64 格式
|
|
265
|
+
// decryptAes256CbcMedia 需要 hex 格式的 key
|
|
266
|
+
const aesKey = imageItem?.aeskey;
|
|
266
267
|
try {
|
|
267
268
|
// Download from CDN
|
|
268
269
|
const response = await fetch(imageUrl, { signal: AbortSignal.timeout(30_000) });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wu529778790/open-im",
|
|
3
|
-
"version": "1.11.4-beta.
|
|
3
|
+
"version": "1.11.4-beta.14",
|
|
4
4
|
"description": "Your AI coding assistant, in every chat app. Multi-platform IM bridge for Claude Code, Codex, and CodeBuddy.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|