@visorcraft/idlehands 4.0.8 → 4.0.10

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 (126) hide show
  1. package/dist/{agent-via-gateway-DnukWgYg.js → agent-via-gateway-BBte3wQO.js} +1 -1
  2. package/dist/{agent-via-gateway-DAWRXgBZ.js → agent-via-gateway-CrOzfhDz.js} +2 -2
  3. package/dist/{agent-via-gateway-BNqWa2KY.js → agent-via-gateway-DUGRWtJj.js} +1 -1
  4. package/dist/{agent-via-gateway-ot70omgC.js → agent-via-gateway-Uh4YDv0D.js} +2 -2
  5. package/dist/{agents-etUqQ3vM.js → agents-Cfq6xBBC.js} +4 -4
  6. package/dist/{agents.config-DGaSmPdW.js → agents.config-CTvFfiWu.js} +1 -1
  7. package/dist/{agents.config-FFOmEBpp.js → agents.config-CdRRep4e.js} +1 -1
  8. package/dist/{anton-BV_xSUQi.js → anton-BXxn5CZ9.js} +1 -1
  9. package/dist/{anton-B7cGl-93.js → anton-CqvQ2Rxs.js} +1 -1
  10. package/dist/{anton-CZliSAOv.js → anton-UMHJ_Ff9.js} +1 -1
  11. package/dist/{anton-CdYcHDXy.js → anton-m3i557wG.js} +1 -1
  12. package/dist/{auth-choice-CdEVNS6t.js → auth-choice-Bhkp9GVM.js} +1 -1
  13. package/dist/{auth-choice-qQO5MWz8.js → auth-choice-Bj2Vw_zs.js} +1 -1
  14. package/dist/{banner-DKPFtm9j.js → banner-DvWLq_V8.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-BNcsrd0d.js → channel-options-BVm5cVek.js} +1 -1
  19. package/dist/{channel-options-CSurZCfX.js → channel-options-DwfZU1bf.js} +1 -1
  20. package/dist/{channel-web-DfBOK5if.js → channel-web-D-gUmqXG.js} +2 -2
  21. package/dist/{channel-web-COYnY8sZ.js → channel-web-NfXtQ8lq.js} +2 -2
  22. package/dist/{channels-cli-BTIg3DJP.js → channels-cli-BMVWvCZG.js} +7 -7
  23. package/dist/{channels-cli-GZ16c99F.js → channels-cli-Bwcv-MbF.js} +7 -7
  24. package/dist/{cli-CBXoKbJn.js → cli-B3yoXae2.js} +2 -2
  25. package/dist/{cli-CnjJnIx0.js → cli-sryoNF62.js} +2 -2
  26. package/dist/{command-registry-D3iSv7Of.js → command-registry-_mRYoCdC.js} +10 -10
  27. package/dist/{completion-cli-Zaylny55.js → completion-cli-CMmi_4ns.js} +1 -1
  28. package/dist/{completion-cli-Dkh-Zrqo.js → completion-cli-tSiHAybF.js} +2 -2
  29. package/dist/{config-cli-B8R8eDUm.js → config-cli-BMyksxxQ.js} +1 -1
  30. package/dist/{config-cli-DOf-CodQ.js → config-cli-ppb9P91W.js} +1 -1
  31. package/dist/{configure-Wh7ZMjiP.js → configure-BLKrFCU5.js} +3 -3
  32. package/dist/{configure-3o91R4Qd.js → configure-Barc4UcZ.js} +3 -3
  33. package/dist/{deps-Bdrf7UsT.js → deps-BAUamBsC.js} +1 -1
  34. package/dist/{deps-DB6dI42Y.js → deps-BffOWnyg.js} +1 -1
  35. package/dist/{deps-0GRTVtgy.js → deps-Dswgef7W.js} +1 -1
  36. package/dist/{deps-Ci76e_07.js → deps-RwCK8twp.js} +1 -1
  37. package/dist/{doctor-completion-CeD_GwXj.js → doctor-completion-CGdUYR1K.js} +1 -1
  38. package/dist/{doctor-completion-BeqR17ft.js → doctor-completion-zcAbMjQ2.js} +1 -1
  39. package/dist/{emergency-stop-BpudAT0i.js → emergency-stop-BMOhiXlj.js} +2 -2
  40. package/dist/{emergency-stop-D8XCYE8L.js → emergency-stop-DJTRZhjJ.js} +2 -2
  41. package/dist/{emergency-stop-fApFDnLR.js → emergency-stop-gTWSglNP.js} +2 -2
  42. package/dist/{emergency-stop-B1ycCthl.js → emergency-stop-qtyxYgYw.js} +2 -2
  43. package/dist/entry.js +1 -1
  44. package/dist/extensionAPI.js +2 -2
  45. package/dist/{gateway-cli-D9wmLKfn.js → gateway-cli-BXVdwolu.js} +9 -9
  46. package/dist/{gateway-cli-D3b05F0y.js → gateway-cli-BdgApNMg.js} +9 -9
  47. package/dist/{health-D6PJPflH.js → health-DBSDfGPQ.js} +1 -1
  48. package/dist/{health-cUQV1hzf.js → health-c6YfjqN9.js} +1 -1
  49. package/dist/{hooks-cli-Cg5joAHH.js → hooks-cli-CoJOwRWP.js} +3 -3
  50. package/dist/{hooks-cli-Cs51IGnr.js → hooks-cli-DuVFXBnl.js} +3 -3
  51. package/dist/index.js +7 -7
  52. package/dist/llm-slug-generator.js +2 -2
  53. package/dist/{models-tqBGSD-X.js → models-I1fimmye.js} +2 -2
  54. package/dist/{models-cli-Va0ILYmK.js → models-cli-XzrL7se3.js} +4 -4
  55. package/dist/{models-cli-D6CVD4Jl.js → models-cli-p17sGvc_.js} +3 -3
  56. package/dist/{npm-resolution-CCdELgCy.js → npm-resolution-CaV24X0a.js} +1 -1
  57. package/dist/{npm-resolution-DgW-oSJa.js → npm-resolution-CjE7drzJ.js} +1 -1
  58. package/dist/{onboard-Bfd4q7HR.js → onboard-B_fyzWtv.js} +2 -2
  59. package/dist/{onboard-Br7oW1Sf.js → onboard-Bqdp0JMX.js} +2 -2
  60. package/dist/{onboard-channels-BpCQ5nQX.js → onboard-channels-BSO1y0cA.js} +1 -1
  61. package/dist/{onboard-channels-wDbxIOXH.js → onboard-channels-CZ8FfTSc.js} +1 -1
  62. package/dist/{onboarding-CegT14jj.js → onboarding-B5h3HtpG.js} +3 -3
  63. package/dist/{onboarding-rD-jdAK3.js → onboarding-BAb3u5FQ.js} +3 -3
  64. package/dist/{onboarding.finalize-C50Cd_QG.js → onboarding.finalize-BFQ0FK67.js} +6 -6
  65. package/dist/{onboarding.finalize-CHq5hQxh.js → onboarding.finalize-C4yD5wdF.js} +7 -7
  66. package/dist/{pi-embedded-znVFwmix.js → pi-embedded-YwM9Q1Oj.js} +15 -13
  67. package/dist/{pi-embedded-2EqYdroP.js → pi-embedded-lIBDXwPw.js} +15 -13
  68. package/dist/{plugin-registry-DAtKgBy3.js → plugin-registry-9o2_nLCw.js} +1 -1
  69. package/dist/{plugin-registry-CYXCwXDq.js → plugin-registry-C0PH2a4D.js} +1 -1
  70. package/dist/plugin-sdk/{agent-via-gateway-BeEBACUq.js → agent-via-gateway-DeAyT5pO.js} +2 -2
  71. package/dist/plugin-sdk/{anton-DXocufH_.js → anton-CM_5r7wZ.js} +1 -1
  72. package/dist/plugin-sdk/{channel-web-DOG4rb7e.js → channel-web-DZEPgI9g.js} +2 -2
  73. package/dist/plugin-sdk/{deps--J_OAyWa.js → deps-C3O2JHMz.js} +1 -1
  74. package/dist/plugin-sdk/{emergency-stop-CAC-_dk-.js → emergency-stop-D_J66ezD.js} +2 -2
  75. package/dist/plugin-sdk/index.js +3 -3
  76. package/dist/plugin-sdk/{reply-5pZsGmq0.js → reply-Bd7B0L5M.js} +15 -13
  77. package/dist/plugin-sdk/{upgrade-command-C2uWxfO3.js → upgrade-command-DKUGbn8D.js} +3 -3
  78. package/dist/plugin-sdk/{web-B-T8tUvc.js → web-BOTYNjJP.js} +3 -3
  79. package/dist/{plugins-cli-CAbzpQdE.js → plugins-cli-Bssd0vWc.js} +3 -3
  80. package/dist/{plugins-cli-Di1X-utw.js → plugins-cli-Buwy6BDo.js} +3 -3
  81. package/dist/{program-DCfsqP_8.js → program-DmoMcJbW.js} +8 -8
  82. package/dist/{program-context-Dhec-fGX.js → program-context-CvILUgwS.js} +22 -22
  83. package/dist/{prompt-select-styled-C1aw6YAJ.js → prompt-select-styled-Ba-sEW8U.js} +4 -4
  84. package/dist/{prompt-select-styled-CJ2ux4O0.js → prompt-select-styled-CQFQszFb.js} +4 -4
  85. package/dist/{provider-auth-helpers-aWibl0HT.js → provider-auth-helpers-DDd2VWFT.js} +1 -1
  86. package/dist/{provider-auth-helpers-BPsTPi3e.js → provider-auth-helpers-DUCFKGef.js} +1 -1
  87. package/dist/{push-apns-BracxehR.js → push-apns-CNG0oNRQ.js} +1 -1
  88. package/dist/{push-apns-By39WpiH.js → push-apns-Caq-I_Zt.js} +1 -1
  89. package/dist/{register.agent-BaVrC6Ay.js → register.agent-D8Nt6BUp.js} +9 -9
  90. package/dist/{register.agent-CyZyt49k.js → register.agent-tRfjcu32.js} +8 -8
  91. package/dist/{register.configure-CqmHvWcB.js → register.configure-BBgjG-V6.js} +8 -8
  92. package/dist/{register.configure-DmjP2LTb.js → register.configure-BlAHg6Pc.js} +8 -8
  93. package/dist/{register.maintenance-DYYx-jCe.js → register.maintenance-7jk9KK9w.js} +9 -9
  94. package/dist/{register.maintenance-DfWWglhS.js → register.maintenance-C4PEQN25.js} +8 -8
  95. package/dist/{register.message-C3tFRLbl.js → register.message-B35QKkNl.js} +3 -3
  96. package/dist/{register.message-Cke7XTrc.js → register.message-DRsct7hM.js} +3 -3
  97. package/dist/{register.onboard-BXK-V33E.js → register.onboard-CpXzVkMZ.js} +2 -2
  98. package/dist/{register.onboard-DLZNgT0T.js → register.onboard-Dfe2XWYP.js} +2 -2
  99. package/dist/{register.orchestrator-anton-D2g_KbgY.js → register.orchestrator-anton-BcvmMRCY.js} +2 -2
  100. package/dist/{register.orchestrator-anton-rvqNZKP1.js → register.orchestrator-anton-CLkzgvtb.js} +2 -2
  101. package/dist/{register.setup-DBL7rrRW.js → register.setup-D60l_E81.js} +2 -2
  102. package/dist/{register.setup-Dr-v5BSC.js → register.setup-DHvCXtrq.js} +2 -2
  103. package/dist/{register.status-health-sessions-BDG_QnIw.js → register.status-health-sessions-BjLIPEMo.js} +4 -4
  104. package/dist/{register.status-health-sessions-BrnK4KEW.js → register.status-health-sessions-BzFW2WeI.js} +4 -4
  105. package/dist/{register.subclis-SGnxsMrq.js → register.subclis-G3Znne6v.js} +13 -13
  106. package/dist/{reply-tuqCy_5s.js → reply-BjfZSyVA.js} +15 -13
  107. package/dist/{run-main-KfdXYi7n.js → run-main-uIK1D4ZZ.js} +15 -15
  108. package/dist/{server-node-events-BLSMmXyp.js → server-node-events-CNNvTDbI.js} +3 -3
  109. package/dist/{server-node-events-Brm38g1H.js → server-node-events-CjRXfyAl.js} +3 -3
  110. package/dist/{status-CLNSJORR.js → status-CCYiT1JP.js} +2 -2
  111. package/dist/{status-CmG_xHAm.js → status-Cl-QVMTz.js} +2 -2
  112. package/dist/{subagent-registry-B-ciR-Ya.js → subagent-registry-CXQ2ArrW.js} +15 -13
  113. package/dist/{update-cli-ButEdTeQ.js → update-cli-B2P4wjeX.js} +9 -9
  114. package/dist/{update-cli-B-RzWiVk.js → update-cli-BmyxJEDm.js} +8 -8
  115. package/dist/{update-runner-Cxg4n1sn.js → update-runner-BQ1zr3So.js} +1 -1
  116. package/dist/{update-runner-DizoiA2w.js → update-runner-BdYav5a2.js} +1 -1
  117. package/dist/{upgrade-command-5UDVpXfB.js → upgrade-command-Bh61DpzA.js} +5 -5
  118. package/dist/{upgrade-command-B2yxOLOn.js → upgrade-command-Bvrv4iDU.js} +3 -3
  119. package/dist/{upgrade-command-B_OSevDd.js → upgrade-command-CvbcPPIF.js} +3 -3
  120. package/dist/{upgrade-command-DP6F1cjV.js → upgrade-command-L9y3xbza.js} +5 -5
  121. package/dist/{web-DtCFqhdb.js → web-BVRZ7GPb.js} +3 -3
  122. package/dist/{web-C4Q6twkC.js → web-B_JttZzc.js} +3 -3
  123. package/dist/{web-DWhjgVIf.js → web-CAqyU7Tb.js} +3 -3
  124. package/dist/{web-D5dDa5kC.js → web-Ur3UMpna.js} +3 -3
  125. package/extensions/acpx/node_modules/.bin/acpx +2 -2
  126. 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--J_OAyWa.js";
75
+ import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-C3O2JHMz.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-CAC-_dk-.js");
33093
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D_J66ezD.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-CAC-_dk-.js");
43837
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D_J66ezD.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-CAC-_dk-.js");
46233
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D_J66ezD.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-CAC-_dk-.js");
49604
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D_J66ezD.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-CAC-_dk-.js");
54227
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D_J66ezD.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-B-T8tUvc.js");
57712
+ webChannelPromise ??= import("./web-BOTYNjJP.js");
57713
57713
  return webChannelPromise;
57714
57714
  }
57715
57715
  function loadWhatsAppActions() {
@@ -80281,7 +80281,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80281
80281
  };
80282
80282
  const arg = body.slice(6).trim();
80283
80283
  if (arg === "status" || arg === "") {
80284
- const { antonStatus } = await import("./anton-DXocufH_.js");
80284
+ const { antonStatus } = await import("./anton-CM_5r7wZ.js");
80285
80285
  const lines = [];
80286
80286
  await antonStatus({
80287
80287
  log: (msg) => lines.push(msg),
@@ -80297,7 +80297,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80297
80297
  return { shouldContinue: false };
80298
80298
  }
80299
80299
  if (arg === "stop") {
80300
- const { antonStop } = await import("./anton-DXocufH_.js");
80300
+ const { antonStop } = await import("./anton-CM_5r7wZ.js");
80301
80301
  const lines = [];
80302
80302
  await antonStop({
80303
80303
  log: (msg) => lines.push(msg),
@@ -80335,8 +80335,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80335
80335
  await sendProgress(replyCtx, text);
80336
80336
  return { shouldContinue: false };
80337
80337
  }
80338
- const { runAnton, formatProgressMessage } = await import("./anton-DXocufH_.js");
80339
- const { createDefaultDeps } = await import("./deps--J_OAyWa.js").then((n) => n.n);
80338
+ const { runAnton, formatProgressMessage } = await import("./anton-CM_5r7wZ.js");
80339
+ const { createDefaultDeps } = await import("./deps-C3O2JHMz.js").then((n) => n.n);
80340
80340
  const { createNonExitingRuntime } = await import("./runtime-CjfcfOBD.js").then((n) => n.r);
80341
80341
  const runtime = createNonExitingRuntime();
80342
80342
  const deps = createDefaultDeps();
@@ -82009,7 +82009,7 @@ const handleTtsCommands = async (params, allowTextCommands) => {
82009
82009
  const handleUpgradeCommand = async (params, _allowTextCommands) => {
82010
82010
  if (!params.command.commandBodyNormalized.startsWith("/upgrade")) return null;
82011
82011
  if (!params.command.isAuthorizedSender) return { shouldContinue: false };
82012
- const { performBotUpgrade } = await import("./upgrade-command-C2uWxfO3.js");
82012
+ const { performBotUpgrade } = await import("./upgrade-command-DKUGbn8D.js");
82013
82013
  const channel = params.ctx.OriginatingChannel ?? params.command.channel;
82014
82014
  const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
82015
82015
  await routeReply({
@@ -87539,7 +87539,7 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
87539
87539
  hasResolvedHeartbeatModelOverride = true;
87540
87540
  }
87541
87541
  }
87542
- const workspaceDir = (await ensureAgentWorkspace({
87542
+ let workspaceDir = (await ensureAgentWorkspace({
87543
87543
  dir: resolveAgentWorkspaceDir(cfg, agentId) ?? DEFAULT_AGENT_WORKSPACE_DIR,
87544
87544
  ensureBootstrapFiles: !agentCfg?.skipBootstrap && !isFastTestEnv
87545
87545
  })).dir;
@@ -87585,6 +87585,8 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
87585
87585
  cfg,
87586
87586
  commandAuthorized
87587
87587
  });
87588
+ const sessionWorkspaceDir = sessionEntry.workspaceDir?.trim();
87589
+ if (sessionWorkspaceDir) workspaceDir = sessionWorkspaceDir;
87588
87590
  await applyResetModelOverride({
87589
87591
  cfg,
87590
87592
  resetTriggered,
@@ -261,14 +261,14 @@ async function checkForUpdate(source) {
261
261
  }
262
262
  function detectServiceManager() {
263
263
  try {
264
- const result = execSync("systemctl --user is-active idlehands-bot 2>/dev/null || true", {
264
+ const result = execSync("systemctl --user is-active idlehands-gateway.service 2>/dev/null || true", {
265
265
  encoding: "utf8",
266
266
  timeout: 5e3
267
267
  }).trim();
268
268
  if (result === "active" || result === "inactive") return "systemd-user";
269
269
  } catch {}
270
270
  try {
271
- const result = execSync("systemctl is-active idlehands-bot 2>/dev/null || true", {
271
+ const result = execSync("systemctl is-active idlehands-gateway.service 2>/dev/null || true", {
272
272
  encoding: "utf8",
273
273
  timeout: 5e3
274
274
  }).trim();
@@ -277,7 +277,7 @@ function detectServiceManager() {
277
277
  return "none";
278
278
  }
279
279
  function scheduleServiceRestart(serviceManager) {
280
- spawn("bash", ["-c", serviceManager === "systemd-user" ? "sleep 2 && systemctl --user restart idlehands-bot" : "sleep 2 && sudo systemctl restart idlehands-bot"], {
280
+ spawn("bash", ["-c", serviceManager === "systemd-user" ? "sleep 2 && systemctl --user restart idlehands-gateway.service" : "sleep 2 && sudo systemctl restart idlehands-gateway.service"], {
281
281
  detached: true,
282
282
  stdio: "ignore"
283
283
  }).unref();
@@ -1,5 +1,5 @@
1
1
  import "./accounts-BLYMokxV.js";
2
- import "./reply-5pZsGmq0.js";
2
+ import "./reply-Bd7B0L5M.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-DOG4rb7e.js";
52
+ import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DZEPgI9g.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--J_OAyWa.js";
65
+ import "./deps-C3O2JHMz.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-B-ciR-Ya.js";
28
+ import "./subagent-registry-CXQ2ArrW.js";
29
29
  import "./paths-CC17i2eK.js";
30
30
  import "./chat-envelope-Dedaetiq.js";
31
31
  import "./client-Brv1GCwX.js";
@@ -108,7 +108,7 @@ 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-0GRTVtgy.js";
111
+ import "./deps-Dswgef7W.js";
112
112
  import "./onboard-helpers-Dp6wXNs7.js";
113
113
  import "./prompt-style-XmK49QYK.js";
114
114
  import "./pairing-labels-D7xcHkxi.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-CCdELgCy.js";
121
+ import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-CaV24X0a.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-tuqCy_5s.js";
4
+ import "./reply-BjfZSyVA.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,7 +102,7 @@ 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-DB6dI42Y.js";
105
+ import "./deps-BffOWnyg.js";
106
106
  import "./plugin-auto-enable-7DUxMy6A.js";
107
107
  import "./channel-selection-ZxRkxpuF.js";
108
108
  import "./outbound-attachment-Bot3bRnK.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-DgW-oSJa.js";
124
+ import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-CjE7drzJ.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-B-ciR-Ya.js";
29
+ import "./subagent-registry-CXQ2ArrW.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-0GRTVtgy.js";
112
+ import "./deps-Dswgef7W.js";
113
113
  import "./onboard-helpers-Dp6wXNs7.js";
114
114
  import "./prompt-style-XmK49QYK.js";
115
115
  import "./pairing-labels-D7xcHkxi.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";
116
+ import "./plugin-registry-9o2_nLCw.js";
117
+ import { n as resolveCliChannelOptions } from "./channel-options-DwfZU1bf.js";
118
+ import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-G3Znne6v.js";
119
+ import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-_mRYoCdC.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-DKPFtm9j.js";
122
+ import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-DvWLq_V8.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-DAtKgBy3.js").then((n) => n.n);
261
+ const { ensurePluginRegistryLoaded } = await import("./plugin-registry-9o2_nLCw.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-D9wmLKfn.js")).registerGatewayCli(program);
61
+ (await import("./gateway-cli-BXVdwolu.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-D6CVD4Jl.js")).registerModelsCli(program);
93
+ (await import("./models-cli-p17sGvc_.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-Cs51IGnr.js")).registerHooksCli(program);
173
+ (await import("./hooks-cli-DuVFXBnl.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-CnjJnIx0.js");
205
+ const { registerPluginCliCommands } = await import("./cli-sryoNF62.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-Di1X-utw.js")).registerPluginsCli(program);
216
- const { registerPluginCliCommands } = await import("./cli-CnjJnIx0.js");
215
+ (await import("./plugins-cli-Buwy6BDo.js")).registerPluginsCli(program);
216
+ const { registerPluginCliCommands } = await import("./cli-sryoNF62.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-GZ16c99F.js")).registerChannelsCli(program);
225
+ (await import("./channels-cli-Bwcv-MbF.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-B-RzWiVk.js")).registerUpdateCli(program);
265
+ (await import("./update-cli-BmyxJEDm.js")).registerUpdateCli(program);
266
266
  }
267
267
  },
268
268
  {
@@ -271,7 +271,7 @@ const entries = [
271
271
  hasSubcommands: false,
272
272
  register: async (program) => {
273
273
  program.command("upgrade").description("Upgrade IdleHands to the latest version (check → install → restart)").option("--check", "Only check for updates without installing", false).action(async (opts) => {
274
- const { performBotUpgrade, checkBotUpdate } = await import("./upgrade-command-DP6F1cjV.js");
274
+ const { performBotUpgrade, checkBotUpdate } = await import("./upgrade-command-Bh61DpzA.js");
275
275
  if (opts.check) {
276
276
  const info = await checkBotUpdate();
277
277
  if (info.available) console.log(`Update available: v${info.current} → v${info.latest} (${info.source})`);
@@ -286,9 +286,9 @@ const entries = [
286
286
  if (result.needsRestart && result.success) {
287
287
  console.log("\nℹ️ Upgrade installed. If you are running interactively, restart your current process/session to load the new binary.");
288
288
  console.log("Suggested commands:");
289
- console.log(" systemctl --user restart idlehands-bot # if using user service");
290
- console.log(" idlehands gateway restart # if running gateway manually");
291
- console.log(" hash -r && idlehands --version # refresh shell command cache + verify");
289
+ console.log(" systemctl --user restart idlehands-gateway.service # if using user service");
290
+ console.log(" idlehands gateway restart # if running gateway manually");
291
+ console.log(" hash -r && idlehands --version # refresh shell command cache + verify");
292
292
  }
293
293
  });
294
294
  }
@@ -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-Zaylny55.js").then((n) => n.n)).registerCompletionCli(program);
301
+ (await import("./completion-cli-CMmi_4ns.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-Dr-v5BSC.js")).registerSetupCommand(program);
358
+ (await import("./register.setup-DHvCXtrq.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-BXK-V33E.js")).registerOnboardCommand(program);
368
+ (await import("./register.onboard-CpXzVkMZ.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-DmjP2LTb.js")).registerConfigureCommand(program);
378
+ (await import("./register.configure-BlAHg6Pc.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-DOf-CodQ.js")).registerConfigCli(program);
388
+ (await import("./config-cli-ppb9P91W.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-DfWWglhS.js")).registerMaintenanceCommands(program);
415
+ (await import("./register.maintenance-C4PEQN25.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-Cke7XTrc.js")).registerMessageCommands(program, ctx);
425
+ (await import("./register.message-DRsct7hM.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-CyZyt49k.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
449
+ (await import("./register.agent-tRfjcu32.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-BrnK4KEW.js")).registerStatusHealthSessionsCommands(program);
471
+ (await import("./register.status-health-sessions-BzFW2WeI.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-D2g_KbgY.js")).registerOrchestratorAntonCommands(program);
495
+ (await import("./register.orchestrator-anton-BcvmMRCY.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-tuqCy_5s.js";
3
+ import { Pr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, ht as loadIdleHandsPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-BjfZSyVA.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";
@@ -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-cUQV1hzf.js";
38
+ import { r as healthCommand } from "./health-c6YfjqN9.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-Cxg4n1sn.js";
41
+ import { t as runGatewayUpdate } from "./update-runner-BQ1zr3So.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-CeD_GwXj.js";
46
+ import { n as doctorShellCompletion } from "./doctor-completion-CGdUYR1K.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-B-ciR-Ya.js";
12
+ import { $t as buildAuthHealthSummary, Ln as resolveAgentSessionDirs, Qt as DEFAULT_OAUTH_WARN_MS, _ as loadIdleHandsPlugins, en as formatRemainingShort } from "./subagent-registry-CXQ2ArrW.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";
@@ -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-D6PJPflH.js";
36
+ import { r as healthCommand } from "./health-DBSDfGPQ.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-DizoiA2w.js";
39
+ import { t as runGatewayUpdate } from "./update-runner-BdYav5a2.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-BeqR17ft.js";
44
+ import { n as doctorShellCompletion } from "./doctor-completion-zcAbMjQ2.js";
45
45
  import { execFile } from "node:child_process";
46
46
  import os from "node:os";
47
47
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-tuqCy_5s.js";
1
+ import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-BjfZSyVA.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 { 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-B-ciR-Ya.js";
3
+ import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-CXQ2ArrW.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,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-B-ciR-Ya.js";
3
+ import { p as sniffMimeFromBase64 } from "./subagent-registry-CXQ2ArrW.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";
@@ -1,6 +1,6 @@
1
1
  import { g as resolveStateDir } from "./paths-Cn44w-EB.js";
2
2
  import { A as isVerbose } from "./utils-CXzXXV2o.js";
3
- import { _ as sniffMimeFromBase64 } from "./reply-tuqCy_5s.js";
3
+ import { _ as sniffMimeFromBase64 } from "./reply-BjfZSyVA.js";
4
4
  import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
5
5
  import { w as parseAgentSessionKey } from "./session-key-Cuihcz_O.js";
6
6
  import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-B_4KNlXs.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-B-ciR-Ya.js";
28
+ import "./subagent-registry-CXQ2ArrW.js";
29
29
  import "./paths-CC17i2eK.js";
30
30
  import "./chat-envelope-Dedaetiq.js";
31
31
  import "./client-Brv1GCwX.js";
@@ -108,36 +108,36 @@ import { n as runCommandWithRuntime } from "./cli-utils-BfsDuRZS.js";
108
108
  import { t as formatHelpExamples } from "./help-format-CldHB7lS.js";
109
109
  import "./progress-B76RkFx7.js";
110
110
  import "./replies-DSfpze17.js";
111
- import { t as createDefaultDeps } from "./deps-0GRTVtgy.js";
111
+ import { t as createDefaultDeps } from "./deps-Dswgef7W.js";
112
112
  import "./onboard-helpers-Dp6wXNs7.js";
113
113
  import "./prompt-style-XmK49QYK.js";
114
114
  import "./pairing-labels-D7xcHkxi.js";
115
115
  import "./outbound-B8NhUGIW.js";
116
- import "./channel-web-COYnY8sZ.js";
116
+ import "./channel-web-NfXtQ8lq.js";
117
117
  import "./session-BVsrroox.js";
118
118
  import "./login-BaXwiEpr.js";
119
119
  import { t as hasExplicitOptions } from "./command-options-CK65DMbR.js";
120
120
  import "./note-C2HHth6G.js";
121
121
  import "./clack-prompter-Bo7vS5xP.js";
122
122
  import "./config-validation-BgKexeQb.js";
123
- import "./agents.config-FFOmEBpp.js";
123
+ import "./agents.config-CdRRep4e.js";
124
124
  import "./enable-CMXupNXl.js";
125
125
  import "./install-safe-path-C7y57-yb.js";
126
126
  import "./npm-registry-spec-BlFqJFsA.js";
127
127
  import "./skill-scanner-CdLElD51.js";
128
128
  import "./installs-8aQVDSI0.js";
129
- import "./onboard-channels-BpCQ5nQX.js";
129
+ import "./onboard-channels-BSO1y0cA.js";
130
130
  import { t as collectOption } from "./helpers-C_CKA9Tl.js";
131
131
  import "./shared-j17RyGsM.js";
132
132
  import "./auth-token-BQ_ECwH7.js";
133
133
  import "./logging-MF6Thoxk.js";
134
- import "./provider-auth-helpers-BPsTPi3e.js";
135
- import { t as agentCliCommand } from "./agent-via-gateway-BNqWa2KY.js";
136
- import { a as agentsAddCommand, c as agentsUnbindCommand, i as agentsDeleteCommand, n as agentsListCommand, o as agentsBindCommand, r as agentsSetIdentityCommand, s as agentsBindingsCommand } from "./agents-etUqQ3vM.js";
134
+ import "./provider-auth-helpers-DUCFKGef.js";
135
+ import { t as agentCliCommand } from "./agent-via-gateway-DUGRWtJj.js";
136
+ import { a as agentsAddCommand, c as agentsUnbindCommand, i as agentsDeleteCommand, n as agentsListCommand, o as agentsBindCommand, r as agentsSetIdentityCommand, s as agentsBindingsCommand } from "./agents-Cfq6xBBC.js";
137
137
  import "./auth-choice-options-C9rCwrcM.js";
138
138
  import "./auth-choice-prompt-kycZqH8q.js";
139
139
  import "./auth-choice.apply-helpers-Bj-Y-Sar.js";
140
- import "./auth-choice-CdEVNS6t.js";
140
+ import "./auth-choice-Bhkp9GVM.js";
141
141
  import "./openai-model-default-DTIibBxa.js";
142
142
  import "./model-picker-D_yngXMe.js";
143
143