@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.
- package/dist/{agent-via-gateway-DnukWgYg.js → agent-via-gateway-BBte3wQO.js} +1 -1
- package/dist/{agent-via-gateway-DAWRXgBZ.js → agent-via-gateway-CrOzfhDz.js} +2 -2
- package/dist/{agent-via-gateway-BNqWa2KY.js → agent-via-gateway-DUGRWtJj.js} +1 -1
- package/dist/{agent-via-gateway-ot70omgC.js → agent-via-gateway-Uh4YDv0D.js} +2 -2
- package/dist/{agents-etUqQ3vM.js → agents-Cfq6xBBC.js} +4 -4
- package/dist/{agents.config-DGaSmPdW.js → agents.config-CTvFfiWu.js} +1 -1
- package/dist/{agents.config-FFOmEBpp.js → agents.config-CdRRep4e.js} +1 -1
- package/dist/{anton-BV_xSUQi.js → anton-BXxn5CZ9.js} +1 -1
- package/dist/{anton-B7cGl-93.js → anton-CqvQ2Rxs.js} +1 -1
- package/dist/{anton-CZliSAOv.js → anton-UMHJ_Ff9.js} +1 -1
- package/dist/{anton-CdYcHDXy.js → anton-m3i557wG.js} +1 -1
- package/dist/{auth-choice-CdEVNS6t.js → auth-choice-Bhkp9GVM.js} +1 -1
- package/dist/{auth-choice-qQO5MWz8.js → auth-choice-Bj2Vw_zs.js} +1 -1
- package/dist/{banner-DKPFtm9j.js → banner-DvWLq_V8.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/{channel-options-BNcsrd0d.js → channel-options-BVm5cVek.js} +1 -1
- package/dist/{channel-options-CSurZCfX.js → channel-options-DwfZU1bf.js} +1 -1
- package/dist/{channel-web-DfBOK5if.js → channel-web-D-gUmqXG.js} +2 -2
- package/dist/{channel-web-COYnY8sZ.js → channel-web-NfXtQ8lq.js} +2 -2
- package/dist/{channels-cli-BTIg3DJP.js → channels-cli-BMVWvCZG.js} +7 -7
- package/dist/{channels-cli-GZ16c99F.js → channels-cli-Bwcv-MbF.js} +7 -7
- package/dist/{cli-CBXoKbJn.js → cli-B3yoXae2.js} +2 -2
- package/dist/{cli-CnjJnIx0.js → cli-sryoNF62.js} +2 -2
- package/dist/{command-registry-D3iSv7Of.js → command-registry-_mRYoCdC.js} +10 -10
- package/dist/{completion-cli-Zaylny55.js → completion-cli-CMmi_4ns.js} +1 -1
- package/dist/{completion-cli-Dkh-Zrqo.js → completion-cli-tSiHAybF.js} +2 -2
- package/dist/{config-cli-B8R8eDUm.js → config-cli-BMyksxxQ.js} +1 -1
- package/dist/{config-cli-DOf-CodQ.js → config-cli-ppb9P91W.js} +1 -1
- package/dist/{configure-Wh7ZMjiP.js → configure-BLKrFCU5.js} +3 -3
- package/dist/{configure-3o91R4Qd.js → configure-Barc4UcZ.js} +3 -3
- package/dist/{deps-Bdrf7UsT.js → deps-BAUamBsC.js} +1 -1
- package/dist/{deps-DB6dI42Y.js → deps-BffOWnyg.js} +1 -1
- package/dist/{deps-0GRTVtgy.js → deps-Dswgef7W.js} +1 -1
- package/dist/{deps-Ci76e_07.js → deps-RwCK8twp.js} +1 -1
- package/dist/{doctor-completion-CeD_GwXj.js → doctor-completion-CGdUYR1K.js} +1 -1
- package/dist/{doctor-completion-BeqR17ft.js → doctor-completion-zcAbMjQ2.js} +1 -1
- package/dist/{emergency-stop-BpudAT0i.js → emergency-stop-BMOhiXlj.js} +2 -2
- package/dist/{emergency-stop-D8XCYE8L.js → emergency-stop-DJTRZhjJ.js} +2 -2
- package/dist/{emergency-stop-fApFDnLR.js → emergency-stop-gTWSglNP.js} +2 -2
- package/dist/{emergency-stop-B1ycCthl.js → emergency-stop-qtyxYgYw.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-D9wmLKfn.js → gateway-cli-BXVdwolu.js} +9 -9
- package/dist/{gateway-cli-D3b05F0y.js → gateway-cli-BdgApNMg.js} +9 -9
- package/dist/{health-D6PJPflH.js → health-DBSDfGPQ.js} +1 -1
- package/dist/{health-cUQV1hzf.js → health-c6YfjqN9.js} +1 -1
- package/dist/{hooks-cli-Cg5joAHH.js → hooks-cli-CoJOwRWP.js} +3 -3
- package/dist/{hooks-cli-Cs51IGnr.js → hooks-cli-DuVFXBnl.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{models-tqBGSD-X.js → models-I1fimmye.js} +2 -2
- package/dist/{models-cli-Va0ILYmK.js → models-cli-XzrL7se3.js} +4 -4
- package/dist/{models-cli-D6CVD4Jl.js → models-cli-p17sGvc_.js} +3 -3
- package/dist/{npm-resolution-CCdELgCy.js → npm-resolution-CaV24X0a.js} +1 -1
- package/dist/{npm-resolution-DgW-oSJa.js → npm-resolution-CjE7drzJ.js} +1 -1
- package/dist/{onboard-Bfd4q7HR.js → onboard-B_fyzWtv.js} +2 -2
- package/dist/{onboard-Br7oW1Sf.js → onboard-Bqdp0JMX.js} +2 -2
- package/dist/{onboard-channels-BpCQ5nQX.js → onboard-channels-BSO1y0cA.js} +1 -1
- package/dist/{onboard-channels-wDbxIOXH.js → onboard-channels-CZ8FfTSc.js} +1 -1
- package/dist/{onboarding-CegT14jj.js → onboarding-B5h3HtpG.js} +3 -3
- package/dist/{onboarding-rD-jdAK3.js → onboarding-BAb3u5FQ.js} +3 -3
- package/dist/{onboarding.finalize-C50Cd_QG.js → onboarding.finalize-BFQ0FK67.js} +6 -6
- package/dist/{onboarding.finalize-CHq5hQxh.js → onboarding.finalize-C4yD5wdF.js} +7 -7
- package/dist/{pi-embedded-znVFwmix.js → pi-embedded-YwM9Q1Oj.js} +15 -13
- package/dist/{pi-embedded-2EqYdroP.js → pi-embedded-lIBDXwPw.js} +15 -13
- package/dist/{plugin-registry-DAtKgBy3.js → plugin-registry-9o2_nLCw.js} +1 -1
- package/dist/{plugin-registry-CYXCwXDq.js → plugin-registry-C0PH2a4D.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-BeEBACUq.js → agent-via-gateway-DeAyT5pO.js} +2 -2
- package/dist/plugin-sdk/{anton-DXocufH_.js → anton-CM_5r7wZ.js} +1 -1
- package/dist/plugin-sdk/{channel-web-DOG4rb7e.js → channel-web-DZEPgI9g.js} +2 -2
- package/dist/plugin-sdk/{deps--J_OAyWa.js → deps-C3O2JHMz.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-CAC-_dk-.js → emergency-stop-D_J66ezD.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-5pZsGmq0.js → reply-Bd7B0L5M.js} +15 -13
- package/dist/plugin-sdk/{upgrade-command-C2uWxfO3.js → upgrade-command-DKUGbn8D.js} +3 -3
- package/dist/plugin-sdk/{web-B-T8tUvc.js → web-BOTYNjJP.js} +3 -3
- package/dist/{plugins-cli-CAbzpQdE.js → plugins-cli-Bssd0vWc.js} +3 -3
- package/dist/{plugins-cli-Di1X-utw.js → plugins-cli-Buwy6BDo.js} +3 -3
- package/dist/{program-DCfsqP_8.js → program-DmoMcJbW.js} +8 -8
- package/dist/{program-context-Dhec-fGX.js → program-context-CvILUgwS.js} +22 -22
- package/dist/{prompt-select-styled-C1aw6YAJ.js → prompt-select-styled-Ba-sEW8U.js} +4 -4
- package/dist/{prompt-select-styled-CJ2ux4O0.js → prompt-select-styled-CQFQszFb.js} +4 -4
- package/dist/{provider-auth-helpers-aWibl0HT.js → provider-auth-helpers-DDd2VWFT.js} +1 -1
- package/dist/{provider-auth-helpers-BPsTPi3e.js → provider-auth-helpers-DUCFKGef.js} +1 -1
- package/dist/{push-apns-BracxehR.js → push-apns-CNG0oNRQ.js} +1 -1
- package/dist/{push-apns-By39WpiH.js → push-apns-Caq-I_Zt.js} +1 -1
- package/dist/{register.agent-BaVrC6Ay.js → register.agent-D8Nt6BUp.js} +9 -9
- package/dist/{register.agent-CyZyt49k.js → register.agent-tRfjcu32.js} +8 -8
- package/dist/{register.configure-CqmHvWcB.js → register.configure-BBgjG-V6.js} +8 -8
- package/dist/{register.configure-DmjP2LTb.js → register.configure-BlAHg6Pc.js} +8 -8
- package/dist/{register.maintenance-DYYx-jCe.js → register.maintenance-7jk9KK9w.js} +9 -9
- package/dist/{register.maintenance-DfWWglhS.js → register.maintenance-C4PEQN25.js} +8 -8
- package/dist/{register.message-C3tFRLbl.js → register.message-B35QKkNl.js} +3 -3
- package/dist/{register.message-Cke7XTrc.js → register.message-DRsct7hM.js} +3 -3
- package/dist/{register.onboard-BXK-V33E.js → register.onboard-CpXzVkMZ.js} +2 -2
- package/dist/{register.onboard-DLZNgT0T.js → register.onboard-Dfe2XWYP.js} +2 -2
- package/dist/{register.orchestrator-anton-D2g_KbgY.js → register.orchestrator-anton-BcvmMRCY.js} +2 -2
- package/dist/{register.orchestrator-anton-rvqNZKP1.js → register.orchestrator-anton-CLkzgvtb.js} +2 -2
- package/dist/{register.setup-DBL7rrRW.js → register.setup-D60l_E81.js} +2 -2
- package/dist/{register.setup-Dr-v5BSC.js → register.setup-DHvCXtrq.js} +2 -2
- package/dist/{register.status-health-sessions-BDG_QnIw.js → register.status-health-sessions-BjLIPEMo.js} +4 -4
- package/dist/{register.status-health-sessions-BrnK4KEW.js → register.status-health-sessions-BzFW2WeI.js} +4 -4
- package/dist/{register.subclis-SGnxsMrq.js → register.subclis-G3Znne6v.js} +13 -13
- package/dist/{reply-tuqCy_5s.js → reply-BjfZSyVA.js} +15 -13
- package/dist/{run-main-KfdXYi7n.js → run-main-uIK1D4ZZ.js} +15 -15
- package/dist/{server-node-events-BLSMmXyp.js → server-node-events-CNNvTDbI.js} +3 -3
- package/dist/{server-node-events-Brm38g1H.js → server-node-events-CjRXfyAl.js} +3 -3
- package/dist/{status-CLNSJORR.js → status-CCYiT1JP.js} +2 -2
- package/dist/{status-CmG_xHAm.js → status-Cl-QVMTz.js} +2 -2
- package/dist/{subagent-registry-B-ciR-Ya.js → subagent-registry-CXQ2ArrW.js} +15 -13
- package/dist/{update-cli-ButEdTeQ.js → update-cli-B2P4wjeX.js} +9 -9
- package/dist/{update-cli-B-RzWiVk.js → update-cli-BmyxJEDm.js} +8 -8
- package/dist/{update-runner-Cxg4n1sn.js → update-runner-BQ1zr3So.js} +1 -1
- package/dist/{update-runner-DizoiA2w.js → update-runner-BdYav5a2.js} +1 -1
- package/dist/{upgrade-command-5UDVpXfB.js → upgrade-command-Bh61DpzA.js} +5 -5
- package/dist/{upgrade-command-B2yxOLOn.js → upgrade-command-Bvrv4iDU.js} +3 -3
- package/dist/{upgrade-command-B_OSevDd.js → upgrade-command-CvbcPPIF.js} +3 -3
- package/dist/{upgrade-command-DP6F1cjV.js → upgrade-command-L9y3xbza.js} +5 -5
- package/dist/{web-DtCFqhdb.js → web-BVRZ7GPb.js} +3 -3
- package/dist/{web-C4Q6twkC.js → web-B_JttZzc.js} +3 -3
- package/dist/{web-DWhjgVIf.js → web-CAqyU7Tb.js} +3 -3
- package/dist/{web-D5dDa5kC.js → web-Ur3UMpna.js} +3 -3
- package/extensions/acpx/node_modules/.bin/acpx +2 -2
- package/package.json +1 -1
|
@@ -103,7 +103,7 @@ import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-c
|
|
|
103
103
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-hSFVxL4h.js";
|
|
104
104
|
import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-BFzmZAfo.js";
|
|
105
105
|
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-30JxwI-t.js";
|
|
106
|
-
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
106
|
+
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-BffOWnyg.js";
|
|
107
107
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-7DUxMy6A.js";
|
|
108
108
|
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-ZxRkxpuF.js";
|
|
109
109
|
import { c as hasNonzeroUsage, l as makeZeroUsageSnapshot, n as loadCostUsageSummary, o as derivePromptTokens, r as loadSessionCostSummary, s as deriveSessionTotalTokens, u as normalizeUsage } from "./session-cost-usage-DS1rjzML.js";
|
|
@@ -27503,7 +27503,7 @@ function createDiscordMessageHandler(params) {
|
|
|
27503
27503
|
try {
|
|
27504
27504
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
27505
27505
|
if (messageText) {
|
|
27506
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
27506
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-gTWSglNP.js");
|
|
27507
27507
|
if (isAbortRequestText(messageText)) {
|
|
27508
27508
|
const { resolveAgentRoute } = await import("./resolve-route-D_AbcmD6.js").then((n) => n.r);
|
|
27509
27509
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -38171,7 +38171,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
38171
38171
|
}
|
|
38172
38172
|
const msgText = (message.text ?? "").trim();
|
|
38173
38173
|
if (msgText) {
|
|
38174
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
38174
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-gTWSglNP.js");
|
|
38175
38175
|
if (isAbortRequestText(msgText)) {
|
|
38176
38176
|
const { resolveAgentRoute } = await import("./resolve-route-D_AbcmD6.js").then((n) => n.r);
|
|
38177
38177
|
const route = resolveAgentRoute({
|
|
@@ -40852,7 +40852,7 @@ function createSignalEventHandler(deps) {
|
|
|
40852
40852
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
40853
40853
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
40854
40854
|
if (bodyText) {
|
|
40855
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
40855
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-gTWSglNP.js");
|
|
40856
40856
|
if (isAbortRequestText(bodyText)) {
|
|
40857
40857
|
const { resolveAgentRoute } = await import("./resolve-route-D_AbcmD6.js").then((n) => n.r);
|
|
40858
40858
|
const route = resolveAgentRoute({
|
|
@@ -44315,7 +44315,7 @@ function createSlackMessageHandler(params) {
|
|
|
44315
44315
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
44316
44316
|
const rawText = (message.text ?? "").trim();
|
|
44317
44317
|
if (rawText) {
|
|
44318
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
44318
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-gTWSglNP.js");
|
|
44319
44319
|
if (isAbortRequestText(rawText)) {
|
|
44320
44320
|
const { resolveAgentRoute } = await import("./resolve-route-D_AbcmD6.js").then((n) => n.r);
|
|
44321
44321
|
const route = resolveAgentRoute({
|
|
@@ -48926,7 +48926,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
48926
48926
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
48927
48927
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
48928
48928
|
if (text) {
|
|
48929
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
48929
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-gTWSglNP.js");
|
|
48930
48930
|
if (isAbortRequestText(text)) {
|
|
48931
48931
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
48932
48932
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -52420,7 +52420,7 @@ function loadWebLoginQr() {
|
|
|
52420
52420
|
return webLoginQrPromise;
|
|
52421
52421
|
}
|
|
52422
52422
|
function loadWebChannel() {
|
|
52423
|
-
webChannelPromise ??= import("./web-
|
|
52423
|
+
webChannelPromise ??= import("./web-B_JttZzc.js");
|
|
52424
52424
|
return webChannelPromise;
|
|
52425
52425
|
}
|
|
52426
52426
|
function loadWhatsAppActions() {
|
|
@@ -75159,7 +75159,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
75159
75159
|
};
|
|
75160
75160
|
const arg = body.slice(6).trim();
|
|
75161
75161
|
if (arg === "status" || arg === "") {
|
|
75162
|
-
const { antonStatus } = await import("./anton-
|
|
75162
|
+
const { antonStatus } = await import("./anton-CqvQ2Rxs.js").then((n) => n.r);
|
|
75163
75163
|
const lines = [];
|
|
75164
75164
|
await antonStatus({
|
|
75165
75165
|
log: (msg) => lines.push(msg),
|
|
@@ -75175,7 +75175,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
75175
75175
|
return { shouldContinue: false };
|
|
75176
75176
|
}
|
|
75177
75177
|
if (arg === "stop") {
|
|
75178
|
-
const { antonStop } = await import("./anton-
|
|
75178
|
+
const { antonStop } = await import("./anton-CqvQ2Rxs.js").then((n) => n.r);
|
|
75179
75179
|
const lines = [];
|
|
75180
75180
|
await antonStop({
|
|
75181
75181
|
log: (msg) => lines.push(msg),
|
|
@@ -75213,8 +75213,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
75213
75213
|
await sendProgress(replyCtx, text);
|
|
75214
75214
|
return { shouldContinue: false };
|
|
75215
75215
|
}
|
|
75216
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
75217
|
-
const { createDefaultDeps } = await import("./deps-
|
|
75216
|
+
const { runAnton, formatProgressMessage } = await import("./anton-CqvQ2Rxs.js").then((n) => n.r);
|
|
75217
|
+
const { createDefaultDeps } = await import("./deps-BffOWnyg.js").then((n) => n.r);
|
|
75218
75218
|
const { createNonExitingRuntime } = await import("./runtime-44j_X4Y6.js").then((n) => n.r);
|
|
75219
75219
|
const runtime = createNonExitingRuntime();
|
|
75220
75220
|
const deps = createDefaultDeps();
|
|
@@ -76482,7 +76482,7 @@ const handleTtsCommands = async (params, allowTextCommands) => {
|
|
|
76482
76482
|
const handleUpgradeCommand = async (params, _allowTextCommands) => {
|
|
76483
76483
|
if (!params.command.commandBodyNormalized.startsWith("/upgrade")) return null;
|
|
76484
76484
|
if (!params.command.isAuthorizedSender) return { shouldContinue: false };
|
|
76485
|
-
const { performBotUpgrade } = await import("./upgrade-command-
|
|
76485
|
+
const { performBotUpgrade } = await import("./upgrade-command-Bh61DpzA.js");
|
|
76486
76486
|
const channel = params.ctx.OriginatingChannel ?? params.command.channel;
|
|
76487
76487
|
const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
|
|
76488
76488
|
await routeReply({
|
|
@@ -82164,7 +82164,7 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
82164
82164
|
hasResolvedHeartbeatModelOverride = true;
|
|
82165
82165
|
}
|
|
82166
82166
|
}
|
|
82167
|
-
|
|
82167
|
+
let workspaceDir = (await ensureAgentWorkspace({
|
|
82168
82168
|
dir: resolveAgentWorkspaceDir(cfg, agentId) ?? DEFAULT_AGENT_WORKSPACE_DIR,
|
|
82169
82169
|
ensureBootstrapFiles: !agentCfg?.skipBootstrap && !isFastTestEnv
|
|
82170
82170
|
})).dir;
|
|
@@ -82210,6 +82210,8 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
82210
82210
|
cfg,
|
|
82211
82211
|
commandAuthorized
|
|
82212
82212
|
});
|
|
82213
|
+
const sessionWorkspaceDir = sessionEntry.workspaceDir?.trim();
|
|
82214
|
+
if (sessionWorkspaceDir) workspaceDir = sessionWorkspaceDir;
|
|
82213
82215
|
await applyResetModelOverride({
|
|
82214
82216
|
cfg,
|
|
82215
82217
|
resetTriggered,
|
|
@@ -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
|
}
|
|
@@ -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({
|
|
@@ -41363,7 +41363,7 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
41363
41363
|
hasResolvedHeartbeatModelOverride = true;
|
|
41364
41364
|
}
|
|
41365
41365
|
}
|
|
41366
|
-
|
|
41366
|
+
let workspaceDir = (await ensureAgentWorkspace({
|
|
41367
41367
|
dir: resolveAgentWorkspaceDir(cfg, agentId) ?? DEFAULT_AGENT_WORKSPACE_DIR,
|
|
41368
41368
|
ensureBootstrapFiles: !agentCfg?.skipBootstrap && !isFastTestEnv
|
|
41369
41369
|
})).dir;
|
|
@@ -41409,6 +41409,8 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
41409
41409
|
cfg,
|
|
41410
41410
|
commandAuthorized
|
|
41411
41411
|
});
|
|
41412
|
+
const sessionWorkspaceDir = sessionEntry.workspaceDir?.trim();
|
|
41413
|
+
if (sessionWorkspaceDir) workspaceDir = sessionWorkspaceDir;
|
|
41412
41414
|
await applyResetModelOverride({
|
|
41413
41415
|
cfg,
|
|
41414
41416
|
resetTriggered,
|
|
@@ -49570,7 +49572,7 @@ function createDiscordMessageHandler(params) {
|
|
|
49570
49572
|
try {
|
|
49571
49573
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
49572
49574
|
if (messageText) {
|
|
49573
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
49575
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
49574
49576
|
if (isAbortRequestText(messageText)) {
|
|
49575
49577
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
49576
49578
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -57043,7 +57045,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
57043
57045
|
}
|
|
57044
57046
|
const msgText = (message.text ?? "").trim();
|
|
57045
57047
|
if (msgText) {
|
|
57046
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57048
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
57047
57049
|
if (isAbortRequestText(msgText)) {
|
|
57048
57050
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
57049
57051
|
const route = resolveAgentRoute({
|
|
@@ -59648,7 +59650,7 @@ function createSignalEventHandler(deps) {
|
|
|
59648
59650
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
59649
59651
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
59650
59652
|
if (bodyText) {
|
|
59651
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
59653
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
59652
59654
|
if (isAbortRequestText(bodyText)) {
|
|
59653
59655
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
59654
59656
|
const route = resolveAgentRoute({
|
|
@@ -63037,7 +63039,7 @@ function createSlackMessageHandler(params) {
|
|
|
63037
63039
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
63038
63040
|
const rawText = (message.text ?? "").trim();
|
|
63039
63041
|
if (rawText) {
|
|
63040
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
63042
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
63041
63043
|
if (isAbortRequestText(rawText)) {
|
|
63042
63044
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
63043
63045
|
const route = resolveAgentRoute({
|
|
@@ -65231,7 +65233,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
65231
65233
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
65232
65234
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
65233
65235
|
if (text) {
|
|
65234
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
65236
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DJTRZhjJ.js");
|
|
65235
65237
|
if (isAbortRequestText(text)) {
|
|
65236
65238
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
65237
65239
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -68725,7 +68727,7 @@ function loadWebLoginQr() {
|
|
|
68725
68727
|
return webLoginQrPromise;
|
|
68726
68728
|
}
|
|
68727
68729
|
function loadWebChannel() {
|
|
68728
|
-
webChannelPromise ??= import("./web-
|
|
68730
|
+
webChannelPromise ??= import("./web-BVRZ7GPb.js");
|
|
68729
68731
|
return webChannelPromise;
|
|
68730
68732
|
}
|
|
68731
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();
|