openclaw-lark-multi-agent 1.8.3 → 1.8.4
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.js +16 -0
- package/package.json +1 -1
package/dist/feishu-bot.js
CHANGED
|
@@ -3112,6 +3112,22 @@ export class FeishuBot {
|
|
|
3112
3112
|
else {
|
|
3113
3113
|
this.store.markDeliveryTextDelivered(item.id);
|
|
3114
3114
|
}
|
|
3115
|
+
// Proactive deliveries have no trigger-reply recording path, so
|
|
3116
|
+
// without this row other bots' context sync never sees them
|
|
3117
|
+
// (2026-10-16 blind spot: an audit reply delivered to Feishu but
|
|
3118
|
+
// invisible to every other group member). The deterministic id
|
|
3119
|
+
// keyed by deliveryKey keeps crash-retries idempotent; the unique
|
|
3120
|
+
// constraint turns a replay into a no-op.
|
|
3121
|
+
if (String(item.deliveryKey || "").startsWith("proactive:")) {
|
|
3122
|
+
this.store.insert({
|
|
3123
|
+
chatId,
|
|
3124
|
+
messageId: `self-${this.config.name}-proactive-${item.deliveryKey}`,
|
|
3125
|
+
senderType: "bot",
|
|
3126
|
+
senderName: this.config.name,
|
|
3127
|
+
content: item.content,
|
|
3128
|
+
timestamp: Date.now(),
|
|
3129
|
+
});
|
|
3130
|
+
}
|
|
3115
3131
|
}
|
|
3116
3132
|
// Attachments are independent from status-card cleanup. An unpatchable
|
|
3117
3133
|
// or deleted status card must never block otherwise-sendable files.
|