@visorcraft/idlehands 4.0.15 → 4.0.16
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/CHANGELOG.md +6 -0
- package/dist/{agent-via-gateway-BFtbpQpT.js → agent-via-gateway-7SDhvcBa.js} +7 -7
- package/dist/{agent-via-gateway-CIM26Dxl.js → agent-via-gateway-Ceb_VeXS.js} +7 -7
- package/dist/{agent-via-gateway-BvXS1sXv.js → agent-via-gateway-DIfwOe7Y.js} +1 -1
- package/dist/{agent-via-gateway-CcaPUQrc.js → agent-via-gateway-F1Zu0slF.js} +1 -1
- package/dist/{agents-DPlb4UQu.js → agents-idaLog48.js} +4 -4
- package/dist/{agents.config-8pxRoZvL.js → agents.config-DP_bqTwg.js} +1 -1
- package/dist/{agents.config-BKoyeUnK.js → agents.config-w0ZcfpyW.js} +1 -1
- package/dist/{anton-DKA8iAQE.js → anton-B7VZSQo-.js} +1 -1
- package/dist/{anton-BTjKlGm7.js → anton-BomwkDBv.js} +1 -1
- package/dist/{anton-DhBvDNcB.js → anton-Cs1JPzv4.js} +1 -1
- package/dist/{anton-Dyhtv3C8.js → anton-CzWIEEiT.js} +1 -1
- package/dist/{audio-preflight-CW8IH1lU.js → audio-preflight-BSlR2jEq.js} +4 -4
- package/dist/{audio-preflight-vD3mDc6w.js → audio-preflight-CSSlgO89.js} +4 -4
- package/dist/{auth-choice-CMUzxwaw.js → auth-choice-C49o8owq.js} +1 -1
- package/dist/{auth-choice-D-_AVWgJ.js → auth-choice-D-TtZtMR.js} +1 -1
- package/dist/{banner-B6ih1A5q.js → banner-DmFqQvFd.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-DdT_iiu2.js → channel-options-1Dqo0zkg.js} +1 -1
- package/dist/{channel-options-DqOp64vm.js → channel-options-CsEgIwgu.js} +1 -1
- package/dist/{channel-web-DjS8VQYO.js → channel-web-BicbbO9_.js} +2 -2
- package/dist/{channel-web-PG7u76pG.js → channel-web-C7s5QLXL.js} +2 -2
- package/dist/{channels-cli-1tt6zmdw.js → channels-cli-CWb-B8BT.js} +7 -7
- package/dist/{channels-cli-CWxVX3_x.js → channels-cli-REwO9h_a.js} +7 -7
- package/dist/{chrome-BcJB6PcM.js → chrome-Do5potHV.js} +9 -9
- package/dist/{chrome-DEnkfZ9p.js → chrome-_2tzVjVl.js} +9 -9
- package/dist/{cli-CmOlEYcx.js → cli-B4rP4MXJ.js} +2 -2
- package/dist/{cli-D4FV736E.js → cli-B9ARC6CF.js} +2 -2
- package/dist/{command-registry-CQ_cgvak.js → command-registry-0e5VHciB.js} +10 -10
- package/dist/{completion-cli-UytEAOmM.js → completion-cli-BTtvgatl.js} +2 -2
- package/dist/{completion-cli-y9BFk5F6.js → completion-cli-C1StqVUs.js} +1 -1
- package/dist/{config-cli-DUb0ZGdL.js → config-cli-B-yirt2T.js} +1 -1
- package/dist/{config-cli-5c6A3y5U.js → config-cli-C3As38Z_.js} +1 -1
- package/dist/{configure-AlSS40po.js → configure-BEd8nUOe.js} +3 -3
- package/dist/{configure-BPwYKVb4.js → configure-Cw6aeqBy.js} +3 -3
- package/dist/{deliver-BUiQ-9fE.js → deliver-CVTXl0Cv.js} +1 -1
- package/dist/{deliver-5FLCa6tB.js → deliver-whAbSPLk.js} +1 -1
- package/dist/{deps-TwKaIh1I.js → deps-C28cWNmF.js} +1 -1
- package/dist/{deps-KIFYHxig.js → deps-CVb-kfIX.js} +1 -1
- package/dist/{deps-BYfE_aIY.js → deps-CYAKIzhf.js} +1 -1
- package/dist/{deps-DxMLbT7t.js → deps-Cn32rOjf.js} +1 -1
- package/dist/{doctor-completion-S-XHygGb.js → doctor-completion-T5sq7t8L.js} +1 -1
- package/dist/{doctor-completion-HzTBPNbS.js → doctor-completion-o6QBkVYG.js} +1 -1
- package/dist/{emergency-stop-BDwI4Cyl.js → emergency-stop-CMeSxuEg.js} +2 -2
- package/dist/{emergency-stop-DOi-rKmj.js → emergency-stop-D-dp9zCO.js} +2 -2
- package/dist/{emergency-stop-DpMAMIiz.js → emergency-stop-h5_WOPZT.js} +7 -7
- package/dist/{emergency-stop--ScwariE.js → emergency-stop-w0AyIMs7.js} +7 -7
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{gateway-cli-B4T44JsM.js → gateway-cli-Dxoh3sSC.js} +9 -9
- package/dist/{gateway-cli-DQcjWJr7.js → gateway-cli-bZXsaQkU.js} +9 -9
- package/dist/{health--39yieH5.js → health-OvNY74XL.js} +1 -1
- package/dist/{health-D7UCYzfy.js → health-dLZas7f8.js} +1 -1
- package/dist/{hooks-cli-CGB7TcZZ.js → hooks-cli-DOH-i33b.js} +3 -3
- package/dist/{hooks-cli-Cko_uweG.js → hooks-cli-DZr1MB1B.js} +3 -3
- package/dist/{image-C_aN5P6-.js → image-BAsQlUqT.js} +1 -1
- 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-CWfcMshO.js → models-Dvyot3-o.js} +2 -2
- package/dist/{models-cli-d_ead6LU.js → models-cli-CKRL4j3x.js} +3 -3
- package/dist/{models-cli-NlT2N74B.js → models-cli-Dtzht0md.js} +4 -4
- package/dist/{npm-resolution-DIJeEhoa.js → npm-resolution-BpruvRIr.js} +1 -1
- package/dist/{npm-resolution-Dpn9DNPz.js → npm-resolution-iEXmU1Ol.js} +1 -1
- package/dist/{onboard-Raw5nkGc.js → onboard-CS6IQorr.js} +2 -2
- package/dist/{onboard-DFseyAG9.js → onboard-Ck4SwhZB.js} +2 -2
- package/dist/{onboard-channels-mLWuxUlN.js → onboard-channels-CM4puuWQ.js} +1 -1
- package/dist/{onboard-channels-CG1HcORq.js → onboard-channels-DzNjXM6f.js} +1 -1
- package/dist/{onboarding-CzzjhwRf.js → onboarding-0Pop0Cex.js} +3 -3
- package/dist/{onboarding-DYlNLV9R.js → onboarding-DMEJRAg4.js} +3 -3
- package/dist/{onboarding.finalize-CIOBj6Jy.js → onboarding.finalize-BZW1kZw7.js} +7 -7
- package/dist/{onboarding.finalize-BJYuOTPe.js → onboarding.finalize-f2qChM_N.js} +6 -6
- package/dist/{pi-embedded-Swc7dke2.js → pi-embedded-BKTKQn_9.js} +27 -27
- package/dist/{pi-embedded-7XGjNojd.js → pi-embedded-Oto02Ard.js} +27 -27
- package/dist/{pi-embedded-helpers-C2j0LfJC.js → pi-embedded-helpers-Ct2rwp-P.js} +4 -4
- package/dist/{pi-embedded-helpers-CghCLoPo.js → pi-embedded-helpers-CyTpDKo5.js} +4 -4
- package/dist/{plugin-registry-D9Z1bMNt.js → plugin-registry-BfNJBiAr.js} +1 -1
- package/dist/{plugin-registry-BAd0SoEv.js → plugin-registry-PcN7mK-d.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-B3F-royZ.js → agent-via-gateway-l3LvRB7r.js} +2 -2
- package/dist/plugin-sdk/{anton-DfpQdXJJ.js → anton-DJn2RPpW.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BWE_kecR.js → channel-web-DvztgyXI.js} +2 -2
- package/dist/plugin-sdk/{deps-B0MfJgDH.js → deps-B1DxdYuU.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-rTRWpk26.js → emergency-stop-CVZuzTM7.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-C2G4DKTN.js → reply-BhGucE6k.js} +12 -12
- package/dist/plugin-sdk/{upgrade-command-DKUGbn8D.js → upgrade-command-y1YvsJbf.js} +12 -2
- package/dist/plugin-sdk/{web-bxu2RRVS.js → web-BzmXmmAo.js} +3 -3
- package/dist/{plugins-cli-BYfDyWXn.js → plugins-cli-DOTZBHc7.js} +3 -3
- package/dist/{plugins-cli-DP46ipIu.js → plugins-cli-s1bEnfMn.js} +3 -3
- package/dist/{program-BlV0XOMu.js → program-Blak4A0H.js} +8 -8
- package/dist/{program-context-PC7Knx3s.js → program-context-DtHO30yM.js} +19 -19
- package/dist/{prompt-select-styled-BgfuPDVv.js → prompt-select-styled-D8vDTRY8.js} +4 -4
- package/dist/{prompt-select-styled-BEnn1bwr.js → prompt-select-styled-DuHE5c_O.js} +4 -4
- package/dist/{provider-auth-helpers-CrjXAqYu.js → provider-auth-helpers-CnqcE5__.js} +1 -1
- package/dist/{provider-auth-helpers-CKIkgNDk.js → provider-auth-helpers-PdlgGx1Z.js} +1 -1
- package/dist/{push-apns-BPmS_f8e.js → push-apns-CNVtKEbW.js} +1 -1
- package/dist/{push-apns-B4sxQAG3.js → push-apns-DkGS3lmo.js} +1 -1
- package/dist/{pw-ai-CfYaR1K2.js → pw-ai-CowTfhOG.js} +1 -1
- package/dist/{pw-ai-DjmrIQle.js → pw-ai-yrIWfcWX.js} +1 -1
- package/dist/{register.agent-DRcOj2U3.js → register.agent-BGs6wEo-.js} +9 -9
- package/dist/{register.agent-uaM-OgFM.js → register.agent-DliuXWG0.js} +8 -8
- package/dist/{register.configure-BebpNVXc.js → register.configure-D9bNPRml.js} +8 -8
- package/dist/{register.configure-B0i1vobR.js → register.configure-DJsShg2l.js} +8 -8
- package/dist/{register.maintenance-Cr0SJRGa.js → register.maintenance-B-36Avrl.js} +8 -8
- package/dist/{register.maintenance-CjWtRkPb.js → register.maintenance-B7ZM7NqF.js} +9 -9
- package/dist/{register.message-BNqRwnPx.js → register.message-Cm5P_dls.js} +3 -3
- package/dist/{register.message-DMAqqNBh.js → register.message-CmEzaYEw.js} +3 -3
- package/dist/{register.onboard-DDLj9mJ2.js → register.onboard-ByUSn1hy.js} +2 -2
- package/dist/{register.onboard-9Z1ghVgM.js → register.onboard-cB-UkXhL.js} +2 -2
- package/dist/{register.orchestrator-anton-9Al8Av8i.js → register.orchestrator-anton-CADua5Nr.js} +2 -2
- package/dist/{register.orchestrator-anton-BybNaYi1.js → register.orchestrator-anton-D_mAceTk.js} +2 -2
- package/dist/{register.setup-yqN0SXow.js → register.setup-CA3WwC1V.js} +2 -2
- package/dist/{register.setup-Z1tBfa9d.js → register.setup-DOnWysTP.js} +2 -2
- package/dist/{register.status-health-sessions-r-mpQR1m.js → register.status-health-sessions-DgR30NBl.js} +4 -4
- package/dist/{register.status-health-sessions-Di92AnoH.js → register.status-health-sessions-Dsvbkrhh.js} +4 -4
- package/dist/{register.subclis-DPQqxIZd.js → register.subclis-CvN5J3oh.js} +10 -10
- package/dist/{reply-ZWOav11z.js → reply-D6y5faqD.js} +12 -12
- package/dist/{run-main-DDbBATo6.js → run-main-BBYeikWD.js} +15 -15
- package/dist/{runner-CZW_eyf2.js → runner-Bv_BA3vd.js} +1 -1
- package/dist/{runner-PgRFPYUj.js → runner-BzNdfqDz.js} +1 -1
- package/dist/{server-node-events-DNJLKEMT.js → server-node-events-CcAiA2an.js} +3 -3
- package/dist/{server-node-events-BcZPS5tj.js → server-node-events-DeBYOK05.js} +3 -3
- package/dist/{status-BXSiFfmy.js → status-BW8aF7xu.js} +2 -2
- package/dist/{status-geIYZraQ.js → status-Dd0rJBTD.js} +2 -2
- package/dist/{subagent-registry-C6uygQa1.js → subagent-registry-DeXWDNty.js} +12 -12
- package/dist/{update-cli-BxVcRBy_.js → update-cli-C97163Ne.js} +9 -9
- package/dist/{update-cli-VlK55yII.js → update-cli-DLWAR9u6.js} +8 -8
- package/dist/{update-runner-bFqEARFN.js → update-runner-BV9LWTCG.js} +1 -1
- package/dist/{update-runner-Cw7BbjGv.js → update-runner-Cft2lh5r.js} +1 -1
- package/dist/{upgrade-command-Bh61DpzA.js → upgrade-command-909a7QUc.js} +12 -2
- package/dist/{upgrade-command-CvbcPPIF.js → upgrade-command-BOG7TpIq.js} +12 -2
- package/dist/{upgrade-command-Bvrv4iDU.js → upgrade-command-CWP8S_lt.js} +12 -2
- package/dist/{upgrade-command-L9y3xbza.js → upgrade-command-eqla-KnV.js} +12 -2
- package/dist/{web-TRTzT6rm.js → web-BwZ1OGaX.js} +8 -8
- package/dist/{web-Bjj9WtlF.js → web-D8zB-Qkg.js} +3 -3
- package/dist/{web-DptF9st7.js → web-DGPTqAhk.js} +8 -8
- package/dist/{web-BjMMu9l1.js → web-Da_aB4Vm.js} +3 -3
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/hand/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-CE7i9tBR.js";
|
|
11
11
|
import { t as generateSecureToken } from "./secure-random-B1N_MXT_.js";
|
|
12
12
|
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-D1KtygWz.js";
|
|
13
|
-
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_IDLEHANDS_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_IDLEHANDS_BROWSER_PROFILE_NAME, V as DEFAULT_IDLEHANDS_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveIdleHandsUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchIdleHandsChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopIdleHandsChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-
|
|
13
|
+
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_IDLEHANDS_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_IDLEHANDS_BROWSER_PROFILE_NAME, V as DEFAULT_IDLEHANDS_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveIdleHandsUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchIdleHandsChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopIdleHandsChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-_2tzVjVl.js";
|
|
14
14
|
import { t as SsrFBlockedError } from "./ssrf-CZeHDwVZ.js";
|
|
15
15
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-CnAPWfca.js";
|
|
16
16
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cu1nXNMM.js";
|
|
@@ -1182,7 +1182,7 @@ function isModuleNotFoundError(err) {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
async function loadPwAiModule(mode) {
|
|
1184
1184
|
try {
|
|
1185
|
-
return await import("./pw-ai-
|
|
1185
|
+
return await import("./pw-ai-CowTfhOG.js");
|
|
1186
1186
|
} catch (err) {
|
|
1187
1187
|
if (mode === "soft") return null;
|
|
1188
1188
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3717,11 +3717,11 @@ function createProfileContext(opts, profile) {
|
|
|
3717
3717
|
const userDataDir = resolveIdleHandsUserDataDir(profile.name);
|
|
3718
3718
|
const profileState = getProfileState();
|
|
3719
3719
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3720
|
-
await (await import("./pw-ai-
|
|
3720
|
+
await (await import("./pw-ai-CowTfhOG.js")).closePlaywrightBrowserConnection();
|
|
3721
3721
|
} catch {}
|
|
3722
3722
|
if (profileState.running) await stopRunningBrowser();
|
|
3723
3723
|
try {
|
|
3724
|
-
await (await import("./pw-ai-
|
|
3724
|
+
await (await import("./pw-ai-CowTfhOG.js")).closePlaywrightBrowserConnection();
|
|
3725
3725
|
} catch {}
|
|
3726
3726
|
if (!syncFs.existsSync(userDataDir)) return {
|
|
3727
3727
|
moved: false,
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { E as getActivePluginRegistry, s as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { j as loadConfig } from "./auth-profiles-Baj5ImDJ.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
5
|
-
import { _ as loadIdleHandsPlugins } from "./subagent-registry-
|
|
5
|
+
import { _ as loadIdleHandsPlugins } from "./subagent-registry-DeXWDNty.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ht as loadIdleHandsPlugins } from "./reply-
|
|
2
|
+
import { ht as loadIdleHandsPlugins } from "./reply-D6y5faqD.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
4
4
|
import { b as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
5
5
|
import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import "./accounts-BLYMokxV.js";
|
|
3
|
-
import { F as callGateway, I as randomIdempotencyKey, d as agentCommand, f as resolveSessionKeyForRequest, p as withProgress } from "./reply-
|
|
3
|
+
import { F as callGateway, I as randomIdempotencyKey, d as agentCommand, f as resolveSessionKeyForRequest, p as withProgress } from "./reply-BhGucE6k.js";
|
|
4
4
|
import "./paths-CtGV5i8O.js";
|
|
5
5
|
import "./github-copilot-token-CY2euW0d.js";
|
|
6
6
|
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
@@ -63,7 +63,7 @@ import "./send-B26cNPqY.js";
|
|
|
63
63
|
import "./proxy-C4ewPdlN.js";
|
|
64
64
|
import "./resolve-route-BZABUE4J.js";
|
|
65
65
|
import "./replies-ZovJp-3F.js";
|
|
66
|
-
import "./deps-
|
|
66
|
+
import "./deps-B1DxdYuU.js";
|
|
67
67
|
import "./outbound-attachment-BisU5Vji.js";
|
|
68
68
|
|
|
69
69
|
//#region src/commands/agent-via-gateway.ts
|
|
@@ -219,7 +219,7 @@ async function loadAntonConfig() {
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
async function runAgentTask(args) {
|
|
222
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
222
|
+
const { agentCliCommand } = await import("./agent-via-gateway-l3LvRB7r.js");
|
|
223
223
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
224
224
|
const result = await agentCliCommand({
|
|
225
225
|
message: args.message,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, f as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import { i as resolveWhatsAppAccount } from "./accounts-BLYMokxV.js";
|
|
3
|
-
import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-
|
|
3
|
+
import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-BhGucE6k.js";
|
|
4
4
|
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
5
5
|
import { A as shouldLogVerbose, D as logVerbose, I as getChildLogger, d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-Dyj2wV4e.js";
|
|
6
6
|
import { l as normalizeChatChannelId, t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
|
|
@@ -878,7 +878,7 @@ async function monitorWebInbox(options) {
|
|
|
878
878
|
};
|
|
879
879
|
const stopText = (inboundMessage.body ?? "").trim();
|
|
880
880
|
if (stopText) {
|
|
881
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
881
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CVZuzTM7.js");
|
|
882
882
|
if (isAbortRequestText(stopText)) {
|
|
883
883
|
const { loadConfig: loadCfg } = await import("./config-CEgzwk0J.js").then((n) => n.t);
|
|
884
884
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
@@ -18,7 +18,7 @@ var deps_exports = /* @__PURE__ */ __exportAll({ createDefaultDeps: () => create
|
|
|
18
18
|
function createDefaultDeps() {
|
|
19
19
|
return {
|
|
20
20
|
sendMessageWhatsApp: async (...args) => {
|
|
21
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
21
|
+
const { sendMessageWhatsApp } = await import("./web-BzmXmmAo.js");
|
|
22
22
|
return await sendMessageWhatsApp(...args);
|
|
23
23
|
},
|
|
24
24
|
sendMessageTelegram: async (...args) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./accounts-BLYMokxV.js";
|
|
2
|
-
import { S as stopSubagentsForRequester, b as formatAbortReplyText, n as abortEmbeddedPiRun, w as clearSessionQueues, x as isAbortRequestText } from "./reply-
|
|
2
|
+
import { S as stopSubagentsForRequester, b as formatAbortReplyText, n as abortEmbeddedPiRun, w as clearSessionQueues, x as isAbortRequestText } from "./reply-BhGucE6k.js";
|
|
3
3
|
import "./paths-CtGV5i8O.js";
|
|
4
4
|
import "./github-copilot-token-CY2euW0d.js";
|
|
5
5
|
import "./config-CEgzwk0J.js";
|
|
@@ -61,7 +61,7 @@ import "./send-B26cNPqY.js";
|
|
|
61
61
|
import "./proxy-C4ewPdlN.js";
|
|
62
62
|
import "./resolve-route-BZABUE4J.js";
|
|
63
63
|
import "./replies-ZovJp-3F.js";
|
|
64
|
-
import "./deps-
|
|
64
|
+
import "./deps-B1DxdYuU.js";
|
|
65
65
|
import "./outbound-attachment-BisU5Vji.js";
|
|
66
66
|
|
|
67
67
|
//#region src/auto-reply/reply/emergency-stop.ts
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId, u as resolveThreadSessionKeys } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, o as createAccountListHelpers, r as resolveDefaultWhatsAppAccountId } from "./accounts-BLYMokxV.js";
|
|
3
|
-
import { $ as mergeAllowlist, $t as unregisterAcpRuntimeBackend, At as extractToolSend, B as formatDocsLink, Bt as resolveControlCommandGate, D as stripMarkdown, Dt as formatZonedTimestamp, E as processLineMessage, Et as formatUtcTimestamp, Ft as resolveDmAllowState, G as logInboundDrop, Gt as resolveOpenProviderRuntimeGroupPolicy, H as stringEnum, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, It as resolveDmGroupAccessDecision, J as removeAckReactionAfterReply, Jt as isDangerousNameMatchingEnabled, K as logTypingFailure, Kt as resolveRuntimeGroupPolicy, L as resolveDiscordUserAllowlist, Lt as resolveDmGroupAccessWithCommandGate, M as resolveSlackUserAllowlist, N as resolveSlackChannelAllowlist, Nt as DM_GROUP_ACCESS_REASON, O as createReceiptCard, Ot as resolveTimezone, P as detectBinary, Pt as readStoreAllowFromForDmPolicy, Q as resolveMentionGatingWithBypass, Qt as requireAcpRuntimeBackend, R as resolveDiscordChannelAllowlist, Rt as resolveDmGroupAccessWithLists, St as rejectDevicePairing, T as hasMarkdownToConvert, U as recordInboundSession, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as optionalStringEnum, Vt as GROUP_POLICY_BLOCKED_LABEL, W as logAckFailure, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Xt as getAcpRuntimeBackend, Y as shouldAckReaction, Yt as registerPluginHttpRoute, Z as resolveMentionGating, Zt as registerAcpRuntimeBackend, _t as readRequestBodyWithLimit, a as listLineAccountIds, an as formatAllowlistMatchMeta, at as clearHistoryEntriesIfEnabled, bt as approveDevicePairing, c as resolveLineAccount, cn as BLUEBUBBLES_ACTION_NAMES, ct as recordPendingHistoryEntryIfEnabled, dt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, en as ACP_ERROR_CODES, et as summarizeMapping, ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, gt as readJsonBodyWithLimit, ht as isRequestBodyLimitError, in as unbindThreadBindingsBySessionKey, it as clearHistoryEntries, jt as issuePairingChallenge, k as attachFooterText, kt as buildMediaPayload, ln as BLUEBUBBLES_GROUP_ACTIONS, mt as installRequestBodyLimitGuard, nn as autoBindSpawnedDiscordSubagent, o as normalizeAccountId$1, on as resolveAllowlistMatchSimple, ot as evictOldHistoryKeys, pt as RequestBodyLimitError, q as createTypingCallbacks, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as listThreadBindingsBySessionKey, rt as buildPendingHistoryContextFromMap, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_ACTIONS, st as recordPendingHistoryEntry, tn as AcpRuntimeError, tt as DEFAULT_GROUP_HISTORY_LIMIT, un as CHANNEL_MESSAGE_ACTION_NAMES, vt as requestBodyErrorToText, wt as formatInboundFromLabel, xt as listDevicePairing, yt as createDedupeCache, z as collectDiscordAuditChannelIds, zt as resolveEffectiveAllowFromLists } from "./reply-
|
|
3
|
+
import { $ as mergeAllowlist, $t as unregisterAcpRuntimeBackend, At as extractToolSend, B as formatDocsLink, Bt as resolveControlCommandGate, D as stripMarkdown, Dt as formatZonedTimestamp, E as processLineMessage, Et as formatUtcTimestamp, Ft as resolveDmAllowState, G as logInboundDrop, Gt as resolveOpenProviderRuntimeGroupPolicy, H as stringEnum, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, It as resolveDmGroupAccessDecision, J as removeAckReactionAfterReply, Jt as isDangerousNameMatchingEnabled, K as logTypingFailure, Kt as resolveRuntimeGroupPolicy, L as resolveDiscordUserAllowlist, Lt as resolveDmGroupAccessWithCommandGate, M as resolveSlackUserAllowlist, N as resolveSlackChannelAllowlist, Nt as DM_GROUP_ACCESS_REASON, O as createReceiptCard, Ot as resolveTimezone, P as detectBinary, Pt as readStoreAllowFromForDmPolicy, Q as resolveMentionGatingWithBypass, Qt as requireAcpRuntimeBackend, R as resolveDiscordChannelAllowlist, Rt as resolveDmGroupAccessWithLists, St as rejectDevicePairing, T as hasMarkdownToConvert, U as recordInboundSession, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as optionalStringEnum, Vt as GROUP_POLICY_BLOCKED_LABEL, W as logAckFailure, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Xt as getAcpRuntimeBackend, Y as shouldAckReaction, Yt as registerPluginHttpRoute, Z as resolveMentionGating, Zt as registerAcpRuntimeBackend, _t as readRequestBodyWithLimit, a as listLineAccountIds, an as formatAllowlistMatchMeta, at as clearHistoryEntriesIfEnabled, bt as approveDevicePairing, c as resolveLineAccount, cn as BLUEBUBBLES_ACTION_NAMES, ct as recordPendingHistoryEntryIfEnabled, dt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, en as ACP_ERROR_CODES, et as summarizeMapping, ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, gt as readJsonBodyWithLimit, ht as isRequestBodyLimitError, in as unbindThreadBindingsBySessionKey, it as clearHistoryEntries, jt as issuePairingChallenge, k as attachFooterText, kt as buildMediaPayload, ln as BLUEBUBBLES_GROUP_ACTIONS, mt as installRequestBodyLimitGuard, nn as autoBindSpawnedDiscordSubagent, o as normalizeAccountId$1, on as resolveAllowlistMatchSimple, ot as evictOldHistoryKeys, pt as RequestBodyLimitError, q as createTypingCallbacks, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as listThreadBindingsBySessionKey, rt as buildPendingHistoryContextFromMap, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_ACTIONS, st as recordPendingHistoryEntry, tn as AcpRuntimeError, tt as DEFAULT_GROUP_HISTORY_LIMIT, un as CHANNEL_MESSAGE_ACTION_NAMES, vt as requestBodyErrorToText, wt as formatInboundFromLabel, xt as listDevicePairing, yt as createDedupeCache, z as collectDiscordAuditChannelIds, zt as resolveEffectiveAllowFromLists } from "./reply-BhGucE6k.js";
|
|
4
4
|
import "./paths-CtGV5i8O.js";
|
|
5
5
|
import "./github-copilot-token-CY2euW0d.js";
|
|
6
6
|
import { A as GroupPolicySchema, An as acquireFileLock, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsConfigSchema, I as TtsModeSchema, L as TtsProviderSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as TtsAutoSchema, R as normalizeAllowFrom, d as GoogleChatConfigSchema, f as IMessageConfigSchema, g as TelegramConfigSchema, h as SlackConfigSchema, j as MarkdownConfigSchema, jn as withFileLock, k as DmPolicySchema, l as WhatsAppConfigSchema, m as SignalConfigSchema, p as MSTeamsConfigSchema, u as DiscordConfigSchema, z as requireOpenAllowFrom } from "./config-CEgzwk0J.js";
|
|
@@ -52,7 +52,7 @@ import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticE
|
|
|
52
52
|
import { n as extractOriginalFilename } from "./store-CCCXwngh.js";
|
|
53
53
|
import "./pi-embedded-helpers-B68z4sHq.js";
|
|
54
54
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CnUtsDch.js";
|
|
55
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
55
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-DvztgyXI.js";
|
|
56
56
|
import "./thinking-g4Rrlwu4.js";
|
|
57
57
|
import "./image-C_1tftC8.js";
|
|
58
58
|
import "./pi-model-discovery-Dt6899be.js";
|
|
@@ -65,7 +65,7 @@ import "./send-B26cNPqY.js";
|
|
|
65
65
|
import "./proxy-C4ewPdlN.js";
|
|
66
66
|
import "./resolve-route-BZABUE4J.js";
|
|
67
67
|
import "./replies-ZovJp-3F.js";
|
|
68
|
-
import "./deps-
|
|
68
|
+
import "./deps-B1DxdYuU.js";
|
|
69
69
|
import "./outbound-attachment-BisU5Vji.js";
|
|
70
70
|
import "./outbound-Dx_q6JAI.js";
|
|
71
71
|
import "./session-DdJj6_DW.js";
|
|
@@ -72,7 +72,7 @@ import { t as makeProxyFetch } from "./proxy-C4ewPdlN.js";
|
|
|
72
72
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BZABUE4J.js";
|
|
73
73
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-ZovJp-3F.js";
|
|
74
74
|
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-WMrtFGPv.js";
|
|
75
|
-
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
75
|
+
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-B1DxdYuU.js";
|
|
76
76
|
import { createRequire } from "node:module";
|
|
77
77
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
78
78
|
import * as path$1 from "node:path";
|
|
@@ -33090,7 +33090,7 @@ function createDiscordMessageHandler(params) {
|
|
|
33090
33090
|
try {
|
|
33091
33091
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
33092
33092
|
if (messageText) {
|
|
33093
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
33093
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CVZuzTM7.js");
|
|
33094
33094
|
if (isAbortRequestText(messageText)) {
|
|
33095
33095
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
33096
33096
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -43834,7 +43834,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
43834
43834
|
}
|
|
43835
43835
|
const msgText = (message.text ?? "").trim();
|
|
43836
43836
|
if (msgText) {
|
|
43837
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
43837
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CVZuzTM7.js");
|
|
43838
43838
|
if (isAbortRequestText(msgText)) {
|
|
43839
43839
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
43840
43840
|
const route = resolveAgentRoute({
|
|
@@ -46230,7 +46230,7 @@ function createSignalEventHandler(deps) {
|
|
|
46230
46230
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
46231
46231
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
46232
46232
|
if (bodyText) {
|
|
46233
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
46233
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CVZuzTM7.js");
|
|
46234
46234
|
if (isAbortRequestText(bodyText)) {
|
|
46235
46235
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
46236
46236
|
const route = resolveAgentRoute({
|
|
@@ -49601,7 +49601,7 @@ function createSlackMessageHandler(params) {
|
|
|
49601
49601
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
49602
49602
|
const rawText = (message.text ?? "").trim();
|
|
49603
49603
|
if (rawText) {
|
|
49604
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
49604
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CVZuzTM7.js");
|
|
49605
49605
|
if (isAbortRequestText(rawText)) {
|
|
49606
49606
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
49607
49607
|
const route = resolveAgentRoute({
|
|
@@ -54224,7 +54224,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
54224
54224
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
54225
54225
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
54226
54226
|
if (text) {
|
|
54227
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
54227
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CVZuzTM7.js");
|
|
54228
54228
|
if (isAbortRequestText(text)) {
|
|
54229
54229
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
54230
54230
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -57709,7 +57709,7 @@ function loadWebLoginQr() {
|
|
|
57709
57709
|
return webLoginQrPromise;
|
|
57710
57710
|
}
|
|
57711
57711
|
function loadWebChannel() {
|
|
57712
|
-
webChannelPromise ??= import("./web-
|
|
57712
|
+
webChannelPromise ??= import("./web-BzmXmmAo.js");
|
|
57713
57713
|
return webChannelPromise;
|
|
57714
57714
|
}
|
|
57715
57715
|
function loadWhatsAppActions() {
|
|
@@ -80281,7 +80281,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
80281
80281
|
};
|
|
80282
80282
|
const arg = body.slice(6).trim();
|
|
80283
80283
|
if (arg === "status" || arg === "") {
|
|
80284
|
-
const { antonStatus } = await import("./anton-
|
|
80284
|
+
const { antonStatus } = await import("./anton-DJn2RPpW.js");
|
|
80285
80285
|
const lines = [];
|
|
80286
80286
|
await antonStatus({
|
|
80287
80287
|
log: (msg) => lines.push(msg),
|
|
@@ -80297,7 +80297,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
80297
80297
|
return { shouldContinue: false };
|
|
80298
80298
|
}
|
|
80299
80299
|
if (arg === "stop") {
|
|
80300
|
-
const { antonStop } = await import("./anton-
|
|
80300
|
+
const { antonStop } = await import("./anton-DJn2RPpW.js");
|
|
80301
80301
|
const lines = [];
|
|
80302
80302
|
await antonStop({
|
|
80303
80303
|
log: (msg) => lines.push(msg),
|
|
@@ -80335,8 +80335,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
80335
80335
|
await sendProgress(replyCtx, text);
|
|
80336
80336
|
return { shouldContinue: false };
|
|
80337
80337
|
}
|
|
80338
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
80339
|
-
const { createDefaultDeps } = await import("./deps-
|
|
80338
|
+
const { runAnton, formatProgressMessage } = await import("./anton-DJn2RPpW.js");
|
|
80339
|
+
const { createDefaultDeps } = await import("./deps-B1DxdYuU.js").then((n) => n.n);
|
|
80340
80340
|
const { createNonExitingRuntime } = await import("./runtime-CjfcfOBD.js").then((n) => n.r);
|
|
80341
80341
|
const runtime = createNonExitingRuntime();
|
|
80342
80342
|
const deps = createDefaultDeps();
|
|
@@ -82009,7 +82009,7 @@ const handleTtsCommands = async (params, allowTextCommands) => {
|
|
|
82009
82009
|
const handleUpgradeCommand = async (params, _allowTextCommands) => {
|
|
82010
82010
|
if (!params.command.commandBodyNormalized.startsWith("/upgrade")) return null;
|
|
82011
82011
|
if (!params.command.isAuthorizedSender) return { shouldContinue: false };
|
|
82012
|
-
const { performBotUpgrade } = await import("./upgrade-command-
|
|
82012
|
+
const { performBotUpgrade } = await import("./upgrade-command-y1YvsJbf.js");
|
|
82013
82013
|
const channel = params.ctx.OriginatingChannel ?? params.command.channel;
|
|
82014
82014
|
const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
|
|
82015
82015
|
await routeReply({
|
|
@@ -40,6 +40,7 @@ const GITHUB_OWNER = "visorcraft";
|
|
|
40
40
|
const GITHUB_REPO = "idlehands";
|
|
41
41
|
const NPM_SCOPED_PACKAGE = "@visorcraft/idlehands";
|
|
42
42
|
const RELEASE_ASSET_PREFIX = "idlehands";
|
|
43
|
+
const NPM_REGISTRY_URL = "https://registry.npmjs.org";
|
|
43
44
|
function isUsableCommand(cmd) {
|
|
44
45
|
try {
|
|
45
46
|
execFileSync(cmd, ["--version"], {
|
|
@@ -97,11 +98,14 @@ function npmInstallGlobal(spec) {
|
|
|
97
98
|
"-g",
|
|
98
99
|
"--prefix",
|
|
99
100
|
target.prefix,
|
|
101
|
+
"--registry",
|
|
102
|
+
NPM_REGISTRY_URL,
|
|
100
103
|
spec
|
|
101
104
|
];
|
|
102
105
|
const env = {
|
|
103
106
|
...process.env,
|
|
104
|
-
npm_config_prefix: target.prefix
|
|
107
|
+
npm_config_prefix: target.prefix,
|
|
108
|
+
npm_config_registry: NPM_REGISTRY_URL
|
|
105
109
|
};
|
|
106
110
|
if (needsElevation(target.prefix)) {
|
|
107
111
|
if (!hasSudo()) throw new Error(`Permission denied: ${target.prefix} requires elevated permissions.\nRe-run as root or install to a user-writable prefix.`);
|
|
@@ -122,10 +126,16 @@ function npmInstallGlobal(spec) {
|
|
|
122
126
|
execFileSync("npm", [
|
|
123
127
|
"install",
|
|
124
128
|
"-g",
|
|
129
|
+
"--registry",
|
|
130
|
+
NPM_REGISTRY_URL,
|
|
125
131
|
spec
|
|
126
132
|
], {
|
|
127
133
|
stdio: "pipe",
|
|
128
|
-
timeout: 12e4
|
|
134
|
+
timeout: 12e4,
|
|
135
|
+
env: {
|
|
136
|
+
...process.env,
|
|
137
|
+
npm_config_registry: NPM_REGISTRY_URL
|
|
138
|
+
}
|
|
129
139
|
});
|
|
130
140
|
}
|
|
131
141
|
function compareSemver(a, b) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./accounts-BLYMokxV.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-BhGucE6k.js";
|
|
3
3
|
import "./paths-CtGV5i8O.js";
|
|
4
4
|
import "./github-copilot-token-CY2euW0d.js";
|
|
5
5
|
import "./config-CEgzwk0J.js";
|
|
@@ -49,7 +49,7 @@ import "./deliver-BNfMF0Nb.js";
|
|
|
49
49
|
import "./diagnostic-ByA6zvzu.js";
|
|
50
50
|
import "./store-CCCXwngh.js";
|
|
51
51
|
import "./pi-embedded-helpers-B68z4sHq.js";
|
|
52
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
52
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DvztgyXI.js";
|
|
53
53
|
import "./thinking-g4Rrlwu4.js";
|
|
54
54
|
import "./image-C_1tftC8.js";
|
|
55
55
|
import "./pi-model-discovery-Dt6899be.js";
|
|
@@ -62,7 +62,7 @@ import "./send-B26cNPqY.js";
|
|
|
62
62
|
import "./proxy-C4ewPdlN.js";
|
|
63
63
|
import "./resolve-route-BZABUE4J.js";
|
|
64
64
|
import "./replies-ZovJp-3F.js";
|
|
65
|
-
import "./deps-
|
|
65
|
+
import "./deps-B1DxdYuU.js";
|
|
66
66
|
import "./outbound-attachment-BisU5Vji.js";
|
|
67
67
|
import { n as sendMessageWhatsApp } from "./outbound-Dx_q6JAI.js";
|
|
68
68
|
import { i as waitForWaConnection, t as createWaSocket } from "./session-DdJj6_DW.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-D6y5faqD.js";
|
|
5
5
|
import "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -102,7 +102,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
102
102
|
import "./replies-hSFVxL4h.js";
|
|
103
103
|
import "./skill-commands-BFzmZAfo.js";
|
|
104
104
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
105
|
-
import "./deps-
|
|
105
|
+
import "./deps-CYAKIzhf.js";
|
|
106
106
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
107
107
|
import "./channel-selection-ZxRkxpuF.js";
|
|
108
108
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -121,7 +121,7 @@ import "./npm-registry-spec-BCbbfIhX.js";
|
|
|
121
121
|
import "./skill-scanner-D7mzXRXd.js";
|
|
122
122
|
import { a as resolvePluginInstallDir, i as installPluginFromPath, n as recordPluginInstall, r as installPluginFromNpmSpec } from "./installs-CNubze2L.js";
|
|
123
123
|
import { t as renderTable } from "./table-B9AmL3M1.js";
|
|
124
|
-
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-
|
|
124
|
+
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-BpruvRIr.js";
|
|
125
125
|
import { n as updateNpmInstalledPlugins, r as findBundledPluginByNpmSpec } from "./update-D79ppbMQ.js";
|
|
126
126
|
import fs from "node:fs";
|
|
127
127
|
import os from "node:os";
|
|
@@ -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-DeXWDNty.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-Brv1GCwX.js";
|
|
@@ -108,7 +108,7 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
108
108
|
import "./help-format-CldHB7lS.js";
|
|
109
109
|
import "./progress-B76RkFx7.js";
|
|
110
110
|
import "./replies-DSfpze17.js";
|
|
111
|
-
import "./deps-
|
|
111
|
+
import "./deps-Cn32rOjf.js";
|
|
112
112
|
import "./onboard-helpers-Dp6wXNs7.js";
|
|
113
113
|
import "./prompt-style-XmK49QYK.js";
|
|
114
114
|
import "./pairing-labels-D7xcHkxi.js";
|
|
@@ -118,7 +118,7 @@ import "./npm-registry-spec-BlFqJFsA.js";
|
|
|
118
118
|
import "./skill-scanner-CdLElD51.js";
|
|
119
119
|
import { a as resolvePluginInstallDir, i as installPluginFromPath, n as recordPluginInstall, r as installPluginFromNpmSpec } from "./installs-8aQVDSI0.js";
|
|
120
120
|
import { t as renderTable } from "./table-aJzHv5Oe.js";
|
|
121
|
-
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-
|
|
121
|
+
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-iEXmU1Ol.js";
|
|
122
122
|
import { n as updateNpmInstalledPlugins, r as findBundledPluginByNpmSpec } from "./update-If9iCjgB.js";
|
|
123
123
|
import os from "node:os";
|
|
124
124
|
import path from "node:path";
|
|
@@ -26,7 +26,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
26
26
|
import "./auth-store-D9BmR4S6.js";
|
|
27
27
|
import "./send-m4lQkQcY.js";
|
|
28
28
|
import "./send-CCiDIuX4.js";
|
|
29
|
-
import "./subagent-registry-
|
|
29
|
+
import "./subagent-registry-DeXWDNty.js";
|
|
30
30
|
import "./paths-CC17i2eK.js";
|
|
31
31
|
import "./chat-envelope-Dedaetiq.js";
|
|
32
32
|
import "./client-Brv1GCwX.js";
|
|
@@ -109,17 +109,17 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
109
109
|
import "./help-format-CldHB7lS.js";
|
|
110
110
|
import "./progress-B76RkFx7.js";
|
|
111
111
|
import "./replies-DSfpze17.js";
|
|
112
|
-
import "./deps-
|
|
112
|
+
import "./deps-Cn32rOjf.js";
|
|
113
113
|
import "./onboard-helpers-Dp6wXNs7.js";
|
|
114
114
|
import "./prompt-style-XmK49QYK.js";
|
|
115
115
|
import "./pairing-labels-D7xcHkxi.js";
|
|
116
|
-
import "./plugin-registry-
|
|
117
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
118
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
119
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
116
|
+
import "./plugin-registry-BfNJBiAr.js";
|
|
117
|
+
import { n as resolveCliChannelOptions } from "./channel-options-CsEgIwgu.js";
|
|
118
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-CvN5J3oh.js";
|
|
119
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-0e5VHciB.js";
|
|
120
120
|
import { r as setProgramContext } from "./program-context-BrqeiWcA.js";
|
|
121
121
|
import { t as forceFreePort } from "./ports-CIJavqzS.js";
|
|
122
|
-
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-
|
|
122
|
+
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-DmFqQvFd.js";
|
|
123
123
|
import { Command, InvalidArgumentError } from "commander";
|
|
124
124
|
|
|
125
125
|
//#region src/cli/program/context.ts
|
|
@@ -258,7 +258,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
258
258
|
commandPath
|
|
259
259
|
});
|
|
260
260
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
261
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
261
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-BfNJBiAr.js").then((n) => n.n);
|
|
262
262
|
ensurePluginRegistryLoaded();
|
|
263
263
|
}
|
|
264
264
|
});
|
|
@@ -58,7 +58,7 @@ const entries = [
|
|
|
58
58
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
59
59
|
hasSubcommands: true,
|
|
60
60
|
register: async (program) => {
|
|
61
|
-
(await import("./gateway-cli-
|
|
61
|
+
(await import("./gateway-cli-bZXsaQkU.js")).registerGatewayCli(program);
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -90,7 +90,7 @@ const entries = [
|
|
|
90
90
|
description: "Discover, scan, and configure models",
|
|
91
91
|
hasSubcommands: true,
|
|
92
92
|
register: async (program) => {
|
|
93
|
-
(await import("./models-cli-
|
|
93
|
+
(await import("./models-cli-CKRL4j3x.js")).registerModelsCli(program);
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
{
|
|
@@ -170,7 +170,7 @@ const entries = [
|
|
|
170
170
|
description: "Manage internal agent hooks",
|
|
171
171
|
hasSubcommands: true,
|
|
172
172
|
register: async (program) => {
|
|
173
|
-
(await import("./hooks-cli-
|
|
173
|
+
(await import("./hooks-cli-DZr1MB1B.js")).registerHooksCli(program);
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
{
|
|
@@ -202,7 +202,7 @@ const entries = [
|
|
|
202
202
|
description: "Secure DM pairing (approve inbound requests)",
|
|
203
203
|
hasSubcommands: true,
|
|
204
204
|
register: async (program) => {
|
|
205
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
205
|
+
const { registerPluginCliCommands } = await import("./cli-B9ARC6CF.js");
|
|
206
206
|
registerPluginCliCommands(program, await loadConfig());
|
|
207
207
|
(await import("./pairing-cli-jwx6hMsM.js")).registerPairingCli(program);
|
|
208
208
|
}
|
|
@@ -212,8 +212,8 @@ const entries = [
|
|
|
212
212
|
description: "Manage IdleHands plugins and extensions",
|
|
213
213
|
hasSubcommands: true,
|
|
214
214
|
register: async (program) => {
|
|
215
|
-
(await import("./plugins-cli-
|
|
216
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
215
|
+
(await import("./plugins-cli-DOTZBHc7.js")).registerPluginsCli(program);
|
|
216
|
+
const { registerPluginCliCommands } = await import("./cli-B9ARC6CF.js");
|
|
217
217
|
registerPluginCliCommands(program, await loadConfig());
|
|
218
218
|
}
|
|
219
219
|
},
|
|
@@ -222,7 +222,7 @@ const entries = [
|
|
|
222
222
|
description: "Manage connected chat channels (Telegram, Discord, etc.)",
|
|
223
223
|
hasSubcommands: true,
|
|
224
224
|
register: async (program) => {
|
|
225
|
-
(await import("./channels-cli-
|
|
225
|
+
(await import("./channels-cli-REwO9h_a.js")).registerChannelsCli(program);
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
{
|
|
@@ -262,7 +262,7 @@ const entries = [
|
|
|
262
262
|
description: "Update IdleHands and inspect update channel status",
|
|
263
263
|
hasSubcommands: true,
|
|
264
264
|
register: async (program) => {
|
|
265
|
-
(await import("./update-cli-
|
|
265
|
+
(await import("./update-cli-DLWAR9u6.js")).registerUpdateCli(program);
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
{
|
|
@@ -271,7 +271,7 @@ const entries = [
|
|
|
271
271
|
hasSubcommands: false,
|
|
272
272
|
register: async (program) => {
|
|
273
273
|
program.command("upgrade").description("Upgrade IdleHands to the latest version (check → install → restart)").option("--check", "Only check for updates without installing", false).action(async (opts) => {
|
|
274
|
-
const { performBotUpgrade, checkBotUpdate } = await import("./upgrade-command-
|
|
274
|
+
const { performBotUpgrade, checkBotUpdate } = await import("./upgrade-command-909a7QUc.js");
|
|
275
275
|
if (opts.check) {
|
|
276
276
|
const info = await checkBotUpdate();
|
|
277
277
|
if (info.available) console.log(`Update available: v${info.current} → v${info.latest} (${info.source})`);
|
|
@@ -298,7 +298,7 @@ const entries = [
|
|
|
298
298
|
description: "Generate shell completion script",
|
|
299
299
|
hasSubcommands: false,
|
|
300
300
|
register: async (program) => {
|
|
301
|
-
(await import("./completion-cli-
|
|
301
|
+
(await import("./completion-cli-C1StqVUs.js").then((n) => n.n)).registerCompletionCli(program);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
];
|
|
@@ -355,7 +355,7 @@ const coreEntries = [
|
|
|
355
355
|
hasSubcommands: false
|
|
356
356
|
}],
|
|
357
357
|
register: async ({ program }) => {
|
|
358
|
-
(await import("./register.setup-
|
|
358
|
+
(await import("./register.setup-DOnWysTP.js")).registerSetupCommand(program);
|
|
359
359
|
}
|
|
360
360
|
},
|
|
361
361
|
{
|
|
@@ -365,7 +365,7 @@ const coreEntries = [
|
|
|
365
365
|
hasSubcommands: false
|
|
366
366
|
}],
|
|
367
367
|
register: async ({ program }) => {
|
|
368
|
-
(await import("./register.onboard-
|
|
368
|
+
(await import("./register.onboard-cB-UkXhL.js")).registerOnboardCommand(program);
|
|
369
369
|
}
|
|
370
370
|
},
|
|
371
371
|
{
|
|
@@ -375,7 +375,7 @@ const coreEntries = [
|
|
|
375
375
|
hasSubcommands: false
|
|
376
376
|
}],
|
|
377
377
|
register: async ({ program }) => {
|
|
378
|
-
(await import("./register.configure-
|
|
378
|
+
(await import("./register.configure-DJsShg2l.js")).registerConfigureCommand(program);
|
|
379
379
|
}
|
|
380
380
|
},
|
|
381
381
|
{
|
|
@@ -385,7 +385,7 @@ const coreEntries = [
|
|
|
385
385
|
hasSubcommands: true
|
|
386
386
|
}],
|
|
387
387
|
register: async ({ program }) => {
|
|
388
|
-
(await import("./config-cli-
|
|
388
|
+
(await import("./config-cli-C3As38Z_.js")).registerConfigCli(program);
|
|
389
389
|
}
|
|
390
390
|
},
|
|
391
391
|
{
|
|
@@ -412,7 +412,7 @@ const coreEntries = [
|
|
|
412
412
|
}
|
|
413
413
|
],
|
|
414
414
|
register: async ({ program }) => {
|
|
415
|
-
(await import("./register.maintenance-
|
|
415
|
+
(await import("./register.maintenance-B-36Avrl.js")).registerMaintenanceCommands(program);
|
|
416
416
|
}
|
|
417
417
|
},
|
|
418
418
|
{
|
|
@@ -422,7 +422,7 @@ const coreEntries = [
|
|
|
422
422
|
hasSubcommands: true
|
|
423
423
|
}],
|
|
424
424
|
register: async ({ program, ctx }) => {
|
|
425
|
-
(await import("./register.message-
|
|
425
|
+
(await import("./register.message-Cm5P_dls.js")).registerMessageCommands(program, ctx);
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
428
|
{
|
|
@@ -446,7 +446,7 @@ const coreEntries = [
|
|
|
446
446
|
hasSubcommands: true
|
|
447
447
|
}],
|
|
448
448
|
register: async ({ program, ctx }) => {
|
|
449
|
-
(await import("./register.agent-
|
|
449
|
+
(await import("./register.agent-DliuXWG0.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
450
450
|
}
|
|
451
451
|
},
|
|
452
452
|
{
|
|
@@ -468,7 +468,7 @@ const coreEntries = [
|
|
|
468
468
|
}
|
|
469
469
|
],
|
|
470
470
|
register: async ({ program }) => {
|
|
471
|
-
(await import("./register.status-health-sessions-
|
|
471
|
+
(await import("./register.status-health-sessions-Dsvbkrhh.js")).registerStatusHealthSessionsCommands(program);
|
|
472
472
|
}
|
|
473
473
|
},
|
|
474
474
|
{
|
|
@@ -492,7 +492,7 @@ const coreEntries = [
|
|
|
492
492
|
hasSubcommands: true
|
|
493
493
|
}],
|
|
494
494
|
register: async ({ program }) => {
|
|
495
|
-
(await import("./register.orchestrator-anton-
|
|
495
|
+
(await import("./register.orchestrator-anton-D_mAceTk.js")).registerOrchestratorAntonCommands(program);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { C as sleep, S as shortenHomePath, U as getResolvedLoggerSettings, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import { Pr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, ht as loadIdleHandsPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-
|
|
3
|
+
import { Pr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, ht as loadIdleHandsPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-D6y5faqD.js";
|
|
4
4
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
6
6
|
import { w as parseAgentSessionKey } from "./session-key-Cuihcz_O.js";
|
|
@@ -35,15 +35,15 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
|
|
|
35
35
|
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-DHu-HVFx.js";
|
|
36
36
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DmZbQ8Nc.js";
|
|
37
37
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-ISQZuNM5.js";
|
|
38
|
-
import { r as healthCommand } from "./health
|
|
38
|
+
import { r as healthCommand } from "./health-OvNY74XL.js";
|
|
39
39
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-C7ZpN9hN.js";
|
|
40
40
|
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-CDbY5AIr.js";
|
|
41
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
41
|
+
import { t as runGatewayUpdate } from "./update-runner-Cft2lh5r.js";
|
|
42
42
|
import { n as logConfigUpdated } from "./logging-B0-9lotb.js";
|
|
43
43
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-Ck4oCjfl.js";
|
|
44
44
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-B7XlUHk_.js";
|
|
45
45
|
import { t as formatHealthCheckFailure } from "./health-format-Ba_hOaT2.js";
|
|
46
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
46
|
+
import { n as doctorShellCompletion } from "./doctor-completion-o6QBkVYG.js";
|
|
47
47
|
import fs from "node:fs";
|
|
48
48
|
import os from "node:os";
|
|
49
49
|
import path from "node:path";
|