@visorcraft/idlehands 4.0.9 → 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.
- package/dist/{agent-via-gateway-C9MXMxE9.js → agent-via-gateway-BBte3wQO.js} +1 -1
- package/dist/{agent-via-gateway-D2lUw5_a.js → agent-via-gateway-CrOzfhDz.js} +2 -2
- package/dist/{agent-via-gateway-C29-E0K6.js → agent-via-gateway-DUGRWtJj.js} +1 -1
- package/dist/{agent-via-gateway-DD6djeRE.js → agent-via-gateway-Uh4YDv0D.js} +7 -7
- package/dist/{agents-BTQoPRp2.js → agents-Cfq6xBBC.js} +4 -4
- package/dist/{agents.config-Hj50zEpg.js → agents.config-CTvFfiWu.js} +1 -1
- package/dist/{agents.config-CmrYf0R9.js → agents.config-CdRRep4e.js} +1 -1
- package/dist/{anton-CHMhMbfn.js → anton-BXxn5CZ9.js} +1 -1
- package/dist/{anton-Ak5zdzLn.js → anton-CqvQ2Rxs.js} +1 -1
- package/dist/{anton-C7A24R8k.js → anton-UMHJ_Ff9.js} +1 -1
- package/dist/{anton-Cso65xsA.js → anton-m3i557wG.js} +1 -1
- package/dist/{audio-preflight-CW8IH1lU.js → audio-preflight-BSlR2jEq.js} +4 -4
- package/dist/{auth-choice-BQUQWOPB.js → auth-choice-Bhkp9GVM.js} +1 -1
- package/dist/{auth-choice-CNa4gxNm.js → auth-choice-Bj2Vw_zs.js} +1 -1
- package/dist/{banner-C7YGM3JT.js → banner-DvWLq_V8.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/{channel-options-BKWtYjoK.js → channel-options-BVm5cVek.js} +1 -1
- package/dist/{channel-options-DvaeKHAx.js → channel-options-DwfZU1bf.js} +1 -1
- package/dist/{channel-web-CAxuafZC.js → channel-web-D-gUmqXG.js} +2 -2
- package/dist/{channel-web-VN0ZgePd.js → channel-web-NfXtQ8lq.js} +2 -2
- package/dist/{channels-cli-BXaEFZn4.js → channels-cli-BMVWvCZG.js} +7 -7
- package/dist/{channels-cli-wID9mrKy.js → channels-cli-Bwcv-MbF.js} +7 -7
- package/dist/{chrome-BcJB6PcM.js → chrome-_2tzVjVl.js} +9 -9
- package/dist/{cli-BxRgr1BR.js → cli-B3yoXae2.js} +2 -2
- package/dist/{cli-Bn2CZFDi.js → cli-sryoNF62.js} +2 -2
- package/dist/{command-registry-Dm6V5xBk.js → command-registry-_mRYoCdC.js} +10 -10
- package/dist/{completion-cli-DnvwEZHv.js → completion-cli-CMmi_4ns.js} +1 -1
- package/dist/{completion-cli-BaJBGfP6.js → completion-cli-tSiHAybF.js} +2 -2
- package/dist/{config-cli-DglEI40O.js → config-cli-BMyksxxQ.js} +1 -1
- package/dist/{config-cli-DTMfFEvU.js → config-cli-ppb9P91W.js} +1 -1
- package/dist/{configure-CFDo6pK5.js → configure-BLKrFCU5.js} +3 -3
- package/dist/{configure-DYSAOrvA.js → configure-Barc4UcZ.js} +3 -3
- package/dist/{deliver-BUiQ-9fE.js → deliver-CVTXl0Cv.js} +1 -1
- package/dist/{deps-Crf9tOgB.js → deps-BAUamBsC.js} +1 -1
- package/dist/{deps-dk-mZVY7.js → deps-BffOWnyg.js} +1 -1
- package/dist/{deps-BuPPEKKU.js → deps-Dswgef7W.js} +1 -1
- package/dist/{deps-DHhqEEEB.js → deps-RwCK8twp.js} +1 -1
- package/dist/{doctor-completion-DHYMwPxZ.js → doctor-completion-CGdUYR1K.js} +1 -1
- package/dist/{doctor-completion-DA87R6kk.js → doctor-completion-zcAbMjQ2.js} +1 -1
- package/dist/{emergency-stop-DqK6Iaxy.js → emergency-stop-BMOhiXlj.js} +7 -7
- package/dist/{emergency-stop-D32_vcC_.js → emergency-stop-DJTRZhjJ.js} +2 -2
- package/dist/{emergency-stop-dQB5TH61.js → emergency-stop-gTWSglNP.js} +2 -2
- package/dist/{emergency-stop-DSazHQ3v.js → emergency-stop-qtyxYgYw.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-C4c-ntiL.js → gateway-cli-BXVdwolu.js} +9 -9
- package/dist/{gateway-cli-NFBeo83U.js → gateway-cli-BdgApNMg.js} +9 -9
- package/dist/{health-eSKHWC16.js → health-DBSDfGPQ.js} +1 -1
- package/dist/{health--cNlCqAN.js → health-c6YfjqN9.js} +1 -1
- package/dist/{hooks-cli-1vbVFYX6.js → hooks-cli-CoJOwRWP.js} +3 -3
- package/dist/{hooks-cli-d-CncxOS.js → hooks-cli-DuVFXBnl.js} +3 -3
- package/dist/{image-D8b_rlQC.js → image-COw__ACq.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{models-DRQazay2.js → models-I1fimmye.js} +2 -2
- package/dist/{models-cli-byvFsScd.js → models-cli-XzrL7se3.js} +4 -4
- package/dist/{models-cli-BMU7V_Gq.js → models-cli-p17sGvc_.js} +3 -3
- package/dist/{npm-resolution-CkV9WMS7.js → npm-resolution-CaV24X0a.js} +1 -1
- package/dist/{npm-resolution-ahyNQr7N.js → npm-resolution-CjE7drzJ.js} +1 -1
- package/dist/{onboard-3KtofxpB.js → onboard-B_fyzWtv.js} +2 -2
- package/dist/{onboard-5gLY4vI6.js → onboard-Bqdp0JMX.js} +2 -2
- package/dist/{onboard-channels-BaQef_ik.js → onboard-channels-BSO1y0cA.js} +1 -1
- package/dist/{onboard-channels-CO3tBBUm.js → onboard-channels-CZ8FfTSc.js} +1 -1
- package/dist/{onboarding-DT_a9WqK.js → onboarding-B5h3HtpG.js} +3 -3
- package/dist/{onboarding-oYr_Z-MX.js → onboarding-BAb3u5FQ.js} +3 -3
- package/dist/{onboarding.finalize-DQlMXUpt.js → onboarding.finalize-BFQ0FK67.js} +6 -6
- package/dist/{onboarding.finalize-DI8RNUCe.js → onboarding.finalize-C4yD5wdF.js} +7 -7
- package/dist/{pi-embedded-dlIKBCVy.js → pi-embedded-YwM9Q1Oj.js} +27 -27
- package/dist/{pi-embedded-helpers-CghCLoPo.js → pi-embedded-helpers-CyTpDKo5.js} +4 -4
- package/dist/{pi-embedded-B6_XaeGr.js → pi-embedded-lIBDXwPw.js} +12 -12
- package/dist/{plugin-registry-yw2FGDQo.js → plugin-registry-9o2_nLCw.js} +1 -1
- package/dist/{plugin-registry-aAygraDx.js → plugin-registry-C0PH2a4D.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-CYQbsoKO.js → agent-via-gateway-DeAyT5pO.js} +2 -2
- package/dist/plugin-sdk/{anton-BhaZ-_lE.js → anton-CM_5r7wZ.js} +1 -1
- package/dist/plugin-sdk/{channel-web-C9WxJKNF.js → channel-web-DZEPgI9g.js} +2 -2
- package/dist/plugin-sdk/{deps-DNCcuQw6.js → deps-C3O2JHMz.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-DVA2XPoO.js → emergency-stop-D_J66ezD.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-DBeDzICx.js → reply-Bd7B0L5M.js} +12 -12
- package/dist/plugin-sdk/{upgrade-command-C2uWxfO3.js → upgrade-command-DKUGbn8D.js} +3 -3
- package/dist/plugin-sdk/{web-BDqEqvD6.js → web-BOTYNjJP.js} +3 -3
- package/dist/{plugins-cli-D5iXgZV0.js → plugins-cli-Bssd0vWc.js} +3 -3
- package/dist/{plugins-cli-_X7ygx92.js → plugins-cli-Buwy6BDo.js} +3 -3
- package/dist/{program-DdvaYjeO.js → program-DmoMcJbW.js} +8 -8
- package/dist/{program-context-GHUcW_u0.js → program-context-CvILUgwS.js} +22 -22
- package/dist/{prompt-select-styled-DsfDWex-.js → prompt-select-styled-Ba-sEW8U.js} +4 -4
- package/dist/{prompt-select-styled-IsBentVx.js → prompt-select-styled-CQFQszFb.js} +4 -4
- package/dist/{provider-auth-helpers-DrbsliXm.js → provider-auth-helpers-DDd2VWFT.js} +1 -1
- package/dist/{provider-auth-helpers-DrJAeoq0.js → provider-auth-helpers-DUCFKGef.js} +1 -1
- package/dist/{push-apns-BbrJYz07.js → push-apns-CNG0oNRQ.js} +1 -1
- package/dist/{push-apns-JodkXySf.js → push-apns-Caq-I_Zt.js} +1 -1
- package/dist/{pw-ai-CfYaR1K2.js → pw-ai-CowTfhOG.js} +1 -1
- package/dist/{register.agent-Bv2Q4a7v.js → register.agent-D8Nt6BUp.js} +9 -9
- package/dist/{register.agent-CYk5RGin.js → register.agent-tRfjcu32.js} +8 -8
- package/dist/{register.configure-Cnmmqe9t.js → register.configure-BBgjG-V6.js} +8 -8
- package/dist/{register.configure-CKtMVkJ5.js → register.configure-BlAHg6Pc.js} +8 -8
- package/dist/{register.maintenance-BJ18f5vw.js → register.maintenance-7jk9KK9w.js} +9 -9
- package/dist/{register.maintenance-irYQ4RHx.js → register.maintenance-C4PEQN25.js} +8 -8
- package/dist/{register.message-LaE57X6H.js → register.message-B35QKkNl.js} +3 -3
- package/dist/{register.message-RUihJQu2.js → register.message-DRsct7hM.js} +3 -3
- package/dist/{register.onboard-5RSmUDC7.js → register.onboard-CpXzVkMZ.js} +2 -2
- package/dist/{register.onboard-BbcuO62e.js → register.onboard-Dfe2XWYP.js} +2 -2
- package/dist/{register.orchestrator-anton-DJPJSUZJ.js → register.orchestrator-anton-BcvmMRCY.js} +2 -2
- package/dist/{register.orchestrator-anton-BtAMVZTG.js → register.orchestrator-anton-CLkzgvtb.js} +2 -2
- package/dist/{register.setup-B_DYnuvj.js → register.setup-D60l_E81.js} +2 -2
- package/dist/{register.setup-BAjbcllf.js → register.setup-DHvCXtrq.js} +2 -2
- package/dist/{register.status-health-sessions-CyapPo53.js → register.status-health-sessions-BjLIPEMo.js} +4 -4
- package/dist/{register.status-health-sessions-DoeE4mrI.js → register.status-health-sessions-BzFW2WeI.js} +4 -4
- package/dist/{register.subclis-BHO_F5il.js → register.subclis-G3Znne6v.js} +13 -13
- package/dist/{reply-UTSsx9A5.js → reply-BjfZSyVA.js} +12 -12
- package/dist/{run-main-BcSggHco.js → run-main-uIK1D4ZZ.js} +15 -15
- package/dist/{runner-PgRFPYUj.js → runner-BzNdfqDz.js} +1 -1
- package/dist/{server-node-events-djWxYbcV.js → server-node-events-CNNvTDbI.js} +3 -3
- package/dist/{server-node-events-Dy9G22Jd.js → server-node-events-CjRXfyAl.js} +3 -3
- package/dist/{status-CRW4RVm9.js → status-CCYiT1JP.js} +2 -2
- package/dist/{status-DCTlIRAH.js → status-Cl-QVMTz.js} +2 -2
- package/dist/{subagent-registry-BOLFoCi4.js → subagent-registry-CXQ2ArrW.js} +12 -12
- package/dist/{update-cli-Cj0Vr_B2.js → update-cli-B2P4wjeX.js} +9 -9
- package/dist/{update-cli-CmbNPprw.js → update-cli-BmyxJEDm.js} +8 -8
- package/dist/{update-runner-DaUhZyT6.js → update-runner-BQ1zr3So.js} +1 -1
- package/dist/{update-runner-BVl7tNUy.js → update-runner-BdYav5a2.js} +1 -1
- package/dist/{upgrade-command-5UDVpXfB.js → upgrade-command-Bh61DpzA.js} +5 -5
- package/dist/{upgrade-command-B_OSevDd.js → upgrade-command-Bvrv4iDU.js} +5 -5
- package/dist/{upgrade-command-B2yxOLOn.js → upgrade-command-CvbcPPIF.js} +5 -5
- package/dist/{upgrade-command-DP6F1cjV.js → upgrade-command-L9y3xbza.js} +5 -5
- package/dist/{web-BWvhgqLS.js → web-BVRZ7GPb.js} +3 -3
- package/dist/{web-3qIgCpGr.js → web-B_JttZzc.js} +3 -3
- package/dist/{web-HiM9F0MQ.js → web-CAqyU7Tb.js} +3 -3
- package/dist/{web-DSdRgqhB.js → web-Ur3UMpna.js} +8 -8
- package/package.json +1 -1
|
@@ -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-
|
|
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,15 +108,15 @@ 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-
|
|
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";
|
|
115
115
|
import { t as ensureIdleHandsCliOnPath } from "./path-env-cPX3lugV.js";
|
|
116
116
|
import "./note-C2HHth6G.js";
|
|
117
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
117
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-9o2_nLCw.js";
|
|
118
118
|
import { t as assertSupportedRuntime } from "./runtime-guard-DTSD0F6o.js";
|
|
119
|
-
import { t as emitCliBanner } from "./banner-
|
|
119
|
+
import { t as emitCliBanner } from "./banner-DvWLq_V8.js";
|
|
120
120
|
import "./doctor-config-flow-BvGvt5rT.js";
|
|
121
121
|
import { n as ensureConfigReady } from "./config-guard-7CCnD0lc.js";
|
|
122
122
|
import process$1 from "node:process";
|
|
@@ -131,7 +131,7 @@ const routeHealth = {
|
|
|
131
131
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
132
132
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
133
133
|
if (timeoutMs === null) return false;
|
|
134
|
-
const { healthCommand } = await import("./health-
|
|
134
|
+
const { healthCommand } = await import("./health-DBSDfGPQ.js").then((n) => n.i);
|
|
135
135
|
await healthCommand({
|
|
136
136
|
json,
|
|
137
137
|
timeoutMs,
|
|
@@ -151,7 +151,7 @@ const routeStatus = {
|
|
|
151
151
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
152
152
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
153
153
|
if (timeoutMs === null) return false;
|
|
154
|
-
const { statusCommand } = await import("./status-
|
|
154
|
+
const { statusCommand } = await import("./status-CCYiT1JP.js").then((n) => n.t);
|
|
155
155
|
await statusCommand({
|
|
156
156
|
json,
|
|
157
157
|
deep,
|
|
@@ -190,7 +190,7 @@ const routeAgentsList = {
|
|
|
190
190
|
run: async (argv) => {
|
|
191
191
|
const json = hasFlag(argv, "--json");
|
|
192
192
|
const bindings = hasFlag(argv, "--bindings");
|
|
193
|
-
const { agentsListCommand } = await import("./agents-
|
|
193
|
+
const { agentsListCommand } = await import("./agents-Cfq6xBBC.js").then((n) => n.t);
|
|
194
194
|
await agentsListCommand({
|
|
195
195
|
json,
|
|
196
196
|
bindings
|
|
@@ -261,7 +261,7 @@ const routes = [
|
|
|
261
261
|
const pathArg = getCommandPositionals(argv)[2];
|
|
262
262
|
if (!pathArg) return false;
|
|
263
263
|
const json = hasFlag(argv, "--json");
|
|
264
|
-
const { runConfigGet } = await import("./config-cli-
|
|
264
|
+
const { runConfigGet } = await import("./config-cli-BMyksxxQ.js");
|
|
265
265
|
await runConfigGet({
|
|
266
266
|
path: pathArg,
|
|
267
267
|
json
|
|
@@ -274,7 +274,7 @@ const routes = [
|
|
|
274
274
|
run: async (argv) => {
|
|
275
275
|
const pathArg = getCommandPositionals(argv)[2];
|
|
276
276
|
if (!pathArg) return false;
|
|
277
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
277
|
+
const { runConfigUnset } = await import("./config-cli-BMyksxxQ.js");
|
|
278
278
|
await runConfigUnset({ path: pathArg });
|
|
279
279
|
return true;
|
|
280
280
|
}
|
|
@@ -288,7 +288,7 @@ const routes = [
|
|
|
288
288
|
const local = hasFlag(argv, "--local");
|
|
289
289
|
const json = hasFlag(argv, "--json");
|
|
290
290
|
const plain = hasFlag(argv, "--plain");
|
|
291
|
-
const { modelsListCommand } = await import("./models-
|
|
291
|
+
const { modelsListCommand } = await import("./models-I1fimmye.js").then((n) => n.t);
|
|
292
292
|
await modelsListCommand({
|
|
293
293
|
all,
|
|
294
294
|
local,
|
|
@@ -319,7 +319,7 @@ const routes = [
|
|
|
319
319
|
const plain = hasFlag(argv, "--plain");
|
|
320
320
|
const check = hasFlag(argv, "--check");
|
|
321
321
|
const probe = hasFlag(argv, "--probe");
|
|
322
|
-
const { modelsStatusCommand } = await import("./models-
|
|
322
|
+
const { modelsStatusCommand } = await import("./models-I1fimmye.js").then((n) => n.t);
|
|
323
323
|
await modelsStatusCommand({
|
|
324
324
|
json,
|
|
325
325
|
plain,
|
|
@@ -397,7 +397,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
397
397
|
assertSupportedRuntime();
|
|
398
398
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
399
399
|
enableConsoleCapture();
|
|
400
|
-
const { buildProgram } = await import("./program-
|
|
400
|
+
const { buildProgram } = await import("./program-DmoMcJbW.js");
|
|
401
401
|
const program = buildProgram();
|
|
402
402
|
installUnhandledRejectionHandler();
|
|
403
403
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -410,10 +410,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
410
410
|
const { getProgramContext } = await import("./program-context-BrqeiWcA.js").then((n) => n.n);
|
|
411
411
|
const ctx = getProgramContext(program);
|
|
412
412
|
if (ctx) {
|
|
413
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
413
|
+
const { registerCoreCliByName } = await import("./command-registry-_mRYoCdC.js").then((n) => n.t);
|
|
414
414
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
415
415
|
}
|
|
416
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
416
|
+
const { registerSubCliByName } = await import("./register.subclis-G3Znne6v.js").then((n) => n.a);
|
|
417
417
|
await registerSubCliByName(program, primary);
|
|
418
418
|
}
|
|
419
419
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -421,7 +421,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
421
421
|
primary,
|
|
422
422
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
423
423
|
})) {
|
|
424
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
424
|
+
const { registerPluginCliCommands } = await import("./cli-B3yoXae2.js");
|
|
425
425
|
const { loadConfig } = await import("./auth-profiles-Baj5ImDJ.js").then((n) => n.D);
|
|
426
426
|
registerPluginCliCommands(program, loadConfig());
|
|
427
427
|
}
|
|
@@ -5,7 +5,7 @@ import { _ as runExec } from "./workspace-DBFSzT6O.js";
|
|
|
5
5
|
import { J as isInboundPathAllowed, R as loadConfig, T as resolveApiKeyForProvider, X as resolveIMessageAttachmentRoots, Y as mergeInboundPathRoots, c as normalizeProviderId, dn as resolveIdleHandsAgentDir, g as normalizeGoogleModelId, q as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, w as requireApiKey } from "./model-selection-1MMYqY6M.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
7
7
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-D1KtygWz.js";
|
|
8
|
-
import { t as describeImageWithModel, w as ensureIdleHandsModelsJson } from "./image-
|
|
8
|
+
import { t as describeImageWithModel, w as ensureIdleHandsModelsJson } from "./image-COw__ACq.js";
|
|
9
9
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-CIyaa44H.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-3YYM8QuM.js";
|
|
11
11
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-iuQsIjqN.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Bn as buildOutboundSessionContext, Bt as createOutboundSendDeps, Cr as enqueueSystemEvent, Dr as requestHeartbeatNow, E as resolveGatewaySessionStoreTarget, Lt as resolveOutboundTarget, T as pruneLegacyStoreKeys, jt as agentCommand, w as loadSessionEntry } from "./reply-
|
|
4
|
+
import { Bn as buildOutboundSessionContext, Bt as createOutboundSendDeps, Cr as enqueueSystemEvent, Dr as requestHeartbeatNow, E as resolveGatewaySessionStoreTarget, Lt as resolveOutboundTarget, T as pruneLegacyStoreKeys, jt as agentCommand, w as loadSessionEntry } from "./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";
|
|
@@ -103,7 +103,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
103
103
|
import "./replies-hSFVxL4h.js";
|
|
104
104
|
import "./skill-commands-BFzmZAfo.js";
|
|
105
105
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
106
|
-
import "./deps-
|
|
106
|
+
import "./deps-BffOWnyg.js";
|
|
107
107
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
108
108
|
import "./channel-selection-ZxRkxpuF.js";
|
|
109
109
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -116,7 +116,7 @@ import "./pairing-labels-ChQJzbS9.js";
|
|
|
116
116
|
import "./server-lifecycle-B5PlrlbG.js";
|
|
117
117
|
import "./stagger-rQoQSWkz.js";
|
|
118
118
|
import "./system-run-command-qJdgzxLp.js";
|
|
119
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
119
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-Caq-I_Zt.js";
|
|
120
120
|
import { randomUUID } from "node:crypto";
|
|
121
121
|
|
|
122
122
|
//#region src/gateway/server-node-events.ts
|
|
@@ -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 { A as createOutboundSendDeps, An as requestHeartbeatNow, E as agentCommand, En as enqueueSystemEvent, bn as buildOutboundSessionContext, ht as resolveOutboundTarget } from "./subagent-registry-
|
|
28
|
+
import { A as createOutboundSendDeps, An as requestHeartbeatNow, E as agentCommand, En as enqueueSystemEvent, bn as buildOutboundSessionContext, ht as resolveOutboundTarget } from "./subagent-registry-CXQ2ArrW.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-Brv1GCwX.js";
|
|
@@ -108,11 +108,11 @@ 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-
|
|
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";
|
|
115
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
115
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-CNG0oNRQ.js";
|
|
116
116
|
import { randomUUID } from "node:crypto";
|
|
117
117
|
|
|
118
118
|
//#region src/gateway/server-node-events.ts
|
|
@@ -10,7 +10,7 @@ import { r as VERSION } from "./env-vars-I4LX5XSX.js";
|
|
|
10
10
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DEWCCZdI.js";
|
|
11
11
|
import { Z as resolveFreshSessionTotalTokens, c as loadSessionStore, nt as resolveMainSessionKey } from "./sessions-BoqJKVEs.js";
|
|
12
12
|
import { n as listChannelPlugins } from "./plugins-CCrfZ49T.js";
|
|
13
|
-
import { Cn as buildChannelAccountSnapshot, Dt as summarizeRestartSentinel, Et as readRestartSentinel, Sn as buildChannelSummary, gn as formatUsageReportLines, hn as loadProviderUsageSummary, kn as peekSystemEvents, wn as formatChannelAllowFrom } from "./subagent-registry-
|
|
13
|
+
import { Cn as buildChannelAccountSnapshot, Dt as summarizeRestartSentinel, Et as readRestartSentinel, Sn as buildChannelSummary, gn as formatUsageReportLines, hn as loadProviderUsageSummary, kn as peekSystemEvents, wn as formatChannelAllowFrom } from "./subagent-registry-CXQ2ArrW.js";
|
|
14
14
|
import { u as resolveStorePath } from "./paths-CC17i2eK.js";
|
|
15
15
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-DuNslqj2.js";
|
|
16
16
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-CQwGqfET.js";
|
|
@@ -30,7 +30,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-Om381vyM.j
|
|
|
30
30
|
import { t as readLastGatewayErrorLine } from "./diagnostics-BzCL1AMI.js";
|
|
31
31
|
import { t as renderTable } from "./table-aJzHv5Oe.js";
|
|
32
32
|
import { i as resolveGatewayProbeAuth$1, s as probeGateway, t as runSecurityAudit } from "./audit-Bkd4fvVb.js";
|
|
33
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
33
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DBSDfGPQ.js";
|
|
34
34
|
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-ofowt_yq.js";
|
|
35
35
|
import { t as resolveNodeService } from "./node-service-v7Nz7h4D.js";
|
|
36
36
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-oh9Nicqr.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import { D as resolveSessionModelRef, Er as peekSystemEvents, G as readRestartSentinel, K as summarizeRestartSentinel, Zt as resolveContextTokensForModel, b as classifySessionKey, bt as formatUsageReportLines, c as buildChannelSummary, l as buildChannelAccountSnapshot, u as formatChannelAllowFrom, x as listAgentsForGateway, yt as loadProviderUsageSummary } from "./reply-
|
|
3
|
+
import { D as resolveSessionModelRef, Er as peekSystemEvents, G as readRestartSentinel, K as summarizeRestartSentinel, Zt as resolveContextTokensForModel, b as classifySessionKey, bt as formatUsageReportLines, c as buildChannelSummary, l as buildChannelAccountSnapshot, u as formatChannelAllowFrom, x as listAgentsForGateway, yt as loadProviderUsageSummary } from "./reply-BjfZSyVA.js";
|
|
4
4
|
import { u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
5
5
|
import { w as parseAgentSessionKey } from "./session-key-Cuihcz_O.js";
|
|
6
6
|
import { t as resolveIdleHandsPackageRoot } from "./idlehands-root-B8cUs-5M.js";
|
|
@@ -29,7 +29,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D7pLXkNs.j
|
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DmZbQ8Nc.js";
|
|
30
30
|
import { t as renderTable } from "./table-B9AmL3M1.js";
|
|
31
31
|
import { i as resolveGatewayProbeAuth$1, s as probeGateway, t as runSecurityAudit } from "./audit-BmaVRZSd.js";
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-c6YfjqN9.js";
|
|
33
33
|
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-CDbY5AIr.js";
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-C3vyxHLA.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-BK5XIv_A.js";
|
|
@@ -109,7 +109,7 @@ import { a as resolveSubagentToolPolicy, c as readStoreAllowFromForDmPolicy, d a
|
|
|
109
109
|
import { t as makeProxyFetch } from "./proxy-GJkoUC6V.js";
|
|
110
110
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-DhuP2lHs.js";
|
|
111
111
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-DSfpze17.js";
|
|
112
|
-
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
112
|
+
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-Dswgef7W.js";
|
|
113
113
|
import { r as detectBinary } from "./onboard-helpers-Dp6wXNs7.js";
|
|
114
114
|
import { t as resolvePairingIdLabel } from "./pairing-labels-D7xcHkxi.js";
|
|
115
115
|
import { createRequire } from "node:module";
|
|
@@ -16870,7 +16870,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16870
16870
|
};
|
|
16871
16871
|
const arg = body.slice(6).trim();
|
|
16872
16872
|
if (arg === "status" || arg === "") {
|
|
16873
|
-
const { antonStatus } = await import("./anton-
|
|
16873
|
+
const { antonStatus } = await import("./anton-UMHJ_Ff9.js").then((n) => n.r);
|
|
16874
16874
|
const lines = [];
|
|
16875
16875
|
await antonStatus({
|
|
16876
16876
|
log: (msg) => lines.push(msg),
|
|
@@ -16886,7 +16886,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16886
16886
|
return { shouldContinue: false };
|
|
16887
16887
|
}
|
|
16888
16888
|
if (arg === "stop") {
|
|
16889
|
-
const { antonStop } = await import("./anton-
|
|
16889
|
+
const { antonStop } = await import("./anton-UMHJ_Ff9.js").then((n) => n.r);
|
|
16890
16890
|
const lines = [];
|
|
16891
16891
|
await antonStop({
|
|
16892
16892
|
log: (msg) => lines.push(msg),
|
|
@@ -16924,8 +16924,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16924
16924
|
await sendProgress(replyCtx, text);
|
|
16925
16925
|
return { shouldContinue: false };
|
|
16926
16926
|
}
|
|
16927
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
16928
|
-
const { createDefaultDeps } = await import("./deps-
|
|
16927
|
+
const { runAnton, formatProgressMessage } = await import("./anton-UMHJ_Ff9.js").then((n) => n.r);
|
|
16928
|
+
const { createDefaultDeps } = await import("./deps-Dswgef7W.js").then((n) => n.r);
|
|
16929
16929
|
const { createNonExitingRuntime } = await import("./runtime-CgcH_FLo.js").then((n) => n.r);
|
|
16930
16930
|
const runtime = createNonExitingRuntime();
|
|
16931
16931
|
const deps = createDefaultDeps();
|
|
@@ -22782,7 +22782,7 @@ const handleTtsCommands = async (params, allowTextCommands) => {
|
|
|
22782
22782
|
const handleUpgradeCommand = async (params, _allowTextCommands) => {
|
|
22783
22783
|
if (!params.command.commandBodyNormalized.startsWith("/upgrade")) return null;
|
|
22784
22784
|
if (!params.command.isAuthorizedSender) return { shouldContinue: false };
|
|
22785
|
-
const { performBotUpgrade } = await import("./upgrade-command-
|
|
22785
|
+
const { performBotUpgrade } = await import("./upgrade-command-L9y3xbza.js");
|
|
22786
22786
|
const channel = params.ctx.OriginatingChannel ?? params.command.channel;
|
|
22787
22787
|
const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
|
|
22788
22788
|
await routeReply({
|
|
@@ -49572,7 +49572,7 @@ function createDiscordMessageHandler(params) {
|
|
|
49572
49572
|
try {
|
|
49573
49573
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
49574
49574
|
if (messageText) {
|
|
49575
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
49575
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
49576
49576
|
if (isAbortRequestText(messageText)) {
|
|
49577
49577
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
49578
49578
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -57045,7 +57045,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
57045
57045
|
}
|
|
57046
57046
|
const msgText = (message.text ?? "").trim();
|
|
57047
57047
|
if (msgText) {
|
|
57048
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57048
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
57049
57049
|
if (isAbortRequestText(msgText)) {
|
|
57050
57050
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
57051
57051
|
const route = resolveAgentRoute({
|
|
@@ -59650,7 +59650,7 @@ function createSignalEventHandler(deps) {
|
|
|
59650
59650
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
59651
59651
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
59652
59652
|
if (bodyText) {
|
|
59653
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
59653
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
59654
59654
|
if (isAbortRequestText(bodyText)) {
|
|
59655
59655
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
59656
59656
|
const route = resolveAgentRoute({
|
|
@@ -63039,7 +63039,7 @@ function createSlackMessageHandler(params) {
|
|
|
63039
63039
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
63040
63040
|
const rawText = (message.text ?? "").trim();
|
|
63041
63041
|
if (rawText) {
|
|
63042
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
63042
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
63043
63043
|
if (isAbortRequestText(rawText)) {
|
|
63044
63044
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
63045
63045
|
const route = resolveAgentRoute({
|
|
@@ -65233,7 +65233,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
65233
65233
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
65234
65234
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
65235
65235
|
if (text) {
|
|
65236
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
65236
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
65237
65237
|
if (isAbortRequestText(text)) {
|
|
65238
65238
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
65239
65239
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -68727,7 +68727,7 @@ function loadWebLoginQr() {
|
|
|
68727
68727
|
return webLoginQrPromise;
|
|
68728
68728
|
}
|
|
68729
68729
|
function loadWebChannel() {
|
|
68730
|
-
webChannelPromise ??= import("./web-
|
|
68730
|
+
webChannelPromise ??= import("./web-BVRZ7GPb.js");
|
|
68731
68731
|
return webChannelPromise;
|
|
68732
68732
|
}
|
|
68733
68733
|
function loadWhatsAppActions() {
|
|
@@ -27,7 +27,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
27
27
|
import "./auth-store-D9BmR4S6.js";
|
|
28
28
|
import "./send-m4lQkQcY.js";
|
|
29
29
|
import "./send-CCiDIuX4.js";
|
|
30
|
-
import { Ot as trimLogTail } from "./subagent-registry-
|
|
30
|
+
import { Ot as trimLogTail } from "./subagent-registry-CXQ2ArrW.js";
|
|
31
31
|
import "./paths-CC17i2eK.js";
|
|
32
32
|
import "./chat-envelope-Dedaetiq.js";
|
|
33
33
|
import "./client-Brv1GCwX.js";
|
|
@@ -112,7 +112,7 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
112
112
|
import { t as formatHelpExamples } from "./help-format-CldHB7lS.js";
|
|
113
113
|
import "./progress-B76RkFx7.js";
|
|
114
114
|
import "./replies-DSfpze17.js";
|
|
115
|
-
import "./deps-
|
|
115
|
+
import "./deps-Dswgef7W.js";
|
|
116
116
|
import "./onboard-helpers-Dp6wXNs7.js";
|
|
117
117
|
import { n as stylePromptMessage } from "./prompt-style-XmK49QYK.js";
|
|
118
118
|
import "./pairing-labels-D7xcHkxi.js";
|
|
@@ -123,9 +123,9 @@ import "./npm-registry-spec-BlFqJFsA.js";
|
|
|
123
123
|
import "./skill-scanner-CdLElD51.js";
|
|
124
124
|
import "./installs-8aQVDSI0.js";
|
|
125
125
|
import "./channels-status-issues-Bi00z1aP.js";
|
|
126
|
-
import { r as installCompletion } from "./completion-cli-
|
|
127
|
-
import "./register.subclis-
|
|
128
|
-
import "./command-registry-
|
|
126
|
+
import { r as installCompletion } from "./completion-cli-tSiHAybF.js";
|
|
127
|
+
import "./register.subclis-G3Znne6v.js";
|
|
128
|
+
import "./command-registry-_mRYoCdC.js";
|
|
129
129
|
import "./program-context-BrqeiWcA.js";
|
|
130
130
|
import "./daemon-install-helpers-DUHqeg5Y.js";
|
|
131
131
|
import { r as parseSemver } from "./runtime-guard-DTSD0F6o.js";
|
|
@@ -136,18 +136,18 @@ import "./systemd-hints-D7r4FWhK.js";
|
|
|
136
136
|
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-yC6gq-yv.js";
|
|
137
137
|
import "./diagnostics-BzCL1AMI.js";
|
|
138
138
|
import { t as renderTable } from "./table-aJzHv5Oe.js";
|
|
139
|
-
import "./health-
|
|
139
|
+
import "./health-DBSDfGPQ.js";
|
|
140
140
|
import "./control-ui-assets-B5haX6bT.js";
|
|
141
141
|
import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-ofowt_yq.js";
|
|
142
142
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-BzUu2M5c.js";
|
|
143
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
143
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-BdYav5a2.js";
|
|
144
144
|
import "./logging-MF6Thoxk.js";
|
|
145
145
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-If9iCjgB.js";
|
|
146
146
|
import "./doctor-config-flow-BvGvt5rT.js";
|
|
147
147
|
import "./systemd-linger-Dx928sEF.js";
|
|
148
148
|
import "./health-format-wax5NzZB.js";
|
|
149
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
150
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
149
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CQFQszFb.js";
|
|
150
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-zcAbMjQ2.js";
|
|
151
151
|
import { spawn, spawnSync } from "node:child_process";
|
|
152
152
|
import os from "node:os";
|
|
153
153
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir, u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, h as pathExists } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { q as trimLogTail } from "./reply-
|
|
4
|
+
import { q as trimLogTail } from "./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";
|
|
@@ -104,7 +104,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
104
104
|
import "./replies-hSFVxL4h.js";
|
|
105
105
|
import "./skill-commands-BFzmZAfo.js";
|
|
106
106
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
107
|
-
import "./deps-
|
|
107
|
+
import "./deps-BffOWnyg.js";
|
|
108
108
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
109
109
|
import "./channel-selection-ZxRkxpuF.js";
|
|
110
110
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -119,7 +119,7 @@ import "./stagger-rQoQSWkz.js";
|
|
|
119
119
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-Z_TnY4pX.js";
|
|
120
120
|
import "./system-run-command-qJdgzxLp.js";
|
|
121
121
|
import { r as parseSemver } from "./runtime-guard-X6f4YmTM.js";
|
|
122
|
-
import "./program-context-
|
|
122
|
+
import "./program-context-CvILUgwS.js";
|
|
123
123
|
import "./skills-status-qjQ8XP0h.js";
|
|
124
124
|
import { n as inheritOptionFromParent } from "./command-options-D4MmqoOd.js";
|
|
125
125
|
import "./note-69EfBEU-.js";
|
|
@@ -128,7 +128,7 @@ import "./npm-registry-spec-BCbbfIhX.js";
|
|
|
128
128
|
import "./skill-scanner-D7mzXRXd.js";
|
|
129
129
|
import "./installs-CNubze2L.js";
|
|
130
130
|
import "./channels-status-issues-CDpWjdI3.js";
|
|
131
|
-
import { r as installCompletion } from "./completion-cli-
|
|
131
|
+
import { r as installCompletion } from "./completion-cli-CMmi_4ns.js";
|
|
132
132
|
import "./daemon-install-helpers-BZY9-jNW.js";
|
|
133
133
|
import "./systemd-CaCR5CyM.js";
|
|
134
134
|
import { t as resolveGatewayService } from "./service-C8NMS3m_.js";
|
|
@@ -137,18 +137,18 @@ import "./systemd-hints-DHu-HVFx.js";
|
|
|
137
137
|
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-B1Ti51bt.js";
|
|
138
138
|
import "./diagnostics-DmZbQ8Nc.js";
|
|
139
139
|
import { t as renderTable } from "./table-B9AmL3M1.js";
|
|
140
|
-
import "./health
|
|
140
|
+
import "./health-c6YfjqN9.js";
|
|
141
141
|
import "./control-ui-assets-C7ZpN9hN.js";
|
|
142
142
|
import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-CDbY5AIr.js";
|
|
143
143
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-CTi6vuWj.js";
|
|
144
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
144
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-BQ1zr3So.js";
|
|
145
145
|
import "./logging-B0-9lotb.js";
|
|
146
146
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-D79ppbMQ.js";
|
|
147
147
|
import "./doctor-config-flow-Ck4oCjfl.js";
|
|
148
148
|
import "./systemd-linger-B7XlUHk_.js";
|
|
149
149
|
import "./health-format-Ba_hOaT2.js";
|
|
150
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
151
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
150
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-Ba-sEW8U.js";
|
|
151
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CGdUYR1K.js";
|
|
152
152
|
import os from "node:os";
|
|
153
153
|
import path from "node:path";
|
|
154
154
|
import fs from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-CXzXXV2o.js";
|
|
2
|
-
import { q as trimLogTail } from "./reply-
|
|
2
|
+
import { q as trimLogTail } from "./reply-BjfZSyVA.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CKHMT0tZ.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-C7ZpN9hN.js";
|
|
5
5
|
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-CDbY5AIr.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Z as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-BrP9AmCw.js";
|
|
3
|
-
import { Ot as trimLogTail } from "./subagent-registry-
|
|
3
|
+
import { Ot as trimLogTail } from "./subagent-registry-CXQ2ArrW.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-B5haX6bT.js";
|
|
5
5
|
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-ofowt_yq.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { accessSync, constants, readFileSync } from "node:fs";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import { accessSync, constants, readFileSync } from "node:fs";
|
|
5
4
|
import fs$1 from "node:fs/promises";
|
|
5
|
+
import { execFileSync, execSync, spawn } from "node:child_process";
|
|
6
6
|
|
|
7
7
|
//#region src/bot/upgrade-command.ts
|
|
8
8
|
/**
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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,7 +1,7 @@
|
|
|
1
|
+
import fs from "node:fs/promises";
|
|
2
|
+
import os from "node:os";
|
|
1
3
|
import path from "node:path";
|
|
2
4
|
import { accessSync, constants, readFileSync } from "node:fs";
|
|
3
|
-
import os from "node:os";
|
|
4
|
-
import fs from "node:fs/promises";
|
|
5
5
|
import { execFileSync, execSync, spawn } from "node:child_process";
|
|
6
6
|
|
|
7
7
|
//#region src/bot/upgrade-command.ts
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import fs from "node:fs/promises";
|
|
2
|
-
import os from "node:os";
|
|
3
1
|
import path from "node:path";
|
|
4
2
|
import { accessSync, constants, readFileSync } from "node:fs";
|
|
3
|
+
import os from "node:os";
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
import { execFileSync, execSync, spawn } from "node:child_process";
|
|
6
6
|
|
|
7
7
|
//#region src/bot/upgrade-command.ts
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { execFileSync, execSync, spawn } from "node:child_process";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
+
import { accessSync, constants, readFileSync } from "node:fs";
|
|
4
5
|
import fs$1 from "node:fs/promises";
|
|
5
|
-
import { execFileSync, execSync, spawn } from "node:child_process";
|
|
6
6
|
|
|
7
7
|
//#region src/bot/upgrade-command.ts
|
|
8
8
|
/**
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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();
|
|
@@ -24,7 +24,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
24
24
|
import { i as logWebSelfId, p as webAuthExists, s as pickWebChannel, t as WA_WEB_AUTH_DIR } from "./auth-store-D9BmR4S6.js";
|
|
25
25
|
import "./send-m4lQkQcY.js";
|
|
26
26
|
import "./send-CCiDIuX4.js";
|
|
27
|
-
import "./subagent-registry-
|
|
27
|
+
import "./subagent-registry-CXQ2ArrW.js";
|
|
28
28
|
import "./paths-CC17i2eK.js";
|
|
29
29
|
import "./chat-envelope-Dedaetiq.js";
|
|
30
30
|
import "./client-Brv1GCwX.js";
|
|
@@ -107,12 +107,12 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
107
107
|
import "./help-format-CldHB7lS.js";
|
|
108
108
|
import "./progress-B76RkFx7.js";
|
|
109
109
|
import "./replies-DSfpze17.js";
|
|
110
|
-
import "./deps-
|
|
110
|
+
import "./deps-Dswgef7W.js";
|
|
111
111
|
import "./onboard-helpers-Dp6wXNs7.js";
|
|
112
112
|
import "./prompt-style-XmK49QYK.js";
|
|
113
113
|
import "./pairing-labels-D7xcHkxi.js";
|
|
114
114
|
import { n as sendMessageWhatsApp } from "./outbound-B8NhUGIW.js";
|
|
115
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
115
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-NfXtQ8lq.js";
|
|
116
116
|
import { i as waitForWaConnection, t as createWaSocket } from "./session-BVsrroox.js";
|
|
117
117
|
import { t as loginWeb } from "./login-BaXwiEpr.js";
|
|
118
118
|
|