@vibe-lark/larkpal 0.1.15 → 0.1.16

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.
Files changed (2) hide show
  1. package/dist/main.mjs +3 -1
  2. package/package.json +1 -1
package/dist/main.mjs CHANGED
@@ -12462,7 +12462,9 @@ async function main() {
12462
12462
  }
12463
12463
  }
12464
12464
  });
12465
- if (queueStatus === "queued") {
12465
+ const chatType = event.message?.chat_type;
12466
+ const hasBotMention = (event.message?.mentions ?? []).some((m) => m.id?.open_id === larkClient.botOpenId);
12467
+ if (queueStatus === "queued" && (chatType === "p2p" || hasBotMention)) {
12466
12468
  logger.info("消息已排队,发送排队占位卡片", {
12467
12469
  msgId,
12468
12470
  chatId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-lark/larkpal",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "LarkPal - Lark/Feishu bot service",
5
5
  "type": "module",
6
6
  "main": "./dist/main.mjs",