@bitseek/claw 1.3.9 → 1.3.10-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 (101) hide show
  1. package/dist/{agents-DyoF_f3J.js → agents-CfwaUUzc.js} +4 -4
  2. package/dist/{agents.config-DlsoquZH.js → agents.config-DHX7f-II.js} +1 -1
  3. package/dist/{agents.config-D-pjQl0a.js → agents.config-YFwIb3TI.js} +1 -1
  4. package/dist/{auth-choice-BtNLcXFy.js → auth-choice-C2N-LUBR.js} +1 -1
  5. package/dist/{auth-choice-BnlfU4y1.js → auth-choice-CYJe-sOy.js} +1 -1
  6. package/dist/{banner-Dl-V7Ptt.js → banner-C4GZFnfu.js} +1 -1
  7. package/dist/build-info.json +3 -3
  8. package/dist/bundled/boot-md/handler.js +1 -1
  9. package/dist/bundled/session-memory/handler.js +1 -1
  10. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  11. package/dist/{channel-options-DbFmOvel.js → channel-options-Df9B8tD2.js} +1 -1
  12. package/dist/{channel-options-BYE1VHBo.js → channel-options-MWKuSMlJ.js} +1 -1
  13. package/dist/{channel-web-DI8CzqrG.js → channel-web-CZj36UOq.js} +1 -1
  14. package/dist/{channel-web-COoUoCJ1.js → channel-web-CmZ5LJFz.js} +1 -1
  15. package/dist/{channels-cli-a630SQK6.js → channels-cli-CrpfRxVo.js} +6 -6
  16. package/dist/{channels-cli-CnwFvDuq.js → channels-cli-DV6Cp2_m.js} +6 -6
  17. package/dist/{cli-CSvBbD4L.js → cli-Fm20on0Y.js} +1 -1
  18. package/dist/{cli-Dyjp2Eb9.js → cli-IXAHPzCM.js} +1 -1
  19. package/dist/{command-registry-CiiKLf7K.js → command-registry-C3Gr6QIZ.js} +9 -9
  20. package/dist/{completion-cli-A-7_BOG8.js → completion-cli-D96BgcqD.js} +2 -2
  21. package/dist/{completion-cli-Cf-BVW55.js → completion-cli-DcmfM_XB.js} +1 -1
  22. package/dist/{config-cli-DKp1_Q2a.js → config-cli-CR5YWpNX.js} +1 -1
  23. package/dist/{config-cli-B8b1tCQT.js → config-cli-DXlVuWUo.js} +1 -1
  24. package/dist/{configure-C0LdxD84.js → configure-BXys8MUC.js} +3 -3
  25. package/dist/{configure-BFAj-ANy.js → configure-CwQnyhnv.js} +3 -3
  26. package/dist/{doctor-completion-CqdGtWOU.js → doctor-completion-DiVJuSS4.js} +1 -1
  27. package/dist/{doctor-completion-DDa8Rj_C.js → doctor-completion-nOnIa5ym.js} +1 -1
  28. package/dist/entry.js +2 -2
  29. package/dist/extensionAPI.js +1 -1
  30. package/dist/{gateway-cli-D7OOfzP7.js → gateway-cli-C1IqQHY2.js} +8 -8
  31. package/dist/{gateway-cli-CKOUY2y1.js → gateway-cli-jZ-EpLEa.js} +8 -8
  32. package/dist/{health-Dyd4RpCM.js → health-DOGcHcgN.js} +1 -1
  33. package/dist/{health-D7FO50c6.js → health-DeofgoIV.js} +1 -1
  34. package/dist/{hooks-cli-C0ESoNa0.js → hooks-cli-BfA8a5jt.js} +2 -2
  35. package/dist/{hooks-cli-DufRHJ0v.js → hooks-cli-Dh_3-NNe.js} +2 -2
  36. package/dist/index.js +6 -6
  37. package/dist/llm-slug-generator.js +1 -1
  38. package/dist/{models-cli-B3Xw4zlc.js → models-cli-DsaQe3L8.js} +3 -3
  39. package/dist/{models-cli-BfSKbP6r.js → models-cli-Of0Dt4T3.js} +2 -2
  40. package/dist/{models-Cdge-yuv.js → models-x91yp20X.js} +2 -2
  41. package/dist/{npm-resolution-CEMLdRCK.js → npm-resolution-Dh42ChiK.js} +1 -1
  42. package/dist/{npm-resolution-CIbDK6N6.js → npm-resolution-tKQdyyrr.js} +1 -1
  43. package/dist/{onboard-channels-BfnzcJrR.js → onboard-channels-BVZJDmqk.js} +1 -1
  44. package/dist/{onboard-channels-Bw9YbUzP.js → onboard-channels-zkzv3Yvo.js} +1 -1
  45. package/dist/{onboard-D7KozrLf.js → onboard-pwWKjijO.js} +2 -2
  46. package/dist/{onboard-CMEmzKLW.js → onboard-vOB2yRup.js} +2 -2
  47. package/dist/{onboarding-BLcdYzEJ.js → onboarding-Dqr7aZ7Y.js} +3 -3
  48. package/dist/{onboarding-C1mU33hA.js → onboarding-W2AiGqjG.js} +3 -3
  49. package/dist/{onboarding.finalize-BP0DKBAn.js → onboarding.finalize-DIWji8d4.js} +6 -6
  50. package/dist/{onboarding.finalize-2exVy-pf.js → onboarding.finalize-QfwQJFMM.js} +5 -5
  51. package/dist/{pi-embedded-DzJti3AT.js → pi-embedded-DO73FSrv.js} +39 -6
  52. package/dist/{pi-embedded-Dr2npoTx.js → pi-embedded-D_5_WIVV.js} +39 -6
  53. package/dist/{plugin-registry-C6E8urZI.js → plugin-registry-BTbNdUJI.js} +1 -1
  54. package/dist/{plugin-registry-htTOE5ts.js → plugin-registry-fStNzAh6.js} +1 -1
  55. package/dist/plugin-sdk/agents/pi-embedded-subscribe.handlers.messages.d.ts +8 -0
  56. package/dist/plugin-sdk/{channel-web-g5RnVnVc.js → channel-web-kSEIZEuw.js} +1 -1
  57. package/dist/plugin-sdk/index.js +2 -2
  58. package/dist/plugin-sdk/{reply-Bn7G66m2.js → reply-B_uFeTht.js} +39 -6
  59. package/dist/plugin-sdk/{web-BapRq5np.js → web-CY6oM5WK.js} +2 -2
  60. package/dist/{plugins-cli-NTdICagm.js → plugins-cli-CJH6AKMz.js} +2 -2
  61. package/dist/{plugins-cli-Bh8rE7t6.js → plugins-cli-Co-nvd9J.js} +2 -2
  62. package/dist/{program-BzrloeUd.js → program-CNpQbt0K.js} +7 -7
  63. package/dist/{program-context-Dj2_qoie.js → program-context-CGNIVn8U.js} +17 -17
  64. package/dist/{prompt-select-styled-CRUyZ8Zn.js → prompt-select-styled-CIRPu5Ka.js} +4 -4
  65. package/dist/{prompt-select-styled-CRpJTxEn.js → prompt-select-styled-CnF7G9nh.js} +4 -4
  66. package/dist/{provider-auth-helpers-CTHHzB9d.js → provider-auth-helpers-CNUvu0a0.js} +1 -1
  67. package/dist/{provider-auth-helpers-CGlrXlEv.js → provider-auth-helpers-DjIygYv_.js} +1 -1
  68. package/dist/{push-apns-D6P4wyMo.js → push-apns-BgQum9Gy.js} +1 -1
  69. package/dist/{push-apns-CfIOYv6I.js → push-apns-D80k7T9j.js} +1 -1
  70. package/dist/{register.agent-tUHan7i6.js → register.agent-Bhyoci3o.js} +6 -6
  71. package/dist/{register.agent-CbbtPCTG.js → register.agent-kfyfQI8T.js} +7 -7
  72. package/dist/{register.configure-H6uG1A19.js → register.configure-B5HCAfdz.js} +7 -7
  73. package/dist/{register.configure-CurF_EBC.js → register.configure-B7NHNcfM.js} +7 -7
  74. package/dist/{register.maintenance-C4vUOdVb.js → register.maintenance-BD1oDxC-.js} +8 -8
  75. package/dist/{register.maintenance-B4zbpuqh.js → register.maintenance-C1PaIvLI.js} +7 -7
  76. package/dist/{register.message-BNLwGPS-.js → register.message-CveEoRPg.js} +2 -2
  77. package/dist/{register.message-BmweIh8D.js → register.message-D-1QnCw_.js} +2 -2
  78. package/dist/{register.onboard-DElUgwoa.js → register.onboard-DTH8w4yg.js} +2 -2
  79. package/dist/{register.onboard-B_CVsLWL.js → register.onboard-DxdKBYPa.js} +2 -2
  80. package/dist/{register.setup-DWIO5nY-.js → register.setup-B0xOuiw1.js} +2 -2
  81. package/dist/{register.setup-BF5BjQQE.js → register.setup-B_QzzqYV.js} +2 -2
  82. package/dist/{register.status-health-sessions-CGnHeuq9.js → register.status-health-sessions-DdoDk6tI.js} +3 -3
  83. package/dist/{register.status-health-sessions-DVQycJyO.js → register.status-health-sessions-QfEbhT67.js} +3 -3
  84. package/dist/{register.subclis-CXCp9MIN.js → register.subclis-C6ixj03Z.js} +9 -9
  85. package/dist/{reply-Cmqwu6vZ.js → reply-DkwQo3LK.js} +39 -6
  86. package/dist/{run-main-LIh93d7b.js → run-main-CiyxqGgu.js} +14 -14
  87. package/dist/{server-node-events-DhzgyreJ.js → server-node-events-CXwSn_of.js} +2 -2
  88. package/dist/{server-node-events-SLHkUEcI.js → server-node-events-DC1BMCVn.js} +2 -2
  89. package/dist/{status-06d3zhTb.js → status-BB7xEcRf.js} +2 -2
  90. package/dist/{status-B8I9eCIt.js → status-CBRTQ939.js} +2 -2
  91. package/dist/{subagent-registry-CU894Q5r.js → subagent-registry-BcuTxEMl.js} +39 -6
  92. package/dist/{update-cli-Bq0E6UWE.js → update-cli-B4lljwO3.js} +8 -8
  93. package/dist/{update-cli-CL5aaHct.js → update-cli-BBJFl04y.js} +7 -7
  94. package/dist/{update-runner-jAwo79K3.js → update-runner-D60XSU4r.js} +1 -1
  95. package/dist/{update-runner-CDmAZF8g.js → update-runner-DyCzzM9h.js} +1 -1
  96. package/dist/{web-_WxgxGh7.js → web-BxoxUANA.js} +1 -1
  97. package/dist/{web-CadeCgho.js → web-DLuhYIW3.js} +1 -1
  98. package/dist/{web-CGIjjBC-.js → web-DXuCeyJX.js} +2 -2
  99. package/dist/{web-B8lEM5aa.js → web-T0rbkNL4.js} +2 -2
  100. package/docs/install/installer.md +1 -0
  101. package/package.json +1 -1
@@ -61011,7 +61011,7 @@ function createOutboundSendDepsFromCliSource(deps) {
61011
61011
  function createDefaultDeps() {
61012
61012
  return {
61013
61013
  sendMessageWhatsApp: async (...args) => {
61014
- const { sendMessageWhatsApp } = await import("./web-_WxgxGh7.js");
61014
+ const { sendMessageWhatsApp } = await import("./web-BxoxUANA.js");
61015
61015
  return await sendMessageWhatsApp(...args);
61016
61016
  },
61017
61017
  sendMessageTelegram: async (...args) => {
@@ -79275,7 +79275,7 @@ function loadWebLoginQr() {
79275
79275
  return webLoginQrPromise;
79276
79276
  }
79277
79277
  function loadWebChannel() {
79278
- webChannelPromise ??= import("./web-_WxgxGh7.js");
79278
+ webChannelPromise ??= import("./web-BxoxUANA.js");
79279
79279
  return webChannelPromise;
79280
79280
  }
79281
79281
  function loadWhatsAppActions() {
@@ -88213,6 +88213,34 @@ function resolveSilentReplyFallbackText(params) {
88213
88213
  if (!fallback) return params.text;
88214
88214
  return fallback;
88215
88215
  }
88216
+ function summarizeAssistantMessageDebug(message) {
88217
+ const stopReason = typeof message.stopReason === "string" ? message.stopReason ?? void 0 : void 0;
88218
+ const content = message.content;
88219
+ if (!Array.isArray(content)) return {
88220
+ stopReason,
88221
+ contentTypes: []
88222
+ };
88223
+ const contentTypes = [];
88224
+ const toolCalls = [];
88225
+ for (const block of content) {
88226
+ if (!block || typeof block !== "object") {
88227
+ contentTypes.push(typeof block);
88228
+ continue;
88229
+ }
88230
+ const record = block;
88231
+ const blockType = typeof record.type === "string" ? record.type : "unknown";
88232
+ contentTypes.push(blockType);
88233
+ if (blockType === "toolCall") toolCalls.push({
88234
+ id: typeof record.id === "string" ? record.id : void 0,
88235
+ name: typeof record.name === "string" ? record.name : void 0
88236
+ });
88237
+ }
88238
+ return {
88239
+ stopReason,
88240
+ contentTypes,
88241
+ toolCalls: toolCalls.length > 0 ? toolCalls : void 0
88242
+ };
88243
+ }
88216
88244
  function handleMessageStart(ctx, evt) {
88217
88245
  if (evt.message?.role !== "assistant") return;
88218
88246
  ctx.resetAssistantMessageState(ctx.state.assistantTexts.length);
@@ -88341,13 +88369,18 @@ function handleMessageEnd(ctx, evt) {
88341
88369
  ctx.recordAssistantUsage(assistantMessage.usage);
88342
88370
  promoteThinkingTagsToBlocks(assistantMessage);
88343
88371
  const rawText = extractAssistantText$1(assistantMessage);
88372
+ const rawThinking = extractAssistantThinking(assistantMessage);
88373
+ const debugSummary = summarizeAssistantMessageDebug(assistantMessage);
88344
88374
  appendRawStream({
88345
88375
  ts: Date.now(),
88346
88376
  event: "assistant_message_end",
88347
88377
  runId: ctx.params.runId,
88348
88378
  sessionId: ctx.params.session.id,
88349
88379
  rawText,
88350
- rawThinking: extractAssistantThinking(assistantMessage)
88380
+ rawThinking,
88381
+ stopReason: debugSummary.stopReason,
88382
+ contentTypes: debugSummary.contentTypes,
88383
+ toolCalls: debugSummary.toolCalls
88351
88384
  });
88352
88385
  const text = resolveSilentReplyFallbackText({
88353
88386
  text: ctx.stripBlockTags(rawText, {
@@ -88356,8 +88389,8 @@ function handleMessageEnd(ctx, evt) {
88356
88389
  }),
88357
88390
  messagingToolSentTexts: ctx.state.messagingToolSentTexts
88358
88391
  });
88359
- const rawThinking = ctx.state.includeReasoning || ctx.state.streamReasoning ? extractAssistantThinking(assistantMessage) || extractThinkingFromTaggedText(rawText) : "";
88360
- const formattedReasoning = rawThinking ? formatReasoningMessage(rawThinking) : "";
88392
+ const visibleRawThinking = ctx.state.includeReasoning || ctx.state.streamReasoning ? rawThinking || extractThinkingFromTaggedText(rawText) : "";
88393
+ const formattedReasoning = visibleRawThinking ? formatReasoningMessage(visibleRawThinking) : "";
88361
88394
  const trimmedText = text.trim();
88362
88395
  const parsedText = trimmedText ? parseReplyDirectives(stripTrailingDirective(trimmedText)) : null;
88363
88396
  let cleanedText = parsedText?.text ?? "";
@@ -88438,7 +88471,7 @@ function handleMessageEnd(ctx, evt) {
88438
88471
  }
88439
88472
  }
88440
88473
  if (!shouldEmitReasoningBeforeAnswer) maybeEmitReasoning();
88441
- if (ctx.state.streamReasoning && rawThinking) ctx.emitReasoningStream(rawThinking);
88474
+ if (ctx.state.streamReasoning && visibleRawThinking) ctx.emitReasoningStream(visibleRawThinking);
88442
88475
  if (ctx.state.blockReplyBreak === "text_end" && onBlockReply) emitSplitResultAsBlockReply(ctx.consumeReplyDirectives("", { final: true }));
88443
88476
  ctx.state.deltaBuffer = "";
88444
88477
  ctx.state.blockBuffer = "";
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { dt as loadOpenClawPlugins } from "./reply-Cmqwu6vZ.js";
2
+ import { dt as loadOpenClawPlugins } from "./reply-DkwQo3LK.js";
3
3
  import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn65aC59.js";
4
4
  import { t as createSubsystemLogger } from "./subsystem-6SmBCR59.js";
5
5
  import { Wt as loadConfig } from "./model-selection-Cg3prWqt.js";
@@ -3,7 +3,7 @@ import { t as createSubsystemLogger } from "./subsystem-BkPzfTiu.js";
3
3
  import { M as loadConfig } from "./auth-profiles-Dgxwr8Sa.js";
4
4
  import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-YUWhK3d-.js";
5
5
  import { u as getActivePluginRegistry } from "./registry-C4Fq5HtN.js";
6
- import { _ as loadOpenClawPlugins } from "./subagent-registry-CU894Q5r.js";
6
+ import { _ as loadOpenClawPlugins } from "./subagent-registry-BcuTxEMl.js";
7
7
 
8
8
  //#region src/cli/plugin-registry.ts
9
9
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -4,6 +4,14 @@ export declare function resolveSilentReplyFallbackText(params: {
4
4
  text: string;
5
5
  messagingToolSentTexts: string[];
6
6
  }): string;
7
+ export declare function summarizeAssistantMessageDebug(message: AgentMessage): {
8
+ stopReason?: string;
9
+ contentTypes: string[];
10
+ toolCalls?: Array<{
11
+ id?: string;
12
+ name?: string;
13
+ }>;
14
+ };
7
15
  export declare function handleMessageStart(ctx: EmbeddedPiSubscribeContext, evt: AgentEvent & {
8
16
  message: AgentMessage;
9
17
  }): void;
@@ -1,6 +1,6 @@
1
1
  import { a as buildGroupHistoryKey, c as normalizeAgentId, n as DEFAULT_MAIN_KEY, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey } from "./session-key-CVIXEtLx.js";
2
2
  import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-lwmUYGUE.js";
3
- import { At as resolveDefaultGroupPolicy, C as formatDurationPrecise, Ct as resolveDmGroupAccessWithLists, J as DEFAULT_GROUP_HISTORY_LIMIT, Nt as warnMissingProviderGroupPolicyFallbackOnce, St as resolveDmGroupAccessWithCommandGate, Tt as resolvePinnedMainDmOwnerFromAllowlist, U as shouldAckReactionForWhatsApp, W as resolveMentionGating, Y as buildHistoryContextFromEntries, _t as buildPairingReply, ct as formatInboundEnvelope, d as dispatchReplyWithBufferedBlockDispatcher, g as shouldComputeCommandAuthorized, h as hasControlCommand, i as resolveInboundSessionEnvelopeContext, it as createDedupeCache, jt as resolveOpenProviderRuntimeGroupPolicy, l as computeBackoff, m as resolveInboundDebounceMs, n as normalizeGroupActivation, nt as buildMentionRegexes, p as createInboundDebouncer, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as sleepWithAbort, w as enqueueSystemEvent, yt as readStoreAllowFromForDmPolicy } from "./reply-Bn7G66m2.js";
3
+ import { At as resolveDefaultGroupPolicy, C as formatDurationPrecise, Ct as resolveDmGroupAccessWithLists, J as DEFAULT_GROUP_HISTORY_LIMIT, Nt as warnMissingProviderGroupPolicyFallbackOnce, St as resolveDmGroupAccessWithCommandGate, Tt as resolvePinnedMainDmOwnerFromAllowlist, U as shouldAckReactionForWhatsApp, W as resolveMentionGating, Y as buildHistoryContextFromEntries, _t as buildPairingReply, ct as formatInboundEnvelope, d as dispatchReplyWithBufferedBlockDispatcher, g as shouldComputeCommandAuthorized, h as hasControlCommand, i as resolveInboundSessionEnvelopeContext, it as createDedupeCache, jt as resolveOpenProviderRuntimeGroupPolicy, l as computeBackoff, m as resolveInboundDebounceMs, n as normalizeGroupActivation, nt as buildMentionRegexes, p as createInboundDebouncer, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as sleepWithAbort, w as enqueueSystemEvent, yt as readStoreAllowFromForDmPolicy } from "./reply-B_uFeTht.js";
4
4
  import { n as loadConfig } from "./config-QlwvRinO.js";
5
5
  import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-BSS_Lti_.js";
6
6
  import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-DaD2HGTy.js";
@@ -1,6 +1,6 @@
1
1
  import { d as resolveThreadSessionKeys, m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-CVIXEtLx.js";
2
2
  import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId, v as createAccountListHelpers } from "./accounts-lwmUYGUE.js";
3
- import { $ as evictOldHistoryKeys, $t as autoBindSpawnedDiscordSubagent, A as resolveDiscordUserAllowlist, At as resolveDefaultGroupPolicy, B as createTypingCallbacks, Bt as readJsonBodyWithLimit, Ct as resolveDmGroupAccessWithLists, D as resolveSlackUserAllowlist, Dt as GROUP_POLICY_BLOCKED_LABEL, E as parseTelegramThreadId, Et as resolveControlCommandGate, F as stringEnum, Ft as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, G as resolveMentionGatingWithBypass, Gt as isDangerousNameMatchingEnabled, H as shouldAckReaction, Ht as requestBodyErrorToText, I as recordInboundSession, It as DEFAULT_WEBHOOK_MAX_BODY_BYTES, J as DEFAULT_GROUP_HISTORY_LIMIT, Jt as registerAcpRuntimeBackend, K as mergeAllowlist, Kt as registerPluginHttpRoute, L as logAckFailure, Lt as RequestBodyLimitError, M as collectDiscordAuditChannelIds, Mt as resolveRuntimeGroupPolicy, N as formatDocsLink, Nt as warnMissingProviderGroupPolicyFallbackOnce, O as resolveSlackChannelAllowlist, Ot as resetMissingProviderGroupPolicyFallbackWarningsForTesting, P as optionalStringEnum, Pt as pruneMapToMaxSize, Q as clearHistoryEntriesIfEnabled, Qt as AcpRuntimeError, R as logInboundDrop, Rt as installRequestBodyLimitGuard, S as attachFooterText, St as resolveDmGroupAccessWithCommandGate, T as parseTelegramReplyToMessageId, U as shouldAckReactionForWhatsApp, Ut as KeyedAsyncQueue, V as removeAckReactionAfterReply, Vt as readRequestBodyWithLimit, W as resolveMentionGating, Wt as enqueueKeyedTask, X as buildPendingHistoryContextFromMap, Xt as unregisterAcpRuntimeBackend, Yt as requireAcpRuntimeBackend, Z as clearHistoryEntries, Zt as ACP_ERROR_CODES, a as listLineAccountIds, an as BLUEBUBBLES_ACTIONS, at as approveDevicePairing, b as stripMarkdown, bt as resolveDmAllowState, c as resolveLineAccount, cn as CHANNEL_MESSAGE_ACTION_NAMES, dt as formatZonedTimestamp, en as listThreadBindingsBySessionKey, et as recordPendingHistoryEntry, ft as resolveTimezone, gt as issuePairingChallenge, ht as extractToolSend, in as resolveAllowlistMatchSimple, it as createDedupeCache, j as resolveDiscordChannelAllowlist, jt as resolveOpenProviderRuntimeGroupPolicy, k as detectBinary, kt as resolveAllowlistProviderRuntimeGroupPolicy, lt as formatInboundFromLabel, mt as buildMediaPayload, nn as formatAllowlistMatchMeta, o as normalizeAccountId$1, on as BLUEBUBBLES_ACTION_NAMES, ot as listDevicePairing, pt as readBooleanParam, q as summarizeMapping, qt as getAcpRuntimeBackend, rn as resolveAllowlistMatchByCandidates, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_GROUP_ACTIONS, st as rejectDevicePairing, tn as unbindThreadBindingsBySessionKey, tt as recordPendingHistoryEntryIfEnabled, ut as formatUtcTimestamp, v as hasMarkdownToConvert, vt as DM_GROUP_ACCESS_REASON, wt as resolveEffectiveAllowFromLists, x as createReceiptCard, xt as resolveDmGroupAccessDecision, y as processLineMessage, yt as readStoreAllowFromForDmPolicy, z as logTypingFailure, zt as isRequestBodyLimitError } from "./reply-Bn7G66m2.js";
3
+ import { $ as evictOldHistoryKeys, $t as autoBindSpawnedDiscordSubagent, A as resolveDiscordUserAllowlist, At as resolveDefaultGroupPolicy, B as createTypingCallbacks, Bt as readJsonBodyWithLimit, Ct as resolveDmGroupAccessWithLists, D as resolveSlackUserAllowlist, Dt as GROUP_POLICY_BLOCKED_LABEL, E as parseTelegramThreadId, Et as resolveControlCommandGate, F as stringEnum, Ft as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, G as resolveMentionGatingWithBypass, Gt as isDangerousNameMatchingEnabled, H as shouldAckReaction, Ht as requestBodyErrorToText, I as recordInboundSession, It as DEFAULT_WEBHOOK_MAX_BODY_BYTES, J as DEFAULT_GROUP_HISTORY_LIMIT, Jt as registerAcpRuntimeBackend, K as mergeAllowlist, Kt as registerPluginHttpRoute, L as logAckFailure, Lt as RequestBodyLimitError, M as collectDiscordAuditChannelIds, Mt as resolveRuntimeGroupPolicy, N as formatDocsLink, Nt as warnMissingProviderGroupPolicyFallbackOnce, O as resolveSlackChannelAllowlist, Ot as resetMissingProviderGroupPolicyFallbackWarningsForTesting, P as optionalStringEnum, Pt as pruneMapToMaxSize, Q as clearHistoryEntriesIfEnabled, Qt as AcpRuntimeError, R as logInboundDrop, Rt as installRequestBodyLimitGuard, S as attachFooterText, St as resolveDmGroupAccessWithCommandGate, T as parseTelegramReplyToMessageId, U as shouldAckReactionForWhatsApp, Ut as KeyedAsyncQueue, V as removeAckReactionAfterReply, Vt as readRequestBodyWithLimit, W as resolveMentionGating, Wt as enqueueKeyedTask, X as buildPendingHistoryContextFromMap, Xt as unregisterAcpRuntimeBackend, Yt as requireAcpRuntimeBackend, Z as clearHistoryEntries, Zt as ACP_ERROR_CODES, a as listLineAccountIds, an as BLUEBUBBLES_ACTIONS, at as approveDevicePairing, b as stripMarkdown, bt as resolveDmAllowState, c as resolveLineAccount, cn as CHANNEL_MESSAGE_ACTION_NAMES, dt as formatZonedTimestamp, en as listThreadBindingsBySessionKey, et as recordPendingHistoryEntry, ft as resolveTimezone, gt as issuePairingChallenge, ht as extractToolSend, in as resolveAllowlistMatchSimple, it as createDedupeCache, j as resolveDiscordChannelAllowlist, jt as resolveOpenProviderRuntimeGroupPolicy, k as detectBinary, kt as resolveAllowlistProviderRuntimeGroupPolicy, lt as formatInboundFromLabel, mt as buildMediaPayload, nn as formatAllowlistMatchMeta, o as normalizeAccountId$1, on as BLUEBUBBLES_ACTION_NAMES, ot as listDevicePairing, pt as readBooleanParam, q as summarizeMapping, qt as getAcpRuntimeBackend, rn as resolveAllowlistMatchByCandidates, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_GROUP_ACTIONS, st as rejectDevicePairing, tn as unbindThreadBindingsBySessionKey, tt as recordPendingHistoryEntryIfEnabled, ut as formatUtcTimestamp, v as hasMarkdownToConvert, vt as DM_GROUP_ACCESS_REASON, wt as resolveEffectiveAllowFromLists, x as createReceiptCard, xt as resolveDmGroupAccessDecision, y as processLineMessage, yt as readStoreAllowFromForDmPolicy, z as logTypingFailure, zt as isRequestBodyLimitError } from "./reply-B_uFeTht.js";
4
4
  import "./paths-DGY0zK8V.js";
5
5
  import "./github-copilot-token-BzzlOR4B.js";
6
6
  import { A as GroupPolicySchema, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsConfigSchema, I as TtsModeSchema, Jn as acquireFileLock, L as TtsProviderSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as TtsAutoSchema, R as normalizeAllowFrom, Yn as withFileLock, c as WhatsAppConfigSchema, d as IMessageConfigSchema, f as MSTeamsConfigSchema, h as TelegramConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema, z as requireOpenAllowFrom } from "./config-QlwvRinO.js";
@@ -52,7 +52,7 @@ import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticE
52
52
  import { r as extractOriginalFilename } from "./store-B49PVNHw.js";
53
53
  import "./pi-embedded-helpers-5SLsxaPD.js";
54
54
  import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BWnhQoZm.js";
55
- import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-g5RnVnVc.js";
55
+ import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-kSEIZEuw.js";
56
56
  import "./thinking-DGaZRXAR.js";
57
57
  import "./image-DthA-2Bt.js";
58
58
  import "./pi-model-discovery-D69omnZ4.js";
@@ -41201,7 +41201,7 @@ function createOutboundSendDepsFromCliSource(deps) {
41201
41201
  function createDefaultDeps() {
41202
41202
  return {
41203
41203
  sendMessageWhatsApp: async (...args) => {
41204
- const { sendMessageWhatsApp } = await import("./web-BapRq5np.js");
41204
+ const { sendMessageWhatsApp } = await import("./web-CY6oM5WK.js");
41205
41205
  return await sendMessageWhatsApp(...args);
41206
41206
  },
41207
41207
  sendMessageTelegram: async (...args) => {
@@ -61236,7 +61236,7 @@ function loadWebLoginQr() {
61236
61236
  return webLoginQrPromise;
61237
61237
  }
61238
61238
  function loadWebChannel() {
61239
- webChannelPromise ??= import("./web-BapRq5np.js");
61239
+ webChannelPromise ??= import("./web-CY6oM5WK.js");
61240
61240
  return webChannelPromise;
61241
61241
  }
61242
61242
  function loadWhatsAppActions() {
@@ -80222,6 +80222,34 @@ function resolveSilentReplyFallbackText(params) {
80222
80222
  if (!fallback) return params.text;
80223
80223
  return fallback;
80224
80224
  }
80225
+ function summarizeAssistantMessageDebug(message) {
80226
+ const stopReason = typeof message.stopReason === "string" ? message.stopReason ?? void 0 : void 0;
80227
+ const content = message.content;
80228
+ if (!Array.isArray(content)) return {
80229
+ stopReason,
80230
+ contentTypes: []
80231
+ };
80232
+ const contentTypes = [];
80233
+ const toolCalls = [];
80234
+ for (const block of content) {
80235
+ if (!block || typeof block !== "object") {
80236
+ contentTypes.push(typeof block);
80237
+ continue;
80238
+ }
80239
+ const record = block;
80240
+ const blockType = typeof record.type === "string" ? record.type : "unknown";
80241
+ contentTypes.push(blockType);
80242
+ if (blockType === "toolCall") toolCalls.push({
80243
+ id: typeof record.id === "string" ? record.id : void 0,
80244
+ name: typeof record.name === "string" ? record.name : void 0
80245
+ });
80246
+ }
80247
+ return {
80248
+ stopReason,
80249
+ contentTypes,
80250
+ toolCalls: toolCalls.length > 0 ? toolCalls : void 0
80251
+ };
80252
+ }
80225
80253
  function handleMessageStart(ctx, evt) {
80226
80254
  if (evt.message?.role !== "assistant") return;
80227
80255
  ctx.resetAssistantMessageState(ctx.state.assistantTexts.length);
@@ -80350,13 +80378,18 @@ function handleMessageEnd(ctx, evt) {
80350
80378
  ctx.recordAssistantUsage(assistantMessage.usage);
80351
80379
  promoteThinkingTagsToBlocks(assistantMessage);
80352
80380
  const rawText = extractAssistantText$1(assistantMessage);
80381
+ const rawThinking = extractAssistantThinking(assistantMessage);
80382
+ const debugSummary = summarizeAssistantMessageDebug(assistantMessage);
80353
80383
  appendRawStream({
80354
80384
  ts: Date.now(),
80355
80385
  event: "assistant_message_end",
80356
80386
  runId: ctx.params.runId,
80357
80387
  sessionId: ctx.params.session.id,
80358
80388
  rawText,
80359
- rawThinking: extractAssistantThinking(assistantMessage)
80389
+ rawThinking,
80390
+ stopReason: debugSummary.stopReason,
80391
+ contentTypes: debugSummary.contentTypes,
80392
+ toolCalls: debugSummary.toolCalls
80360
80393
  });
80361
80394
  const text = resolveSilentReplyFallbackText({
80362
80395
  text: ctx.stripBlockTags(rawText, {
@@ -80365,8 +80398,8 @@ function handleMessageEnd(ctx, evt) {
80365
80398
  }),
80366
80399
  messagingToolSentTexts: ctx.state.messagingToolSentTexts
80367
80400
  });
80368
- const rawThinking = ctx.state.includeReasoning || ctx.state.streamReasoning ? extractAssistantThinking(assistantMessage) || extractThinkingFromTaggedText(rawText) : "";
80369
- const formattedReasoning = rawThinking ? formatReasoningMessage(rawThinking) : "";
80401
+ const visibleRawThinking = ctx.state.includeReasoning || ctx.state.streamReasoning ? rawThinking || extractThinkingFromTaggedText(rawText) : "";
80402
+ const formattedReasoning = visibleRawThinking ? formatReasoningMessage(visibleRawThinking) : "";
80370
80403
  const trimmedText = text.trim();
80371
80404
  const parsedText = trimmedText ? parseReplyDirectives(stripTrailingDirective(trimmedText)) : null;
80372
80405
  let cleanedText = parsedText?.text ?? "";
@@ -80447,7 +80480,7 @@ function handleMessageEnd(ctx, evt) {
80447
80480
  }
80448
80481
  }
80449
80482
  if (!shouldEmitReasoningBeforeAnswer) maybeEmitReasoning();
80450
- if (ctx.state.streamReasoning && rawThinking) ctx.emitReasoningStream(rawThinking);
80483
+ if (ctx.state.streamReasoning && visibleRawThinking) ctx.emitReasoningStream(visibleRawThinking);
80451
80484
  if (ctx.state.blockReplyBreak === "text_end" && onBlockReply) emitSplitResultAsBlockReply(ctx.consumeReplyDirectives("", { final: true }));
80452
80485
  ctx.state.deltaBuffer = "";
80453
80486
  ctx.state.blockBuffer = "";
@@ -1,5 +1,5 @@
1
1
  import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-lwmUYGUE.js";
2
- import "./reply-Bn7G66m2.js";
2
+ import "./reply-B_uFeTht.js";
3
3
  import "./paths-DGY0zK8V.js";
4
4
  import "./github-copilot-token-BzzlOR4B.js";
5
5
  import "./config-QlwvRinO.js";
@@ -49,7 +49,7 @@ import "./deliver-TLuU1nrG.js";
49
49
  import "./diagnostic-Qi8YtEBS.js";
50
50
  import "./store-B49PVNHw.js";
51
51
  import "./pi-embedded-helpers-5SLsxaPD.js";
52
- import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-g5RnVnVc.js";
52
+ import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-kSEIZEuw.js";
53
53
  import "./thinking-DGaZRXAR.js";
54
54
  import "./image-DthA-2Bt.js";
55
55
  import "./pi-model-discovery-D69omnZ4.js";
@@ -30,7 +30,7 @@ import "./accounts-MEuVJDoB.js";
30
30
  import "./bindings-BDScuSfd.js";
31
31
  import "./send-BLv3U-2N.js";
32
32
  import "./send-BUqXYyi5.js";
33
- import "./subagent-registry-CU894Q5r.js";
33
+ import "./subagent-registry-BcuTxEMl.js";
34
34
  import "./paths-oIurw4YQ.js";
35
35
  import "./chat-envelope-AUuZAcrC.js";
36
36
  import "./client-DVME2dNA.js";
@@ -125,7 +125,7 @@ import "./npm-pack-install-dRUKCY1x.js";
125
125
  import "./skill-scanner-D7WuF5Sb.js";
126
126
  import { a as installPluginFromPath, i as installPluginFromNpmSpec, n as recordPluginInstall, o as resolvePluginInstallDir, r as PLUGIN_INSTALL_ERROR_CODE } from "./installs-B2Z4DyUY.js";
127
127
  import { t as renderTable } from "./table-DHipKm5c.js";
128
- import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-CEMLdRCK.js";
128
+ import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-Dh42ChiK.js";
129
129
  import { n as updateNpmInstalledPlugins, r as findBundledPluginSource } from "./update-BPBo5wB4.js";
130
130
  import path from "node:path";
131
131
  import os from "node:os";
@@ -2,7 +2,7 @@ import { g as resolveStateDir } from "./paths-Drdbent8.js";
2
2
  import { p as theme } from "./globals-voGoTlHc.js";
3
3
  import { S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-BKvMUpT6.js";
4
4
  import "./thinking-44rmAw5o.js";
5
- import "./reply-Cmqwu6vZ.js";
5
+ import "./reply-DkwQo3LK.js";
6
6
  import "./agent-scope-Bn65aC59.js";
7
7
  import { d as defaultRuntime } from "./subsystem-6SmBCR59.js";
8
8
  import { _ as resolveWorkspaceExtensionsDir } from "./workspace-lzz92TZO.js";
@@ -124,7 +124,7 @@ import "./npm-pack-install-CeLUyfHv.js";
124
124
  import "./skill-scanner-fVKi33ir.js";
125
125
  import { a as installPluginFromPath, i as installPluginFromNpmSpec, n as recordPluginInstall, o as resolvePluginInstallDir, r as PLUGIN_INSTALL_ERROR_CODE } from "./installs-CAqAwIjp.js";
126
126
  import { t as renderTable } from "./table-Dzqv7War.js";
127
- import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-CIbDK6N6.js";
127
+ import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-tKQdyyrr.js";
128
128
  import { n as updateNpmInstalledPlugins, r as findBundledPluginSource } from "./update-WMZ0Xniu.js";
129
129
  import fs from "node:fs";
130
130
  import os from "node:os";
@@ -32,7 +32,7 @@ import "./accounts-MEuVJDoB.js";
32
32
  import "./bindings-BDScuSfd.js";
33
33
  import "./send-BLv3U-2N.js";
34
34
  import "./send-BUqXYyi5.js";
35
- import "./subagent-registry-CU894Q5r.js";
35
+ import "./subagent-registry-BcuTxEMl.js";
36
36
  import "./paths-oIurw4YQ.js";
37
37
  import "./chat-envelope-AUuZAcrC.js";
38
38
  import "./client-DVME2dNA.js";
@@ -121,13 +121,13 @@ import "./help-format-BGSdS7w4.js";
121
121
  import "./progress-ctu3wJgA.js";
122
122
  import "./constants-By6nxsIT.js";
123
123
  import "./context-window-guard-aKoSfdAy.js";
124
- import "./plugin-registry-htTOE5ts.js";
125
- import { n as resolveCliChannelOptions } from "./channel-options-BYE1VHBo.js";
126
- import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-CXCp9MIN.js";
127
- import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-CiiKLf7K.js";
124
+ import "./plugin-registry-fStNzAh6.js";
125
+ import { n as resolveCliChannelOptions } from "./channel-options-MWKuSMlJ.js";
126
+ import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-C6ixj03Z.js";
127
+ import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-C3Gr6QIZ.js";
128
128
  import { r as setProgramContext } from "./program-context-BqyLhTGk.js";
129
129
  import { t as forceFreePort } from "./ports-BNwHSlzK.js";
130
- import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-Dl-V7Ptt.js";
130
+ import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-C4GZFnfu.js";
131
131
  import { Command, InvalidArgumentError } from "commander";
132
132
 
133
133
  //#region src/cli/program/context.ts
@@ -261,7 +261,7 @@ function loadConfigGuardModule() {
261
261
  return configGuardModulePromise;
262
262
  }
263
263
  function loadPluginRegistryModule() {
264
- pluginRegistryModulePromise ??= import("./plugin-registry-htTOE5ts.js").then((n) => n.n);
264
+ pluginRegistryModulePromise ??= import("./plugin-registry-fStNzAh6.js").then((n) => n.n);
265
265
  return pluginRegistryModulePromise;
266
266
  }
267
267
  function getRootCommand(command) {
@@ -58,7 +58,7 @@ const entries = [
58
58
  description: "Run, inspect, and query the WebSocket Gateway",
59
59
  hasSubcommands: true,
60
60
  register: async (program) => {
61
- (await import("./gateway-cli-D7OOfzP7.js")).registerGatewayCli(program);
61
+ (await import("./gateway-cli-C1IqQHY2.js")).registerGatewayCli(program);
62
62
  }
63
63
  },
64
64
  {
@@ -90,7 +90,7 @@ const entries = [
90
90
  description: "Discover, scan, and configure models",
91
91
  hasSubcommands: true,
92
92
  register: async (program) => {
93
- (await import("./models-cli-BfSKbP6r.js")).registerModelsCli(program);
93
+ (await import("./models-cli-Of0Dt4T3.js")).registerModelsCli(program);
94
94
  }
95
95
  },
96
96
  {
@@ -170,7 +170,7 @@ const entries = [
170
170
  description: "Manage internal agent hooks",
171
171
  hasSubcommands: true,
172
172
  register: async (program) => {
173
- (await import("./hooks-cli-DufRHJ0v.js")).registerHooksCli(program);
173
+ (await import("./hooks-cli-Dh_3-NNe.js")).registerHooksCli(program);
174
174
  }
175
175
  },
176
176
  {
@@ -202,7 +202,7 @@ const entries = [
202
202
  description: "Secure DM pairing (approve inbound requests)",
203
203
  hasSubcommands: true,
204
204
  register: async (program) => {
205
- const { registerPluginCliCommands } = await import("./cli-CSvBbD4L.js");
205
+ const { registerPluginCliCommands } = await import("./cli-Fm20on0Y.js");
206
206
  registerPluginCliCommands(program, await loadConfig());
207
207
  (await import("./pairing-cli-CKhfgj5_.js")).registerPairingCli(program);
208
208
  }
@@ -212,8 +212,8 @@ const entries = [
212
212
  description: "Manage OpenClaw plugins and extensions",
213
213
  hasSubcommands: true,
214
214
  register: async (program) => {
215
- (await import("./plugins-cli-Bh8rE7t6.js")).registerPluginsCli(program);
216
- const { registerPluginCliCommands } = await import("./cli-CSvBbD4L.js");
215
+ (await import("./plugins-cli-Co-nvd9J.js")).registerPluginsCli(program);
216
+ const { registerPluginCliCommands } = await import("./cli-Fm20on0Y.js");
217
217
  registerPluginCliCommands(program, await loadConfig());
218
218
  }
219
219
  },
@@ -222,7 +222,7 @@ const entries = [
222
222
  description: "Manage connected chat channels (Telegram, Discord, etc.)",
223
223
  hasSubcommands: true,
224
224
  register: async (program) => {
225
- (await import("./channels-cli-CnwFvDuq.js")).registerChannelsCli(program);
225
+ (await import("./channels-cli-DV6Cp2_m.js")).registerChannelsCli(program);
226
226
  }
227
227
  },
228
228
  {
@@ -262,7 +262,7 @@ const entries = [
262
262
  description: "Update OpenClaw and inspect update channel status",
263
263
  hasSubcommands: true,
264
264
  register: async (program) => {
265
- (await import("./update-cli-CL5aaHct.js")).registerUpdateCli(program);
265
+ (await import("./update-cli-BBJFl04y.js")).registerUpdateCli(program);
266
266
  }
267
267
  },
268
268
  {
@@ -270,7 +270,7 @@ const entries = [
270
270
  description: "Generate shell completion script",
271
271
  hasSubcommands: false,
272
272
  register: async (program) => {
273
- (await import("./completion-cli-Cf-BVW55.js").then((n) => n.n)).registerCompletionCli(program);
273
+ (await import("./completion-cli-DcmfM_XB.js").then((n) => n.n)).registerCompletionCli(program);
274
274
  }
275
275
  }
276
276
  ];
@@ -347,7 +347,7 @@ const coreEntries = [
347
347
  hasSubcommands: false
348
348
  }],
349
349
  register: async ({ program }) => {
350
- (await import("./register.setup-BF5BjQQE.js")).registerSetupCommand(program);
350
+ (await import("./register.setup-B_QzzqYV.js")).registerSetupCommand(program);
351
351
  }
352
352
  },
353
353
  {
@@ -357,7 +357,7 @@ const coreEntries = [
357
357
  hasSubcommands: false
358
358
  }],
359
359
  register: async ({ program }) => {
360
- (await import("./register.onboard-B_CVsLWL.js")).registerOnboardCommand(program);
360
+ (await import("./register.onboard-DxdKBYPa.js")).registerOnboardCommand(program);
361
361
  }
362
362
  },
363
363
  {
@@ -367,7 +367,7 @@ const coreEntries = [
367
367
  hasSubcommands: false
368
368
  }],
369
369
  register: async ({ program }) => {
370
- (await import("./register.configure-H6uG1A19.js")).registerConfigureCommand(program);
370
+ (await import("./register.configure-B5HCAfdz.js")).registerConfigureCommand(program);
371
371
  }
372
372
  },
373
373
  {
@@ -377,7 +377,7 @@ const coreEntries = [
377
377
  hasSubcommands: true
378
378
  }],
379
379
  register: async ({ program }) => {
380
- (await import("./config-cli-B8b1tCQT.js")).registerConfigCli(program);
380
+ (await import("./config-cli-DXlVuWUo.js")).registerConfigCli(program);
381
381
  }
382
382
  },
383
383
  {
@@ -404,7 +404,7 @@ const coreEntries = [
404
404
  }
405
405
  ],
406
406
  register: async ({ program }) => {
407
- (await import("./register.maintenance-B4zbpuqh.js")).registerMaintenanceCommands(program);
407
+ (await import("./register.maintenance-C1PaIvLI.js")).registerMaintenanceCommands(program);
408
408
  }
409
409
  },
410
410
  {
@@ -414,7 +414,7 @@ const coreEntries = [
414
414
  hasSubcommands: true
415
415
  }],
416
416
  register: async ({ program, ctx }) => {
417
- (await import("./register.message-BmweIh8D.js")).registerMessageCommands(program, ctx);
417
+ (await import("./register.message-D-1QnCw_.js")).registerMessageCommands(program, ctx);
418
418
  }
419
419
  },
420
420
  {
@@ -438,7 +438,7 @@ const coreEntries = [
438
438
  hasSubcommands: true
439
439
  }],
440
440
  register: async ({ program, ctx }) => {
441
- (await import("./register.agent-tUHan7i6.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
441
+ (await import("./register.agent-Bhyoci3o.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
442
442
  }
443
443
  },
444
444
  {
@@ -460,7 +460,7 @@ const coreEntries = [
460
460
  }
461
461
  ],
462
462
  register: async ({ program }) => {
463
- (await import("./register.status-health-sessions-CGnHeuq9.js")).registerStatusHealthSessionsCommands(program);
463
+ (await import("./register.status-health-sessions-DdoDk6tI.js")).registerStatusHealthSessionsCommands(program);
464
464
  }
465
465
  },
466
466
  {
@@ -12,7 +12,7 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-BxfdQ5hH.js";
12
12
  import { t as buildWorkspaceSkillStatus } from "./skills-status-CV1r9Fs_.js";
13
13
  import { B as cleanStaleLockFiles, at as formatSessionArchiveTimestamp, o as loadSessionStore, ot as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-DugDYFTs.js";
14
14
  import { n as listChannelPlugins } from "./plugins-DPspmGax.js";
15
- import { _ as loadOpenClawPlugins, an as formatRemainingShort, cr as resolveAgentSessionDirs, in as buildAuthHealthSummary, rn as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-CU894Q5r.js";
15
+ import { _ as loadOpenClawPlugins, an as formatRemainingShort, cr as resolveAgentSessionDirs, in as buildAuthHealthSummary, rn as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-BcuTxEMl.js";
16
16
  import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-oIurw4YQ.js";
17
17
  import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-Dx2aHVrt.js";
18
18
  import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-B1yWST2Q.js";
@@ -36,16 +36,16 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
36
36
  import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-BC7wmmDb.js";
37
37
  import { t as readLastGatewayErrorLine } from "./diagnostics-DCUyr8cM.js";
38
38
  import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-DRNo1VIP.js";
39
- import { r as healthCommand } from "./health-Dyd4RpCM.js";
39
+ import { r as healthCommand } from "./health-DOGcHcgN.js";
40
40
  import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-hAbiBedq.js";
41
41
  import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-D__SZrX3.js";
42
- import { t as runGatewayUpdate } from "./update-runner-CDmAZF8g.js";
42
+ import { t as runGatewayUpdate } from "./update-runner-DyCzzM9h.js";
43
43
  import { n as logConfigUpdated } from "./logging-UKb4kRzi.js";
44
44
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BEveSr6U.js";
45
45
  import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-CECFitV-.js";
46
46
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-C0GrW0si.js";
47
47
  import { t as formatHealthCheckFailure } from "./health-format-alQl4_LL.js";
48
- import { n as doctorShellCompletion } from "./doctor-completion-CqdGtWOU.js";
48
+ import { n as doctorShellCompletion } from "./doctor-completion-DiVJuSS4.js";
49
49
  import { execFile } from "node:child_process";
50
50
  import path from "node:path";
51
51
  import os from "node:os";
@@ -1,7 +1,7 @@
1
1
  import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Drdbent8.js";
2
2
  import { g as getResolvedLoggerSettings } from "./globals-voGoTlHc.js";
3
3
  import { C as sleep, S as shortenHomePath, y as resolveUserPath } from "./utils-BKvMUpT6.js";
4
- import { Vr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, dt as loadOpenClawPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-Cmqwu6vZ.js";
4
+ import { Vr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, dt as loadOpenClawPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-DkwQo3LK.js";
5
5
  import { a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn65aC59.js";
6
6
  import { d as defaultRuntime } from "./subsystem-6SmBCR59.js";
7
7
  import { T as parseAgentSessionKey } from "./session-key-C9z4VQtw.js";
@@ -36,16 +36,16 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
36
36
  import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-Crr2tocm.js";
37
37
  import { t as readLastGatewayErrorLine } from "./diagnostics-oGPuN_8k.js";
38
38
  import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-Ufo0P5H5.js";
39
- import { r as healthCommand } from "./health-D7FO50c6.js";
39
+ import { r as healthCommand } from "./health-DeofgoIV.js";
40
40
  import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-DAcl2zC-.js";
41
41
  import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-BrO9nc-f.js";
42
- import { t as runGatewayUpdate } from "./update-runner-jAwo79K3.js";
42
+ import { t as runGatewayUpdate } from "./update-runner-D60XSU4r.js";
43
43
  import { n as logConfigUpdated } from "./logging-CdJuZgW9.js";
44
44
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-DUkWzC9b.js";
45
45
  import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-pmquQVV8.js";
46
46
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DmvY3uMq.js";
47
47
  import { t as formatHealthCheckFailure } from "./health-format-D392yFfI.js";
48
- import { n as doctorShellCompletion } from "./doctor-completion-DDa8Rj_C.js";
48
+ import { n as doctorShellCompletion } from "./doctor-completion-nOnIa5ym.js";
49
49
  import fs from "node:fs";
50
50
  import os from "node:os";
51
51
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-Cmqwu6vZ.js";
1
+ import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-DkwQo3LK.js";
2
2
  import { t as createSubsystemLogger } from "./subsystem-6SmBCR59.js";
3
3
  import { ai as upsertAuthProfile, ci as ensureAuthProfileStore, d as normalizeProviderId } from "./model-selection-Cg3prWqt.js";
4
4
  import { r as isWSLEnv } from "./wsl-Cx5T6MYb.js";
@@ -1,6 +1,6 @@
1
1
  import { t as createSubsystemLogger } from "./subsystem-BkPzfTiu.js";
2
2
  import { Kn as ensureAuthProfileStore, Un as upsertAuthProfile, hr as normalizeProviderId } from "./auth-profiles-Dgxwr8Sa.js";
3
- import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-CU894Q5r.js";
3
+ import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-BcuTxEMl.js";
4
4
  import { r as isWSLEnv } from "./wsl-KDz114y6.js";
5
5
  import { r as stylePromptTitle } from "./prompt-style-lCXEOxSK.js";
6
6
  import { f as updateConfig } from "./shared-D96SvIQZ.js";
@@ -1,6 +1,6 @@
1
1
  import { g as resolveStateDir } from "./paths-Drdbent8.js";
2
2
  import { r as isVerbose } from "./globals-voGoTlHc.js";
3
- import { y as sniffMimeFromBase64 } from "./reply-Cmqwu6vZ.js";
3
+ import { y as sniffMimeFromBase64 } from "./reply-DkwQo3LK.js";
4
4
  import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-6SmBCR59.js";
5
5
  import { T as parseAgentSessionKey } from "./session-key-C9z4VQtw.js";
6
6
  import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-Cks1BaT_.js";
@@ -2,7 +2,7 @@ import { r as isVerbose } from "./globals-BASCq52M.js";
2
2
  import { g as resolveStateDir } from "./paths-D4kNqSu9.js";
3
3
  import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-BkPzfTiu.js";
4
4
  import { T as parseAgentSessionKey } from "./session-key-BLprDJYq.js";
5
- import { p as sniffMimeFromBase64 } from "./subagent-registry-CU894Q5r.js";
5
+ import { p as sniffMimeFromBase64 } from "./subagent-registry-BcuTxEMl.js";
6
6
  import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DrZ4qfxw.js";
7
7
  import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-CYcs8rK6.js";
8
8
  import { o as estimateBase64DecodedBytes } from "./tool-images-rmLnTSxP.js";