@openclaw/feishu 2026.11.5-beta.1 → 2026.11.5-beta.3

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 (40) hide show
  1. package/dist/.setup/{app-registration-CBgQSu2L.mjs → app-registration-DhnIp0Kd.mjs} +2 -1
  2. package/dist/.setup/{channel-C-ihVGPI.mjs → channel-B7oAL99p.mjs} +55 -35
  3. package/dist/.setup/{channel.runtime-B-bwxyuO.mjs → channel.runtime-CPZ_4RmH.mjs} +14 -10
  4. package/dist/.setup/{chat-BnbyUuyu.mjs → chat-g8dTUdIb.mjs} +4 -3
  5. package/dist/.setup/{client-BAiJnY41.mjs → client-DqGMyzOi.mjs} +7 -4
  6. package/dist/.setup/{conversation-id-N6q3vKm-.mjs → conversation-id-BLsHZ7pf.mjs} +4 -2
  7. package/dist/.setup/{doctor-contract-ItAh0keT.mjs → doctor-contract-CPh2u5-o.mjs} +20 -10
  8. package/dist/.setup/{message-action-contract-BZK6bpAl.mjs → message-action-contract-DMVMY_ng.mjs} +2 -1
  9. package/dist/.setup/{monitor-BTjbcB44.mjs → monitor-BqBGfE5v.mjs} +10 -7
  10. package/dist/.setup/{monitor.account-bY8MrrbE.mjs → monitor.account-Dg2Hz-4E.mjs} +88 -50
  11. package/dist/.setup/{probe-D87MR-Mn.mjs → probe-CbNVGjv_.mjs} +6 -4
  12. package/dist/.setup/{reply-delivery-result-Bx8hMh42.mjs → reply-delivery-result-BjOCvaPo.mjs} +66 -35
  13. package/dist/.setup/{runtime-6V3uDMw5.mjs → runtime-C5JxBWZp.mjs} +2 -1
  14. package/dist/.setup/runtime-setter-api-BrQHE03y.mjs +2 -0
  15. package/dist/.setup/{secret-contract-BAucuP6O.mjs → secret-contract-Do6HTIFT.mjs} +2 -1
  16. package/dist/.setup/{secret-contract-api-DR5mIHhJ.mjs → secret-contract-api-LwCXK5Qg.mjs} +1 -1
  17. package/dist/.setup/{security-audit-CYRW0D76.mjs → security-audit-b86aSgH2.mjs} +2 -1
  18. package/dist/.setup/{session-conversation-DLgXP0-H.mjs → session-conversation-CM3UgYZY.mjs} +3 -2
  19. package/dist/.setup/{setup-api-D-s4rNpi.mjs → setup-api-CqAPCSPK.mjs} +1 -1
  20. package/dist/.setup/{subagent-hooks-BRem84Mh.mjs → subagent-hooks-DdiyEIi7.mjs} +5 -4
  21. package/dist/.setup/{thread-bindings-6eyktxK_.mjs → thread-bindings-BxKmOara.mjs} +2 -1
  22. package/dist/.source-module-urls/6579f1b33dd01f8f0aaea28311ed6df1a635f9ad1e6fa86dcba53bca46407e55.json +1 -1
  23. package/dist/api.js +28 -18
  24. package/dist/channel-entry.js +2 -1
  25. package/dist/channel-plugin-api.js +1 -1
  26. package/dist/configured-state.js +2 -1
  27. package/dist/contract-api.js +3 -3
  28. package/dist/doctor-contract-api.js +1 -1
  29. package/dist/index.js +2 -1
  30. package/dist/runtime-api.js +1 -1
  31. package/dist/runtime-setter-api.js +1 -1
  32. package/dist/secret-contract-api.js +1 -1
  33. package/dist/security-contract-api.js +1 -1
  34. package/dist/session-binding-contract-api.js +1 -1
  35. package/dist/session-key-api.js +1 -1
  36. package/dist/setup-api.js +1 -1
  37. package/dist/setup-entry.js +5 -4
  38. package/dist/subagent-hooks-api.js +3 -2
  39. package/package.json +4 -4
  40. package/dist/.setup/runtime-setter-api-DSLLnejl.mjs +0 -2
package/dist/api.js CHANGED
@@ -1,11 +1,11 @@
1
- import { a as setFeishuNamedAccountEnabled, i as feishuSetupAdapter, n as feishuSetupWizard, r as runFeishuLogin, t as feishuPlugin } from "./.setup/channel-C-ihVGPI.mjs";
2
- import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, n as buildFeishuModelOverrideParentCandidates, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./.setup/conversation-id-N6q3vKm-.mjs";
3
- import { $ as resolveFeishuToolAccount, Q as unknownToolActionResult, X as registerFeishuTool, Y as registerFeishuDriveTools, Z as feishuExternalToolResult, et as assertFeishuApiSuccess, gt as parseFeishuMarkdown, pt as chunkFeishuMarkdown, vt as visitFeishuMarkdown } from "./.setup/reply-delivery-result-Bx8hMh42.mjs";
4
- import { t as getFeishuRuntime } from "./.setup/runtime-6V3uDMw5.mjs";
5
- import { f as resolveConfiguredHttpTimeoutMs, r as createFeishuClient } from "./.setup/client-BAiJnY41.mjs";
6
- import { n as getFeishuThreadBindingManager, t as createFeishuThreadBindingManager } from "./.setup/thread-bindings-6eyktxK_.mjs";
7
- import { o as registerFeishuChatTools } from "./.setup/chat-BnbyUuyu.mjs";
8
- import { n as handleFeishuSubagentEnded, t as handleFeishuSubagentDeliveryTarget } from "./.setup/subagent-hooks-BRem84Mh.mjs";
1
+ import { a as setFeishuNamedAccountEnabled, i as feishuSetupAdapter, n as feishuSetupWizard, r as runFeishuLogin, t as feishuPlugin } from "./.setup/channel-B7oAL99p.mjs";
2
+ import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, n as buildFeishuModelOverrideParentCandidates, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./.setup/conversation-id-BLsHZ7pf.mjs";
3
+ import { $ as resolveFeishuToolAccount, Q as unknownToolActionResult, X as registerFeishuTool, Y as registerFeishuDriveTools, Z as feishuExternalToolResult, et as assertFeishuApiSuccess, gt as parseFeishuMarkdown, pt as chunkFeishuMarkdown, vt as visitFeishuMarkdown } from "./.setup/reply-delivery-result-BjOCvaPo.mjs";
4
+ import { t as getFeishuRuntime } from "./.setup/runtime-C5JxBWZp.mjs";
5
+ import { f as resolveConfiguredHttpTimeoutMs, r as createFeishuClient } from "./.setup/client-DqGMyzOi.mjs";
6
+ import { n as getFeishuThreadBindingManager, t as createFeishuThreadBindingManager } from "./.setup/thread-bindings-BxKmOara.mjs";
7
+ import { o as registerFeishuChatTools } from "./.setup/chat-g8dTUdIb.mjs";
8
+ import { n as handleFeishuSubagentEnded, t as handleFeishuSubagentDeliveryTarget } from "./.setup/subagent-hooks-DdiyEIi7.mjs";
9
9
  import { optionalPositiveIntegerSchema } from "openclaw/plugin-sdk/channel-actions";
10
10
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
11
11
  import { filterStringEntries, normalizeLowercaseStringOrEmpty, normalizeOptionalString, readStringValue, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -16,7 +16,7 @@ import { readPositiveIntegerParam } from "openclaw/plugin-sdk/param-readers";
16
16
  import { Type } from "typebox";
17
17
  import { canonicalizeBase64, estimateBase64DecodedBytes, extensionForMime } from "openclaw/plugin-sdk/media-runtime";
18
18
  import { createClackPrompter } from "openclaw/plugin-sdk/setup-runtime";
19
- // extensions/feishu/src/doc-schema.ts
19
+ //#region extensions/feishu/src/doc-schema.ts
20
20
  const tableCreationProperties = {
21
21
  doc_token: Type.String({ description: "Document token" }),
22
22
  parent_block_id: Type.Optional(Type.String({ description: "Parent block ID (default: document root)" })),
@@ -161,7 +161,8 @@ const FeishuDocSchema = Type.Union([
161
161
  content: Type.String({ description: "Text with color markup. Tags: [red], [green], [blue], [orange], [yellow], [purple], [grey], [bold], [bg:yellow]. Example: \"Revenue [green]+15%[/green] YoY\"" })
162
162
  })
163
163
  ]);
164
- // extensions/feishu/src/docx-table-ops.ts
164
+ //#endregion
165
+ //#region extensions/feishu/src/docx-table-ops.ts
165
166
  const MIN_COLUMN_WIDTH = 50;
166
167
  const MAX_COLUMN_WIDTH = 400;
167
168
  const DEFAULT_TABLE_WIDTH = 730;
@@ -294,7 +295,8 @@ async function patchTable(client, params) {
294
295
  block: res.data?.block
295
296
  };
296
297
  }
297
- // extensions/feishu/src/docx-batch-insert.ts
298
+ //#endregion
299
+ //#region extensions/feishu/src/docx-batch-insert.ts
298
300
  const BATCH_SIZE = 1e3;
299
301
  function toDescendantBlock(block) {
300
302
  const child = readStringValue(block.children);
@@ -361,7 +363,8 @@ async function insertBlocksInBatches(client, docToken, blocks, firstLevelBlockId
361
363
  }
362
364
  return allChildren;
363
365
  }
364
- // extensions/feishu/src/docx-color-text.ts
366
+ //#endregion
367
+ //#region extensions/feishu/src/docx-color-text.ts
365
368
  const COLORS = {
366
369
  red: 1,
367
370
  orange: 2,
@@ -417,7 +420,8 @@ async function updateColorText(client, docToken, blockId, content) {
417
420
  block: res.data?.block
418
421
  };
419
422
  }
420
- // extensions/feishu/src/docx-markdown.ts
423
+ //#endregion
424
+ //#region extensions/feishu/src/docx-markdown.ts
421
425
  const MAX_BREAK_PROBES = 32;
422
426
  const STABLE_LINE_CONTAINER_TYPES = /* @__PURE__ */ new Set([
423
427
  "list",
@@ -530,7 +534,8 @@ function splitDocxMarkdownBySize(markdown, maxChars) {
530
534
  }
531
535
  return [markdown];
532
536
  }
533
- // extensions/feishu/src/docx-upload-input.ts
537
+ //#endregion
538
+ //#region extensions/feishu/src/docx-upload-input.ts
534
539
  function resolveDocToolLocalRoots(ctx) {
535
540
  if (ctx.fsPolicy?.workspaceOnly !== true) return;
536
541
  const workspaceDir = ctx.workspaceDir?.trim();
@@ -617,7 +622,8 @@ async function resolveDocxUploadInput(input) {
617
622
  fileName: input.fileName ?? "image.png"
618
623
  };
619
624
  }
620
- // extensions/feishu/src/docx.ts
625
+ //#endregion
626
+ //#region extensions/feishu/src/docx.ts
621
627
  const BLOCK_TYPE_NAMES = {
622
628
  1: "Page",
623
629
  2: "Text",
@@ -1183,7 +1189,8 @@ function registerFeishuDocTools(api) {
1183
1189
  }
1184
1190
  });
1185
1191
  }
1186
- // extensions/feishu/src/wiki.ts
1192
+ //#endregion
1193
+ //#region extensions/feishu/src/wiki.ts
1187
1194
  const WIKI_PAGE_SIZE = 50;
1188
1195
  const WIKI_SPACE_ID_DESCRIPTION = "Knowledge space ID. Treat as an opaque string and keep it quoted; never pass numeric-looking IDs as numbers.";
1189
1196
  const WIKI_ACCESS_HINT = "To grant wiki access: Open wiki space → Settings → Members → Add the bot. See: https://open.feishu.cn/document/server-docs/docs/wiki-v2/wiki-qa#a40ad4ca";
@@ -1390,7 +1397,8 @@ function registerFeishuWikiTools(api) {
1390
1397
  }
1391
1398
  });
1392
1399
  }
1393
- // extensions/feishu/src/perm.ts
1400
+ //#endregion
1401
+ //#region extensions/feishu/src/perm.ts
1394
1402
  const TokenType = Type.Union([
1395
1403
  Type.Literal("doc"),
1396
1404
  Type.Literal("docx"),
@@ -1500,7 +1508,8 @@ function registerFeishuPermTools(api) {
1500
1508
  }
1501
1509
  });
1502
1510
  }
1503
- // extensions/feishu/src/bitable.ts
1511
+ //#endregion
1512
+ //#region extensions/feishu/src/bitable.ts
1504
1513
  function ensureLarkSuccess(res, api) {
1505
1514
  if (res.code !== 0) throw new Error(`[${api}] code=${res.code ?? -1} message=${res.msg ?? "unknown error"}`);
1506
1515
  }
@@ -1935,4 +1944,5 @@ function registerFeishuBitableTools(api) {
1935
1944
  }
1936
1945
  });
1937
1946
  }
1947
+ //#endregion
1938
1948
  export { buildFeishuConversationId, buildFeishuModelOverrideParentCandidates, createClackPrompter, createFeishuThreadBindingManager, feishuPlugin, feishuSetupAdapter, feishuSetupWizard, getFeishuThreadBindingManager, handleFeishuSubagentDeliveryTarget, handleFeishuSubagentEnded, parseFeishuConversationId, parseFeishuDirectConversationId, parseFeishuTargetId, registerFeishuBitableTools, registerFeishuChatTools, registerFeishuDocTools, registerFeishuDriveTools, registerFeishuPermTools, registerFeishuWikiTools, runFeishuLogin, setFeishuNamedAccountEnabled };
@@ -1,5 +1,5 @@
1
1
  import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
- // extensions/feishu/channel-entry.ts
2
+ //#region extensions/feishu/channel-entry.ts
3
3
  var channel_entry_default = defineBundledChannelEntry({
4
4
  id: "feishu",
5
5
  name: "Feishu",
@@ -18,4 +18,5 @@ var channel_entry_default = defineBundledChannelEntry({
18
18
  exportName: "setFeishuRuntime"
19
19
  }
20
20
  });
21
+ //#endregion
21
22
  export { channel_entry_default as default };
@@ -1 +1 @@
1
- export { t as feishuPlugin } from "./.setup/channel-C-ihVGPI.mjs";
1
+ export { t as feishuPlugin } from "./.setup/channel-B7oAL99p.mjs";
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_ACCOUNT_ID, hasConfiguredAccountValue, mergeAccountConfig } from "openclaw/plugin-sdk/account-core";
2
- // extensions/feishu/configured-state.ts
2
+ //#region extensions/feishu/configured-state.ts
3
3
  /** Feishu owns configured account credentials; ambient variables alone are not an account. */
4
4
  function hasConfiguredFeishuChannelState(params) {
5
5
  const channel = params.cfg.channels?.feishu;
@@ -20,4 +20,5 @@ function hasConfiguredFeishuChannelState(params) {
20
20
  return hasConfiguredAccountValue(appId) && hasConfiguredAccountValue(appSecret);
21
21
  });
22
22
  }
23
+ //#endregion
23
24
  export { hasConfiguredFeishuChannelState };
@@ -1,4 +1,4 @@
1
- import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./.setup/conversation-id-N6q3vKm-.mjs";
2
- import { t as messageActionTargetAliases } from "./.setup/message-action-contract-BZK6bpAl.mjs";
3
- import { t as collectFeishuSecurityAuditFindings } from "./.setup/security-audit-CYRW0D76.mjs";
1
+ import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./.setup/conversation-id-BLsHZ7pf.mjs";
2
+ import { t as messageActionTargetAliases } from "./.setup/message-action-contract-DMVMY_ng.mjs";
3
+ import { t as collectFeishuSecurityAuditFindings } from "./.setup/security-audit-b86aSgH2.mjs";
4
4
  export { buildFeishuConversationId, collectFeishuSecurityAuditFindings, messageActionTargetAliases, parseFeishuConversationId, parseFeishuDirectConversationId, parseFeishuTargetId };
@@ -1 +1 @@
1
- export { t as historicalWebhookListener, n as legacyConfigRules, r as normalizeCompatibilityConfig, i as normalizeHistoricalWebhookConfig } from "./.setup/doctor-contract-ItAh0keT.mjs";
1
+ export { t as historicalWebhookListener, n as legacyConfigRules, r as normalizeCompatibilityConfig, i as normalizeHistoricalWebhookConfig } from "./.setup/doctor-contract-CPh2u5-o.mjs";
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { registerFeishuSubagentHooks } from "./subagent-hooks-api.js";
2
2
  import { defineBundledChannelEntry, loadBundledEntryExportSync } from "openclaw/plugin-sdk/channel-entry-contract";
3
- // extensions/feishu/index.ts
3
+ //#region extensions/feishu/index.ts
4
4
  var feishu_default = defineBundledChannelEntry({
5
5
  id: "feishu",
6
6
  name: "Feishu",
@@ -33,4 +33,5 @@ var feishu_default = defineBundledChannelEntry({
33
33
  })(api);
34
34
  }
35
35
  });
36
+ //#endregion
36
37
  export { feishu_default as default };
@@ -1,4 +1,4 @@
1
- import { n as setFeishuRuntime } from "./.setup/runtime-6V3uDMw5.mjs";
1
+ import { n as setFeishuRuntime } from "./.setup/runtime-C5JxBWZp.mjs";
2
2
  import { normalizeAgentId } from "openclaw/plugin-sdk/routing";
3
3
  import { evaluateSupplementalContextVisibility, resolveChannelContextVisibilityMode } from "openclaw/plugin-sdk/context-visibility-runtime";
4
4
  export { evaluateSupplementalContextVisibility, normalizeAgentId, resolveChannelContextVisibilityMode, setFeishuRuntime };
@@ -1 +1 @@
1
- export { n as setFeishuRuntime } from "./.setup/runtime-6V3uDMw5.mjs";
1
+ export { n as setFeishuRuntime } from "./.setup/runtime-C5JxBWZp.mjs";
@@ -1 +1 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-BAucuP6O.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-Do6HTIFT.mjs";
@@ -1 +1 @@
1
- export { t as collectFeishuSecurityAuditFindings } from "./.setup/security-audit-CYRW0D76.mjs";
1
+ export { t as collectFeishuSecurityAuditFindings } from "./.setup/security-audit-b86aSgH2.mjs";
@@ -1 +1 @@
1
- export { t as createFeishuThreadBindingManager } from "./.setup/thread-bindings-6eyktxK_.mjs";
1
+ export { t as createFeishuThreadBindingManager } from "./.setup/thread-bindings-BxKmOara.mjs";
@@ -1 +1 @@
1
- export { t as resolveSessionConversation } from "./.setup/session-conversation-DLgXP0-H.mjs";
1
+ export { t as resolveSessionConversation } from "./.setup/session-conversation-CM3UgYZY.mjs";
package/dist/setup-api.js CHANGED
@@ -1 +1 @@
1
- export { t as feishuPlugin, i as feishuSetupAdapter, n as feishuSetupWizard } from "./.setup/channel-C-ihVGPI.mjs";
1
+ export { t as feishuPlugin, i as feishuSetupAdapter, n as feishuSetupWizard } from "./.setup/channel-B7oAL99p.mjs";
@@ -1,19 +1,20 @@
1
1
  import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
2
  import { fileURLToPath } from "node:url";
3
- // extensions/feishu/setup-entry.ts
3
+ //#region extensions/feishu/setup-entry.ts
4
4
  var setup_entry_default = defineBundledChannelSetupEntry({
5
5
  importMetaUrl: import.meta.url,
6
6
  plugin: {
7
- specifier: fileURLToPath(new URL(".setup/setup-api-D-s4rNpi.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/setup-api-CqAPCSPK.mjs", import.meta.url).href),
8
8
  exportName: "feishuPlugin"
9
9
  },
10
10
  secrets: {
11
- specifier: fileURLToPath(new URL(".setup/secret-contract-api-DR5mIHhJ.mjs", import.meta.url).href),
11
+ specifier: fileURLToPath(new URL(".setup/secret-contract-api-LwCXK5Qg.mjs", import.meta.url).href),
12
12
  exportName: "channelSecrets"
13
13
  },
14
14
  runtime: {
15
- specifier: fileURLToPath(new URL(".setup/runtime-setter-api-DSLLnejl.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
  });
19
+ //#endregion
19
20
  export { setup_entry_default as default };
@@ -1,6 +1,6 @@
1
1
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
2
- // extensions/feishu/subagent-hooks-api.ts
3
- const loadFeishuSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-BRem84Mh.mjs").then((n) => n.r));
2
+ //#region extensions/feishu/subagent-hooks-api.ts
3
+ const loadFeishuSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-DdiyEIi7.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();
@@ -11,4 +11,5 @@ function registerFeishuSubagentHooks(api) {
11
11
  handleFeishuSubagentEnded(event);
12
12
  });
13
13
  }
14
+ //#endregion
14
15
  export { registerFeishuSubagentHooks };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/feishu",
3
- "version": "2026.11.5-beta.1",
3
+ "version": "2026.11.5-beta.3",
4
4
  "description": "OpenClaw Feishu/Lark channel plugin for chats and workplace tools (community maintained by @m1heng).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@
16
16
  "zod": "4.6.7"
17
17
  },
18
18
  "peerDependencies": {
19
- "openclaw": ">=2026.11.5-beta.1"
19
+ "openclaw": ">=2026.11.5-beta.3"
20
20
  },
21
21
  "peerDependenciesMeta": {
22
22
  "openclaw": {
@@ -63,11 +63,11 @@
63
63
  "minHostVersion": ">=2026.5.29"
64
64
  },
65
65
  "compat": {
66
- "pluginApi": ">=2026.11.5-beta.1"
66
+ "pluginApi": ">=2026.11.5-beta.3"
67
67
  },
68
68
  "build": {
69
69
  "bundledDist": false,
70
- "openclawVersion": "2026.11.5-beta.1"
70
+ "openclawVersion": "2026.11.5-beta.3"
71
71
  },
72
72
  "release": {
73
73
  "publishToClawHub": true,
@@ -1,2 +0,0 @@
1
- export { n as setFeishuRuntime } from "./runtime-6V3uDMw5.mjs";
2
- import "../runtime-setter-api.js";