palz-connector 1.6.0 → 1.6.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "palz-connector",
3
3
  "name": "Palz Connector Channel",
4
- "version": "1.6.0",
4
+ "version": "1.6.2",
5
5
  "description": "Palz IM 接入 OpenClaw",
6
6
  "channels": [
7
7
  "palz-connector"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palz-connector",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "description": "Palz IM 接入 OpenClaw — 模块化架构,基于 OpenClaw Runtime 消息管道",
package/src/bot.js CHANGED
@@ -590,6 +590,9 @@ async function _dispatchPalzMessageInner(params) {
590
590
  if (msg.group_name) {
591
591
  untrustedContext.push(`group_name: ${msg.group_name}`);
592
592
  }
593
+ if (msg.group_members_list) {
594
+ untrustedContext.push(`group_members_list: ${msg.group_members_list}`);
595
+ }
593
596
  if (msg.group_owner_id) {
594
597
  untrustedContext.push(`group_owner_id: ${msg.group_owner_id}`);
595
598
  }
package/src/send.js CHANGED
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { tracer, trace, SpanStatusCode, buildTraceparentHeader } from "./tracing.js";
8
8
  import { contentPartsToOpenAIContent } from "./content.js";
9
- const SEND_TIMEOUT_MS = 20_000;
9
+ const SEND_TIMEOUT_MS = 40_000;
10
10
  /**
11
11
  * IM 后端转调腾讯 IM SDK 时可能命中内容风控(敏感词),此时 HTTP 200 但 body
12
12
  * `{ok:false, error:"...(code: 80001)"}`。用专用错误类型把它和普通发送失败区分开,