openclaw-lark-multi-agent 1.0.20 → 1.0.22
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/feishu-bot.d.ts +19 -0
- package/dist/feishu-bot.js +363 -53
- package/dist/live-status.d.ts +56 -0
- package/dist/live-status.js +184 -0
- package/dist/message-store.d.ts +6 -0
- package/dist/message-store.js +38 -0
- package/dist/openclaw-client.d.ts +15 -0
- package/dist/openclaw-client.js +31 -8
- package/package.json +1 -1
package/dist/feishu-bot.d.ts
CHANGED
|
@@ -73,6 +73,11 @@ export declare class FeishuBot {
|
|
|
73
73
|
static getByName(name: string): FeishuBot | undefined;
|
|
74
74
|
static findByOpenId(openId: string): FeishuBot | undefined;
|
|
75
75
|
private handleMessage;
|
|
76
|
+
private shouldUseLiveStatus;
|
|
77
|
+
private getUnhealthySessionStatus;
|
|
78
|
+
private warnUnhealthySessionAndContinue;
|
|
79
|
+
private stopForUnhealthySession;
|
|
80
|
+
private withSessionHealthMonitor;
|
|
76
81
|
/**
|
|
77
82
|
* Process queued messages for a chat: batch all unsynced messages and send to OpenClaw.
|
|
78
83
|
* Loops until no more unsynced human messages remain.
|
|
@@ -106,11 +111,25 @@ export declare class FeishuBot {
|
|
|
106
111
|
private dispatchPendingDeliveries;
|
|
107
112
|
private hasFreeModeBot;
|
|
108
113
|
private mentionedBotNames;
|
|
114
|
+
private mentionedBotNamesFromChairmanText;
|
|
115
|
+
/**
|
|
116
|
+
* Resolve the target bot name(s) for a /chairman command using every signal
|
|
117
|
+
* available, in priority order:
|
|
118
|
+
* 1. Feishu mention metadata (app_id / open_id / name).
|
|
119
|
+
* 2. Text fallback: "@Bot" or "Bot" written in the message body.
|
|
120
|
+
*
|
|
121
|
+
* This keeps /chairman working even when a Feishu client or bridge omits
|
|
122
|
+
* mention metadata. Returns a de-duplicated, order-preserving list.
|
|
123
|
+
*/
|
|
124
|
+
private resolveChairmanTargets;
|
|
109
125
|
private isDiscussionCoordinator;
|
|
110
126
|
private getDiscussionParticipants;
|
|
111
127
|
private getChairmanParticipant;
|
|
112
128
|
private asDiscussionParticipant;
|
|
113
129
|
private runDiscussionTurn;
|
|
130
|
+
private replyTextMessage;
|
|
131
|
+
private editTextMessage;
|
|
132
|
+
private deleteMessageById;
|
|
114
133
|
private replyMessage;
|
|
115
134
|
private extractBridgeAttachments;
|
|
116
135
|
private pushBridgeAttachment;
|