@openclaw/feishu 2026.5.19 → 2026.5.20-beta.1

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 (32) hide show
  1. package/dist/{accounts-QNGhjZeI.js → accounts-CRcvqpsl.js} +1 -1
  2. package/dist/api.js +7 -7
  3. package/dist/{channel-jWQWT5js.js → channel-Bp7ymPWB.js} +13 -13
  4. package/dist/channel-plugin-api.js +1 -1
  5. package/dist/{channel.runtime-Dmq7DpnS.js → channel.runtime-XZ7zJ94y.js} +6 -6
  6. package/dist/{client-B18oTGHf.js → client-BnH2fRL2.js} +1 -1
  7. package/dist/contract-api.js +5 -5
  8. package/dist/{drive-CzLQuxes.js → drive-DMbtRzY9.js} +2 -2
  9. package/dist/{monitor-CfcgF5DQ.js → monitor-hRXS1KtT.js} +3 -3
  10. package/dist/{monitor.account-Cg_HyFTF.js → monitor.account-DVS7oJ5P.js} +15 -15
  11. package/dist/{monitor.state-D6ByOM5W.js → monitor.state-CxrHFQX2.js} +1 -1
  12. package/dist/{probe-DpPNslkb.js → probe-Da81t6a5.js} +2 -2
  13. package/dist/runtime-api.js +1 -1
  14. package/dist/secret-contract-api.js +1 -1
  15. package/dist/{security-audit-BzTLFO6g.js → security-audit-BIeA3W3Q.js} +1 -1
  16. package/dist/security-contract-api.js +1 -1
  17. package/dist/{send-DYLn9mIe.js → send-BxqsPC2h.js} +5 -5
  18. package/dist/{session-conversation-DIuxgPQi.js → session-conversation-CZSMgac-.js} +1 -1
  19. package/dist/session-key-api.js +1 -1
  20. package/dist/setup-api.js +1 -1
  21. package/dist/subagent-hooks-api.js +2 -2
  22. package/dist/{subagent-hooks-DTTHB-s3.js → subagent-hooks-fuyBHOVu.js} +4 -4
  23. package/package.json +4 -4
  24. /package/dist/{app-registration-BVQ8zzYj.js → app-registration-BZSSYX1J.js} +0 -0
  25. /package/dist/{audio-preflight.runtime-qKoiXN6J.js → audio-preflight.runtime-BBfC9elv.js} +0 -0
  26. /package/dist/{conversation-id-Byq1c20x.js → conversation-id-DuL575sn.js} +0 -0
  27. /package/dist/{rolldown-runtime-DUslC3ob.js → rolldown-runtime-8H4AJuhK.js} +0 -0
  28. /package/dist/{runtime-Cc16UY23.js → runtime-C5JxBWZp.js} +0 -0
  29. /package/dist/{secret-contract-DIpADEx7.js → secret-contract-ChjJKAJ9.js} +0 -0
  30. /package/dist/{security-audit-shared-B6kEakHj.js → security-audit-shared-BIHeF-S_.js} +0 -0
  31. /package/dist/{targets-Bb05cFr4.js → targets-BUjQ1TcA.js} +0 -0
  32. /package/dist/{thread-bindings-MLidevCB.js → thread-bindings-D24m3Cjy.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
2
2
  import { isRecord, normalizeOptionalString, readStringValue } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  import { DEFAULT_ACCOUNT_ID, createAccountListHelpers, hasConfiguredAccountValue, normalizeAccountId, normalizeOptionalAccountId, resolveMergedAccountConfig } from "openclaw/plugin-sdk/account-resolution";
4
4
  import { coerceSecretRef } from "openclaw/plugin-sdk/provider-auth";
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
- import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, n as buildFeishuModelOverrideParentCandidates, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-Byq1c20x.js";
2
- import { n as getFeishuThreadBindingManager, r as testing, t as createFeishuThreadBindingManager } from "./thread-bindings-MLidevCB.js";
3
- import { n as handleFeishuSubagentEnded, r as handleFeishuSubagentSpawning, t as handleFeishuSubagentDeliveryTarget } from "./subagent-hooks-DTTHB-s3.js";
4
- import { r as listEnabledFeishuAccounts } from "./accounts-QNGhjZeI.js";
5
- import { a as setFeishuNamedAccountEnabled, i as feishuSetupAdapter, n as feishuSetupWizard, r as runFeishuLogin, t as feishuPlugin } from "./channel-jWQWT5js.js";
6
- import { t as getFeishuRuntime } from "./runtime-Cc16UY23.js";
7
- import { a as jsonToolResult, d as registerFeishuChatTools, f as createFeishuToolClient, m as resolveFeishuToolAccount, n as registerFeishuDriveTools, o as toolExecutionErrorResult, p as resolveAnyEnabledFeishuToolsConfig, s as unknownToolActionResult } from "./drive-CzLQuxes.js";
1
+ import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, n as buildFeishuModelOverrideParentCandidates, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-DuL575sn.js";
2
+ import { n as getFeishuThreadBindingManager, r as testing, t as createFeishuThreadBindingManager } from "./thread-bindings-D24m3Cjy.js";
3
+ import { n as handleFeishuSubagentEnded, r as handleFeishuSubagentSpawning, t as handleFeishuSubagentDeliveryTarget } from "./subagent-hooks-fuyBHOVu.js";
4
+ import { r as listEnabledFeishuAccounts } from "./accounts-CRcvqpsl.js";
5
+ import { a as setFeishuNamedAccountEnabled, i as feishuSetupAdapter, n as feishuSetupWizard, r as runFeishuLogin, t as feishuPlugin } from "./channel-Bp7ymPWB.js";
6
+ import { t as getFeishuRuntime } from "./runtime-C5JxBWZp.js";
7
+ import { a as jsonToolResult, d as registerFeishuChatTools, f as createFeishuToolClient, m as resolveFeishuToolAccount, n as registerFeishuDriveTools, o as toolExecutionErrorResult, p as resolveAnyEnabledFeishuToolsConfig, s as unknownToolActionResult } from "./drive-DMbtRzY9.js";
8
8
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, readStringValue } from "openclaw/plugin-sdk/string-coerce-runtime";
9
9
  import { existsSync } from "node:fs";
10
10
  import { homedir } from "node:os";
@@ -1,10 +1,10 @@
1
- import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, n as buildFeishuModelOverrideParentCandidates, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-Byq1c20x.js";
2
- import { n as looksLikeFeishuId, r as normalizeFeishuTarget, t as detectIdType } from "./targets-Bb05cFr4.js";
3
- import { a as resolveDefaultFeishuAccountId, f as isRecord$1, i as listFeishuAccountIds, n as inspectFeishuCredentials, o as resolveFeishuAccount, r as listEnabledFeishuAccounts, s as resolveFeishuRuntimeAccount } from "./accounts-QNGhjZeI.js";
4
- import { t as messageActionTargetAliases } from "./security-audit-BzTLFO6g.js";
5
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-DIpADEx7.js";
6
- import { t as collectFeishuSecurityAuditFindings } from "./security-audit-shared-B6kEakHj.js";
7
- import { t as resolveFeishuSessionConversation } from "./session-conversation-DIuxgPQi.js";
1
+ import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, n as buildFeishuModelOverrideParentCandidates, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-DuL575sn.js";
2
+ import { n as looksLikeFeishuId, r as normalizeFeishuTarget, t as detectIdType } from "./targets-BUjQ1TcA.js";
3
+ import { a as resolveDefaultFeishuAccountId, f as isRecord$1, i as listFeishuAccountIds, n as inspectFeishuCredentials, o as resolveFeishuAccount, r as listEnabledFeishuAccounts, s as resolveFeishuRuntimeAccount } from "./accounts-CRcvqpsl.js";
4
+ import { t as messageActionTargetAliases } from "./security-audit-BIeA3W3Q.js";
5
+ import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-ChjJKAJ9.js";
6
+ import { t as collectFeishuSecurityAuditFindings } from "./security-audit-shared-BIHeF-S_.js";
7
+ import { t as resolveFeishuSessionConversation } from "./session-conversation-CZSMgac-.js";
8
8
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
9
9
  import { getSessionBindingService } from "openclaw/plugin-sdk/conversation-runtime";
10
10
  import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
@@ -920,7 +920,7 @@ async function promptFeishuSetupMethod(prompter) {
920
920
  });
921
921
  }
922
922
  async function runScanToCreate(prompter, domain) {
923
- const { beginAppRegistration, initAppRegistration, pollAppRegistration, printQrCode } = await import("./app-registration-BVQ8zzYj.js");
923
+ const { beginAppRegistration, initAppRegistration, pollAppRegistration, printQrCode } = await import("./app-registration-BZSSYX1J.js");
924
924
  try {
925
925
  await initAppRegistration(domain);
926
926
  } catch {
@@ -1005,7 +1005,7 @@ async function runNewAppFlow(params) {
1005
1005
  appSecretProbeValue = appSecretResult.resolvedValue;
1006
1006
  }
1007
1007
  if (appId && appSecretProbeValue) {
1008
- const { getAppOwnerOpenId } = await import("./app-registration-BVQ8zzYj.js");
1008
+ const { getAppOwnerOpenId } = await import("./app-registration-BZSSYX1J.js");
1009
1009
  scanOpenId = await getAppOwnerOpenId({
1010
1010
  appId,
1011
1011
  appSecret: appSecretProbeValue,
@@ -1115,7 +1115,7 @@ const feishuSetupWizard = {
1115
1115
  });
1116
1116
  let probeResult = null;
1117
1117
  if (configured && account.configured) try {
1118
- const { probeFeishu } = await import("./probe-DpPNslkb.js").then((n) => n.n);
1118
+ const { probeFeishu } = await import("./probe-Da81t6a5.js").then((n) => n.n);
1119
1119
  probeResult = await probeFeishu(account);
1120
1120
  } catch {}
1121
1121
  if (!configured) return [formatFeishuStatusLine("needs-credentials")];
@@ -1189,7 +1189,7 @@ const meta = {
1189
1189
  aliases: ["lark"],
1190
1190
  order: 70
1191
1191
  };
1192
- const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-Dmq7DpnS.js"), "feishuChannelRuntime");
1192
+ const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-XZ7zJ94y.js"), "feishuChannelRuntime");
1193
1193
  function toFeishuMessageSendResult(result, kind) {
1194
1194
  const receipt = result.receipt ?? createFeishuSendReceipt({
1195
1195
  messageId: result.messageId,
@@ -1245,7 +1245,7 @@ function buildFeishuPresentationCard(params) {
1245
1245
  };
1246
1246
  }
1247
1247
  async function createFeishuActionClient(account) {
1248
- const { createFeishuClient } = await import("./client-B18oTGHf.js").then((n) => n.t);
1248
+ const { createFeishuClient } = await import("./client-BnH2fRL2.js").then((n) => n.t);
1249
1249
  return createFeishuClient(account);
1250
1250
  }
1251
1251
  const collectFeishuSecurityWarnings = createAllowlistProviderGroupPolicyWarningCollector({
@@ -2032,7 +2032,7 @@ const feishuPlugin = createChatChannelPlugin({
2032
2032
  })
2033
2033
  }),
2034
2034
  gateway: { startAccount: async (ctx) => {
2035
- const { monitorFeishuProvider } = await import("./monitor-CfcgF5DQ.js");
2035
+ const { monitorFeishuProvider } = await import("./monitor-hRXS1KtT.js");
2036
2036
  const account = resolveFeishuRuntimeAccount({
2037
2037
  cfg: ctx.cfg,
2038
2038
  accountId: ctx.accountId
@@ -1,2 +1,2 @@
1
- import { t as feishuPlugin } from "./channel-jWQWT5js.js";
1
+ import { t as feishuPlugin } from "./channel-Bp7ymPWB.js";
2
2
  export { feishuPlugin };
@@ -1,10 +1,10 @@
1
- import { o as resolveFeishuAccount, s as resolveFeishuRuntimeAccount, y as parseFeishuCommentTarget } from "./accounts-QNGhjZeI.js";
2
- import { _ as listFeishuDirectoryPeers, g as listFeishuDirectoryGroups, y as createFeishuCardInteractionEnvelope } from "./channel-jWQWT5js.js";
3
- import { r as createFeishuClient } from "./client-B18oTGHf.js";
4
- import { c as getChatInfo, l as getChatMembers, r as cleanupAmbientCommentTypingReaction, t as deliverCommentThreadText, u as getFeishuMemberInfo } from "./drive-CzLQuxes.js";
1
+ import { o as resolveFeishuAccount, s as resolveFeishuRuntimeAccount, y as parseFeishuCommentTarget } from "./accounts-CRcvqpsl.js";
2
+ import { _ as listFeishuDirectoryPeers, g as listFeishuDirectoryGroups, y as createFeishuCardInteractionEnvelope } from "./channel-Bp7ymPWB.js";
3
+ import { r as createFeishuClient } from "./client-BnH2fRL2.js";
4
+ import { c as getChatInfo, l as getChatMembers, r as cleanupAmbientCommentTypingReaction, t as deliverCommentThreadText, u as getFeishuMemberInfo } from "./drive-DMbtRzY9.js";
5
5
  import { chunkTextForOutbound } from "./runtime-api.js";
6
- import { a as sendCardFeishu, c as sendStructuredCardFeishu, g as shouldSuppressFeishuTextForVoiceMedia, h as sendMediaFeishu, i as resolveFeishuCardTemplate, n as getMessageFeishu, o as sendMarkdownCardFeishu, s as sendMessageFeishu, t as editMessageFeishu } from "./send-DYLn9mIe.js";
7
- import { t as probeFeishu } from "./probe-DpPNslkb.js";
6
+ import { a as sendCardFeishu, c as sendStructuredCardFeishu, g as shouldSuppressFeishuTextForVoiceMedia, h as sendMediaFeishu, i as resolveFeishuCardTemplate, n as getMessageFeishu, o as sendMarkdownCardFeishu, s as sendMessageFeishu, t as editMessageFeishu } from "./send-BxqsPC2h.js";
7
+ import { t as probeFeishu } from "./probe-Da81t6a5.js";
8
8
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
9
9
  import { interactiveReplyToPresentation, normalizeInteractiveReply, normalizeMessagePresentation, renderMessagePresentationFallbackText, resolveInteractiveTextFallback } from "openclaw/plugin-sdk/interactive-runtime";
10
10
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
2
2
  import { createRequire } from "node:module";
3
3
  import * as Lark from "@larksuiteoapi/node-sdk";
4
4
  import { readPluginPackageVersion, resolveAmbientNodeProxyAgent } from "openclaw/plugin-sdk/extension-shared";
@@ -1,8 +1,8 @@
1
- import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-Byq1c20x.js";
2
- import { r as testing, t as createFeishuThreadBindingManager } from "./thread-bindings-MLidevCB.js";
3
- import { t as messageActionTargetAliases } from "./security-audit-BzTLFO6g.js";
4
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-DIpADEx7.js";
5
- import { t as collectFeishuSecurityAuditFindings } from "./security-audit-shared-B6kEakHj.js";
1
+ import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-DuL575sn.js";
2
+ import { r as testing, t as createFeishuThreadBindingManager } from "./thread-bindings-D24m3Cjy.js";
3
+ import { t as messageActionTargetAliases } from "./security-audit-BIeA3W3Q.js";
4
+ import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-ChjJKAJ9.js";
5
+ import { t as collectFeishuSecurityAuditFindings } from "./security-audit-shared-BIHeF-S_.js";
6
6
  //#region extensions/feishu/contract-api.ts
7
7
  const feishuSessionBindingAdapterChannels = ["feishu"];
8
8
  //#endregion
@@ -1,5 +1,5 @@
1
- import { d as formatFeishuApiError, f as isRecord$1, h as readString, i as listFeishuAccountIds, l as encodeQuery, o as resolveFeishuAccount, r as listEnabledFeishuAccounts, s as resolveFeishuRuntimeAccount, u as extractReplyText, y as parseFeishuCommentTarget } from "./accounts-QNGhjZeI.js";
2
- import { r as createFeishuClient } from "./client-B18oTGHf.js";
1
+ import { d as formatFeishuApiError, f as isRecord$1, h as readString, i as listFeishuAccountIds, l as encodeQuery, o as resolveFeishuAccount, r as listEnabledFeishuAccounts, s as resolveFeishuRuntimeAccount, u as extractReplyText, y as parseFeishuCommentTarget } from "./accounts-CRcvqpsl.js";
2
+ import { r as createFeishuClient } from "./client-BnH2fRL2.js";
3
3
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
5
5
  import { Type } from "typebox";
@@ -1,9 +1,9 @@
1
- import { r as listEnabledFeishuAccounts, s as resolveFeishuRuntimeAccount } from "./accounts-QNGhjZeI.js";
2
- import { l as fetchBotIdentityForMonitor } from "./monitor.state-D6ByOM5W.js";
1
+ import { r as listEnabledFeishuAccounts, s as resolveFeishuRuntimeAccount } from "./accounts-CRcvqpsl.js";
2
+ import { l as fetchBotIdentityForMonitor } from "./monitor.state-CxrHFQX2.js";
3
3
  //#region extensions/feishu/src/monitor.ts
4
4
  let monitorAccountRuntimePromise;
5
5
  async function loadMonitorAccountRuntime() {
6
- monitorAccountRuntimePromise ??= import("./monitor.account-Cg_HyFTF.js");
6
+ monitorAccountRuntimePromise ??= import("./monitor.account-DVS7oJ5P.js");
7
7
  return await monitorAccountRuntimePromise;
8
8
  }
9
9
  async function monitorFeishuProvider(opts = {}) {
@@ -1,15 +1,15 @@
1
- import { t as buildFeishuConversationId } from "./conversation-id-Byq1c20x.js";
2
- import { i as resolveReceiveIdType } from "./targets-Bb05cFr4.js";
3
- import { t as createFeishuThreadBindingManager } from "./thread-bindings-MLidevCB.js";
4
- import { _ as buildFeishuCommentTarget, f as isRecord$3, h as readString$2, l as encodeQuery, m as parseCommentContentElements, p as normalizeString, s as resolveFeishuRuntimeAccount, u as extractReplyText, v as normalizeCommentFileType } from "./accounts-QNGhjZeI.js";
5
- import { b as decodeFeishuCardAction, d as resolveFeishuDmIngressAccess, f as resolveFeishuGroupConfig, h as resolveFeishuReplyPolicy, l as hasExplicitFeishuGroupConfig, m as resolveFeishuGroupSenderActivationIngressAccess, p as resolveFeishuGroupConversationIngressAccess, u as normalizeFeishuAllowEntry, v as buildFeishuCardActionTextFallback, y as createFeishuCardInteractionEnvelope } from "./channel-jWQWT5js.js";
6
- import { t as getFeishuRuntime } from "./runtime-Cc16UY23.js";
7
- import { a as getFeishuUserAgent, i as createFeishuWSClient, n as createEventDispatcher, r as createFeishuClient } from "./client-B18oTGHf.js";
8
- import { c as getChatInfo, i as createCommentTypingReactionLifecycle, t as deliverCommentThreadText } from "./drive-CzLQuxes.js";
1
+ import { t as buildFeishuConversationId } from "./conversation-id-DuL575sn.js";
2
+ import { i as resolveReceiveIdType } from "./targets-BUjQ1TcA.js";
3
+ import { t as createFeishuThreadBindingManager } from "./thread-bindings-D24m3Cjy.js";
4
+ import { _ as buildFeishuCommentTarget, f as isRecord$3, h as readString$2, l as encodeQuery, m as parseCommentContentElements, p as normalizeString, s as resolveFeishuRuntimeAccount, u as extractReplyText, v as normalizeCommentFileType } from "./accounts-CRcvqpsl.js";
5
+ import { b as decodeFeishuCardAction, d as resolveFeishuDmIngressAccess, f as resolveFeishuGroupConfig, h as resolveFeishuReplyPolicy, l as hasExplicitFeishuGroupConfig, m as resolveFeishuGroupSenderActivationIngressAccess, p as resolveFeishuGroupConversationIngressAccess, u as normalizeFeishuAllowEntry, v as buildFeishuCardActionTextFallback, y as createFeishuCardInteractionEnvelope } from "./channel-Bp7ymPWB.js";
6
+ import { t as getFeishuRuntime } from "./runtime-C5JxBWZp.js";
7
+ import { a as getFeishuUserAgent, i as createFeishuWSClient, n as createEventDispatcher, r as createFeishuClient } from "./client-BnH2fRL2.js";
8
+ import { c as getChatInfo, i as createCommentTypingReactionLifecycle, t as deliverCommentThreadText } from "./drive-DMbtRzY9.js";
9
9
  import { buildAgentMediaPayload, createReplyPrefixContext, evaluateSupplementalContextVisibility, loadSessionStore, normalizeAgentId as normalizeAgentId$1, resolveChannelContextVisibilityMode, resolveSessionStoreEntry } from "./runtime-api.js";
10
- import { _ as normalizeFeishuExternalKey, a as sendCardFeishu, c as sendStructuredCardFeishu, d as isFeishuBroadcastMention, f as isMentionForwardRequest, g as shouldSuppressFeishuTextForVoiceMedia, h as sendMediaFeishu, i as resolveFeishuCardTemplate, l as parsePostContent, m as saveMessageResourceFeishu, n as getMessageFeishu, p as isFeishuGroupChatType, r as listFeishuThreadMessages, s as sendMessageFeishu, u as extractMentionTargets } from "./send-DYLn9mIe.js";
11
- import { i as waitForAbortableDelay, r as raceWithTimeoutAndAbort } from "./probe-DpPNslkb.js";
12
- import { a as feishuWebhookRateLimiter, c as wsClients, i as botOpenIds, l as fetchBotIdentityForMonitor, n as FEISHU_WEBHOOK_MAX_BODY_BYTES, o as httpServers, r as botNames, s as recordWebhookStatus, t as FEISHU_WEBHOOK_BODY_TIMEOUT_MS } from "./monitor.state-D6ByOM5W.js";
10
+ import { _ as normalizeFeishuExternalKey, a as sendCardFeishu, c as sendStructuredCardFeishu, d as isFeishuBroadcastMention, f as isMentionForwardRequest, g as shouldSuppressFeishuTextForVoiceMedia, h as sendMediaFeishu, i as resolveFeishuCardTemplate, l as parsePostContent, m as saveMessageResourceFeishu, n as getMessageFeishu, p as isFeishuGroupChatType, r as listFeishuThreadMessages, s as sendMessageFeishu, u as extractMentionTargets } from "./send-BxqsPC2h.js";
11
+ import { i as waitForAbortableDelay, r as raceWithTimeoutAndAbort } from "./probe-Da81t6a5.js";
12
+ import { a as feishuWebhookRateLimiter, c as wsClients, i as botOpenIds, l as fetchBotIdentityForMonitor, n as FEISHU_WEBHOOK_MAX_BODY_BYTES, o as httpServers, r as botNames, s as recordWebhookStatus, t as FEISHU_WEBHOOK_BODY_TIMEOUT_MS } from "./monitor.state-CxrHFQX2.js";
13
13
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
14
14
  import { ensureConfiguredBindingRouteReady, resolveConfiguredBindingRoute, resolveRuntimeConversationBindingRoute } from "openclaw/plugin-sdk/conversation-runtime";
15
15
  import { resolveInboundLastRouteSessionKey } from "openclaw/plugin-sdk/routing";
@@ -1735,7 +1735,7 @@ async function resolveFeishuAudioPreflightTranscript(params) {
1735
1735
  const audioMedia = params.mediaList.filter((media) => media.contentType?.startsWith("audio/"));
1736
1736
  if (audioMedia.length === 0) return;
1737
1737
  try {
1738
- const { transcribeFirstAudio } = await import("./audio-preflight.runtime-qKoiXN6J.js");
1738
+ const { transcribeFirstAudio } = await import("./audio-preflight.runtime-BBfC9elv.js");
1739
1739
  return await transcribeFirstAudio({
1740
1740
  ctx: {
1741
1741
  MediaPaths: audioMedia.map((media) => media.path),
@@ -3701,7 +3701,7 @@ function findNearestBotTimelineEntry(params) {
3701
3701
  function selectWholeCommentTimelineEntries(params) {
3702
3702
  if (params.entries.length <= FEISHU_WHOLE_COMMENT_PROMPT_LIMIT) return params.entries;
3703
3703
  const currentIndex = params.entries.findIndex((entry) => entry.commentId === params.currentCommentId);
3704
- if (currentIndex < 0) return params.entries.slice(-FEISHU_WHOLE_COMMENT_PROMPT_LIMIT);
3704
+ if (currentIndex < 0) return params.entries.slice(-12);
3705
3705
  const selected = new Set([currentIndex]);
3706
3706
  const nearestBotAfter = params.entries.findIndex((entry, index) => index > currentIndex && entry.isBotAuthored);
3707
3707
  if (nearestBotAfter >= 0) selected.add(nearestBotAfter);
@@ -3943,7 +3943,7 @@ async function resolveDriveCommentEventCore(params) {
3943
3943
  return null;
3944
3944
  }
3945
3945
  const context = await fetchDriveCommentContext({
3946
- client: createClient ? createClient(account ?? { accountId }) : createFeishuClient((await import("./accounts-QNGhjZeI.js").then((n) => n.t)).resolveFeishuAccount({
3946
+ client: createClient ? createClient(account ?? { accountId }) : createFeishuClient((await import("./accounts-CRcvqpsl.js").then((n) => n.t)).resolveFeishuAccount({
3947
3947
  cfg,
3948
3948
  accountId
3949
3949
  })),
@@ -4897,7 +4897,7 @@ async function resolveReactionSyntheticEvent(params) {
4897
4897
  const senderId = event.user_id?.open_id;
4898
4898
  const senderUserId = event.user_id?.user_id;
4899
4899
  if (!emoji || !messageId || !senderId) return null;
4900
- const { resolveFeishuAccount } = await import("./accounts-QNGhjZeI.js").then((n) => n.t);
4900
+ const { resolveFeishuAccount } = await import("./accounts-CRcvqpsl.js").then((n) => n.t);
4901
4901
  const reactionNotifications = resolveFeishuAccount({
4902
4902
  cfg,
4903
4903
  accountId
@@ -1,4 +1,4 @@
1
- import { t as probeFeishu } from "./probe-DpPNslkb.js";
1
+ import { t as probeFeishu } from "./probe-Da81t6a5.js";
2
2
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  import { WEBHOOK_ANOMALY_COUNTER_DEFAULTS, WEBHOOK_RATE_LIMIT_DEFAULTS, createFixedWindowRateLimiter, createWebhookAnomalyTracker } from "openclaw/plugin-sdk/webhook-ingress";
4
4
  //#region extensions/feishu/src/monitor.startup.ts
@@ -1,5 +1,5 @@
1
- import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
2
- import { r as createFeishuClient } from "./client-B18oTGHf.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
2
+ import { r as createFeishuClient } from "./client-BnH2fRL2.js";
3
3
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
4
4
  //#region extensions/feishu/src/async.ts
5
5
  const RACE_TIMEOUT = Symbol("race-timeout");
@@ -1,4 +1,4 @@
1
- import { n as setFeishuRuntime } from "./runtime-Cc16UY23.js";
1
+ import { n as setFeishuRuntime } from "./runtime-C5JxBWZp.js";
2
2
  import { normalizeAgentId } from "openclaw/plugin-sdk/routing";
3
3
  import { createReplyPrefixContext } from "openclaw/plugin-sdk/channel-message";
4
4
  import { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
@@ -1,2 +1,2 @@
1
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./secret-contract-DIpADEx7.js";
1
+ import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./secret-contract-ChjJKAJ9.js";
2
2
  export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
@@ -1,4 +1,4 @@
1
- import "./security-audit-shared-B6kEakHj.js";
1
+ import "./security-audit-shared-BIHeF-S_.js";
2
2
  //#region extensions/feishu/src/message-action-contract.ts
3
3
  const messageActionTargetAliases = {
4
4
  read: { aliases: ["messageId"] },
@@ -1,2 +1,2 @@
1
- import { t as collectFeishuSecurityAuditFindings } from "./security-audit-shared-B6kEakHj.js";
1
+ import { t as collectFeishuSecurityAuditFindings } from "./security-audit-shared-BIHeF-S_.js";
2
2
  export { collectFeishuSecurityAuditFindings };
@@ -1,8 +1,8 @@
1
- import { i as resolveReceiveIdType, r as normalizeFeishuTarget } from "./targets-Bb05cFr4.js";
2
- import { c as createFeishuApiError, f as isRecord$2, g as requestFeishuApi, s as resolveFeishuRuntimeAccount } from "./accounts-QNGhjZeI.js";
3
- import { c as toFeishuSendResult, o as assertFeishuMessageApiSuccess, s as resolveFeishuReceiptKind } from "./channel-jWQWT5js.js";
4
- import { t as getFeishuRuntime } from "./runtime-Cc16UY23.js";
5
- import { r as createFeishuClient } from "./client-B18oTGHf.js";
1
+ import { i as resolveReceiveIdType, r as normalizeFeishuTarget } from "./targets-BUjQ1TcA.js";
2
+ import { c as createFeishuApiError, f as isRecord$2, g as requestFeishuApi, s as resolveFeishuRuntimeAccount } from "./accounts-CRcvqpsl.js";
3
+ import { c as toFeishuSendResult, o as assertFeishuMessageApiSuccess, s as resolveFeishuReceiptKind } from "./channel-Bp7ymPWB.js";
4
+ import { t as getFeishuRuntime } from "./runtime-C5JxBWZp.js";
5
+ import { r as createFeishuClient } from "./client-BnH2fRL2.js";
6
6
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
7
7
  import { convertMarkdownTables } from "openclaw/plugin-sdk/text-chunking";
8
8
  import fs from "node:fs";
@@ -1,4 +1,4 @@
1
- import { r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-Byq1c20x.js";
1
+ import { r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-DuL575sn.js";
2
2
  //#region extensions/feishu/src/session-conversation.ts
3
3
  function resolveFeishuParentConversationCandidates(rawId) {
4
4
  const parsed = parseFeishuConversationId({ conversationId: rawId });
@@ -1,2 +1,2 @@
1
- import { t as resolveFeishuSessionConversation } from "./session-conversation-DIuxgPQi.js";
1
+ import { t as resolveFeishuSessionConversation } from "./session-conversation-CZSMgac-.js";
2
2
  export { resolveFeishuSessionConversation as resolveSessionConversation };
package/dist/setup-api.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as feishuSetupAdapter, n as feishuSetupWizard, t as feishuPlugin } from "./channel-jWQWT5js.js";
1
+ import { i as feishuSetupAdapter, n as feishuSetupWizard, t as feishuPlugin } from "./channel-Bp7ymPWB.js";
2
2
  export { feishuPlugin, feishuSetupAdapter, feishuSetupWizard };
@@ -1,8 +1,8 @@
1
- import { n as handleFeishuSubagentEnded, r as handleFeishuSubagentSpawning, t as handleFeishuSubagentDeliveryTarget } from "./subagent-hooks-DTTHB-s3.js";
1
+ import { n as handleFeishuSubagentEnded, r as handleFeishuSubagentSpawning, t as handleFeishuSubagentDeliveryTarget } from "./subagent-hooks-fuyBHOVu.js";
2
2
  //#region extensions/feishu/subagent-hooks-api.ts
3
3
  let feishuSubagentHooksPromise = null;
4
4
  function loadFeishuSubagentHooksModule() {
5
- feishuSubagentHooksPromise ??= import("./subagent-hooks-DTTHB-s3.js").then((n) => n.i);
5
+ feishuSubagentHooksPromise ??= import("./subagent-hooks-fuyBHOVu.js").then((n) => n.i);
6
6
  return feishuSubagentHooksPromise;
7
7
  }
8
8
  function registerFeishuSubagentHooks(api) {
@@ -1,7 +1,7 @@
1
- import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
2
- import { r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-Byq1c20x.js";
3
- import { r as normalizeFeishuTarget } from "./targets-Bb05cFr4.js";
4
- import { n as getFeishuThreadBindingManager } from "./thread-bindings-MLidevCB.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
2
+ import { r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-DuL575sn.js";
3
+ import { r as normalizeFeishuTarget } from "./targets-BUjQ1TcA.js";
4
+ import { n as getFeishuThreadBindingManager } from "./thread-bindings-D24m3Cjy.js";
5
5
  import { normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
6
6
  //#region extensions/feishu/src/subagent-hooks.ts
7
7
  var subagent_hooks_exports = /* @__PURE__ */ __exportAll({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/feishu",
3
- "version": "2026.5.19",
3
+ "version": "2026.5.20-beta.1",
4
4
  "description": "OpenClaw Feishu/Lark channel plugin (community maintained by @m1heng)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,7 @@
17
17
  "openclaw": "workspace:*"
18
18
  },
19
19
  "peerDependencies": {
20
- "openclaw": ">=2026.5.19"
20
+ "openclaw": ">=2026.5.20-beta.1"
21
21
  },
22
22
  "peerDependenciesMeta": {
23
23
  "openclaw": {
@@ -48,10 +48,10 @@
48
48
  "minHostVersion": ">=2026.4.25"
49
49
  },
50
50
  "compat": {
51
- "pluginApi": ">=2026.5.19"
51
+ "pluginApi": ">=2026.5.20-beta.1"
52
52
  },
53
53
  "build": {
54
- "openclawVersion": "2026.5.19"
54
+ "openclawVersion": "2026.5.20-beta.1"
55
55
  },
56
56
  "release": {
57
57
  "publishToClawHub": true,