@openclaw/feishu 2026.5.16-beta.5 → 2026.5.16-beta.7

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/api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, n as buildFeishuModelOverrideParentCandidates, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-Byq1c20x.js";
2
2
  import { n as createFeishuThreadBindingManager, r as getFeishuThreadBindingManager, t as __testing } from "./thread-bindings-D5kDxq_j.js";
3
- import { n as handleFeishuSubagentEnded, r as handleFeishuSubagentSpawning, t as handleFeishuSubagentDeliveryTarget } from "./subagent-hooks-BUPKo9Al.js";
3
+ import { n as handleFeishuSubagentEnded, r as handleFeishuSubagentSpawning, t as handleFeishuSubagentDeliveryTarget } from "./subagent-hooks-CdXCmxnp.js";
4
4
  import { r as listEnabledFeishuAccounts } from "./accounts-QNGhjZeI.js";
5
5
  import { a as setFeishuNamedAccountEnabled, i as feishuSetupAdapter, n as feishuSetupWizard, r as runFeishuLogin, t as feishuPlugin } from "./channel-elV7bWCs.js";
6
6
  import { t as getFeishuRuntime } from "./runtime-Cc16UY23.js";
@@ -172,7 +172,7 @@ async function handleFeishuSubagentSpawning(event, ctx) {
172
172
  error: "Feishu current-conversation binding is only available in direct messages or topic conversations."
173
173
  };
174
174
  try {
175
- if (!manager.bindConversation({
175
+ const binding = manager.bindConversation({
176
176
  conversationId: conversation.conversationId,
177
177
  parentConversationId: conversation.parentConversationId,
178
178
  targetKind: "subagent",
@@ -184,13 +184,21 @@ async function handleFeishuSubagentSpawning(event, ctx) {
184
184
  deliveryTo: event.requester?.to,
185
185
  deliveryThreadId: event.requester?.threadId != null && event.requester.threadId !== "" ? String(event.requester.threadId) : void 0
186
186
  }
187
- })) return {
187
+ });
188
+ if (!binding) return {
188
189
  status: "error",
189
190
  error: "Unable to bind this Feishu conversation to the spawned subagent session. Session mode is unavailable for this target."
190
191
  };
191
192
  return {
192
193
  status: "ok",
193
- threadBindingReady: true
194
+ threadBindingReady: true,
195
+ deliveryOrigin: resolveFeishuDeliveryOrigin({
196
+ conversationId: binding.conversationId,
197
+ parentConversationId: binding.parentConversationId,
198
+ accountId: binding.accountId,
199
+ deliveryTo: binding.deliveryTo,
200
+ deliveryThreadId: binding.deliveryThreadId
201
+ })
194
202
  };
195
203
  } catch (err) {
196
204
  return {
@@ -1,8 +1,8 @@
1
- import { n as handleFeishuSubagentEnded, r as handleFeishuSubagentSpawning, t as handleFeishuSubagentDeliveryTarget } from "./subagent-hooks-BUPKo9Al.js";
1
+ import { n as handleFeishuSubagentEnded, r as handleFeishuSubagentSpawning, t as handleFeishuSubagentDeliveryTarget } from "./subagent-hooks-CdXCmxnp.js";
2
2
  //#region extensions/feishu/subagent-hooks-api.ts
3
3
  let feishuSubagentHooksPromise = null;
4
4
  function loadFeishuSubagentHooksModule() {
5
- feishuSubagentHooksPromise ??= import("./subagent-hooks-BUPKo9Al.js").then((n) => n.i);
5
+ feishuSubagentHooksPromise ??= import("./subagent-hooks-CdXCmxnp.js").then((n) => n.i);
6
6
  return feishuSubagentHooksPromise;
7
7
  }
8
8
  function registerFeishuSubagentHooks(api) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/feishu",
3
- "version": "2026.5.16-beta.5",
3
+ "version": "2026.5.16-beta.7",
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.16-beta.5"
20
+ "openclaw": ">=2026.5.16-beta.7"
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.16-beta.5"
51
+ "pluginApi": ">=2026.5.16-beta.7"
52
52
  },
53
53
  "build": {
54
- "openclawVersion": "2026.5.16-beta.5"
54
+ "openclawVersion": "2026.5.16-beta.7"
55
55
  },
56
56
  "release": {
57
57
  "publishToClawHub": true,