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.
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/bot.ts +3 -0
- package/src/types.ts +2 -0
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
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 上游传递 */
|