@visorcraft/idlehands 4.0.6 → 4.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-via-gateway-C1oU9h3s.js → agent-via-gateway-BNqWa2KY.js} +1 -1
- package/dist/{agent-via-gateway-CZ9i0g6_.js → agent-via-gateway-DAWRXgBZ.js} +2 -2
- package/dist/{agent-via-gateway-DbJ4VMCl.js → agent-via-gateway-DnukWgYg.js} +1 -1
- package/dist/{agent-via-gateway-iOxURXfD.js → agent-via-gateway-ot70omgC.js} +2 -2
- package/dist/{agents-A2yDgnqQ.js → agents-etUqQ3vM.js} +5 -5
- package/dist/{agents.config-Cj_x7yWQ.js → agents.config-DGaSmPdW.js} +1 -1
- package/dist/{agents.config-Dha06jbo.js → agents.config-FFOmEBpp.js} +1 -1
- package/dist/{anton-KSisnjZZ.js → anton-B7cGl-93.js} +1 -1
- package/dist/{anton-BzBaDHs_.js → anton-BV_xSUQi.js} +1 -1
- package/dist/{anton-Cec4qfxV.js → anton-CZliSAOv.js} +1 -1
- package/dist/{anton-BAc6lLhA.js → anton-CdYcHDXy.js} +1 -1
- package/dist/{auth-choice-rlwqipdV.js → auth-choice-CdEVNS6t.js} +2 -2
- package/dist/{auth-choice-c31g3E7e.js → auth-choice-qQO5MWz8.js} +2 -2
- package/dist/{banner-B7GWUHuF.js → banner-DKPFtm9j.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-DXhAdMSp.js → channel-options-BNcsrd0d.js} +1 -1
- package/dist/{channel-options-BlWLEOqB.js → channel-options-CSurZCfX.js} +1 -1
- package/dist/{channel-web-zsCiOUKL.js → channel-web-COYnY8sZ.js} +2 -2
- package/dist/{channel-web-BHb38KRe.js → channel-web-DfBOK5if.js} +2 -2
- package/dist/{channels-cli-CUX6YOuf.js → channels-cli-BTIg3DJP.js} +8 -8
- package/dist/{channels-cli-DbGUpBdY.js → channels-cli-GZ16c99F.js} +8 -8
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-ldDnZPxZ.js → cli-CBXoKbJn.js} +3 -3
- package/dist/{cli-CE_9epWz.js → cli-CnjJnIx0.js} +3 -3
- package/dist/{command-registry-kWr6njq5.js → command-registry-D3iSv7Of.js} +10 -10
- package/dist/{completion-cli-BbVWdP38.js → completion-cli-Dkh-Zrqo.js} +2 -2
- package/dist/{completion-cli-DynWWkBp.js → completion-cli-Zaylny55.js} +1 -1
- package/dist/{config-cli-CO4X1bLk.js → config-cli-B8R8eDUm.js} +1 -1
- package/dist/{config-cli-q_k9h_dy.js → config-cli-DOf-CodQ.js} +1 -1
- package/dist/{configure-uH1c6xFf.js → configure-3o91R4Qd.js} +6 -6
- package/dist/{configure-DX9PRpEj.js → configure-Wh7ZMjiP.js} +6 -6
- package/dist/{daemon-cli-C6nJQWdR.js → daemon-cli-B1Ti51bt.js} +1 -1
- package/dist/{daemon-cli-CuIfti01.js → daemon-cli-yC6gq-yv.js} +1 -1
- package/dist/{deps-984qcpt2.js → deps-0GRTVtgy.js} +1 -1
- package/dist/{deps-DGHlGKcG.js → deps-Bdrf7UsT.js} +1 -1
- package/dist/{deps-CcZ0VtSz.js → deps-Ci76e_07.js} +1 -1
- package/dist/{deps-D-R85-_U.js → deps-DB6dI42Y.js} +1 -1
- package/dist/{doctor-completion-B6siF0IK.js → doctor-completion-BeqR17ft.js} +1 -1
- package/dist/{doctor-completion-snvvOxaf.js → doctor-completion-CeD_GwXj.js} +1 -1
- package/dist/{emergency-stop--xlBYCby.js → emergency-stop-B1ycCthl.js} +2 -2
- package/dist/{emergency-stop-EXYMl2Ho.js → emergency-stop-BpudAT0i.js} +2 -2
- package/dist/{emergency-stop-BZLDQaYe.js → emergency-stop-D8XCYE8L.js} +3 -3
- package/dist/{emergency-stop-BC_KUVeL.js → emergency-stop-fApFDnLR.js} +3 -3
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-CfbN2Xbe.js → gateway-cli-D3b05F0y.js} +11 -11
- package/dist/{gateway-cli-DM0ooWQQ.js → gateway-cli-D9wmLKfn.js} +11 -11
- package/dist/{health-OCL-usM5.js → health-D6PJPflH.js} +1 -1
- package/dist/{health-BDvy-dA9.js → health-cUQV1hzf.js} +1 -1
- package/dist/{hooks-cli-CUIYCmOS.js → hooks-cli-Cg5joAHH.js} +4 -4
- package/dist/{hooks-cli-5KuPo6bD.js → hooks-cli-Cs51IGnr.js} +4 -4
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{models-cli-C875vRWq.js → models-cli-D6CVD4Jl.js} +4 -4
- package/dist/{models-cli-CibiImfr.js → models-cli-Va0ILYmK.js} +5 -5
- package/dist/{models-inlOYmCX.js → models-tqBGSD-X.js} +3 -3
- package/dist/{npm-resolution-tDRQud66.js → npm-resolution-CCdELgCy.js} +1 -1
- package/dist/{npm-resolution-BXHiLMfy.js → npm-resolution-DgW-oSJa.js} +1 -1
- package/dist/{onboard-BCwy-W51.js → onboard-Bfd4q7HR.js} +3 -3
- package/dist/{onboard-ZUYeDNCj.js → onboard-Br7oW1Sf.js} +3 -3
- package/dist/{onboard-channels-CeCDoXNW.js → onboard-channels-BpCQ5nQX.js} +2 -2
- package/dist/{onboard-channels-D9UK8Czg.js → onboard-channels-wDbxIOXH.js} +2 -2
- package/dist/{onboard-helpers-BSy20uKb.js → onboard-helpers-BQmbMJxJ.js} +8 -9
- package/dist/{onboard-helpers-Cdddkdhv.js → onboard-helpers-Dp6wXNs7.js} +8 -9
- package/dist/{onboard-remote-0wlFUWfX.js → onboard-remote-1ZZd5lcX.js} +1 -1
- package/dist/{onboard-remote-Cj7cz8ns.js → onboard-remote-CIjhaP2W.js} +1 -1
- package/dist/{onboard-skills-DBPNAx3R.js → onboard-skills-BD_AS1Iy.js} +1 -1
- package/dist/{onboard-skills-B8402Ifd.js → onboard-skills-BsaUIuq6.js} +1 -1
- package/dist/{onboarding-BEh5hLef.js → onboarding-CegT14jj.js} +7 -7
- package/dist/{onboarding-BEgQKvqk.js → onboarding-rD-jdAK3.js} +7 -7
- package/dist/{onboarding.finalize-DwqJoeKV.js → onboarding.finalize-C50Cd_QG.js} +7 -7
- package/dist/{onboarding.finalize-BlP8lhLC.js → onboarding.finalize-CHq5hQxh.js} +8 -8
- package/dist/{onboarding.gateway-config-DdbTCDFQ.js → onboarding.gateway-config-CEQMyj8l.js} +1 -1
- package/dist/{onboarding.gateway-config-BD4jhrPV.js → onboarding.gateway-config-Czn7jKsq.js} +1 -1
- package/dist/{pi-embedded-CMLNiqQq.js → pi-embedded-2EqYdroP.js} +81 -27
- package/dist/{pi-embedded-CxYEstRZ.js → pi-embedded-znVFwmix.js} +81 -27
- package/dist/{plugin-registry-DPKJHNR_.js → plugin-registry-CYXCwXDq.js} +1 -1
- package/dist/{plugin-registry-DH5gOl_u.js → plugin-registry-DAtKgBy3.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-B4ZhKrSY.js → agent-via-gateway-BeEBACUq.js} +2 -2
- package/dist/plugin-sdk/{anton-i1YeE2Ju.js → anton-DXocufH_.js} +1 -1
- package/dist/plugin-sdk/{channel-web-MWHDHhG_.js → channel-web-DOG4rb7e.js} +2 -2
- package/dist/plugin-sdk/{deps-Cm-ahw03.js → deps--J_OAyWa.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-B0UyCqt2.js → emergency-stop-CAC-_dk-.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-FeJkvBTh.js → reply-5pZsGmq0.js} +81 -27
- package/dist/plugin-sdk/{web-CSrqwl06.js → web-B-T8tUvc.js} +3 -3
- package/dist/{plugins-cli-3arRp6gc.js → plugins-cli-CAbzpQdE.js} +4 -4
- package/dist/{plugins-cli-DranMED6.js → plugins-cli-Di1X-utw.js} +4 -4
- package/dist/{program-DY_Rkd8D.js → program-DCfsqP_8.js} +9 -9
- package/dist/{program-context-9CaHm5SI.js → program-context-Dhec-fGX.js} +19 -19
- package/dist/{prompt-select-styled-DvMmAvyn.js → prompt-select-styled-C1aw6YAJ.js} +5 -5
- package/dist/{prompt-select-styled-CElbRg_a.js → prompt-select-styled-CJ2ux4O0.js} +5 -5
- package/dist/{provider-auth-helpers-BPCg8qMf.js → provider-auth-helpers-BPsTPi3e.js} +1 -1
- package/dist/{provider-auth-helpers-BaZhGGjD.js → provider-auth-helpers-aWibl0HT.js} +1 -1
- package/dist/{push-apns-a0wNNljR.js → push-apns-BracxehR.js} +1 -1
- package/dist/{push-apns-CuguN4fn.js → push-apns-By39WpiH.js} +1 -1
- package/dist/{register.agent-DyykxslK.js → register.agent-BaVrC6Ay.js} +10 -10
- package/dist/{register.agent-ymF22qxN.js → register.agent-CyZyt49k.js} +9 -9
- package/dist/{register.configure-BKQteoMw.js → register.configure-CqmHvWcB.js} +11 -11
- package/dist/{register.configure-CPZIddJn.js → register.configure-DmjP2LTb.js} +11 -11
- package/dist/{register.maintenance-DT7W26RY.js → register.maintenance-DYYx-jCe.js} +10 -10
- package/dist/{register.maintenance-p-8kL3Pz.js → register.maintenance-DfWWglhS.js} +9 -9
- package/dist/{register.message-hOKynGzt.js → register.message-C3tFRLbl.js} +4 -4
- package/dist/{register.message-BBEFC660.js → register.message-Cke7XTrc.js} +4 -4
- package/dist/{register.onboard-5z2i2-V5.js → register.onboard-BXK-V33E.js} +3 -3
- package/dist/{register.onboard-DdJ-EgL1.js → register.onboard-DLZNgT0T.js} +3 -3
- package/dist/{register.orchestrator-anton-DeJEVI3c.js → register.orchestrator-anton-D2g_KbgY.js} +2 -2
- package/dist/{register.orchestrator-anton-CxWBZjBX.js → register.orchestrator-anton-rvqNZKP1.js} +2 -2
- package/dist/{register.setup-DBQu6Xk7.js → register.setup-DBL7rrRW.js} +3 -3
- package/dist/{register.setup-CPqwZAdx.js → register.setup-Dr-v5BSC.js} +3 -3
- package/dist/{register.status-health-sessions-DHb1QZxy.js → register.status-health-sessions-BDG_QnIw.js} +5 -5
- package/dist/{register.status-health-sessions-CDaM5Qx2.js → register.status-health-sessions-BrnK4KEW.js} +5 -5
- package/dist/{register.subclis-DgWtjP5g.js → register.subclis-SGnxsMrq.js} +10 -10
- package/dist/{reply-CsQQGCNB.js → reply-tuqCy_5s.js} +82 -28
- package/dist/{run-main-DAK3Rydh.js → run-main-KfdXYi7n.js} +16 -16
- package/dist/{server-node-events-DBdK-iF8.js → server-node-events-BLSMmXyp.js} +4 -4
- package/dist/{server-node-events-C32rthAw.js → server-node-events-Brm38g1H.js} +4 -4
- package/dist/{status-CI9kOoYW.js → status-CLNSJORR.js} +3 -3
- package/dist/{status-velMOawa.js → status-CmG_xHAm.js} +3 -3
- package/dist/{subagent-registry-B5MdaonE.js → subagent-registry-B-ciR-Ya.js} +82 -28
- package/dist/{update-cli-C7y4ymGs.js → update-cli-B-RzWiVk.js} +10 -10
- package/dist/{update-cli-CDGqZduV.js → update-cli-ButEdTeQ.js} +11 -11
- package/dist/{update-runner-Crqt-f5z.js → update-runner-Cxg4n1sn.js} +1 -1
- package/dist/{update-runner-xP0EJfLP.js → update-runner-DizoiA2w.js} +1 -1
- package/dist/{web-C67ozQHC.js → web-C4Q6twkC.js} +4 -4
- package/dist/{web-CZCgCfEk.js → web-D5dDa5kC.js} +3 -3
- package/dist/{web-BcMY4ar0.js → web-DWhjgVIf.js} +3 -3
- package/dist/{web-BuuP6YsH.js → web-DtCFqhdb.js} +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./paths-Cn44w-EB.js";
|
|
3
3
|
import { B as theme, P as setVerbose, Q as tryParseLogLevel, T as toWhatsappJid, Y as ALLOWED_LOG_LEVELS, l as escapeRegExp, m as normalizeE164, n as assertWebChannel, z as isRich } from "./utils-CXzXXV2o.js";
|
|
4
4
|
import "./thinking-EAliFiVK.js";
|
|
5
|
-
import { Ct as resolveCommitHash, t as getReplyFromConfig } from "./reply-
|
|
5
|
+
import { Ct as resolveCommitHash, t as getReplyFromConfig } from "./reply-tuqCy_5s.js";
|
|
6
6
|
import "./agent-scope-RA0zXRpu.js";
|
|
7
7
|
import { r as enableConsoleCapture, u as visibleWidth } from "./subsystem-CGZX2PBV.js";
|
|
8
8
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -104,20 +104,20 @@ 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 { t as createDefaultDeps } from "./deps-
|
|
107
|
+
import { t as createDefaultDeps } from "./deps-DB6dI42Y.js";
|
|
108
108
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
109
109
|
import "./channel-selection-ZxRkxpuF.js";
|
|
110
110
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
111
111
|
import "./delivery-queue-BvDRo8CK.js";
|
|
112
112
|
import "./session-cost-usage-DS1rjzML.js";
|
|
113
113
|
import "./send-DQiw_nGD.js";
|
|
114
|
-
import "./onboard-helpers-
|
|
114
|
+
import "./onboard-helpers-BQmbMJxJ.js";
|
|
115
115
|
import "./prompt-style-kmKiCZnm.js";
|
|
116
116
|
import "./pairing-labels-ChQJzbS9.js";
|
|
117
117
|
import "./server-lifecycle-B5PlrlbG.js";
|
|
118
118
|
import "./stagger-rQoQSWkz.js";
|
|
119
119
|
import "./system-run-command-qJdgzxLp.js";
|
|
120
|
-
import { r as waitForever, t as monitorWebChannel } from "./channel-web-
|
|
120
|
+
import { r as waitForever, t as monitorWebChannel } from "./channel-web-DfBOK5if.js";
|
|
121
121
|
import "./outbound-DPTxwchq.js";
|
|
122
122
|
import "./session-CdnrRhb4.js";
|
|
123
123
|
import "./login-CfUhrgWT.js";
|
|
@@ -126,9 +126,9 @@ import { t as ensureIdleHandsCliOnPath } from "./path-env-CKSLQUS1.js";
|
|
|
126
126
|
import { t as assertSupportedRuntime } from "./runtime-guard-X6f4YmTM.js";
|
|
127
127
|
import "./ports-B2o0FSFD.js";
|
|
128
128
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-BWjW98Xn.js";
|
|
129
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
130
|
-
import "./plugin-registry-
|
|
131
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
129
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-Dhec-fGX.js";
|
|
130
|
+
import "./plugin-registry-CYXCwXDq.js";
|
|
131
|
+
import { n as resolveCliChannelOptions } from "./channel-options-BNcsrd0d.js";
|
|
132
132
|
import process$1 from "node:process";
|
|
133
133
|
import { fileURLToPath } from "node:url";
|
|
134
134
|
import { Command, InvalidArgumentError } from "commander";
|
|
@@ -559,7 +559,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
559
559
|
commandPath
|
|
560
560
|
});
|
|
561
561
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
562
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
562
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-CYXCwXDq.js").then((n) => n.n);
|
|
563
563
|
ensurePluginRegistryLoaded();
|
|
564
564
|
}
|
|
565
565
|
});
|
|
@@ -10,7 +10,7 @@ import "./boolean-CE7i9tBR.js";
|
|
|
10
10
|
import "./env-B5G1qwGc.js";
|
|
11
11
|
import "./dock-BgOmHcbh.js";
|
|
12
12
|
import "./tokens-BRLyURxW.js";
|
|
13
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
13
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-znVFwmix.js";
|
|
14
14
|
import "./plugins-CRB60mCJ.js";
|
|
15
15
|
import "./accounts-Dk8mJIrQ.js";
|
|
16
16
|
import "./bindings-D3b5Fmc9.js";
|
|
@@ -65,7 +65,7 @@ import "./send-D4bMycQu.js";
|
|
|
65
65
|
import "./resolve-route-DuttYY7A.js";
|
|
66
66
|
import "./proxy-CRB9oCP5.js";
|
|
67
67
|
import "./replies-6_GxvQYe.js";
|
|
68
|
-
import "./deps-
|
|
68
|
+
import "./deps-Bdrf7UsT.js";
|
|
69
69
|
import fs from "node:fs/promises";
|
|
70
70
|
import os from "node:os";
|
|
71
71
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, R as colorize, S as shortenHomePath, z as isRich$1 } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Jt as maskApiKey, St as resolveUsageProviderId, a as DEFAULT_OAUTH_WARN_MS, d as runEmbeddedPiAgent, o as buildAuthHealthSummary, qt as describeFailoverError, s as formatRemainingShort, xt as formatUsageWindowSummary, yt as loadProviderUsageSummary } from "./reply-
|
|
4
|
+
import { Jt as maskApiKey, St as resolveUsageProviderId, a as DEFAULT_OAUTH_WARN_MS, d as runEmbeddedPiAgent, o as buildAuthHealthSummary, qt as describeFailoverError, s as formatRemainingShort, xt as formatUsageWindowSummary, yt as loadProviderUsageSummary } from "./reply-tuqCy_5s.js";
|
|
5
5
|
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -103,14 +103,14 @@ 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-DB6dI42Y.js";
|
|
107
107
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
108
108
|
import "./channel-selection-ZxRkxpuF.js";
|
|
109
109
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
110
110
|
import "./delivery-queue-BvDRo8CK.js";
|
|
111
111
|
import "./session-cost-usage-DS1rjzML.js";
|
|
112
112
|
import "./send-DQiw_nGD.js";
|
|
113
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
113
|
+
import { f as openUrl } from "./onboard-helpers-BQmbMJxJ.js";
|
|
114
114
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-kmKiCZnm.js";
|
|
115
115
|
import "./pairing-labels-ChQJzbS9.js";
|
|
116
116
|
import "./server-lifecycle-B5PlrlbG.js";
|
|
@@ -124,7 +124,7 @@ import { n as redactSecrets } from "./format-BK5XIv_A.js";
|
|
|
124
124
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-CpDPo3hJ.js";
|
|
125
125
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BJq87X3o.js";
|
|
126
126
|
import { n as logConfigUpdated } from "./logging-B0-9lotb.js";
|
|
127
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
127
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-aWibl0HT.js";
|
|
128
128
|
import path from "node:path";
|
|
129
129
|
import fs from "node:fs/promises";
|
|
130
130
|
import crypto from "node:crypto";
|
|
@@ -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-B-ciR-Ya.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-Brv1GCwX.js";
|
|
@@ -108,8 +108,8 @@ import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli
|
|
|
108
108
|
import "./help-format-CldHB7lS.js";
|
|
109
109
|
import "./progress-B76RkFx7.js";
|
|
110
110
|
import "./replies-DSfpze17.js";
|
|
111
|
-
import "./deps-
|
|
112
|
-
import "./onboard-helpers-
|
|
111
|
+
import "./deps-0GRTVtgy.js";
|
|
112
|
+
import "./onboard-helpers-Dp6wXNs7.js";
|
|
113
113
|
import "./prompt-style-XmK49QYK.js";
|
|
114
114
|
import "./pairing-labels-D7xcHkxi.js";
|
|
115
115
|
import "./note-C2HHth6G.js";
|
|
@@ -118,8 +118,8 @@ import "./table-aJzHv5Oe.js";
|
|
|
118
118
|
import "./shared-j17RyGsM.js";
|
|
119
119
|
import "./auth-token-BQ_ECwH7.js";
|
|
120
120
|
import "./logging-MF6Thoxk.js";
|
|
121
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
122
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
121
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-BPsTPi3e.js";
|
|
122
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-tqBGSD-X.js";
|
|
123
123
|
|
|
124
124
|
//#region src/cli/models-cli.ts
|
|
125
125
|
function runModelsCommand(action) {
|
|
@@ -5,12 +5,12 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
|
5
5
|
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
6
6
|
import { r as resolveForwardCompatModel } from "./model-CZMeWx-m.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DM-7bLbH.js";
|
|
8
|
-
import { $t as buildAuthHealthSummary, Qt as DEFAULT_OAUTH_WARN_MS, St as describeFailoverError, _n as formatUsageWindowSummary, en as formatRemainingShort, hn as loadProviderUsageSummary, s as runEmbeddedPiAgent, vn as resolveUsageProviderId, yn as maskApiKey } from "./subagent-registry-
|
|
8
|
+
import { $t as buildAuthHealthSummary, Qt as DEFAULT_OAUTH_WARN_MS, St as describeFailoverError, _n as formatUsageWindowSummary, en as formatRemainingShort, hn as loadProviderUsageSummary, s as runEmbeddedPiAgent, vn as resolveUsageProviderId, yn as maskApiKey } from "./subagent-registry-B-ciR-Ya.js";
|
|
9
9
|
import { l as resolveSessionTranscriptsDirForAgent, o as resolveSessionTranscriptPath } from "./paths-CC17i2eK.js";
|
|
10
10
|
import { t as ensureIdleHandsModelsJson } from "./models-config-fDNEH4C5.js";
|
|
11
11
|
import { n as loadModelCatalog } from "./model-catalog-DYWymzg_.js";
|
|
12
12
|
import { r as withProgressTotals } from "./progress-B76RkFx7.js";
|
|
13
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
13
|
+
import { f as openUrl } from "./onboard-helpers-Dp6wXNs7.js";
|
|
14
14
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-XmK49QYK.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
|
|
16
16
|
import { t as renderTable } from "./table-aJzHv5Oe.js";
|
|
@@ -19,7 +19,7 @@ import { n as redactSecrets } from "./format-oh9Nicqr.js";
|
|
|
19
19
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-j17RyGsM.js";
|
|
20
20
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BQ_ECwH7.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
|
|
22
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
22
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BPsTPi3e.js";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import fs from "node:fs/promises";
|
|
25
25
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { j as loadConfig } from "./auth-profiles-Baj5ImDJ.js";
|
|
3
3
|
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
4
|
-
import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-B-ciR-Ya.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-
|
|
1
|
+
import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-tuqCy_5s.js";
|
|
2
2
|
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
4
4
|
import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
|
|
@@ -3,12 +3,12 @@ import { y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
|
3
3
|
import { i as restoreTerminalState, n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
4
4
|
import { Ht as writeConfigFile, Rt as readConfigFileSnapshot } from "./model-selection-0dGxYGp8.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
6
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-
|
|
6
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-BQmbMJxJ.js";
|
|
7
7
|
import { t as assertSupportedRuntime } from "./runtime-guard-X6f4YmTM.js";
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-9ZBCWbQB.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-CvbZsmjW.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BGXzfrm4.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-CegT14jj.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-B0-9lotb.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-CWpV5eF5.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-DWHdfsgm.js";
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-cUQV1hzf.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -2,12 +2,12 @@ import { i as restoreTerminalState, n as defaultRuntime } from "./runtime-CgcH_F
|
|
|
2
2
|
import { Vt as resolveGatewayPort, tt as resolveUserPath } from "./entry.js";
|
|
3
3
|
import { L as writeConfigFile, N as readConfigFileSnapshot } from "./auth-profiles-Baj5ImDJ.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
5
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-
|
|
5
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-Dp6wXNs7.js";
|
|
6
6
|
import { t as WizardCancelledError } from "./prompts-D3HHe1ZZ.js";
|
|
7
7
|
import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard-DTSD0F6o.js";
|
|
9
9
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CRT3STlu.js";
|
|
10
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
10
|
+
import { t as runOnboardingWizard } from "./onboarding-rD-jdAK3.js";
|
|
11
11
|
import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
|
|
12
12
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DHfeIfN6.js";
|
|
13
13
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D12380q3.js";
|
|
@@ -250,7 +250,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
250
250
|
}
|
|
251
251
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
252
252
|
if (!opts.skipHealth) {
|
|
253
|
-
const { healthCommand } = await import("./health-
|
|
253
|
+
const { healthCommand } = await import("./health-D6PJPflH.js").then((n) => n.i);
|
|
254
254
|
await waitForGatewayReachable({
|
|
255
255
|
url: resolveControlUiLinks({
|
|
256
256
|
bind: gatewayResult.bind,
|
|
@@ -9,11 +9,11 @@ import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveD
|
|
|
9
9
|
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-frp6YB8O.js";
|
|
10
10
|
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-COaz4Gk1.js";
|
|
11
11
|
import { dt as normalizeDiscordSlug } from "./send-CCiDIuX4.js";
|
|
12
|
-
import { Nn as resolveSlackUserAllowlist, Pn as resolveDiscordUserAllowlist, T as resolveDiscordChannelAllowlist, _ as loadIdleHandsPlugins, g as createPluginLoaderLogger, y as resolveSlackChannelAllowlist } from "./subagent-registry-
|
|
12
|
+
import { Nn as resolveSlackUserAllowlist, Pn as resolveDiscordUserAllowlist, T as resolveDiscordChannelAllowlist, _ as loadIdleHandsPlugins, g as createPluginLoaderLogger, y as resolveSlackChannelAllowlist } from "./subagent-registry-B-ciR-Ya.js";
|
|
13
13
|
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-dpNitoNd.js";
|
|
14
14
|
import { s as normalizeIMessageHandle } from "./send-YcXS-UZJ.js";
|
|
15
15
|
import { t as formatDocsLink } from "./links-fKzK3pnZ.js";
|
|
16
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
16
|
+
import { r as detectBinary } from "./onboard-helpers-Dp6wXNs7.js";
|
|
17
17
|
import { t as loginWeb } from "./login-BaXwiEpr.js";
|
|
18
18
|
import { t as resolveBrewExecutable } from "./brew-DCzX9msb.js";
|
|
19
19
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-CR9Dgy-x.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import { Ar as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, ht as loadIdleHandsPlugins, jr as resolveDiscordUserAllowlist, mt as createPluginLoaderLogger, wt as resolveSlackChannelAllowlist } from "./reply-
|
|
3
|
+
import { Ar as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, ht as loadIdleHandsPlugins, jr as resolveDiscordUserAllowlist, mt as createPluginLoaderLogger, wt as resolveSlackChannelAllowlist } from "./reply-tuqCy_5s.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
5
5
|
import { g as listChatChannels, m as formatChannelSelectionLine, p as formatChannelPrimerLine, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
6
6
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-Cuihcz_O.js";
|
|
@@ -14,7 +14,7 @@ import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefau
|
|
|
14
14
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
15
15
|
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-7DUxMy6A.js";
|
|
16
16
|
import { a as normalizeIMessageHandle } from "./send-DQiw_nGD.js";
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-BQmbMJxJ.js";
|
|
18
18
|
import { t as loginWeb } from "./login-CfUhrgWT.js";
|
|
19
19
|
import { t as resolveBrewExecutable } from "./brew-DJAghU-4.js";
|
|
20
20
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-DK3_W0VC.js";
|
|
@@ -109,15 +109,14 @@ function validateGatewayPasswordInput(value) {
|
|
|
109
109
|
}
|
|
110
110
|
function printWizardHeader(runtime) {
|
|
111
111
|
const header = [
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"╚════════════════════════════════════════════════════╝",
|
|
112
|
+
"+--------------------------------+",
|
|
113
|
+
"| III DDD L EEEE H H AAA |",
|
|
114
|
+
"| I D D L E H H A A |",
|
|
115
|
+
"| I D D L EEE HHHH AAAA |",
|
|
116
|
+
"| I D D L E H H A A |",
|
|
117
|
+
"| III DDD LLLL EEEE H H A A |",
|
|
118
|
+
"| IDLEHANDS |",
|
|
119
|
+
"+--------------------------------+",
|
|
121
120
|
" "
|
|
122
121
|
].join("\n");
|
|
123
122
|
runtime.log(header);
|
|
@@ -108,15 +108,14 @@ function validateGatewayPasswordInput(value) {
|
|
|
108
108
|
}
|
|
109
109
|
function printWizardHeader(runtime) {
|
|
110
110
|
const header = [
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"╚════════════════════════════════════════════════════╝",
|
|
111
|
+
"+--------------------------------+",
|
|
112
|
+
"| III DDD L EEEE H H AAA |",
|
|
113
|
+
"| I D D L E H H A A |",
|
|
114
|
+
"| I D D L EEE HHHH AAAA |",
|
|
115
|
+
"| I D D L E H H A A |",
|
|
116
|
+
"| III DDD LLLL EEEE H H A A |",
|
|
117
|
+
"| IDLEHANDS |",
|
|
118
|
+
"+--------------------------------+",
|
|
120
119
|
" "
|
|
121
120
|
].join("\n");
|
|
122
121
|
runtime.log(header);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { i as isSecureWebSocketUrl } from "./net-CE_62H5R.js";
|
|
3
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
3
|
+
import { r as detectBinary } from "./onboard-helpers-Dp6wXNs7.js";
|
|
4
4
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-CDpGHfpS.js";
|
|
5
5
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-xjvAm8hU.js";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { a as isSecureWebSocketUrl } from "./ws-XBTtYpJc.js";
|
|
3
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
3
|
+
import { r as detectBinary } from "./onboard-helpers-BQmbMJxJ.js";
|
|
4
4
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-FDdFH5E8.js";
|
|
5
5
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-DMslm8Hx.js";
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { Vr as normalizeSecretInput } from "./auth-profiles-Baj5ImDJ.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
4
4
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DEWCCZdI.js";
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-Dp6wXNs7.js";
|
|
6
6
|
import { t as installSkill } from "./skills-install-DkQ2ndc6.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Wr as normalizeSecretInput } from "./model-selection-0dGxYGp8.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
4
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
4
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-BQmbMJxJ.js";
|
|
5
5
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-qjQ8XP0h.js";
|
|
6
6
|
import { t as installSkill } from "./skills-install-tr6wRWZj.js";
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
42
42
|
})) throw new WizardCancelledError("risk not accepted");
|
|
43
43
|
}
|
|
44
44
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
45
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
45
|
+
const onboardHelpers = await import("./onboard-helpers-BQmbMJxJ.js").then((n) => n.d);
|
|
46
46
|
onboardHelpers.printWizardHeader(runtime);
|
|
47
47
|
await prompter.intro("IdleHands onboarding");
|
|
48
48
|
await requireRiskAcknowledgement({
|
|
@@ -210,7 +210,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
210
210
|
}]
|
|
211
211
|
}));
|
|
212
212
|
if (mode === "remote") {
|
|
213
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
213
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-CIjhaP2W.js").then((n) => n.t);
|
|
214
214
|
const { logConfigUpdated } = await import("./logging-B0-9lotb.js").then((n) => n.r);
|
|
215
215
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter);
|
|
216
216
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -231,7 +231,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
231
231
|
const { ensureAuthProfileStore } = await import("./model-selection-0dGxYGp8.js").then((n) => n.ot);
|
|
232
232
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-CiRp6avH.js").then((n) => n.t);
|
|
233
233
|
const { promptCustomApiConfig } = await import("./onboard-custom-DUbzMMu7.js").then((n) => n.r);
|
|
234
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
234
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-qQO5MWz8.js").then((n) => n.t);
|
|
235
235
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-BkXoTOiA.js").then((n) => n.i);
|
|
236
236
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
237
237
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -270,7 +270,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
270
270
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
271
271
|
}
|
|
272
272
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
273
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
273
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-CEQMyj8l.js");
|
|
274
274
|
const gateway = await configureGatewayForOnboarding({
|
|
275
275
|
flow,
|
|
276
276
|
baseConfig,
|
|
@@ -285,7 +285,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
285
285
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
286
286
|
else {
|
|
287
287
|
const { listChannelPlugins } = await import("./plugins-D46VZh7u.js").then((n) => n.i);
|
|
288
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
288
|
+
const { setupChannels } = await import("./onboard-channels-wDbxIOXH.js").then((n) => n.n);
|
|
289
289
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
290
290
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
291
291
|
allowSignalInstall: true,
|
|
@@ -301,7 +301,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
301
301
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
302
302
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
303
303
|
else {
|
|
304
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
304
|
+
const { setupSkills } = await import("./onboard-skills-BsaUIuq6.js").then((n) => n.t);
|
|
305
305
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
306
306
|
}
|
|
307
307
|
const { setupInternalHooks } = await import("./onboard-hooks-D9teGxfH.js");
|
|
@@ -311,7 +311,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
311
311
|
mode
|
|
312
312
|
});
|
|
313
313
|
await writeConfigFile(nextConfig);
|
|
314
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
314
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-C50Cd_QG.js");
|
|
315
315
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
316
316
|
flow,
|
|
317
317
|
opts,
|
|
@@ -41,7 +41,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
41
41
|
})) throw new WizardCancelledError("risk not accepted");
|
|
42
42
|
}
|
|
43
43
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
44
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
44
|
+
const onboardHelpers = await import("./onboard-helpers-Dp6wXNs7.js").then((n) => n.d);
|
|
45
45
|
onboardHelpers.printWizardHeader(runtime);
|
|
46
46
|
await prompter.intro("IdleHands onboarding");
|
|
47
47
|
await requireRiskAcknowledgement({
|
|
@@ -209,7 +209,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
209
209
|
}]
|
|
210
210
|
}));
|
|
211
211
|
if (mode === "remote") {
|
|
212
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
212
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-1ZZd5lcX.js").then((n) => n.t);
|
|
213
213
|
const { logConfigUpdated } = await import("./logging-MF6Thoxk.js").then((n) => n.r);
|
|
214
214
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter);
|
|
215
215
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -230,7 +230,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
230
230
|
const { ensureAuthProfileStore } = await import("./auth-profiles-Baj5ImDJ.js").then((n) => n.t);
|
|
231
231
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-kycZqH8q.js").then((n) => n.t);
|
|
232
232
|
const { promptCustomApiConfig } = await import("./onboard-custom-BjUK6yP5.js").then((n) => n.r);
|
|
233
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
233
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-CdEVNS6t.js").then((n) => n.t);
|
|
234
234
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-D_yngXMe.js").then((n) => n.i);
|
|
235
235
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
236
236
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -269,7 +269,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
269
269
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
270
270
|
}
|
|
271
271
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
272
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
272
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-Czn7jKsq.js");
|
|
273
273
|
const gateway = await configureGatewayForOnboarding({
|
|
274
274
|
flow,
|
|
275
275
|
baseConfig,
|
|
@@ -284,7 +284,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
285
285
|
else {
|
|
286
286
|
const { listChannelPlugins } = await import("./plugins-CCrfZ49T.js").then((n) => n.i);
|
|
287
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
287
|
+
const { setupChannels } = await import("./onboard-channels-BpCQ5nQX.js").then((n) => n.n);
|
|
288
288
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
289
289
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
290
290
|
allowSignalInstall: true,
|
|
@@ -300,7 +300,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
300
300
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
301
301
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
302
302
|
else {
|
|
303
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
303
|
+
const { setupSkills } = await import("./onboard-skills-BD_AS1Iy.js").then((n) => n.t);
|
|
304
304
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
305
305
|
}
|
|
306
306
|
const { setupInternalHooks } = await import("./onboard-hooks-DZBC0VSD.js");
|
|
@@ -310,7 +310,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
310
310
|
mode
|
|
311
311
|
});
|
|
312
312
|
await writeConfigFile(nextConfig);
|
|
313
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
313
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CHq5hQxh.js");
|
|
314
314
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
315
315
|
flow,
|
|
316
316
|
opts,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { h as pathExists, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-tuqCy_5s.js";
|
|
5
5
|
import { v as DEFAULT_BOOTSTRAP_FILENAME } from "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { i as restoreTerminalState } from "./runtime-44j_X4Y6.js";
|
|
@@ -103,31 +103,31 @@ 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-DB6dI42Y.js";
|
|
107
107
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
108
108
|
import "./channel-selection-ZxRkxpuF.js";
|
|
109
109
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
110
110
|
import "./delivery-queue-BvDRo8CK.js";
|
|
111
111
|
import "./session-cost-usage-DS1rjzML.js";
|
|
112
112
|
import "./send-DQiw_nGD.js";
|
|
113
|
-
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-
|
|
113
|
+
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-BQmbMJxJ.js";
|
|
114
114
|
import "./prompt-style-kmKiCZnm.js";
|
|
115
115
|
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
119
|
import "./runtime-guard-X6f4YmTM.js";
|
|
120
|
-
import "./program-context-
|
|
120
|
+
import "./program-context-Dhec-fGX.js";
|
|
121
121
|
import "./note-69EfBEU-.js";
|
|
122
|
-
import { r as installCompletion } from "./completion-cli-
|
|
122
|
+
import { r as installCompletion } from "./completion-cli-Zaylny55.js";
|
|
123
123
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BZY9-jNW.js";
|
|
124
124
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BGXzfrm4.js";
|
|
125
125
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CaCR5CyM.js";
|
|
126
126
|
import { t as resolveGatewayService } from "./service-C8NMS3m_.js";
|
|
127
|
-
import { r as healthCommand } from "./health-
|
|
127
|
+
import { r as healthCommand } from "./health-cUQV1hzf.js";
|
|
128
128
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-C7ZpN9hN.js";
|
|
129
129
|
import { t as formatHealthCheckFailure } from "./health-format-Ba_hOaT2.js";
|
|
130
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
130
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CeD_GwXj.js";
|
|
131
131
|
import { t as runTui } from "./tui-lalhRHve.js";
|
|
132
132
|
import os from "node:os";
|
|
133
133
|
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-B-ciR-Ya.js";
|
|
30
30
|
import "./paths-CC17i2eK.js";
|
|
31
31
|
import "./chat-envelope-Dedaetiq.js";
|
|
32
32
|
import "./client-Brv1GCwX.js";
|
|
@@ -109,24 +109,24 @@ 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-
|
|
113
|
-
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-
|
|
112
|
+
import "./deps-0GRTVtgy.js";
|
|
113
|
+
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-Dp6wXNs7.js";
|
|
114
114
|
import "./prompt-style-XmK49QYK.js";
|
|
115
115
|
import "./pairing-labels-D7xcHkxi.js";
|
|
116
116
|
import "./note-C2HHth6G.js";
|
|
117
|
-
import { r as installCompletion } from "./completion-cli-
|
|
118
|
-
import "./register.subclis-
|
|
119
|
-
import "./command-registry-
|
|
117
|
+
import { r as installCompletion } from "./completion-cli-Dkh-Zrqo.js";
|
|
118
|
+
import "./register.subclis-SGnxsMrq.js";
|
|
119
|
+
import "./command-registry-D3iSv7Of.js";
|
|
120
120
|
import "./program-context-BrqeiWcA.js";
|
|
121
121
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DUHqeg5Y.js";
|
|
122
122
|
import "./runtime-guard-DTSD0F6o.js";
|
|
123
123
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CRT3STlu.js";
|
|
124
124
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CYLBa7fG.js";
|
|
125
125
|
import { t as resolveGatewayService } from "./service-BzgRt9im.js";
|
|
126
|
-
import { r as healthCommand } from "./health-
|
|
126
|
+
import { r as healthCommand } from "./health-D6PJPflH.js";
|
|
127
127
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B5haX6bT.js";
|
|
128
128
|
import { t as formatHealthCheckFailure } from "./health-format-wax5NzZB.js";
|
|
129
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
129
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BeqR17ft.js";
|
|
130
130
|
import { t as runTui } from "./tui-BPgLehyv.js";
|
|
131
131
|
import os from "node:os";
|
|
132
132
|
import path from "node:path";
|
package/dist/{onboarding.gateway-config-DdbTCDFQ.js → onboarding.gateway-config-CEQMyj8l.js}
RENAMED
|
@@ -31,7 +31,7 @@ import "./chat-envelope-Bebo3vwl.js";
|
|
|
31
31
|
import "./client-DxH9hwLn.js";
|
|
32
32
|
import "./call-BRL23UCk.js";
|
|
33
33
|
import "./pairing-token-lKXTMQ_M.js";
|
|
34
|
-
import { h as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
34
|
+
import { h as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-BQmbMJxJ.js";
|
|
35
35
|
import "./prompt-style-kmKiCZnm.js";
|
|
36
36
|
import { i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-Bk6piTDQ.js";
|
|
37
37
|
|
package/dist/{onboarding.gateway-config-BD4jhrPV.js → onboarding.gateway-config-Czn7jKsq.js}
RENAMED
|
@@ -26,7 +26,7 @@ import "./net-CE_62H5R.js";
|
|
|
26
26
|
import "./ip-Y1214nEL.js";
|
|
27
27
|
import "./tailnet-DQgxklZD.js";
|
|
28
28
|
import { a as findTailscaleBinary } from "./tailscale-CQwGqfET.js";
|
|
29
|
-
import { h as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
29
|
+
import { h as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-Dp6wXNs7.js";
|
|
30
30
|
import "./prompt-style-XmK49QYK.js";
|
|
31
31
|
import { i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-BGojylLz.js";
|
|
32
32
|
|