@visorcraft/idlehands 4.0.6 → 4.0.8

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 (131) hide show
  1. package/dist/{agent-via-gateway-C1oU9h3s.js → agent-via-gateway-BNqWa2KY.js} +1 -1
  2. package/dist/{agent-via-gateway-CZ9i0g6_.js → agent-via-gateway-DAWRXgBZ.js} +2 -2
  3. package/dist/{agent-via-gateway-DbJ4VMCl.js → agent-via-gateway-DnukWgYg.js} +1 -1
  4. package/dist/{agent-via-gateway-iOxURXfD.js → agent-via-gateway-ot70omgC.js} +2 -2
  5. package/dist/{agents-A2yDgnqQ.js → agents-etUqQ3vM.js} +5 -5
  6. package/dist/{agents.config-Cj_x7yWQ.js → agents.config-DGaSmPdW.js} +1 -1
  7. package/dist/{agents.config-Dha06jbo.js → agents.config-FFOmEBpp.js} +1 -1
  8. package/dist/{anton-KSisnjZZ.js → anton-B7cGl-93.js} +1 -1
  9. package/dist/{anton-BzBaDHs_.js → anton-BV_xSUQi.js} +1 -1
  10. package/dist/{anton-Cec4qfxV.js → anton-CZliSAOv.js} +1 -1
  11. package/dist/{anton-BAc6lLhA.js → anton-CdYcHDXy.js} +1 -1
  12. package/dist/{auth-choice-rlwqipdV.js → auth-choice-CdEVNS6t.js} +2 -2
  13. package/dist/{auth-choice-c31g3E7e.js → auth-choice-qQO5MWz8.js} +2 -2
  14. package/dist/{banner-B7GWUHuF.js → banner-DKPFtm9j.js} +1 -1
  15. package/dist/build-info.json +3 -3
  16. package/dist/bundled/boot-md/handler.js +2 -2
  17. package/dist/bundled/session-memory/handler.js +2 -2
  18. package/dist/{channel-options-DXhAdMSp.js → channel-options-BNcsrd0d.js} +1 -1
  19. package/dist/{channel-options-BlWLEOqB.js → channel-options-CSurZCfX.js} +1 -1
  20. package/dist/{channel-web-zsCiOUKL.js → channel-web-COYnY8sZ.js} +2 -2
  21. package/dist/{channel-web-BHb38KRe.js → channel-web-DfBOK5if.js} +2 -2
  22. package/dist/{channels-cli-CUX6YOuf.js → channels-cli-BTIg3DJP.js} +8 -8
  23. package/dist/{channels-cli-DbGUpBdY.js → channels-cli-GZ16c99F.js} +8 -8
  24. package/dist/cli/daemon-cli.js +1 -1
  25. package/dist/{cli-ldDnZPxZ.js → cli-CBXoKbJn.js} +3 -3
  26. package/dist/{cli-CE_9epWz.js → cli-CnjJnIx0.js} +3 -3
  27. package/dist/{command-registry-kWr6njq5.js → command-registry-D3iSv7Of.js} +10 -10
  28. package/dist/{completion-cli-BbVWdP38.js → completion-cli-Dkh-Zrqo.js} +2 -2
  29. package/dist/{completion-cli-DynWWkBp.js → completion-cli-Zaylny55.js} +1 -1
  30. package/dist/{config-cli-CO4X1bLk.js → config-cli-B8R8eDUm.js} +1 -1
  31. package/dist/{config-cli-q_k9h_dy.js → config-cli-DOf-CodQ.js} +1 -1
  32. package/dist/{configure-uH1c6xFf.js → configure-3o91R4Qd.js} +6 -6
  33. package/dist/{configure-DX9PRpEj.js → configure-Wh7ZMjiP.js} +6 -6
  34. package/dist/{daemon-cli-C6nJQWdR.js → daemon-cli-B1Ti51bt.js} +1 -1
  35. package/dist/{daemon-cli-CuIfti01.js → daemon-cli-yC6gq-yv.js} +1 -1
  36. package/dist/{deps-984qcpt2.js → deps-0GRTVtgy.js} +1 -1
  37. package/dist/{deps-DGHlGKcG.js → deps-Bdrf7UsT.js} +1 -1
  38. package/dist/{deps-CcZ0VtSz.js → deps-Ci76e_07.js} +1 -1
  39. package/dist/{deps-D-R85-_U.js → deps-DB6dI42Y.js} +1 -1
  40. package/dist/{doctor-completion-B6siF0IK.js → doctor-completion-BeqR17ft.js} +1 -1
  41. package/dist/{doctor-completion-snvvOxaf.js → doctor-completion-CeD_GwXj.js} +1 -1
  42. package/dist/{emergency-stop--xlBYCby.js → emergency-stop-B1ycCthl.js} +2 -2
  43. package/dist/{emergency-stop-EXYMl2Ho.js → emergency-stop-BpudAT0i.js} +2 -2
  44. package/dist/{emergency-stop-BZLDQaYe.js → emergency-stop-D8XCYE8L.js} +3 -3
  45. package/dist/{emergency-stop-BC_KUVeL.js → emergency-stop-fApFDnLR.js} +3 -3
  46. package/dist/entry.js +1 -1
  47. package/dist/extensionAPI.js +2 -2
  48. package/dist/{gateway-cli-CfbN2Xbe.js → gateway-cli-D3b05F0y.js} +11 -11
  49. package/dist/{gateway-cli-DM0ooWQQ.js → gateway-cli-D9wmLKfn.js} +11 -11
  50. package/dist/{health-OCL-usM5.js → health-D6PJPflH.js} +1 -1
  51. package/dist/{health-BDvy-dA9.js → health-cUQV1hzf.js} +1 -1
  52. package/dist/{hooks-cli-CUIYCmOS.js → hooks-cli-Cg5joAHH.js} +4 -4
  53. package/dist/{hooks-cli-5KuPo6bD.js → hooks-cli-Cs51IGnr.js} +4 -4
  54. package/dist/index.js +8 -8
  55. package/dist/llm-slug-generator.js +2 -2
  56. package/dist/{models-cli-C875vRWq.js → models-cli-D6CVD4Jl.js} +4 -4
  57. package/dist/{models-cli-CibiImfr.js → models-cli-Va0ILYmK.js} +5 -5
  58. package/dist/{models-inlOYmCX.js → models-tqBGSD-X.js} +3 -3
  59. package/dist/{npm-resolution-tDRQud66.js → npm-resolution-CCdELgCy.js} +1 -1
  60. package/dist/{npm-resolution-BXHiLMfy.js → npm-resolution-DgW-oSJa.js} +1 -1
  61. package/dist/{onboard-BCwy-W51.js → onboard-Bfd4q7HR.js} +3 -3
  62. package/dist/{onboard-ZUYeDNCj.js → onboard-Br7oW1Sf.js} +3 -3
  63. package/dist/{onboard-channels-CeCDoXNW.js → onboard-channels-BpCQ5nQX.js} +2 -2
  64. package/dist/{onboard-channels-D9UK8Czg.js → onboard-channels-wDbxIOXH.js} +2 -2
  65. package/dist/{onboard-helpers-BSy20uKb.js → onboard-helpers-BQmbMJxJ.js} +8 -9
  66. package/dist/{onboard-helpers-Cdddkdhv.js → onboard-helpers-Dp6wXNs7.js} +8 -9
  67. package/dist/{onboard-remote-0wlFUWfX.js → onboard-remote-1ZZd5lcX.js} +1 -1
  68. package/dist/{onboard-remote-Cj7cz8ns.js → onboard-remote-CIjhaP2W.js} +1 -1
  69. package/dist/{onboard-skills-DBPNAx3R.js → onboard-skills-BD_AS1Iy.js} +1 -1
  70. package/dist/{onboard-skills-B8402Ifd.js → onboard-skills-BsaUIuq6.js} +1 -1
  71. package/dist/{onboarding-BEh5hLef.js → onboarding-CegT14jj.js} +7 -7
  72. package/dist/{onboarding-BEgQKvqk.js → onboarding-rD-jdAK3.js} +7 -7
  73. package/dist/{onboarding.finalize-DwqJoeKV.js → onboarding.finalize-C50Cd_QG.js} +7 -7
  74. package/dist/{onboarding.finalize-BlP8lhLC.js → onboarding.finalize-CHq5hQxh.js} +8 -8
  75. package/dist/{onboarding.gateway-config-DdbTCDFQ.js → onboarding.gateway-config-CEQMyj8l.js} +1 -1
  76. package/dist/{onboarding.gateway-config-BD4jhrPV.js → onboarding.gateway-config-Czn7jKsq.js} +1 -1
  77. package/dist/{pi-embedded-CMLNiqQq.js → pi-embedded-2EqYdroP.js} +81 -27
  78. package/dist/{pi-embedded-CxYEstRZ.js → pi-embedded-znVFwmix.js} +81 -27
  79. package/dist/{plugin-registry-DPKJHNR_.js → plugin-registry-CYXCwXDq.js} +1 -1
  80. package/dist/{plugin-registry-DH5gOl_u.js → plugin-registry-DAtKgBy3.js} +1 -1
  81. package/dist/plugin-sdk/{agent-via-gateway-B4ZhKrSY.js → agent-via-gateway-BeEBACUq.js} +2 -2
  82. package/dist/plugin-sdk/{anton-i1YeE2Ju.js → anton-DXocufH_.js} +1 -1
  83. package/dist/plugin-sdk/{channel-web-MWHDHhG_.js → channel-web-DOG4rb7e.js} +2 -2
  84. package/dist/plugin-sdk/{deps-Cm-ahw03.js → deps--J_OAyWa.js} +1 -1
  85. package/dist/plugin-sdk/{emergency-stop-B0UyCqt2.js → emergency-stop-CAC-_dk-.js} +2 -2
  86. package/dist/plugin-sdk/index.js +3 -3
  87. package/dist/plugin-sdk/{reply-FeJkvBTh.js → reply-5pZsGmq0.js} +81 -27
  88. package/dist/plugin-sdk/{web-CSrqwl06.js → web-B-T8tUvc.js} +3 -3
  89. package/dist/{plugins-cli-3arRp6gc.js → plugins-cli-CAbzpQdE.js} +4 -4
  90. package/dist/{plugins-cli-DranMED6.js → plugins-cli-Di1X-utw.js} +4 -4
  91. package/dist/{program-DY_Rkd8D.js → program-DCfsqP_8.js} +9 -9
  92. package/dist/{program-context-9CaHm5SI.js → program-context-Dhec-fGX.js} +19 -19
  93. package/dist/{prompt-select-styled-DvMmAvyn.js → prompt-select-styled-C1aw6YAJ.js} +5 -5
  94. package/dist/{prompt-select-styled-CElbRg_a.js → prompt-select-styled-CJ2ux4O0.js} +5 -5
  95. package/dist/{provider-auth-helpers-BPCg8qMf.js → provider-auth-helpers-BPsTPi3e.js} +1 -1
  96. package/dist/{provider-auth-helpers-BaZhGGjD.js → provider-auth-helpers-aWibl0HT.js} +1 -1
  97. package/dist/{push-apns-a0wNNljR.js → push-apns-BracxehR.js} +1 -1
  98. package/dist/{push-apns-CuguN4fn.js → push-apns-By39WpiH.js} +1 -1
  99. package/dist/{register.agent-DyykxslK.js → register.agent-BaVrC6Ay.js} +10 -10
  100. package/dist/{register.agent-ymF22qxN.js → register.agent-CyZyt49k.js} +9 -9
  101. package/dist/{register.configure-BKQteoMw.js → register.configure-CqmHvWcB.js} +11 -11
  102. package/dist/{register.configure-CPZIddJn.js → register.configure-DmjP2LTb.js} +11 -11
  103. package/dist/{register.maintenance-DT7W26RY.js → register.maintenance-DYYx-jCe.js} +10 -10
  104. package/dist/{register.maintenance-p-8kL3Pz.js → register.maintenance-DfWWglhS.js} +9 -9
  105. package/dist/{register.message-hOKynGzt.js → register.message-C3tFRLbl.js} +4 -4
  106. package/dist/{register.message-BBEFC660.js → register.message-Cke7XTrc.js} +4 -4
  107. package/dist/{register.onboard-5z2i2-V5.js → register.onboard-BXK-V33E.js} +3 -3
  108. package/dist/{register.onboard-DdJ-EgL1.js → register.onboard-DLZNgT0T.js} +3 -3
  109. package/dist/{register.orchestrator-anton-DeJEVI3c.js → register.orchestrator-anton-D2g_KbgY.js} +2 -2
  110. package/dist/{register.orchestrator-anton-CxWBZjBX.js → register.orchestrator-anton-rvqNZKP1.js} +2 -2
  111. package/dist/{register.setup-DBQu6Xk7.js → register.setup-DBL7rrRW.js} +3 -3
  112. package/dist/{register.setup-CPqwZAdx.js → register.setup-Dr-v5BSC.js} +3 -3
  113. package/dist/{register.status-health-sessions-DHb1QZxy.js → register.status-health-sessions-BDG_QnIw.js} +5 -5
  114. package/dist/{register.status-health-sessions-CDaM5Qx2.js → register.status-health-sessions-BrnK4KEW.js} +5 -5
  115. package/dist/{register.subclis-DgWtjP5g.js → register.subclis-SGnxsMrq.js} +10 -10
  116. package/dist/{reply-CsQQGCNB.js → reply-tuqCy_5s.js} +82 -28
  117. package/dist/{run-main-DAK3Rydh.js → run-main-KfdXYi7n.js} +16 -16
  118. package/dist/{server-node-events-DBdK-iF8.js → server-node-events-BLSMmXyp.js} +4 -4
  119. package/dist/{server-node-events-C32rthAw.js → server-node-events-Brm38g1H.js} +4 -4
  120. package/dist/{status-CI9kOoYW.js → status-CLNSJORR.js} +3 -3
  121. package/dist/{status-velMOawa.js → status-CmG_xHAm.js} +3 -3
  122. package/dist/{subagent-registry-B5MdaonE.js → subagent-registry-B-ciR-Ya.js} +82 -28
  123. package/dist/{update-cli-C7y4ymGs.js → update-cli-B-RzWiVk.js} +10 -10
  124. package/dist/{update-cli-CDGqZduV.js → update-cli-ButEdTeQ.js} +11 -11
  125. package/dist/{update-runner-Crqt-f5z.js → update-runner-Cxg4n1sn.js} +1 -1
  126. package/dist/{update-runner-xP0EJfLP.js → update-runner-DizoiA2w.js} +1 -1
  127. package/dist/{web-C67ozQHC.js → web-C4Q6twkC.js} +4 -4
  128. package/dist/{web-CZCgCfEk.js → web-D5dDa5kC.js} +3 -3
  129. package/dist/{web-BcMY4ar0.js → web-DWhjgVIf.js} +3 -3
  130. package/dist/{web-BuuP6YsH.js → web-DtCFqhdb.js} +4 -4
  131. package/package.json +1 -1
@@ -72,7 +72,7 @@ import { t as makeProxyFetch } from "./proxy-C4ewPdlN.js";
72
72
  import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BZABUE4J.js";
73
73
  import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-ZovJp-3F.js";
74
74
  import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-WMrtFGPv.js";
75
- import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-Cm-ahw03.js";
75
+ import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps--J_OAyWa.js";
76
76
  import { createRequire } from "node:module";
77
77
  import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
78
78
  import * as path$1 from "node:path";
@@ -33090,7 +33090,7 @@ function createDiscordMessageHandler(params) {
33090
33090
  try {
33091
33091
  const messageText = resolveDiscordMessageText(data.message)?.trim();
33092
33092
  if (messageText) {
33093
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-B0UyCqt2.js");
33093
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CAC-_dk-.js");
33094
33094
  if (isAbortRequestText(messageText)) {
33095
33095
  const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
33096
33096
  const channelId = resolveDiscordMessageChannelId({
@@ -43834,7 +43834,7 @@ async function monitorIMessageProvider(opts = {}) {
43834
43834
  }
43835
43835
  const msgText = (message.text ?? "").trim();
43836
43836
  if (msgText) {
43837
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-B0UyCqt2.js");
43837
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CAC-_dk-.js");
43838
43838
  if (isAbortRequestText(msgText)) {
43839
43839
  const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
43840
43840
  const route = resolveAgentRoute({
@@ -46230,7 +46230,7 @@ function createSignalEventHandler(deps) {
46230
46230
  const senderName = envelope.sourceName ?? senderDisplay;
46231
46231
  const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
46232
46232
  if (bodyText) {
46233
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-B0UyCqt2.js");
46233
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CAC-_dk-.js");
46234
46234
  if (isAbortRequestText(bodyText)) {
46235
46235
  const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
46236
46236
  const route = resolveAgentRoute({
@@ -49601,7 +49601,7 @@ function createSlackMessageHandler(params) {
49601
49601
  if (ctx.markMessageSeen(message.channel, message.ts)) return;
49602
49602
  const rawText = (message.text ?? "").trim();
49603
49603
  if (rawText) {
49604
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-B0UyCqt2.js");
49604
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CAC-_dk-.js");
49605
49605
  if (isAbortRequestText(rawText)) {
49606
49606
  const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
49607
49607
  const route = resolveAgentRoute({
@@ -54224,7 +54224,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
54224
54224
  const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
54225
54225
  const text = typeof msg.text === "string" ? msg.text : void 0;
54226
54226
  if (text) {
54227
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-B0UyCqt2.js");
54227
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CAC-_dk-.js");
54228
54228
  if (isAbortRequestText(text)) {
54229
54229
  const senderId = msg.from?.id ? String(msg.from.id) : "";
54230
54230
  if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
@@ -57709,7 +57709,7 @@ function loadWebLoginQr() {
57709
57709
  return webLoginQrPromise;
57710
57710
  }
57711
57711
  function loadWebChannel() {
57712
- webChannelPromise ??= import("./web-CSrqwl06.js");
57712
+ webChannelPromise ??= import("./web-B-T8tUvc.js");
57713
57713
  return webChannelPromise;
57714
57714
  }
57715
57715
  function loadWhatsAppActions() {
@@ -80268,9 +80268,12 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80268
80268
  const body = params.command.commandBodyNormalized;
80269
80269
  if (!body.startsWith("/anton")) return null;
80270
80270
  if (!params.command.isAuthorizedSender) return { shouldContinue: false };
80271
+ const channel = params.ctx.OriginatingChannel ?? params.command.channel;
80272
+ const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
80273
+ const canRoute = isRoutableChannel(channel);
80271
80274
  const replyCtx = {
80272
- channel: params.ctx.OriginatingChannel ?? params.command.channel,
80273
- to: params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "",
80275
+ channel,
80276
+ to,
80274
80277
  sessionKey: params.sessionKey,
80275
80278
  accountId: params.ctx.AccountId,
80276
80279
  threadId: params.ctx.MessageThreadId,
@@ -80278,25 +80281,35 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80278
80281
  };
80279
80282
  const arg = body.slice(6).trim();
80280
80283
  if (arg === "status" || arg === "") {
80281
- const { antonStatus } = await import("./anton-i1YeE2Ju.js");
80284
+ const { antonStatus } = await import("./anton-DXocufH_.js");
80282
80285
  const lines = [];
80283
80286
  await antonStatus({
80284
80287
  log: (msg) => lines.push(msg),
80285
80288
  error: (msg) => lines.push(msg),
80286
80289
  exit: () => {}
80287
80290
  });
80288
- await sendProgress(replyCtx, lines.join("\n") || "Anton is idle.");
80291
+ const text = lines.join("\n") || "Anton is idle.";
80292
+ if (!canRoute) return {
80293
+ shouldContinue: false,
80294
+ reply: { text }
80295
+ };
80296
+ await sendProgress(replyCtx, text);
80289
80297
  return { shouldContinue: false };
80290
80298
  }
80291
80299
  if (arg === "stop") {
80292
- const { antonStop } = await import("./anton-i1YeE2Ju.js");
80300
+ const { antonStop } = await import("./anton-DXocufH_.js");
80293
80301
  const lines = [];
80294
80302
  await antonStop({
80295
80303
  log: (msg) => lines.push(msg),
80296
80304
  error: (msg) => lines.push(msg),
80297
80305
  exit: () => {}
80298
80306
  });
80299
- await sendProgress(replyCtx, lines.join("\n") || "Stop requested.");
80307
+ const text = lines.join("\n") || "Stop requested.";
80308
+ if (!canRoute) return {
80309
+ shouldContinue: false,
80310
+ reply: { text }
80311
+ };
80312
+ await sendProgress(replyCtx, text);
80300
80313
  return { shouldContinue: false };
80301
80314
  }
80302
80315
  const taskFile = arg;
@@ -80305,19 +80318,30 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80305
80318
  const resolvedPath = pathMod.resolve(params.workspaceDir || process.cwd(), taskFile);
80306
80319
  try {
80307
80320
  if (!(await fs.stat(resolvedPath)).isFile()) {
80308
- await sendProgress(replyCtx, `❌ Not a file: \`${resolvedPath}\``);
80321
+ const text = `❌ Not a file: \`${resolvedPath}\``;
80322
+ if (!canRoute) return {
80323
+ shouldContinue: false,
80324
+ reply: { text }
80325
+ };
80326
+ await sendProgress(replyCtx, text);
80309
80327
  return { shouldContinue: false };
80310
80328
  }
80311
80329
  } catch {
80312
- await sendProgress(replyCtx, `❌ File not found: \`${resolvedPath}\``);
80330
+ const text = `❌ File not found: \`${resolvedPath}\``;
80331
+ if (!canRoute) return {
80332
+ shouldContinue: false,
80333
+ reply: { text }
80334
+ };
80335
+ await sendProgress(replyCtx, text);
80313
80336
  return { shouldContinue: false };
80314
80337
  }
80315
- const { runAnton, formatProgressMessage } = await import("./anton-i1YeE2Ju.js");
80316
- const { createDefaultDeps } = await import("./deps-Cm-ahw03.js").then((n) => n.n);
80338
+ const { runAnton, formatProgressMessage } = await import("./anton-DXocufH_.js");
80339
+ const { createDefaultDeps } = await import("./deps--J_OAyWa.js").then((n) => n.n);
80317
80340
  const { createNonExitingRuntime } = await import("./runtime-CjfcfOBD.js").then((n) => n.r);
80318
80341
  const runtime = createNonExitingRuntime();
80319
80342
  const deps = createDefaultDeps();
80320
- await sendProgress(replyCtx, `🤚 **/anton** invoked on \`${pathMod.basename(resolvedPath)}\`\nStarting orchestrator...`);
80343
+ const startText = `🤚 **/anton** invoked on \`${pathMod.basename(resolvedPath)}\`\nStarting orchestrator...`;
80344
+ if (canRoute) await sendProgress(replyCtx, startText);
80321
80345
  (async () => {
80322
80346
  try {
80323
80347
  await runAnton({
@@ -80327,15 +80351,19 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80327
80351
  force: false,
80328
80352
  dryRun: false,
80329
80353
  workspaceDir: params.workspaceDir || void 0,
80330
- onProgress: async (event) => {
80354
+ ...canRoute ? { onProgress: async (event) => {
80331
80355
  await sendProgress(replyCtx, formatProgressMessage(event));
80332
- }
80356
+ } } : {}
80333
80357
  });
80334
80358
  } catch (err) {
80335
- await sendProgress(replyCtx, `❌ **Anton crashed**: ${err instanceof Error ? err.message : String(err)}`);
80359
+ const msg = err instanceof Error ? err.message : String(err);
80360
+ if (canRoute) await sendProgress(replyCtx, `❌ **Anton crashed**: ${msg}`);
80336
80361
  }
80337
80362
  })();
80338
- return { shouldContinue: false };
80363
+ return canRoute ? { shouldContinue: false } : {
80364
+ shouldContinue: false,
80365
+ reply: { text: startText }
80366
+ };
80339
80367
  };
80340
80368
 
80341
80369
  //#endregion
@@ -80347,9 +80375,15 @@ const handleDirCommand = async (params, _allowTextCommands) => {
80347
80375
  const channel = params.ctx.OriginatingChannel ?? params.command.channel;
80348
80376
  const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
80349
80377
  const arg = body.slice(4).trim();
80378
+ const canRoute = isRoutableChannel(channel);
80350
80379
  if (!arg) {
80380
+ const text = `📂 Current workspace: \`${params.workspaceDir || "(not set)"}\``;
80381
+ if (!canRoute) return {
80382
+ shouldContinue: false,
80383
+ reply: { text }
80384
+ };
80351
80385
  await routeReply({
80352
- payload: { text: `📂 Current workspace: \`${params.workspaceDir || "(not set)"}\`` },
80386
+ payload: { text },
80353
80387
  channel,
80354
80388
  to,
80355
80389
  sessionKey: params.sessionKey,
@@ -80364,8 +80398,13 @@ const handleDirCommand = async (params, _allowTextCommands) => {
80364
80398
  const resolved = (await import("node:path")).resolve(newPath);
80365
80399
  try {
80366
80400
  if (!(await fs.stat(resolved)).isDirectory()) {
80401
+ const text = `❌ Path exists but is not a directory: \`${resolved}\``;
80402
+ if (!canRoute) return {
80403
+ shouldContinue: false,
80404
+ reply: { text }
80405
+ };
80367
80406
  await routeReply({
80368
- payload: { text: `❌ Path exists but is not a directory: \`${resolved}\`` },
80407
+ payload: { text },
80369
80408
  channel,
80370
80409
  to,
80371
80410
  sessionKey: params.sessionKey,
@@ -80376,8 +80415,13 @@ const handleDirCommand = async (params, _allowTextCommands) => {
80376
80415
  return { shouldContinue: false };
80377
80416
  }
80378
80417
  } catch {
80418
+ const text = `❌ Directory not found: \`${resolved}\``;
80419
+ if (!canRoute) return {
80420
+ shouldContinue: false,
80421
+ reply: { text }
80422
+ };
80379
80423
  await routeReply({
80380
- payload: { text: `❌ Directory not found: \`${resolved}\`` },
80424
+ payload: { text },
80381
80425
  channel,
80382
80426
  to,
80383
80427
  sessionKey: params.sessionKey,
@@ -80398,8 +80442,13 @@ const handleDirCommand = async (params, _allowTextCommands) => {
80398
80442
  });
80399
80443
  }
80400
80444
  params.workspaceDir = resolved;
80445
+ const text = `✅ Workspace set to: \`${resolved}\`\nActive for this session only.`;
80446
+ if (!canRoute) return {
80447
+ shouldContinue: false,
80448
+ reply: { text }
80449
+ };
80401
80450
  await routeReply({
80402
- payload: { text: `✅ Workspace set to: \`${resolved}\`\nActive for this session only.` },
80451
+ payload: { text },
80403
80452
  channel,
80404
80453
  to,
80405
80454
  sessionKey: params.sessionKey,
@@ -80408,8 +80457,13 @@ const handleDirCommand = async (params, _allowTextCommands) => {
80408
80457
  cfg: params.cfg
80409
80458
  });
80410
80459
  } catch (err) {
80460
+ const text = `❌ Failed to update workspace: ${err instanceof Error ? err.message : String(err)}`;
80461
+ if (!canRoute) return {
80462
+ shouldContinue: false,
80463
+ reply: { text }
80464
+ };
80411
80465
  await routeReply({
80412
- payload: { text: `❌ Failed to update workspace: ${err instanceof Error ? err.message : String(err)}` },
80466
+ payload: { text },
80413
80467
  channel,
80414
80468
  to,
80415
80469
  sessionKey: params.sessionKey,
@@ -1,5 +1,5 @@
1
1
  import "./accounts-BLYMokxV.js";
2
- import "./reply-FeJkvBTh.js";
2
+ import "./reply-5pZsGmq0.js";
3
3
  import "./paths-CtGV5i8O.js";
4
4
  import "./github-copilot-token-CY2euW0d.js";
5
5
  import "./config-CEgzwk0J.js";
@@ -49,7 +49,7 @@ import "./deliver-BNfMF0Nb.js";
49
49
  import "./diagnostic-ByA6zvzu.js";
50
50
  import "./store-CCCXwngh.js";
51
51
  import "./pi-embedded-helpers-B68z4sHq.js";
52
- import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-MWHDHhG_.js";
52
+ import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DOG4rb7e.js";
53
53
  import "./thinking-g4Rrlwu4.js";
54
54
  import "./image-C_1tftC8.js";
55
55
  import "./pi-model-discovery-Dt6899be.js";
@@ -62,7 +62,7 @@ import "./send-B26cNPqY.js";
62
62
  import "./proxy-C4ewPdlN.js";
63
63
  import "./resolve-route-BZABUE4J.js";
64
64
  import "./replies-ZovJp-3F.js";
65
- import "./deps-Cm-ahw03.js";
65
+ import "./deps--J_OAyWa.js";
66
66
  import "./outbound-attachment-BisU5Vji.js";
67
67
  import { n as sendMessageWhatsApp } from "./outbound-Dx_q6JAI.js";
68
68
  import { i as waitForWaConnection, t as createWaSocket } from "./session-DdJj6_DW.js";
@@ -25,7 +25,7 @@ import "./logging-Bgrm4o7g.js";
25
25
  import "./auth-store-D9BmR4S6.js";
26
26
  import "./send-m4lQkQcY.js";
27
27
  import "./send-CCiDIuX4.js";
28
- import "./subagent-registry-B5MdaonE.js";
28
+ import "./subagent-registry-B-ciR-Ya.js";
29
29
  import "./paths-CC17i2eK.js";
30
30
  import "./chat-envelope-Dedaetiq.js";
31
31
  import "./client-Brv1GCwX.js";
@@ -108,8 +108,8 @@ import "./cli-utils-BfsDuRZS.js";
108
108
  import "./help-format-CldHB7lS.js";
109
109
  import "./progress-B76RkFx7.js";
110
110
  import "./replies-DSfpze17.js";
111
- import "./deps-984qcpt2.js";
112
- import "./onboard-helpers-Cdddkdhv.js";
111
+ import "./deps-0GRTVtgy.js";
112
+ import "./onboard-helpers-Dp6wXNs7.js";
113
113
  import "./prompt-style-XmK49QYK.js";
114
114
  import "./pairing-labels-D7xcHkxi.js";
115
115
  import { n as setPluginEnabledInConfig, t as enablePluginInConfig } from "./enable-CMXupNXl.js";
@@ -118,7 +118,7 @@ import "./npm-registry-spec-BlFqJFsA.js";
118
118
  import "./skill-scanner-CdLElD51.js";
119
119
  import { a as resolvePluginInstallDir, i as installPluginFromPath, n as recordPluginInstall, r as installPluginFromNpmSpec } from "./installs-8aQVDSI0.js";
120
120
  import { t as renderTable } from "./table-aJzHv5Oe.js";
121
- import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-tDRQud66.js";
121
+ import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-CCdELgCy.js";
122
122
  import { n as updateNpmInstalledPlugins, r as findBundledPluginByNpmSpec } from "./update-If9iCjgB.js";
123
123
  import os from "node:os";
124
124
  import path from "node:path";
@@ -1,7 +1,7 @@
1
1
  import { g as resolveStateDir } from "./paths-Cn44w-EB.js";
2
2
  import { B as theme, S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-CXzXXV2o.js";
3
3
  import "./thinking-EAliFiVK.js";
4
- import "./reply-CsQQGCNB.js";
4
+ import "./reply-tuqCy_5s.js";
5
5
  import "./agent-scope-RA0zXRpu.js";
6
6
  import "./subsystem-CGZX2PBV.js";
7
7
  import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
@@ -102,14 +102,14 @@ import "./resolve-route-D_AbcmD6.js";
102
102
  import "./replies-hSFVxL4h.js";
103
103
  import "./skill-commands-BFzmZAfo.js";
104
104
  import "./workspace-dirs-SsExQ3Bz.js";
105
- import "./deps-D-R85-_U.js";
105
+ import "./deps-DB6dI42Y.js";
106
106
  import "./plugin-auto-enable-7DUxMy6A.js";
107
107
  import "./channel-selection-ZxRkxpuF.js";
108
108
  import "./outbound-attachment-Bot3bRnK.js";
109
109
  import "./delivery-queue-BvDRo8CK.js";
110
110
  import "./session-cost-usage-DS1rjzML.js";
111
111
  import "./send-DQiw_nGD.js";
112
- import "./onboard-helpers-BSy20uKb.js";
112
+ import "./onboard-helpers-BQmbMJxJ.js";
113
113
  import "./prompt-style-kmKiCZnm.js";
114
114
  import "./pairing-labels-ChQJzbS9.js";
115
115
  import "./server-lifecycle-B5PlrlbG.js";
@@ -121,7 +121,7 @@ import "./npm-registry-spec-BCbbfIhX.js";
121
121
  import "./skill-scanner-D7mzXRXd.js";
122
122
  import { a as resolvePluginInstallDir, i as installPluginFromPath, n as recordPluginInstall, r as installPluginFromNpmSpec } from "./installs-CNubze2L.js";
123
123
  import { t as renderTable } from "./table-B9AmL3M1.js";
124
- import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-BXHiLMfy.js";
124
+ import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-DgW-oSJa.js";
125
125
  import { n as updateNpmInstalledPlugins, r as findBundledPluginByNpmSpec } from "./update-D79ppbMQ.js";
126
126
  import fs from "node:fs";
127
127
  import os from "node:os";
@@ -26,7 +26,7 @@ import "./logging-Bgrm4o7g.js";
26
26
  import "./auth-store-D9BmR4S6.js";
27
27
  import "./send-m4lQkQcY.js";
28
28
  import "./send-CCiDIuX4.js";
29
- import "./subagent-registry-B5MdaonE.js";
29
+ import "./subagent-registry-B-ciR-Ya.js";
30
30
  import "./paths-CC17i2eK.js";
31
31
  import "./chat-envelope-Dedaetiq.js";
32
32
  import "./client-Brv1GCwX.js";
@@ -109,17 +109,17 @@ import "./cli-utils-BfsDuRZS.js";
109
109
  import "./help-format-CldHB7lS.js";
110
110
  import "./progress-B76RkFx7.js";
111
111
  import "./replies-DSfpze17.js";
112
- import "./deps-984qcpt2.js";
113
- import "./onboard-helpers-Cdddkdhv.js";
112
+ import "./deps-0GRTVtgy.js";
113
+ import "./onboard-helpers-Dp6wXNs7.js";
114
114
  import "./prompt-style-XmK49QYK.js";
115
115
  import "./pairing-labels-D7xcHkxi.js";
116
- import "./plugin-registry-DH5gOl_u.js";
117
- import { n as resolveCliChannelOptions } from "./channel-options-BlWLEOqB.js";
118
- import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-DgWtjP5g.js";
119
- import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-kWr6njq5.js";
116
+ import "./plugin-registry-DAtKgBy3.js";
117
+ import { n as resolveCliChannelOptions } from "./channel-options-CSurZCfX.js";
118
+ import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-SGnxsMrq.js";
119
+ import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-D3iSv7Of.js";
120
120
  import { r as setProgramContext } from "./program-context-BrqeiWcA.js";
121
121
  import { t as forceFreePort } from "./ports-CIJavqzS.js";
122
- import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-B7GWUHuF.js";
122
+ import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-DKPFtm9j.js";
123
123
  import { Command, InvalidArgumentError } from "commander";
124
124
 
125
125
  //#region src/cli/program/context.ts
@@ -258,7 +258,7 @@ function registerPreActionHooks(program, programVersion) {
258
258
  commandPath
259
259
  });
260
260
  if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
261
- const { ensurePluginRegistryLoaded } = await import("./plugin-registry-DH5gOl_u.js").then((n) => n.n);
261
+ const { ensurePluginRegistryLoaded } = await import("./plugin-registry-DAtKgBy3.js").then((n) => n.n);
262
262
  ensurePluginRegistryLoaded();
263
263
  }
264
264
  });
@@ -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-DM0ooWQQ.js")).registerGatewayCli(program);
61
+ (await import("./gateway-cli-D9wmLKfn.js")).registerGatewayCli(program);
62
62
  }
63
63
  },
64
64
  {
@@ -66,7 +66,7 @@ const entries = [
66
66
  description: "Gateway service (legacy alias)",
67
67
  hasSubcommands: true,
68
68
  register: async (program) => {
69
- (await import("./daemon-cli-C6nJQWdR.js").then((n) => n.t)).registerDaemonCli(program);
69
+ (await import("./daemon-cli-B1Ti51bt.js").then((n) => n.t)).registerDaemonCli(program);
70
70
  }
71
71
  },
72
72
  {
@@ -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-C875vRWq.js")).registerModelsCli(program);
93
+ (await import("./models-cli-D6CVD4Jl.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-5KuPo6bD.js")).registerHooksCli(program);
173
+ (await import("./hooks-cli-Cs51IGnr.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-CE_9epWz.js");
205
+ const { registerPluginCliCommands } = await import("./cli-CnjJnIx0.js");
206
206
  registerPluginCliCommands(program, await loadConfig());
207
207
  (await import("./pairing-cli-jwx6hMsM.js")).registerPairingCli(program);
208
208
  }
@@ -212,8 +212,8 @@ const entries = [
212
212
  description: "Manage IdleHands plugins and extensions",
213
213
  hasSubcommands: true,
214
214
  register: async (program) => {
215
- (await import("./plugins-cli-DranMED6.js")).registerPluginsCli(program);
216
- const { registerPluginCliCommands } = await import("./cli-CE_9epWz.js");
215
+ (await import("./plugins-cli-Di1X-utw.js")).registerPluginsCli(program);
216
+ const { registerPluginCliCommands } = await import("./cli-CnjJnIx0.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-DbGUpBdY.js")).registerChannelsCli(program);
225
+ (await import("./channels-cli-GZ16c99F.js")).registerChannelsCli(program);
226
226
  }
227
227
  },
228
228
  {
@@ -262,7 +262,7 @@ const entries = [
262
262
  description: "Update IdleHands and inspect update channel status",
263
263
  hasSubcommands: true,
264
264
  register: async (program) => {
265
- (await import("./update-cli-C7y4ymGs.js")).registerUpdateCli(program);
265
+ (await import("./update-cli-B-RzWiVk.js")).registerUpdateCli(program);
266
266
  }
267
267
  },
268
268
  {
@@ -298,7 +298,7 @@ const entries = [
298
298
  description: "Generate shell completion script",
299
299
  hasSubcommands: false,
300
300
  register: async (program) => {
301
- (await import("./completion-cli-DynWWkBp.js").then((n) => n.n)).registerCompletionCli(program);
301
+ (await import("./completion-cli-Zaylny55.js").then((n) => n.n)).registerCompletionCli(program);
302
302
  }
303
303
  }
304
304
  ];
@@ -355,7 +355,7 @@ const coreEntries = [
355
355
  hasSubcommands: false
356
356
  }],
357
357
  register: async ({ program }) => {
358
- (await import("./register.setup-CPqwZAdx.js")).registerSetupCommand(program);
358
+ (await import("./register.setup-Dr-v5BSC.js")).registerSetupCommand(program);
359
359
  }
360
360
  },
361
361
  {
@@ -365,7 +365,7 @@ const coreEntries = [
365
365
  hasSubcommands: false
366
366
  }],
367
367
  register: async ({ program }) => {
368
- (await import("./register.onboard-5z2i2-V5.js")).registerOnboardCommand(program);
368
+ (await import("./register.onboard-BXK-V33E.js")).registerOnboardCommand(program);
369
369
  }
370
370
  },
371
371
  {
@@ -375,7 +375,7 @@ const coreEntries = [
375
375
  hasSubcommands: false
376
376
  }],
377
377
  register: async ({ program }) => {
378
- (await import("./register.configure-CPZIddJn.js")).registerConfigureCommand(program);
378
+ (await import("./register.configure-DmjP2LTb.js")).registerConfigureCommand(program);
379
379
  }
380
380
  },
381
381
  {
@@ -385,7 +385,7 @@ const coreEntries = [
385
385
  hasSubcommands: true
386
386
  }],
387
387
  register: async ({ program }) => {
388
- (await import("./config-cli-q_k9h_dy.js")).registerConfigCli(program);
388
+ (await import("./config-cli-DOf-CodQ.js")).registerConfigCli(program);
389
389
  }
390
390
  },
391
391
  {
@@ -412,7 +412,7 @@ const coreEntries = [
412
412
  }
413
413
  ],
414
414
  register: async ({ program }) => {
415
- (await import("./register.maintenance-p-8kL3Pz.js")).registerMaintenanceCommands(program);
415
+ (await import("./register.maintenance-DfWWglhS.js")).registerMaintenanceCommands(program);
416
416
  }
417
417
  },
418
418
  {
@@ -422,7 +422,7 @@ const coreEntries = [
422
422
  hasSubcommands: true
423
423
  }],
424
424
  register: async ({ program, ctx }) => {
425
- (await import("./register.message-BBEFC660.js")).registerMessageCommands(program, ctx);
425
+ (await import("./register.message-Cke7XTrc.js")).registerMessageCommands(program, ctx);
426
426
  }
427
427
  },
428
428
  {
@@ -446,7 +446,7 @@ const coreEntries = [
446
446
  hasSubcommands: true
447
447
  }],
448
448
  register: async ({ program, ctx }) => {
449
- (await import("./register.agent-ymF22qxN.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
449
+ (await import("./register.agent-CyZyt49k.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
450
450
  }
451
451
  },
452
452
  {
@@ -468,7 +468,7 @@ const coreEntries = [
468
468
  }
469
469
  ],
470
470
  register: async ({ program }) => {
471
- (await import("./register.status-health-sessions-CDaM5Qx2.js")).registerStatusHealthSessionsCommands(program);
471
+ (await import("./register.status-health-sessions-BrnK4KEW.js")).registerStatusHealthSessionsCommands(program);
472
472
  }
473
473
  },
474
474
  {
@@ -492,7 +492,7 @@ const coreEntries = [
492
492
  hasSubcommands: true
493
493
  }],
494
494
  register: async ({ program }) => {
495
- (await import("./register.orchestrator-anton-DeJEVI3c.js")).registerOrchestratorAntonCommands(program);
495
+ (await import("./register.orchestrator-anton-D2g_KbgY.js")).registerOrchestratorAntonCommands(program);
496
496
  }
497
497
  }
498
498
  ];
@@ -1,6 +1,6 @@
1
1
  import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Cn44w-EB.js";
2
2
  import { C as sleep, S as shortenHomePath, U as getResolvedLoggerSettings, y as resolveUserPath } from "./utils-CXzXXV2o.js";
3
- import { Pr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, ht as loadIdleHandsPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-CsQQGCNB.js";
3
+ import { Pr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, ht as loadIdleHandsPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-tuqCy_5s.js";
4
4
  import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
5
5
  import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
6
6
  import { w as parseAgentSessionKey } from "./session-key-Cuihcz_O.js";
@@ -22,7 +22,7 @@ import { i as resolveMemoryBackendConfig } from "./memory-cli-CUGwnVIY.js";
22
22
  import { n as resolveMemorySearchConfig } from "./manager-BMAFgXyU.js";
23
23
  import { l as resolveDmAllowState } from "./pi-tools.policy-DfITIKZj.js";
24
24
  import { r as isWSLEnv, t as isWSL } from "./wsl-BJW8nTyL.js";
25
- import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-BSy20uKb.js";
25
+ import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-BQmbMJxJ.js";
26
26
  import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-kmKiCZnm.js";
27
27
  import { f as resolveGatewaySystemdServiceName, h as resolveNodeLaunchAgentLabel, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-Z_TnY4pX.js";
28
28
  import { t as buildWorkspaceSkillStatus } from "./skills-status-qjQ8XP0h.js";
@@ -35,15 +35,15 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
35
35
  import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-DHu-HVFx.js";
36
36
  import { t as readLastGatewayErrorLine } from "./diagnostics-DmZbQ8Nc.js";
37
37
  import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-ISQZuNM5.js";
38
- import { r as healthCommand } from "./health-BDvy-dA9.js";
38
+ import { r as healthCommand } from "./health-cUQV1hzf.js";
39
39
  import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-C7ZpN9hN.js";
40
40
  import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-CDbY5AIr.js";
41
- import { t as runGatewayUpdate } from "./update-runner-Crqt-f5z.js";
41
+ import { t as runGatewayUpdate } from "./update-runner-Cxg4n1sn.js";
42
42
  import { n as logConfigUpdated } from "./logging-B0-9lotb.js";
43
43
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-Ck4oCjfl.js";
44
44
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-B7XlUHk_.js";
45
45
  import { t as formatHealthCheckFailure } from "./health-format-Ba_hOaT2.js";
46
- import { n as doctorShellCompletion } from "./doctor-completion-snvvOxaf.js";
46
+ import { n as doctorShellCompletion } from "./doctor-completion-CeD_GwXj.js";
47
47
  import fs from "node:fs";
48
48
  import os from "node:os";
49
49
  import path from "node:path";
@@ -9,7 +9,7 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-BrP9AmCw.js";
9
9
  import { t as buildWorkspaceSkillStatus } from "./skills-status-DEWCCZdI.js";
10
10
  import { V as cleanStaleLockFiles, c as loadSessionStore, nt as resolveMainSessionKey, ot as formatSessionArchiveTimestamp, st as isPrimarySessionTranscriptFileName } from "./sessions-BoqJKVEs.js";
11
11
  import { n as listChannelPlugins } from "./plugins-CCrfZ49T.js";
12
- import { $t as buildAuthHealthSummary, Ln as resolveAgentSessionDirs, Qt as DEFAULT_OAUTH_WARN_MS, _ as loadIdleHandsPlugins, en as formatRemainingShort } from "./subagent-registry-B5MdaonE.js";
12
+ import { $t as buildAuthHealthSummary, Ln as resolveAgentSessionDirs, Qt as DEFAULT_OAUTH_WARN_MS, _ as loadIdleHandsPlugins, en as formatRemainingShort } from "./subagent-registry-B-ciR-Ya.js";
13
13
  import { a as resolveSessionFilePathOptions, i as resolveSessionFilePath, l as resolveSessionTranscriptsDirForAgent, u as resolveStorePath } from "./paths-CC17i2eK.js";
14
14
  import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-DuNslqj2.js";
15
15
  import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-CE_62H5R.js";
@@ -22,7 +22,7 @@ import { n as loadModelCatalog } from "./model-catalog-DYWymzg_.js";
22
22
  import { f as resolveGatewaySystemdServiceName, h as resolveNodeLaunchAgentLabel, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-CmZqN1yj.js";
23
23
  import { l as resolveDmAllowState } from "./pi-tools.policy-J6sS49Ac.js";
24
24
  import { r as isWSLEnv, t as isWSL } from "./wsl-D4WQkPZu.js";
25
- import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-Cdddkdhv.js";
25
+ import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-Dp6wXNs7.js";
26
26
  import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-XmK49QYK.js";
27
27
  import { t as note$1 } from "./note-C2HHth6G.js";
28
28
  import { t as collectChannelStatusIssues } from "./channels-status-issues-Bi00z1aP.js";
@@ -33,15 +33,15 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
33
33
  import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-D7r4FWhK.js";
34
34
  import { t as readLastGatewayErrorLine } from "./diagnostics-BzCL1AMI.js";
35
35
  import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-CTnoTyIV.js";
36
- import { r as healthCommand } from "./health-OCL-usM5.js";
36
+ import { r as healthCommand } from "./health-D6PJPflH.js";
37
37
  import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-B5haX6bT.js";
38
38
  import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-ofowt_yq.js";
39
- import { t as runGatewayUpdate } from "./update-runner-xP0EJfLP.js";
39
+ import { t as runGatewayUpdate } from "./update-runner-DizoiA2w.js";
40
40
  import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
41
41
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BvGvt5rT.js";
42
42
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-Dx928sEF.js";
43
43
  import { t as formatHealthCheckFailure } from "./health-format-wax5NzZB.js";
44
- import { n as doctorShellCompletion } from "./doctor-completion-B6siF0IK.js";
44
+ import { n as doctorShellCompletion } from "./doctor-completion-BeqR17ft.js";
45
45
  import { execFile } from "node:child_process";
46
46
  import os from "node:os";
47
47
  import path from "node:path";
@@ -1,6 +1,6 @@
1
1
  import { s as createSubsystemLogger } from "./entry.js";
2
2
  import { Bn as normalizeProviderId, _n as upsertAuthProfile, bn as ensureAuthProfileStore } from "./auth-profiles-Baj5ImDJ.js";
3
- import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-B5MdaonE.js";
3
+ import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-B-ciR-Ya.js";
4
4
  import { r as isWSLEnv } from "./wsl-D4WQkPZu.js";
5
5
  import { r as stylePromptTitle } from "./prompt-style-XmK49QYK.js";
6
6
  import { f as updateConfig } from "./shared-j17RyGsM.js";
@@ -1,4 +1,4 @@
1
- import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-CsQQGCNB.js";
1
+ import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-tuqCy_5s.js";
2
2
  import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
3
3
  import { Er as upsertAuthProfile, kr as ensureAuthProfileStore, u as normalizeProviderId } from "./model-selection-0dGxYGp8.js";
4
4
  import { r as isWSLEnv } from "./wsl-BJW8nTyL.js";
@@ -1,6 +1,6 @@
1
1
  import { ft as isVerbose, p as shouldLogSubsystemToConsole, qt as resolveStateDir, s as createSubsystemLogger } from "./entry.js";
2
2
  import { w as parseAgentSessionKey } from "./session-key-B9ePuoPx.js";
3
- import { p as sniffMimeFromBase64 } from "./subagent-registry-B5MdaonE.js";
3
+ import { p as sniffMimeFromBase64 } from "./subagent-registry-B-ciR-Ya.js";
4
4
  import { c as readJsonFile, l as writeJsonAtomic, s as createAsyncLock } from "./pairing-token-CnnKAS6M.js";
5
5
  import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-BkZY0bCJ.js";
6
6
  import { o as estimateBase64DecodedBytes } from "./tool-images-B3wb2vnc.js";