@openclaw/feishu 2026.10.1 → 2026.10.2
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.
- package/dist/.setup/{channel-DoRSlOQd.mjs → channel-DZakdZ3r.mjs} +2 -2
- package/dist/.setup/{channel.runtime-jLSFNkJh.mjs → channel.runtime-rXFuQXLL.mjs} +1 -1
- package/dist/.setup/{monitor-DX3vAlY9.mjs → monitor-CXaFHMmi.mjs} +1 -1
- package/dist/.setup/{monitor.account-C_uDFPtG.mjs → monitor.account-cJ8gavqv.mjs} +20 -8
- package/dist/.setup/{setup-api-DTTsvzfC.mjs → setup-api-fZcYXGxe.mjs} +1 -1
- package/dist/api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/setup-api.js +1 -1
- package/dist/setup-entry.js +1 -1
- package/package.json +4 -4
|
@@ -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-
|
|
863
|
+
const { monitorFeishuProvider } = await import("./monitor-CXaFHMmi.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-
|
|
1938
|
+
const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-rXFuQXLL.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-
|
|
2
|
+
import { d as listFeishuDirectoryPeers, o as feishuOutbound, u as listFeishuDirectoryGroups } from "./channel-DZakdZ3r.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-
|
|
147
|
+
const loadMonitorAccountRuntime = createLazyRuntimeModule(() => import("./monitor.account-cJ8gavqv.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,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { c as resolveFeishuLegacyWebhookListener, l as gateway_config_runtime_exports, s as describeFeishuWebhookPathConflict } from "./channel-DZakdZ3r.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";
|
|
@@ -9,7 +9,7 @@ import { t as createFeishuThreadBindingManager } from "./thread-bindings-jW2x5Vu
|
|
|
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-
|
|
12
|
+
import { t as fetchBotIdentityForMonitor } from "./monitor-CXaFHMmi.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";
|
|
@@ -1494,6 +1494,16 @@ var FeishuStreamingSession = class {
|
|
|
1494
1494
|
}
|
|
1495
1495
|
};
|
|
1496
1496
|
//#endregion
|
|
1497
|
+
//#region extensions/feishu/src/streaming-update.ts
|
|
1498
|
+
/** Admit captured snapshots in order while the session owns provider writes. */
|
|
1499
|
+
function queueFeishuStreamingUpdate(params) {
|
|
1500
|
+
const { queue, session, generation, startPromise, text, accountId, runtime } = params;
|
|
1501
|
+
return queue.then(async () => {
|
|
1502
|
+
if (startPromise) await startPromise;
|
|
1503
|
+
if (generation !== void 0 && session?.isActive()) session.update(text).catch((error) => runtime.error?.(`feishu[${accountId}] streaming update failed: ${String(error)}`));
|
|
1504
|
+
});
|
|
1505
|
+
}
|
|
1506
|
+
//#endregion
|
|
1497
1507
|
//#region extensions/feishu/src/typing-backoff.ts
|
|
1498
1508
|
/** Feishu API codes that should trip the typing circuit breaker. */
|
|
1499
1509
|
const FEISHU_BACKOFF_CODES = /* @__PURE__ */ new Set([
|
|
@@ -1756,12 +1766,14 @@ function createFeishuReplyDispatcher(params) {
|
|
|
1756
1766
|
return [[thinking ? formatReasoningPrefix(thinking) : "", answer].filter(Boolean).join("\n\n---\n\n"), statusLine].filter(Boolean).join("\n\n");
|
|
1757
1767
|
};
|
|
1758
1768
|
const flushStreamingCardUpdate = (combined) => {
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1769
|
+
partialUpdateQueue = queueFeishuStreamingUpdate({
|
|
1770
|
+
queue: partialUpdateQueue,
|
|
1771
|
+
session: streaming,
|
|
1772
|
+
generation: activeStreamingGeneration,
|
|
1773
|
+
startPromise: streamingStartPromise,
|
|
1774
|
+
text: combined,
|
|
1775
|
+
accountId: account.accountId,
|
|
1776
|
+
runtime: params.runtime
|
|
1765
1777
|
});
|
|
1766
1778
|
};
|
|
1767
1779
|
const queueStreamingUpdate = (nextText, options) => {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as feishuSetupAdapter, n as feishuSetupWizard, t as feishuPlugin } from "./channel-
|
|
1
|
+
import { i as feishuSetupAdapter, n as feishuSetupWizard, t as feishuPlugin } from "./channel-DZakdZ3r.mjs";
|
|
2
2
|
import "../setup-api.js";
|
|
3
3
|
export { feishuPlugin, feishuSetupAdapter, feishuSetupWizard };
|
package/dist/api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import { a as setFeishuNamedAccountEnabled, i as feishuSetupAdapter, n as feishuSetupWizard, r as runFeishuLogin, t as feishuPlugin } from "./.setup/channel-DZakdZ3r.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";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as feishuPlugin } from "./.setup/channel-
|
|
1
|
+
import { t as feishuPlugin } from "./.setup/channel-DZakdZ3r.mjs";
|
|
2
2
|
export { feishuPlugin };
|
package/dist/setup-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as feishuSetupAdapter, n as feishuSetupWizard, t as feishuPlugin } from "./.setup/channel-
|
|
1
|
+
import { i as feishuSetupAdapter, n as feishuSetupWizard, t as feishuPlugin } from "./.setup/channel-DZakdZ3r.mjs";
|
|
2
2
|
export { feishuPlugin, feishuSetupAdapter, feishuSetupWizard };
|
package/dist/setup-entry.js
CHANGED
|
@@ -4,7 +4,7 @@ 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-
|
|
7
|
+
specifier: fileURLToPath(new URL(".setup/setup-api-fZcYXGxe.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "feishuPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/feishu",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.2",
|
|
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.
|
|
20
|
+
"openclaw": ">=2026.10.2"
|
|
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.
|
|
67
|
+
"pluginApi": ">=2026.10.2"
|
|
68
68
|
},
|
|
69
69
|
"build": {
|
|
70
70
|
"bundledDist": false,
|
|
71
|
-
"openclawVersion": "2026.10.
|
|
71
|
+
"openclawVersion": "2026.10.2"
|
|
72
72
|
},
|
|
73
73
|
"release": {
|
|
74
74
|
"publishToClawHub": true,
|