@openclaw/feishu 2026.10.2 → 2026.10.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.
@@ -860,7 +860,7 @@ const feishuDoctor = {
860
860
  //#endregion
861
861
  //#region extensions/feishu/src/gateway.ts
862
862
  const feishuGatewayAdapter = { startAccount: async (ctx) => {
863
- const { monitorFeishuProvider } = await import("./monitor-CXaFHMmi.mjs");
863
+ const { monitorFeishuProvider } = await import("./monitor-DgINjfrS.mjs");
864
864
  const account = resolveFeishuRuntimeAccount({
865
865
  cfg: ctx.cfg,
866
866
  accountId: ctx.accountId
@@ -1935,7 +1935,7 @@ const meta = {
1935
1935
  order: 70,
1936
1936
  preferSessionLookupForAnnounceTarget: true
1937
1937
  };
1938
- const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-rXFuQXLL.mjs"), "feishuChannelRuntime");
1938
+ const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-C2OKAiq-.mjs"), "feishuChannelRuntime");
1939
1939
  async function resolveFeishuMessageSender(params) {
1940
1940
  try {
1941
1941
  const sender = params.resolve(await loadFeishuChannelRuntime());
@@ -1,5 +1,5 @@
1
1
  import { h as resolveFeishuAccount } from "./doctor-contract-DyOo8NvC.mjs";
2
- import { d as listFeishuDirectoryPeers, o as feishuOutbound, u as listFeishuDirectoryGroups } from "./channel-DZakdZ3r.mjs";
2
+ import { d as listFeishuDirectoryPeers, o as feishuOutbound, u as listFeishuDirectoryGroups } from "./channel-CYW02TqI.mjs";
3
3
  import { A as sendMessageFeishu, C as sendStickerFeishu, D as getMessageFeishu, E as editMessageFeishu, Q as assertFeishuApiSuccess, V as createConfiguredFeishuClient, k as sendCardFeishu } from "./reply-delivery-result-laBNOmBu.mjs";
4
4
  import { r as createFeishuClient } from "./client-CcxmEkoy.mjs";
5
5
  import { a as getFeishuMemberInfo, i as getChatMembers, n as buildFeishuDirectChatMembers, r as getChatInfo, t as assertFeishuChatMember } from "./chat-mTBvMMvx.mjs";
@@ -144,7 +144,7 @@ async function fetchBotIdentityForMonitor(account, options = {}) {
144
144
  }
145
145
  //#endregion
146
146
  //#region extensions/feishu/src/monitor.ts
147
- const loadMonitorAccountRuntime = createLazyRuntimeModule(() => import("./monitor.account-cJ8gavqv.mjs"));
147
+ const loadMonitorAccountRuntime = createLazyRuntimeModule(() => import("./monitor.account-BgpgaA5p.mjs"));
148
148
  async function monitorFeishuProvider(opts = {}) {
149
149
  const cfg = opts.config;
150
150
  if (!cfg) throw new Error("Config is required for Feishu monitor");
@@ -1,15 +1,15 @@
1
1
  import { c as normalizeFeishuExternalKey, g as resolveFeishuRuntimeAccount, h as resolveFeishuAccount, s as normalizeFeishuWebhookPath } from "./doctor-contract-DyOo8NvC.mjs";
2
2
  import { o as resolveConfiguredFeishuGroupSessionScope, t as buildFeishuConversationId, u as resolveReceiveIdType } from "./conversation-id-C1ofUfU8.mjs";
3
- import { c as resolveFeishuLegacyWebhookListener, l as gateway_config_runtime_exports, s as describeFeishuWebhookPathConflict } from "./channel-DZakdZ3r.mjs";
3
+ import { c as resolveFeishuLegacyWebhookListener, l as gateway_config_runtime_exports, s as describeFeishuWebhookPathConflict } from "./channel-CYW02TqI.mjs";
4
4
  import { A as sendMessageFeishu, At as resolveFeishuGroupSenderActivationIngressAccess, B as parsePostContent, D as getMessageFeishu, Dt as resolveFeishuDmIngressAccess, Et as normalizeFeishuAllowEntry, F as isFeishuBroadcastMention, G as deliverCommentThreadText, H as buildFeishuMediaFallbackText, I as isMentionForwardRequest, It as createFeishuCardInteractionEnvelope, L as isFeishuGroupChatType, Lt as decodeFeishuCardAction, Mt as resolveFeishuReplyPolicy, N as formatFeishuMediaContent, Nt as normalizeFeishuChatType, O as listFeishuThreadMessages, Ot as resolveFeishuGroupConfig, P as extractMentionTargets, Pt as resolveFeishuChatType, R as normalizeFeishuEventChatType, S as sendMediaFeishu, T as chunkFeishuCardMarkdown, Tt as hasExplicitFeishuGroupConfig, U as resolveFeishuIdentityEmoji, a as shouldSendNoVisibleReplyFallback, at as requestFeishuApi, b as withinCardTableLimit, d as consumeFeishuPresentationFallbackMarker, et as createCommentTypingReactionLifecycle, ft as chunkFeishuPostMarkdown, ht as shouldUseFeishuCard, i as noVisibleFeishuReplyDelivery, it as parseCommentContentElements, j as sendStructuredCardFeishu, k as sendCardFeishu, kt as resolveFeishuGroupConversationIngressAccess, n as createFeishuReplyDeliveryResult, nt as extractReplyText, ot as buildFeishuCommentTarget, pt as materializeFeishuPostMarkdownSoftBreaks, r as mergeFeishuReplyDeliveryResults, st as normalizeCommentFileType, t as createFeishuPartialReplyDeliveryError, tt as encodeQuery, u as buildFeishuPresentationFallback, ut as resolveFeishuCardTemplate, v as renderFeishuReplyPayload, w as shouldSuppressFeishuTextForVoiceMedia, x as saveMessageResourceFeishu, y as resolveFeishuRichReply, z as parseInteractiveCardContent } from "./reply-delivery-result-laBNOmBu.mjs";
5
5
  import { t as getFeishuRuntime } from "./runtime-C5JxBWZp.mjs";
6
6
  import { a as getFeishuUserAgent, f as resolveConfiguredHttpTimeoutMs, i as createFeishuWSClient, n as createEventDispatcher, r as createFeishuClient } from "./client-CcxmEkoy.mjs";
7
7
  import { r as getChatInfo } from "./chat-mTBvMMvx.mjs";
8
- import { t as createFeishuThreadBindingManager } from "./thread-bindings-jW2x5VuN.mjs";
8
+ import { t as createFeishuThreadBindingManager } from "./thread-bindings--wJ9fHq5.mjs";
9
9
  import { evaluateSupplementalContextVisibility, normalizeAgentId as normalizeAgentId$1, resolveChannelContextVisibilityMode } from "../runtime-api.js";
10
10
  import { t as readFeishuJsonResponse } from "./json-response-DXajw_FU.mjs";
11
11
  import { a as waitForAbortableDelay, i as raceWithTimeoutAndAbort } from "./probe-BjSykXB8.mjs";
12
- import { t as fetchBotIdentityForMonitor } from "./monitor-CXaFHMmi.mjs";
12
+ import { t as fetchBotIdentityForMonitor } from "./monitor-DgINjfrS.mjs";
13
13
  import { resolveAgentConfig } from "openclaw/plugin-sdk/agent-scope-runtime";
14
14
  import { DEFAULT_INGRESS_ADOPTION_STALL_MS, bindIngressLifecycleToReplyOptions, createChannelIngressError, createChannelIngressMonitor, createChannelMessageReplyPipeline, createReplyPrefixContext, formatChannelProgressDraftLineForEntry, resolveAgentOutboundIdentity, resolveChannelPreviewStreamMode, resolveChannelStreamingBlockEnabled, waitUntilAbort } from "openclaw/plugin-sdk/channel-outbound";
15
15
  import { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
@@ -0,0 +1,2 @@
1
+ export { n as setFeishuRuntime } from "./runtime-C5JxBWZp.mjs";
2
+ import "../runtime-setter-api.js";
@@ -0,0 +1,2 @@
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-CI1wCr9i.mjs";
2
+ import "../secret-contract-api.js";
@@ -0,0 +1,2 @@
1
+ export { t as feishuPlugin, i as feishuSetupAdapter, n as feishuSetupWizard } from "./channel-CYW02TqI.mjs";
2
+ import "../setup-api.js";
@@ -1,6 +1,6 @@
1
1
  import { _ as __exportAll } from "./doctor-contract-DyOo8NvC.mjs";
2
2
  import { d as stripFeishuProviderPrefix, l as normalizeFeishuTarget, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-C1ofUfU8.mjs";
3
- import { n as getFeishuThreadBindingManager } from "./thread-bindings-jW2x5VuN.mjs";
3
+ import { n as getFeishuThreadBindingManager } from "./thread-bindings--wJ9fHq5.mjs";
4
4
  import { normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
5
5
  //#region extensions/feishu/src/subagent-hooks.ts
6
6
  var subagent_hooks_exports = /* @__PURE__ */ __exportAll({
@@ -50,8 +50,6 @@ function toSessionBindingRecord(record, defaults) {
50
50
  function createFeishuThreadBindingManager(params) {
51
51
  const accountId = normalizeAccountId(params.accountId);
52
52
  const { managersByAccountId, bindingsByAccountConversation } = getState();
53
- const existing = managersByAccountId.get(accountId);
54
- if (existing) return existing;
55
53
  const bindingTimeouts = {
56
54
  idleTimeoutMs: resolveThreadBindingIdleTimeoutMsForChannel({
57
55
  cfg: params.cfg,
package/dist/api.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, n as buildFeishuModelOverrideParentCandidates, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./.setup/conversation-id-C1ofUfU8.mjs";
2
- import { a as setFeishuNamedAccountEnabled, i as feishuSetupAdapter, n as feishuSetupWizard, r as runFeishuLogin, t as feishuPlugin } from "./.setup/channel-DZakdZ3r.mjs";
2
+ import { a as setFeishuNamedAccountEnabled, i as feishuSetupAdapter, n as feishuSetupWizard, r as runFeishuLogin, t as feishuPlugin } from "./.setup/channel-CYW02TqI.mjs";
3
3
  import { J as feishuExternalToolResult, K as registerFeishuDriveTools, Q as assertFeishuApiSuccess, X as createFeishuToolClient, Y as unknownToolActionResult, Z as resolveFeishuToolAccount, dt as chunkFeishuMarkdown, gt as visitFeishuMarkdown, mt as parseFeishuMarkdown, q as registerFeishuTool } from "./.setup/reply-delivery-result-laBNOmBu.mjs";
4
4
  import { t as getFeishuRuntime } from "./.setup/runtime-C5JxBWZp.mjs";
5
5
  import { f as resolveConfiguredHttpTimeoutMs, r as createFeishuClient } from "./.setup/client-CcxmEkoy.mjs";
6
6
  import { o as registerFeishuChatTools } from "./.setup/chat-mTBvMMvx.mjs";
7
- import { n as getFeishuThreadBindingManager, t as createFeishuThreadBindingManager } from "./.setup/thread-bindings-jW2x5VuN.mjs";
8
- import { n as handleFeishuSubagentEnded, t as handleFeishuSubagentDeliveryTarget } from "./.setup/subagent-hooks-C8Z_x3KJ.mjs";
7
+ import { n as getFeishuThreadBindingManager, t as createFeishuThreadBindingManager } from "./.setup/thread-bindings--wJ9fHq5.mjs";
8
+ import { n as handleFeishuSubagentEnded, t as handleFeishuSubagentDeliveryTarget } from "./.setup/subagent-hooks-JTYBKuB2.mjs";
9
9
  import { optionalPositiveIntegerSchema } from "openclaw/plugin-sdk/channel-actions";
10
10
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
11
11
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, readStringValue, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -1,2 +1 @@
1
- import { t as feishuPlugin } from "./.setup/channel-DZakdZ3r.mjs";
2
- export { feishuPlugin };
1
+ export { t as feishuPlugin } from "./.setup/channel-CYW02TqI.mjs";
@@ -1,2 +1 @@
1
- import { i as normalizeHistoricalWebhookConfig, n as legacyConfigRules, r as normalizeCompatibilityConfig, t as historicalWebhookListener } from "./.setup/doctor-contract-DyOo8NvC.mjs";
2
- export { historicalWebhookListener, legacyConfigRules, normalizeCompatibilityConfig, normalizeHistoricalWebhookConfig };
1
+ export { t as historicalWebhookListener, n as legacyConfigRules, r as normalizeCompatibilityConfig, i as normalizeHistoricalWebhookConfig } from "./.setup/doctor-contract-DyOo8NvC.mjs";
@@ -1,2 +1 @@
1
- import { n as setFeishuRuntime } from "./.setup/runtime-C5JxBWZp.mjs";
2
- export { setFeishuRuntime };
1
+ export { n as setFeishuRuntime } from "./.setup/runtime-C5JxBWZp.mjs";
@@ -1,2 +1 @@
1
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./.setup/secret-contract-CI1wCr9i.mjs";
2
- export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-CI1wCr9i.mjs";
@@ -1,2 +1 @@
1
- import { t as collectFeishuSecurityAuditFindings } from "./.setup/security-audit-b86aSgH2.mjs";
2
- export { collectFeishuSecurityAuditFindings };
1
+ export { t as collectFeishuSecurityAuditFindings } from "./.setup/security-audit-b86aSgH2.mjs";
@@ -1,2 +1 @@
1
- import { t as createFeishuThreadBindingManager } from "./.setup/thread-bindings-jW2x5VuN.mjs";
2
- export { createFeishuThreadBindingManager };
1
+ export { t as createFeishuThreadBindingManager } from "./.setup/thread-bindings--wJ9fHq5.mjs";
@@ -1,2 +1 @@
1
- import { t as resolveFeishuSessionConversation } from "./.setup/session-conversation-C53IEUWt.mjs";
2
- export { resolveFeishuSessionConversation as resolveSessionConversation };
1
+ export { t as resolveSessionConversation } from "./.setup/session-conversation-C53IEUWt.mjs";
package/dist/setup-api.js CHANGED
@@ -1,2 +1 @@
1
- import { i as feishuSetupAdapter, n as feishuSetupWizard, t as feishuPlugin } from "./.setup/channel-DZakdZ3r.mjs";
2
- export { feishuPlugin, feishuSetupAdapter, feishuSetupWizard };
1
+ export { t as feishuPlugin, i as feishuSetupAdapter, n as feishuSetupWizard } from "./.setup/channel-CYW02TqI.mjs";
@@ -4,15 +4,15 @@ import { fileURLToPath } from "node:url";
4
4
  var setup_entry_default = defineBundledChannelSetupEntry({
5
5
  importMetaUrl: import.meta.url,
6
6
  plugin: {
7
- specifier: fileURLToPath(new URL(".setup/setup-api-fZcYXGxe.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/setup-api-BkQdtcgB.mjs", import.meta.url).href),
8
8
  exportName: "feishuPlugin"
9
9
  },
10
10
  secrets: {
11
- specifier: fileURLToPath(new URL(".setup/secret-contract-api-o4CeT4nP.mjs", import.meta.url).href),
11
+ specifier: fileURLToPath(new URL(".setup/secret-contract-api-D2-avpLT.mjs", import.meta.url).href),
12
12
  exportName: "channelSecrets"
13
13
  },
14
14
  runtime: {
15
- specifier: fileURLToPath(new URL(".setup/runtime-setter-api-CG-RC4_r.mjs", import.meta.url).href),
15
+ specifier: fileURLToPath(new URL(".setup/runtime-setter-api-BrQHE03y.mjs", import.meta.url).href),
16
16
  exportName: "setFeishuRuntime"
17
17
  }
18
18
  });
@@ -1,6 +1,6 @@
1
1
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
2
2
  //#region extensions/feishu/subagent-hooks-api.ts
3
- const loadFeishuSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-C8Z_x3KJ.mjs").then((n) => n.r));
3
+ const loadFeishuSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-JTYBKuB2.mjs").then((n) => n.r));
4
4
  function registerFeishuSubagentHooks(api) {
5
5
  api.on("subagent_delivery_target", async (event) => {
6
6
  const { handleFeishuSubagentDeliveryTarget } = await loadFeishuSubagentHooksModule();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/feishu",
3
- "version": "2026.10.2",
3
+ "version": "2026.10.4",
4
4
  "description": "OpenClaw Feishu/Lark channel plugin for chats and workplace tools (community maintained by @m1heng).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,7 @@
17
17
  "zod": "4.6.5"
18
18
  },
19
19
  "peerDependencies": {
20
- "openclaw": ">=2026.10.2"
20
+ "openclaw": ">=2026.10.4"
21
21
  },
22
22
  "peerDependenciesMeta": {
23
23
  "openclaw": {
@@ -64,11 +64,11 @@
64
64
  "minHostVersion": ">=2026.5.29"
65
65
  },
66
66
  "compat": {
67
- "pluginApi": ">=2026.10.2"
67
+ "pluginApi": ">=2026.10.4"
68
68
  },
69
69
  "build": {
70
70
  "bundledDist": false,
71
- "openclawVersion": "2026.10.2"
71
+ "openclawVersion": "2026.10.4"
72
72
  },
73
73
  "release": {
74
74
  "publishToClawHub": true,
@@ -1,3 +0,0 @@
1
- import { n as setFeishuRuntime } from "./runtime-C5JxBWZp.mjs";
2
- import "../runtime-setter-api.js";
3
- export { setFeishuRuntime };
@@ -1,3 +0,0 @@
1
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./secret-contract-CI1wCr9i.mjs";
2
- import "../secret-contract-api.js";
3
- export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
@@ -1,3 +0,0 @@
1
- import { i as feishuSetupAdapter, n as feishuSetupWizard, t as feishuPlugin } from "./channel-DZakdZ3r.mjs";
2
- import "../setup-api.js";
3
- export { feishuPlugin, feishuSetupAdapter, feishuSetupWizard };