palz-connector 1.4.2 → 1.4.3

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.4.2",
4
+ "version": "1.4.3",
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.4.2",
3
+ "version": "1.4.3",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "description": "Palz IM 接入 OpenClaw — 模块化架构,基于 OpenClaw Runtime 消息管道",
package/src/bot.ts CHANGED
@@ -548,6 +548,9 @@ async function _dispatchPalzMessageInner(params: HandlePalzMessageParams): Promi
548
548
  if (msg.lobster_name) {
549
549
  untrustedContext.push(`lobster_name: ${msg.lobster_name}`);
550
550
  }
551
+ if (msg.lobster_type) {
552
+ untrustedContext.push(`lobster_type: ${msg.lobster_type}`);
553
+ }
551
554
  if (msg.sender_account_type) {
552
555
  untrustedContext.push(`sender_account_type: ${msg.sender_account_type}`);
553
556
  }
package/src/types.ts CHANGED
@@ -45,6 +45,8 @@ export interface PalzMessageEvent {
45
45
  resource_id?: string;
46
46
  /** Lobster 名称,由 IM 下发 */
47
47
  lobster_name?: string;
48
+ /** Lobster 类型,由 IM 下发 */
49
+ lobster_type?: string;
48
50
  /** 发送者账号类型,由 IM 下发 */
49
51
  sender_account_type?: string;
50
52
  /** W3C Trace Context traceparent,由 IM 上游传递 */