larkin 0.2.77 → 0.2.78

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.
@@ -711,6 +711,9 @@ function createHostShell({ env = process.env, runtimeHost, channelPackage, event
711
711
  domain: agent.feishuDomain || "https://open.feishu.cn",
712
712
  source: "larkin",
713
713
  policy: { dmMode: "open", requireMention: false, respondToMentionAll: true },
714
+ // issue #88:关闭 SDK 的防抖批量合并(默认 600ms),逐条投递,
715
+ // 保证 messageId/threadId/发送者与内容、提及永远同源(见 #66)。
716
+ batch: { text: { delayMs: 0 } },
714
717
  handshakeTimeoutMs: 15_000,
715
718
  keepalive: {
716
719
  enabled: true,
@@ -823,6 +826,9 @@ function createHostShell({ env = process.env, runtimeHost, channelPackage, event
823
826
  domain: agent.feishuDomain || "https://open.feishu.cn",
824
827
  source: "larkin",
825
828
  policy: { dmMode: "open", requireMention: false, respondToMentionAll: true },
829
+ // issue #88:关闭 SDK 的防抖批量合并(默认 600ms),逐条投递,
830
+ // 保证 messageId/threadId/发送者与内容、提及永远同源(见 #66)。
831
+ batch: { text: { delayMs: 0 } },
826
832
  handshakeTimeoutMs: 15_000,
827
833
  keepalive: { enabled: true, intervalMs: 15_000 },
828
834
  includeRawEvent: true,
@@ -671,6 +671,9 @@ export function createHostShell({ env = process.env, runtimeHost, channelPackage
671
671
  domain: agent.feishuDomain || "https://open.feishu.cn",
672
672
  source: "larkin",
673
673
  policy: { dmMode: "open", requireMention: false, respondToMentionAll: true },
674
+ // issue #88:关闭 SDK 的防抖批量合并(默认 600ms),逐条投递,
675
+ // 保证 messageId/threadId/发送者与内容、提及永远同源(见 #66)。
676
+ batch: { text: { delayMs: 0 } },
674
677
  handshakeTimeoutMs: 15_000,
675
678
  keepalive: {
676
679
  enabled: true,
@@ -783,6 +786,9 @@ export function createHostShell({ env = process.env, runtimeHost, channelPackage
783
786
  domain: agent.feishuDomain || "https://open.feishu.cn",
784
787
  source: "larkin",
785
788
  policy: { dmMode: "open", requireMention: false, respondToMentionAll: true },
789
+ // issue #88:关闭 SDK 的防抖批量合并(默认 600ms),逐条投递,
790
+ // 保证 messageId/threadId/发送者与内容、提及永远同源(见 #66)。
791
+ batch: { text: { delayMs: 0 } },
786
792
  handshakeTimeoutMs: 15_000,
787
793
  keepalive: { enabled: true, intervalMs: 15_000 },
788
794
  includeRawEvent: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larkin",
3
- "version": "0.2.77",
3
+ "version": "0.2.78",
4
4
  "private": false,
5
5
  "larkinPackageRole": "npm-published",
6
6
  "files": [