pllan 2026.3.21 → 2026.3.23
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/{agents-5NyX_DWS.js → agents-CsCxCfnK.js} +2 -2
- package/dist/{agents-xwc-bLxt.js → agents-DsKEAQch.js} +1 -1
- package/dist/build-info.json +2 -2
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{command-registry-o7TOSNSP.js → command-registry-Ndv4rFv1.js} +2 -2
- package/dist/{command-registry-DQ7vpUps.js → command-registry-Z1Aja7X6.js} +8 -8
- package/dist/{completion-cli-C27Y83zs.js → completion-cli-BaDGqU2X.js} +2 -2
- package/dist/{completion-cli-CLVadMfV.js → completion-cli-CQrlBvJp.js} +3 -3
- package/dist/{config-cli-C4UCiy3t.js → config-cli-aSsUr82E.js} +1 -1
- package/dist/{configure-CGwLp1Up.js → configure-lvHoaVdL.js} +4 -4
- package/dist/{configure-DXAL3uQa.js → configure-n2O9-Giq.js} +5 -5
- package/dist/{daemon-cli-B7vRDGD8.js → daemon-cli-CSPB2cf3.js} +2 -2
- package/dist/{daemon-install-DuMiPKd-.js → daemon-install-C-AWDYTp.js} +2 -2
- package/dist/{doctor-completion-BvziaMu4.js → doctor-completion-D6EC827q.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{gateway-cli-BW6PuLhr.js → gateway-cli-DEMg2x3q.js} +6 -6
- package/dist/{gateway-install-token-Bim48vZd.js → gateway-install-token-MQck4Vza.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{models-CbGG1tbF.js → models-AXVEN5-L.js} +1 -1
- package/dist/{models-DnIyTmXY.js → models-C_xWdTZQ.js} +2 -2
- package/dist/{models-cli-1XLkt-R4.js → models-cli-CzIuQ7Fu.js} +2 -2
- package/dist/{onboard-BDZg2VHq.js → onboard-DE-J-TAz.js} +3 -3
- package/dist/{onboard-helpers-D2HY74Eq.js → onboard-helpers-CLmCjfbK.js} +1 -1
- package/dist/{onboard-helpers-xevrELjW.js → onboard-helpers-DwQ3myyz.js} +7 -6
- package/dist/{onboard-remote-CI2XwUTm.js → onboard-remote-DPIEA-Ts.js} +2 -2
- package/dist/{onboard-remote-BmgKeYmK.js → onboard-remote-DvbeY59x.js} +1 -1
- package/dist/{onboard-skills-CmvLCWvu.js → onboard-skills-CnQmgb4M.js} +2 -2
- package/dist/{onboard-skills-C5KUMsRu.js → onboard-skills-CsWpNmJg.js} +1 -1
- package/dist/{program-BeQsy0JY.js → program-BpXm3xKz.js} +2 -2
- package/dist/{prompt-select-styled-hq6In9XO.js → prompt-select-styled-DbY6h1hP.js} +3 -3
- package/dist/{register.agent-BmNj8i6G.js → register.agent-CahBbp1k.js} +2 -2
- package/dist/{register.configure-BHM_z-5g.js → register.configure-CPzn-8Iz.js} +5 -5
- package/dist/{register.maintenance-CfboUPlH.js → register.maintenance-BB2Wi7PT.js} +7 -7
- package/dist/{register.onboard-CZ_i5T7-.js → register.onboard-DoC80nfz.js} +3 -3
- package/dist/{register.setup-mozF17HT.js → register.setup-DNAxRP8Q.js} +3 -3
- package/dist/{register.status-health-sessions-DWjcGmfL.js → register.status-health-sessions-Rl7WCJyi.js} +2 -2
- package/dist/{register.subclis-CnaTMWb8.js → register.subclis-DHNGRf8Z.js} +1 -1
- package/dist/{register.subclis-DoNDedXn.js → register.subclis-DudZcnvj.js} +4 -4
- package/dist/{run-main-DmZSVyZK.js → run-main-CFLj4KSQ.js} +11 -11
- package/dist/{setup-XLxuYRFl.js → setup-COGr_tIo.js} +5 -5
- package/dist/{setup.finalize-DBjMhAqb.js → setup.finalize-Dl9NRUKp.js} +6 -6
- package/dist/{setup.gateway-config-BUkhfOub.js → setup.gateway-config-DkAt4wX9.js} +1 -1
- package/dist/{status-v9EEBAGK.js → status-Bz8ZO3eU.js} +2 -2
- package/dist/{status-BWDJ5fkb.js → status-CW44-4j7.js} +1 -1
- package/dist/{status-BxgjeZav.js → status-D1BVl04P.js} +2 -2
- package/dist/{status-6_OeLLoa.js → status-Dl0nPxli.js} +1 -1
- package/dist/{update-cli-Dn4m1tr5.js → update-cli-dB-uw5lZ.js} +9 -9
- package/package.json +1 -1
|
@@ -147,7 +147,7 @@ import "./progress-CFrjU7HA.js";
|
|
|
147
147
|
import "./cli-runtime-nG8azND-.js";
|
|
148
148
|
import "./control-ui-shared-DEACC46h.js";
|
|
149
149
|
import "./prompt-style-CgFvSU31.js";
|
|
150
|
-
import "./onboard-helpers-
|
|
150
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
151
151
|
import "./issue-format-DYtGj0Su.js";
|
|
152
152
|
import "./setup-browser-VfdAWQzO.js";
|
|
153
153
|
import "./setup-tools-BQpk9XcD.js";
|
|
@@ -191,7 +191,7 @@ import "./logging-CCAD006e.js";
|
|
|
191
191
|
import "./provider-auth-choice-helpers-fsMhBX5C.js";
|
|
192
192
|
import "./provider-auth-guidance-B_NKjdQv.js";
|
|
193
193
|
import "./config-validation-t3p6BOqE.js";
|
|
194
|
-
import { t as agentsListCommand } from "./agents-
|
|
194
|
+
import { t as agentsListCommand } from "./agents-DsKEAQch.js";
|
|
195
195
|
import "./provider-auth-choices-BAtOUb06.js";
|
|
196
196
|
import "./provider-wizard-CgoGGb5m.js";
|
|
197
197
|
import "./auth-choice-options-DxIuta1V.js";
|
|
@@ -13,7 +13,7 @@ import { c as resolveSessionTranscriptsDirForAgent } from "./paths-Cs9yPorS.js";
|
|
|
13
13
|
import { i as resolveChannelDefaultAccountId } from "./helpers-C9lkN3jL.js";
|
|
14
14
|
import { i as listRouteBindings, t as isRouteBinding } from "./bindings-B8guWJZ9.js";
|
|
15
15
|
import { r as parseIdentityMarkdown, t as identityHasValues } from "./identity-file-CshsbzOQ.js";
|
|
16
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
16
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DwQ3myyz.js";
|
|
17
17
|
import { t as WizardCancelledError } from "./prompts-BcHNyWXi.js";
|
|
18
18
|
import { t as createClackPrompter } from "./clack-prompter-D0MuJLME.js";
|
|
19
19
|
import { i as loadAgentIdentity, n as buildAgentSummaries, o as pruneAgentConfig, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DLBjrKkf.js";
|
package/dist/build-info.json
CHANGED
package/dist/cli/daemon-cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Legacy shim for pre-tsdown update-cli imports.
|
|
2
|
-
import * as daemonCli from "../daemon-cli-
|
|
2
|
+
import * as daemonCli from "../daemon-cli-CSPB2cf3.js";
|
|
3
3
|
export const registerDaemonCli = daemonCli.t;
|
|
4
4
|
export const runDaemonInstall = daemonCli.s;
|
|
5
5
|
export const runDaemonRestart = daemonCli.r;
|
|
@@ -6,7 +6,7 @@ import "./subsystem-C22AJBBS.js";
|
|
|
6
6
|
import "./ansi-cwY8Vrne.js";
|
|
7
7
|
import "./boolean-B6zcAynR.js";
|
|
8
8
|
import "./env-aTvZ63fR.js";
|
|
9
|
-
import "./register.subclis-
|
|
9
|
+
import "./register.subclis-DudZcnvj.js";
|
|
10
10
|
import "./core-command-descriptors-D9oONmg4.js";
|
|
11
|
-
import { n as registerCoreCliByName } from "./command-registry-
|
|
11
|
+
import { n as registerCoreCliByName } from "./command-registry-Z1Aja7X6.js";
|
|
12
12
|
export { registerCoreCliByName };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { O as getPrimaryCommand, j as hasHelpOrVersion } from "./logger-CI31BaLi.js";
|
|
2
|
-
import { a as removeCommandByName, i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-
|
|
2
|
+
import { a as removeCommandByName, i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-DudZcnvj.js";
|
|
3
3
|
import { t as getCoreCliCommandDescriptors } from "./core-command-descriptors-D9oONmg4.js";
|
|
4
4
|
//#region src/cli/program/command-registry.ts
|
|
5
5
|
const shouldRegisterCorePrimaryOnly = (argv) => {
|
|
@@ -14,7 +14,7 @@ const coreEntries = [
|
|
|
14
14
|
hasSubcommands: false
|
|
15
15
|
}],
|
|
16
16
|
register: async ({ program }) => {
|
|
17
|
-
(await import("./register.setup-
|
|
17
|
+
(await import("./register.setup-DNAxRP8Q.js")).registerSetupCommand(program);
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
{
|
|
@@ -24,7 +24,7 @@ const coreEntries = [
|
|
|
24
24
|
hasSubcommands: false
|
|
25
25
|
}],
|
|
26
26
|
register: async ({ program }) => {
|
|
27
|
-
(await import("./register.onboard-
|
|
27
|
+
(await import("./register.onboard-DoC80nfz.js")).registerOnboardCommand(program);
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
{
|
|
@@ -34,7 +34,7 @@ const coreEntries = [
|
|
|
34
34
|
hasSubcommands: false
|
|
35
35
|
}],
|
|
36
36
|
register: async ({ program }) => {
|
|
37
|
-
(await import("./register.configure-
|
|
37
|
+
(await import("./register.configure-CPzn-8Iz.js")).registerConfigureCommand(program);
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
{
|
|
@@ -44,7 +44,7 @@ const coreEntries = [
|
|
|
44
44
|
hasSubcommands: true
|
|
45
45
|
}],
|
|
46
46
|
register: async ({ program }) => {
|
|
47
|
-
(await import("./config-cli-
|
|
47
|
+
(await import("./config-cli-aSsUr82E.js")).registerConfigCli(program);
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
{
|
|
@@ -81,7 +81,7 @@ const coreEntries = [
|
|
|
81
81
|
}
|
|
82
82
|
],
|
|
83
83
|
register: async ({ program }) => {
|
|
84
|
-
(await import("./register.maintenance-
|
|
84
|
+
(await import("./register.maintenance-BB2Wi7PT.js")).registerMaintenanceCommands(program);
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
{
|
|
@@ -125,7 +125,7 @@ const coreEntries = [
|
|
|
125
125
|
hasSubcommands: true
|
|
126
126
|
}],
|
|
127
127
|
register: async ({ program, ctx }) => {
|
|
128
|
-
(await import("./register.agent-
|
|
128
|
+
(await import("./register.agent-CahBbp1k.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
{
|
|
@@ -147,7 +147,7 @@ const coreEntries = [
|
|
|
147
147
|
}
|
|
148
148
|
],
|
|
149
149
|
register: async ({ program }) => {
|
|
150
|
-
(await import("./register.status-health-sessions-
|
|
150
|
+
(await import("./register.status-health-sessions-Rl7WCJyi.js")).registerStatusHealthSessionsCommands(program);
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
@@ -3,8 +3,8 @@ import { r as theme } from "./theme-CWrxY1-_.js";
|
|
|
3
3
|
import { c as routeLogsToStderr } from "./subsystem-C22AJBBS.js";
|
|
4
4
|
import { h as pathExists } from "./utils-CVTDkHyb.js";
|
|
5
5
|
import { t as formatDocsLink } from "./links-DiK_5yKa.js";
|
|
6
|
-
import { r as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
7
|
-
import { n as registerCoreCliByName, t as getCoreCliCommandNames } from "./command-registry-
|
|
6
|
+
import { r as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-DudZcnvj.js";
|
|
7
|
+
import { n as registerCoreCliByName, t as getCoreCliCommandNames } from "./command-registry-Z1Aja7X6.js";
|
|
8
8
|
import { t as getProgramContext } from "./program-context-FVBIEOzr.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -8,8 +8,8 @@ import "./boolean-B6zcAynR.js";
|
|
|
8
8
|
import "./env-aTvZ63fR.js";
|
|
9
9
|
import "./utils-CVTDkHyb.js";
|
|
10
10
|
import "./links-DiK_5yKa.js";
|
|
11
|
-
import { a as registerCompletionCli } from "./completion-cli-
|
|
12
|
-
import "./register.subclis-
|
|
13
|
-
import "./command-registry-
|
|
11
|
+
import { a as registerCompletionCli } from "./completion-cli-BaDGqU2X.js";
|
|
12
|
+
import "./register.subclis-DudZcnvj.js";
|
|
13
|
+
import "./command-registry-Z1Aja7X6.js";
|
|
14
14
|
import "./program-context-FVBIEOzr.js";
|
|
15
15
|
export { registerCompletionCli };
|
|
@@ -1019,7 +1019,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
function registerConfigCli(program) {
|
|
1021
1021
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for guided setup.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.pllan.ai/cli/config")}\n`).option("--section <section>", "Configuration sections for guided setup (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
1022
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
1022
|
+
const { configureCommandFromSectionsArg } = await import("./configure-n2O9-Giq.js");
|
|
1023
1023
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
1024
1024
|
});
|
|
1025
1025
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -11,10 +11,10 @@ import { t as formatCliCommand } from "./command-format-DRknxXQe.js";
|
|
|
11
11
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./registry-DxuGr7PH.js";
|
|
12
12
|
import { ft as applyPrimaryModel } from "./provider-models-mjO0nCL6.js";
|
|
13
13
|
import { n as withProgress } from "./progress-CFrjU7HA.js";
|
|
14
|
-
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-
|
|
14
|
+
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-MQck4Vza.js";
|
|
15
15
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BoR-ThDA.js";
|
|
16
16
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CgFvSU31.js";
|
|
17
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, f as printWizardHeader, g as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, p as probeGatewayReachable, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
17
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, f as printWizardHeader, g as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, p as probeGatewayReachable, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-DwQ3myyz.js";
|
|
18
18
|
import { n as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-DF1iauwf.js";
|
|
19
19
|
import { n as isNonFatalSystemdInstallProbeError } from "./systemd-ZmL4lowD.js";
|
|
20
20
|
import { t as WizardCancelledError } from "./prompts-BcHNyWXi.js";
|
|
@@ -34,8 +34,8 @@ import { i as promptModelAllowlist, n as applyModelFallbacksFromSelection, r as
|
|
|
34
34
|
import { i as promptCustomApiConfig } from "./onboard-custom-BbptdqVx.js";
|
|
35
35
|
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-B56r1pk-.js";
|
|
36
36
|
import { t as formatHealthCheckFailure } from "./health-format-Fetcyff1.js";
|
|
37
|
-
import { t as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
38
|
-
import { t as setupSkills } from "./onboard-skills-
|
|
37
|
+
import { t as promptRemoteGatewayConfig } from "./onboard-remote-DvbeY59x.js";
|
|
38
|
+
import { t as setupSkills } from "./onboard-skills-CsWpNmJg.js";
|
|
39
39
|
import path from "node:path";
|
|
40
40
|
import fs from "node:fs/promises";
|
|
41
41
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
@@ -148,10 +148,10 @@ import "./cli-runtime-nG8azND-.js";
|
|
|
148
148
|
import "./daemon-install-plan.shared-CUg8dTte.js";
|
|
149
149
|
import "./runtime-paths-3hNux-wk.js";
|
|
150
150
|
import "./runtime-guard-CbyjeLa6.js";
|
|
151
|
-
import "./gateway-install-token-
|
|
151
|
+
import "./gateway-install-token-MQck4Vza.js";
|
|
152
152
|
import "./control-ui-shared-DEACC46h.js";
|
|
153
153
|
import "./prompt-style-CgFvSU31.js";
|
|
154
|
-
import "./onboard-helpers-
|
|
154
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
155
155
|
import "./runtime-parse-CbMZOR08.js";
|
|
156
156
|
import "./launchd-BwdQrMmV.js";
|
|
157
157
|
import "./service-DF1iauwf.js";
|
|
@@ -215,12 +215,12 @@ import "./auth-choice.apply-helpers-CD9cOV4U.js";
|
|
|
215
215
|
import "./provider-auth-choice-preference-9TP2pURT.js";
|
|
216
216
|
import "./auth-choice-Cio5Nr8v.js";
|
|
217
217
|
import "./onboard-channels-cRBXFIzd.js";
|
|
218
|
-
import { n as configureCommandFromSectionsArg } from "./configure-
|
|
218
|
+
import { n as configureCommandFromSectionsArg } from "./configure-lvHoaVdL.js";
|
|
219
219
|
import "./systemd-linger-oTeBMq7I.js";
|
|
220
220
|
import "./model-picker-Dx9s6ZZ9.js";
|
|
221
221
|
import "./onboard-custom-BbptdqVx.js";
|
|
222
222
|
import "./ipv4-B56r1pk-.js";
|
|
223
223
|
import "./health-format-Fetcyff1.js";
|
|
224
|
-
import "./onboard-remote-
|
|
225
|
-
import "./onboard-skills-
|
|
224
|
+
import "./onboard-remote-DvbeY59x.js";
|
|
225
|
+
import "./onboard-skills-CsWpNmJg.js";
|
|
226
226
|
export { configureCommandFromSectionsArg };
|
|
@@ -6,7 +6,7 @@ import { n as inheritOptionFromParent } from "./command-options-DYaIHwsu.js";
|
|
|
6
6
|
import { u as readBestEffortConfig } from "./io-C9JzDkYo.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DRknxXQe.js";
|
|
8
8
|
import { r as isRestartEnabled } from "./commands-DpzBs2r2.js";
|
|
9
|
-
import { n as buildGatewayInstallPlan, t as resolveGatewayInstallToken } from "./gateway-install-token-
|
|
9
|
+
import { n as buildGatewayInstallPlan, t as resolveGatewayInstallToken } from "./gateway-install-token-MQck4Vza.js";
|
|
10
10
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BoR-ThDA.js";
|
|
11
11
|
import { a as formatGatewayPidList, i as findVerifiedGatewayListenerPidsOnPortSync, n as resolveGatewayService, o as signalVerifiedGatewayPidSync } from "./service-DF1iauwf.js";
|
|
12
12
|
import { n as isNonFatalSystemdInstallProbeError } from "./systemd-ZmL4lowD.js";
|
|
@@ -14,7 +14,7 @@ import { c as renderGatewayServiceStartHints, f as buildDaemonServiceSnapshot, h
|
|
|
14
14
|
import { t as parsePort } from "./parse-port-D2lZbRB3.js";
|
|
15
15
|
import { t as probeGateway } from "./probe-BCxcT791.js";
|
|
16
16
|
import { i as runServiceUninstall, n as runServiceStart, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-SKDB6zUj.js";
|
|
17
|
-
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, n as DEFAULT_RESTART_HEALTH_ATTEMPTS, o as waitForGatewayHealthyListener, r as renderGatewayPortHealthDiagnostics, s as waitForGatewayHealthyRestart, t as runDaemonStatus } from "./status-
|
|
17
|
+
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, n as DEFAULT_RESTART_HEALTH_ATTEMPTS, o as waitForGatewayHealthyListener, r as renderGatewayPortHealthDiagnostics, s as waitForGatewayHealthyRestart, t as runDaemonStatus } from "./status-Dl0nPxli.js";
|
|
18
18
|
//#region src/cli/daemon-cli/install.ts
|
|
19
19
|
async function runDaemonInstall(opts) {
|
|
20
20
|
const { json, stdout, warnings, emit, fail } = createDaemonInstallActionContext(opts.json);
|
|
@@ -146,11 +146,11 @@ import "./cli-runtime-nG8azND-.js";
|
|
|
146
146
|
import "./daemon-install-plan.shared-CUg8dTte.js";
|
|
147
147
|
import "./runtime-paths-3hNux-wk.js";
|
|
148
148
|
import "./runtime-guard-CbyjeLa6.js";
|
|
149
|
-
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-
|
|
149
|
+
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-MQck4Vza.js";
|
|
150
150
|
import { r as isGatewayDaemonRuntime } from "./daemon-runtime-BoR-ThDA.js";
|
|
151
151
|
import "./control-ui-shared-DEACC46h.js";
|
|
152
152
|
import "./prompt-style-CgFvSU31.js";
|
|
153
|
-
import "./onboard-helpers-
|
|
153
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
154
154
|
import "./runtime-parse-CbMZOR08.js";
|
|
155
155
|
import "./launchd-BwdQrMmV.js";
|
|
156
156
|
import { n as resolveGatewayService } from "./service-DF1iauwf.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolvePllanPackageRoot } from "./pllan-root-BzqRV3id.js";
|
|
2
2
|
import { n as resolveCliName } from "./cli-name-B9B4vxVk.js";
|
|
3
3
|
import { t as note } from "./note-DGgHX98f.js";
|
|
4
|
-
import { c as usesSlowDynamicCompletion, i as isCompletionInstalled, o as resolveCompletionCachePath, r as installCompletion, s as resolveShellFromEnv, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { c as usesSlowDynamicCompletion, i as isCompletionInstalled, o as resolveCompletionCachePath, r as installCompletion, s as resolveShellFromEnv, t as completionCacheExists } from "./completion-cli-BaDGqU2X.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
//#region src/commands/doctor-completion.ts
|
package/dist/entry.js
CHANGED
|
@@ -167,7 +167,7 @@ function tryHandleRootHelpFastPath(argv, deps = {}) {
|
|
|
167
167
|
}
|
|
168
168
|
function runMainOrRootHelp(argv) {
|
|
169
169
|
if (tryHandleRootHelpFastPath(argv)) return;
|
|
170
|
-
import("./run-main-
|
|
170
|
+
import("./run-main-CFLj4KSQ.js").then(({ runCli }) => runCli(argv)).catch((error) => {
|
|
171
171
|
console.error("[pllan] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
172
172
|
process.exitCode = 1;
|
|
173
173
|
});
|
|
@@ -172,10 +172,10 @@ import "./cli-runtime-nG8azND-.js";
|
|
|
172
172
|
import "./daemon-install-plan.shared-CUg8dTte.js";
|
|
173
173
|
import "./runtime-paths-3hNux-wk.js";
|
|
174
174
|
import "./runtime-guard-CbyjeLa6.js";
|
|
175
|
-
import "./gateway-install-token-
|
|
175
|
+
import "./gateway-install-token-MQck4Vza.js";
|
|
176
176
|
import { i as resolveAssistantAvatarUrl, n as buildControlUiAvatarUrl, r as normalizeControlUiBasePath, t as CONTROL_UI_AVATAR_PREFIX } from "./control-ui-shared-DEACC46h.js";
|
|
177
177
|
import "./prompt-style-CgFvSU31.js";
|
|
178
|
-
import { c as handleReset } from "./onboard-helpers-
|
|
178
|
+
import { c as handleReset } from "./onboard-helpers-DwQ3myyz.js";
|
|
179
179
|
import "./runtime-parse-CbMZOR08.js";
|
|
180
180
|
import { p as scheduleDetachedLaunchdRestartHandoff } from "./launchd-BwdQrMmV.js";
|
|
181
181
|
import { c as parseProcCmdline, s as isGatewayArgv } from "./service-DF1iauwf.js";
|
|
@@ -183,11 +183,11 @@ import "./systemd-ZmL4lowD.js";
|
|
|
183
183
|
import "./shared-xN2astJI.js";
|
|
184
184
|
import "./systemd-hints-Cu5j8fzG.js";
|
|
185
185
|
import { t as parsePort } from "./parse-port-D2lZbRB3.js";
|
|
186
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
186
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-CSPB2cf3.js";
|
|
187
187
|
import { t as probeGateway } from "./probe-BCxcT791.js";
|
|
188
188
|
import { n as formatConfigIssueLines } from "./issue-format-DYtGj0Su.js";
|
|
189
189
|
import "./lifecycle-core-SKDB6zUj.js";
|
|
190
|
-
import "./status-
|
|
190
|
+
import "./status-Dl0nPxli.js";
|
|
191
191
|
import "./diagnostics-BWUdd_Cr.js";
|
|
192
192
|
import "./inspect-CULvOZAA.js";
|
|
193
193
|
import "./probe-auth-BVwpffWS.js";
|
|
@@ -216,13 +216,13 @@ import { _ as computePreviousRunAtMs, g as computeNextRunAtMs, h as coerceFinite
|
|
|
216
216
|
import { a as resolveNpmChannelTag, n as compareSemverStrings, p as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-DWG94oIl.js";
|
|
217
217
|
import { r as resolveConfiguredDeferredChannelPluginIds } from "./channel-plugin-ids-EX30z9WB.js";
|
|
218
218
|
import "./setup.secret-input-D6o8-piQ.js";
|
|
219
|
-
import { t as runSetupWizard } from "./setup-
|
|
219
|
+
import { t as runSetupWizard } from "./setup-COGr_tIo.js";
|
|
220
220
|
import { a as resolveApnsAuthConfigFromEnv, c as shouldClearStoredApnsRegistration, d as parseMessageWithAttachments, f as formatForLog, g as setGatewayWsLogStyle, h as summarizeAgentEventForWsLog, l as resolveApnsRelayConfigFromEnv, m as shouldLogWs, n as loadApnsRegistration, o as sendApnsAlert, p as logWs, r as normalizeApnsEnvironment, s as sendApnsBackgroundWake, t as clearApnsRegistrationIfCurrent, u as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-tqHJIh-Z.js";
|
|
221
221
|
import { _ as buildGogWatchStartArgs, g as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, w as resolveGmailHookRuntimeConfig } from "./gmail-setup-utils-Dt26v5XU.js";
|
|
222
222
|
import { i as loadAgentIdentity, o as pruneAgentConfig, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DLBjrKkf.js";
|
|
223
223
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-iklGLPY9.js";
|
|
224
224
|
import { t as buildChannelAccountSnapshot } from "./status-DVrgFh_b.js";
|
|
225
|
-
import "./status-
|
|
225
|
+
import "./status-CW44-4j7.js";
|
|
226
226
|
import "./node-service-rGz6YhpD.js";
|
|
227
227
|
import "./channels-status-issues-NiwHczu3.js";
|
|
228
228
|
import "./channels-BeMNJbnw.js";
|
|
@@ -10,7 +10,7 @@ import { ct as hasAmbiguousGatewayAuthModeConfig } from "./routes-CdmC5o3e.js";
|
|
|
10
10
|
import { l as resolveGatewayLaunchAgentLabel } from "./constants-DZs4ypvM.js";
|
|
11
11
|
import { i as resolveGatewayProgramArguments, n as resolveDaemonInstallRuntimeInputs, r as resolveDaemonNodeBinDir, t as emitDaemonInstallRuntimeWarning } from "./daemon-install-plan.shared-CUg8dTte.js";
|
|
12
12
|
import { l as buildServiceEnvironment } from "./runtime-paths-3hNux-wk.js";
|
|
13
|
-
import { m as randomToken } from "./onboard-helpers-
|
|
13
|
+
import { m as randomToken } from "./onboard-helpers-DwQ3myyz.js";
|
|
14
14
|
//#region src/commands/daemon-install-helpers.ts
|
|
15
15
|
function collectAuthProfileServiceEnvVars(params) {
|
|
16
16
|
const authStore = params.authStore ?? loadAuthProfileStoreForSecretsRuntime();
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ let saveSessionStore;
|
|
|
29
29
|
let toWhatsappJid;
|
|
30
30
|
let waitForever;
|
|
31
31
|
async function loadLegacyCliDeps() {
|
|
32
|
-
const [{ installGaxiosFetchCompat }, { runCli }] = await Promise.all([import("./gaxios-fetch-compat-CSkGfWfZ.js"), import("./run-main-
|
|
32
|
+
const [{ installGaxiosFetchCompat }, { runCli }] = await Promise.all([import("./gaxios-fetch-compat-CSkGfWfZ.js"), import("./run-main-CFLj4KSQ.js")]);
|
|
33
33
|
return {
|
|
34
34
|
installGaxiosFetchCompat,
|
|
35
35
|
runCli
|
|
@@ -19,7 +19,7 @@ import { r as isWSLEnv } from "./wsl-Bq25VpKD.js";
|
|
|
19
19
|
import { m as resolveUsageProviderId } from "./provider-usage.fetch-D-0Jl5GN.js";
|
|
20
20
|
import { r as withProgressTotals } from "./progress-CFrjU7HA.js";
|
|
21
21
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CgFvSU31.js";
|
|
22
|
-
import { d as openUrl } from "./onboard-helpers-
|
|
22
|
+
import { d as openUrl } from "./onboard-helpers-DwQ3myyz.js";
|
|
23
23
|
import { t as createClackPrompter } from "./clack-prompter-D0MuJLME.js";
|
|
24
24
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-D5HyAG8A.js";
|
|
25
25
|
import { n as redactSecrets } from "./format-BOFn_K3o.js";
|
|
@@ -145,7 +145,7 @@ import "./progress-CFrjU7HA.js";
|
|
|
145
145
|
import "./cli-runtime-nG8azND-.js";
|
|
146
146
|
import "./control-ui-shared-DEACC46h.js";
|
|
147
147
|
import "./prompt-style-CgFvSU31.js";
|
|
148
|
-
import "./onboard-helpers-
|
|
148
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
149
149
|
import "./issue-format-DYtGj0Su.js";
|
|
150
150
|
import "./note-DGgHX98f.js";
|
|
151
151
|
import "./clack-prompter-D0MuJLME.js";
|
|
@@ -153,7 +153,7 @@ import "./table-D5HyAG8A.js";
|
|
|
153
153
|
import "./shared-ToYGaDua.js";
|
|
154
154
|
import "./logging-CCAD006e.js";
|
|
155
155
|
import "./github-copilot-auth-DZXQWjSd.js";
|
|
156
|
-
import { a as modelsListCommand, i as modelsStatusCommand } from "./models-
|
|
156
|
+
import { a as modelsListCommand, i as modelsStatusCommand } from "./models-AXVEN5-L.js";
|
|
157
157
|
import "./provider-auth-choice-helpers-fsMhBX5C.js";
|
|
158
158
|
import "./provider-auth-guidance-B_NKjdQv.js";
|
|
159
159
|
export { modelsListCommand, modelsStatusCommand };
|
|
@@ -145,7 +145,7 @@ import "./progress-CFrjU7HA.js";
|
|
|
145
145
|
import "./cli-runtime-nG8azND-.js";
|
|
146
146
|
import "./control-ui-shared-DEACC46h.js";
|
|
147
147
|
import "./prompt-style-CgFvSU31.js";
|
|
148
|
-
import "./onboard-helpers-
|
|
148
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
149
149
|
import "./issue-format-DYtGj0Su.js";
|
|
150
150
|
import "./note-DGgHX98f.js";
|
|
151
151
|
import "./clack-prompter-D0MuJLME.js";
|
|
@@ -153,7 +153,7 @@ import "./table-D5HyAG8A.js";
|
|
|
153
153
|
import "./shared-ToYGaDua.js";
|
|
154
154
|
import "./logging-CCAD006e.js";
|
|
155
155
|
import "./github-copilot-auth-DZXQWjSd.js";
|
|
156
|
-
import { C as modelsAliasesRemoveCommand, S as modelsAliasesListCommand, _ as modelsAuthAddCommand, a as modelsListCommand, b as modelsAuthSetupTokenCommand, c as modelsImageFallbacksListCommand, d as modelsFallbacksClearCommand, f as modelsFallbacksListCommand, g as modelsAuthOrderSetCommand, h as modelsAuthOrderGetCommand, i as modelsStatusCommand, l as modelsImageFallbacksRemoveCommand, m as modelsAuthOrderClearCommand, n as modelsSetCommand, o as modelsImageFallbacksAddCommand, p as modelsFallbacksRemoveCommand, r as modelsScanCommand, s as modelsImageFallbacksClearCommand, t as modelsSetImageCommand, u as modelsFallbacksAddCommand, v as modelsAuthLoginCommand, x as modelsAliasesAddCommand, y as modelsAuthPasteTokenCommand } from "./models-
|
|
156
|
+
import { C as modelsAliasesRemoveCommand, S as modelsAliasesListCommand, _ as modelsAuthAddCommand, a as modelsListCommand, b as modelsAuthSetupTokenCommand, c as modelsImageFallbacksListCommand, d as modelsFallbacksClearCommand, f as modelsFallbacksListCommand, g as modelsAuthOrderSetCommand, h as modelsAuthOrderGetCommand, i as modelsStatusCommand, l as modelsImageFallbacksRemoveCommand, m as modelsAuthOrderClearCommand, n as modelsSetCommand, o as modelsImageFallbacksAddCommand, p as modelsFallbacksRemoveCommand, r as modelsScanCommand, s as modelsImageFallbacksClearCommand, t as modelsSetImageCommand, u as modelsFallbacksAddCommand, v as modelsAuthLoginCommand, x as modelsAliasesAddCommand, y as modelsAuthPasteTokenCommand } from "./models-AXVEN5-L.js";
|
|
157
157
|
import "./provider-auth-choice-helpers-fsMhBX5C.js";
|
|
158
158
|
import "./provider-auth-guidance-B_NKjdQv.js";
|
|
159
159
|
//#region src/cli/models-cli.ts
|
|
@@ -7,10 +7,10 @@ import { l as resolveDefaultSecretProviderAlias } from "./ref-contract-wFfgtace.
|
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DRknxXQe.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard-CbyjeLa6.js";
|
|
9
9
|
import "./daemon-runtime-BoR-ThDA.js";
|
|
10
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
10
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-DwQ3myyz.js";
|
|
11
11
|
import { t as WizardCancelledError } from "./prompts-BcHNyWXi.js";
|
|
12
12
|
import { t as createClackPrompter } from "./clack-prompter-D0MuJLME.js";
|
|
13
|
-
import { t as runSetupWizard } from "./setup-
|
|
13
|
+
import { t as runSetupWizard } from "./setup-COGr_tIo.js";
|
|
14
14
|
import { n as logConfigUpdated } from "./logging-CCAD006e.js";
|
|
15
15
|
import { i as resolveManifestProviderOnboardAuthFlags } from "./provider-auth-choices-BAtOUb06.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-BvJ-fQAw.js";
|
|
@@ -355,7 +355,7 @@ async function runNonInteractiveLocalSetup(params) {
|
|
|
355
355
|
const daemonRuntimeRaw = opts.daemonRuntime ?? "node";
|
|
356
356
|
let daemonInstallStatus;
|
|
357
357
|
if (opts.installDaemon) {
|
|
358
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
358
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-C-AWDYTp.js");
|
|
359
359
|
const daemonInstall = await installGatewayDaemonNonInteractive({
|
|
360
360
|
nextConfig,
|
|
361
361
|
opts,
|
|
@@ -145,5 +145,5 @@ import "./progress-CFrjU7HA.js";
|
|
|
145
145
|
import "./cli-runtime-nG8azND-.js";
|
|
146
146
|
import "./control-ui-shared-DEACC46h.js";
|
|
147
147
|
import "./prompt-style-CgFvSU31.js";
|
|
148
|
-
import { a as ensureWorkspaceAndSessions, c as handleReset, f as printWizardHeader, n as applyWizardMetadata, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, v as summarizeExistingConfig } from "./onboard-helpers-
|
|
148
|
+
import { a as ensureWorkspaceAndSessions, c as handleReset, f as printWizardHeader, n as applyWizardMetadata, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, v as summarizeExistingConfig } from "./onboard-helpers-DwQ3myyz.js";
|
|
149
149
|
export { DEFAULT_WORKSPACE, applyWizardMetadata, ensureWorkspaceAndSessions, handleReset, printWizardHeader, probeGatewayReachable, summarizeExistingConfig };
|
|
@@ -59,12 +59,13 @@ function validateGatewayPasswordInput(value) {
|
|
|
59
59
|
}
|
|
60
60
|
function printWizardHeader(runtime) {
|
|
61
61
|
const header = [
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
62
|
+
"██████╗ ██╗ ██╗ █████╗ ███╗ ██╗",
|
|
63
|
+
"██╔══██╗██║ ██║ ██╔══██╗████╗ ██║",
|
|
64
|
+
"██████╔╝██║ ██║ ███████║██╔██╗ ██║",
|
|
65
|
+
"██╔═══╝ ██║ ██║ ██╔══██║██║╚██╗██║",
|
|
66
|
+
"██║ ███████╗███████╗██║ ██║██║ ╚████║",
|
|
67
|
+
"╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝",
|
|
68
|
+
" ✦ by NxAI ✦ ",
|
|
68
69
|
" "
|
|
69
70
|
].join("\n");
|
|
70
71
|
runtime.log(header);
|
|
@@ -145,9 +145,9 @@ import "./progress-CFrjU7HA.js";
|
|
|
145
145
|
import "./cli-runtime-nG8azND-.js";
|
|
146
146
|
import "./control-ui-shared-DEACC46h.js";
|
|
147
147
|
import "./prompt-style-CgFvSU31.js";
|
|
148
|
-
import "./onboard-helpers-
|
|
148
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
149
149
|
import "./widearea-dns-_VKFU-gs.js";
|
|
150
150
|
import "./bonjour-discovery-NEq5Ozit.js";
|
|
151
151
|
import "./auth-choice.apply-helpers-CD9cOV4U.js";
|
|
152
|
-
import { t as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
152
|
+
import { t as promptRemoteGatewayConfig } from "./onboard-remote-DvbeY59x.js";
|
|
153
153
|
export { promptRemoteGatewayConfig };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Hm as resolveSecretInputModeForEnvSelection, Vm as promptSecretRefForSetup } from "./auth-profiles-dxdCvDYF.js";
|
|
2
2
|
import { a as isSecureWebSocketUrl } from "./net-CMnOKkRL.js";
|
|
3
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
3
|
+
import { r as detectBinary } from "./onboard-helpers-DwQ3myyz.js";
|
|
4
4
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-_VKFU-gs.js";
|
|
5
5
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-NEq5Ozit.js";
|
|
6
6
|
//#region src/commands/onboard-remote.ts
|
|
@@ -145,9 +145,9 @@ import "./progress-CFrjU7HA.js";
|
|
|
145
145
|
import "./cli-runtime-nG8azND-.js";
|
|
146
146
|
import "./control-ui-shared-DEACC46h.js";
|
|
147
147
|
import "./prompt-style-CgFvSU31.js";
|
|
148
|
-
import "./onboard-helpers-
|
|
148
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
149
149
|
import "./skills-status-CVs97Glu.js";
|
|
150
150
|
import "./skill-scanner-DLv8ow2j.js";
|
|
151
151
|
import "./skills-install-DYFFbfeF.js";
|
|
152
|
-
import { t as setupSkills } from "./onboard-skills-
|
|
152
|
+
import { t as setupSkills } from "./onboard-skills-CsWpNmJg.js";
|
|
153
153
|
export { setupSkills };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { H as normalizeSecretInput } from "./web-search-provider-common-DqQPUo5l.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-DRknxXQe.js";
|
|
3
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
3
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-DwQ3myyz.js";
|
|
4
4
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-CVs97Glu.js";
|
|
5
5
|
import { t as installSkill } from "./skills-install-DYFFbfeF.js";
|
|
6
6
|
//#region src/commands/onboard-skills.ts
|
|
@@ -13,8 +13,8 @@ import "./registry-D5QYPdHz.js";
|
|
|
13
13
|
import { n as resolveCliName } from "./cli-name-B9B4vxVk.js";
|
|
14
14
|
import "./ports-lsof--GPZ_QnB.js";
|
|
15
15
|
import { n as resolveCliChannelOptions } from "./channel-options-DfXEoL1t.js";
|
|
16
|
-
import "./register.subclis-
|
|
17
|
-
import { i as registerProgramCommands } from "./command-registry-
|
|
16
|
+
import "./register.subclis-DudZcnvj.js";
|
|
17
|
+
import { i as registerProgramCommands } from "./command-registry-Z1Aja7X6.js";
|
|
18
18
|
import { n as setProgramContext } from "./program-context-FVBIEOzr.js";
|
|
19
19
|
import "./ports-BzUWToTY.js";
|
|
20
20
|
import { t as emitCliBanner } from "./banner-BmcUOaya.js";
|
|
@@ -46,10 +46,10 @@ import { f as resolveGatewaySystemdServiceName, h as resolveNodeLaunchAgentLabel
|
|
|
46
46
|
import { r as resolveMemoryBackendConfig } from "./search-manager-CGfVXynJ.js";
|
|
47
47
|
import { t as resolveMemorySearchConfig } from "./memory-search-D20dGUsP.js";
|
|
48
48
|
import { a as resolveSystemNodeInfo, r as renderSystemNodeWarning } from "./runtime-paths-3hNux-wk.js";
|
|
49
|
-
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-
|
|
49
|
+
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-MQck4Vza.js";
|
|
50
50
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BoR-ThDA.js";
|
|
51
51
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CgFvSU31.js";
|
|
52
|
-
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-
|
|
52
|
+
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-DwQ3myyz.js";
|
|
53
53
|
import { i as launchAgentPlistExists, n as isLaunchAgentListed, r as isLaunchAgentLoaded, s as repairLaunchAgentBootstrap } from "./launchd-BwdQrMmV.js";
|
|
54
54
|
import { n as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-DF1iauwf.js";
|
|
55
55
|
import { i as isSystemdUserServiceAvailable, u as uninstallLegacySystemdUnits } from "./systemd-ZmL4lowD.js";
|
|
@@ -67,7 +67,7 @@ import { n as logConfigUpdated } from "./logging-CCAD006e.js";
|
|
|
67
67
|
import { n as resolveProviderAuthLoginCommand, t as buildProviderAuthRecoveryHint } from "./provider-auth-guidance-B_NKjdQv.js";
|
|
68
68
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-oTeBMq7I.js";
|
|
69
69
|
import { t as formatHealthCheckFailure } from "./health-format-Fetcyff1.js";
|
|
70
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
70
|
+
import { n as doctorShellCompletion } from "./doctor-completion-D6EC827q.js";
|
|
71
71
|
import { a as isMattermostMutableAllowEntry, i as isMSTeamsMutableAllowEntry, n as isGoogleChatMutableAllowEntry, o as isSlackMutableAllowEntry, r as isIrcMutableAllowEntry, s as isZalouserMutableGroupEntry, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-cOKaRJB3.js";
|
|
72
72
|
import { a as stripUnknownConfigKeys, i as resolveConfigPathTarget, n as formatConfigPath, r as noteOpencodeProviderOverrides, t as runDoctorConfigPreflight } from "./doctor-config-preflight-DDSQ_hvl.js";
|
|
73
73
|
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-BEfAyRPu.js";
|
|
@@ -151,7 +151,7 @@ import { n as withProgress } from "./progress-CFrjU7HA.js";
|
|
|
151
151
|
import "./cli-runtime-nG8azND-.js";
|
|
152
152
|
import "./control-ui-shared-DEACC46h.js";
|
|
153
153
|
import "./prompt-style-CgFvSU31.js";
|
|
154
|
-
import "./onboard-helpers-
|
|
154
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
155
155
|
import "./issue-format-DYtGj0Su.js";
|
|
156
156
|
import "./setup-browser-VfdAWQzO.js";
|
|
157
157
|
import "./setup-tools-BQpk9XcD.js";
|
|
@@ -197,7 +197,7 @@ import "./logging-CCAD006e.js";
|
|
|
197
197
|
import "./provider-auth-choice-helpers-fsMhBX5C.js";
|
|
198
198
|
import "./provider-auth-guidance-B_NKjdQv.js";
|
|
199
199
|
import "./config-validation-t3p6BOqE.js";
|
|
200
|
-
import { a as agentsBindCommand, i as agentsAddCommand, n as agentsSetIdentityCommand, o as agentsBindingsCommand, r as agentsDeleteCommand, s as agentsUnbindCommand, t as agentsListCommand } from "./agents-
|
|
200
|
+
import { a as agentsBindCommand, i as agentsAddCommand, n as agentsSetIdentityCommand, o as agentsBindingsCommand, r as agentsDeleteCommand, s as agentsUnbindCommand, t as agentsListCommand } from "./agents-DsKEAQch.js";
|
|
201
201
|
import "./provider-auth-choices-BAtOUb06.js";
|
|
202
202
|
import "./provider-wizard-CgoGGb5m.js";
|
|
203
203
|
import "./auth-choice-options-DxIuta1V.js";
|
|
@@ -148,10 +148,10 @@ import "./cli-runtime-nG8azND-.js";
|
|
|
148
148
|
import "./daemon-install-plan.shared-CUg8dTte.js";
|
|
149
149
|
import "./runtime-paths-3hNux-wk.js";
|
|
150
150
|
import "./runtime-guard-CbyjeLa6.js";
|
|
151
|
-
import "./gateway-install-token-
|
|
151
|
+
import "./gateway-install-token-MQck4Vza.js";
|
|
152
152
|
import "./control-ui-shared-DEACC46h.js";
|
|
153
153
|
import "./prompt-style-CgFvSU31.js";
|
|
154
|
-
import "./onboard-helpers-
|
|
154
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
155
155
|
import "./runtime-parse-CbMZOR08.js";
|
|
156
156
|
import "./launchd-BwdQrMmV.js";
|
|
157
157
|
import "./service-DF1iauwf.js";
|
|
@@ -215,14 +215,14 @@ import "./auth-choice.apply-helpers-CD9cOV4U.js";
|
|
|
215
215
|
import "./provider-auth-choice-preference-9TP2pURT.js";
|
|
216
216
|
import "./auth-choice-Cio5Nr8v.js";
|
|
217
217
|
import "./onboard-channels-cRBXFIzd.js";
|
|
218
|
-
import { n as configureCommandFromSectionsArg, o as CONFIGURE_WIZARD_SECTIONS } from "./configure-
|
|
218
|
+
import { n as configureCommandFromSectionsArg, o as CONFIGURE_WIZARD_SECTIONS } from "./configure-lvHoaVdL.js";
|
|
219
219
|
import "./systemd-linger-oTeBMq7I.js";
|
|
220
220
|
import "./model-picker-Dx9s6ZZ9.js";
|
|
221
221
|
import "./onboard-custom-BbptdqVx.js";
|
|
222
222
|
import "./ipv4-B56r1pk-.js";
|
|
223
223
|
import "./health-format-Fetcyff1.js";
|
|
224
|
-
import "./onboard-remote-
|
|
225
|
-
import "./onboard-skills-
|
|
224
|
+
import "./onboard-remote-DvbeY59x.js";
|
|
225
|
+
import "./onboard-skills-CsWpNmJg.js";
|
|
226
226
|
//#region src/cli/program/register.configure.ts
|
|
227
227
|
function registerConfigureCommand(program) {
|
|
228
228
|
program.command("configure").description("Interactive configuration for credentials, channels, gateway, and agent defaults").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/configure", "docs.pllan.ai/cli/configure")}\n`).option("--section <section>", `Configuration sections (repeatable). Options: ${CONFIGURE_WIZARD_SECTIONS.join(", ")}`, (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
@@ -147,10 +147,10 @@ import "./cli-runtime-nG8azND-.js";
|
|
|
147
147
|
import "./daemon-install-plan.shared-CUg8dTte.js";
|
|
148
148
|
import "./runtime-paths-3hNux-wk.js";
|
|
149
149
|
import "./runtime-guard-CbyjeLa6.js";
|
|
150
|
-
import "./gateway-install-token-
|
|
150
|
+
import "./gateway-install-token-MQck4Vza.js";
|
|
151
151
|
import "./control-ui-shared-DEACC46h.js";
|
|
152
152
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CgFvSU31.js";
|
|
153
|
-
import { d as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint } from "./onboard-helpers-
|
|
153
|
+
import { d as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint } from "./onboard-helpers-DwQ3myyz.js";
|
|
154
154
|
import "./runtime-parse-CbMZOR08.js";
|
|
155
155
|
import "./launchd-BwdQrMmV.js";
|
|
156
156
|
import { n as resolveGatewayService } from "./service-DF1iauwf.js";
|
|
@@ -161,9 +161,9 @@ import "./diagnostics-BWUdd_Cr.js";
|
|
|
161
161
|
import "./inspect-CULvOZAA.js";
|
|
162
162
|
import "./skills-status-CVs97Glu.js";
|
|
163
163
|
import "./note-DGgHX98f.js";
|
|
164
|
-
import "./completion-cli-
|
|
165
|
-
import "./register.subclis-
|
|
166
|
-
import "./command-registry-
|
|
164
|
+
import "./completion-cli-BaDGqU2X.js";
|
|
165
|
+
import "./register.subclis-DudZcnvj.js";
|
|
166
|
+
import "./command-registry-Z1Aja7X6.js";
|
|
167
167
|
import "./program-context-FVBIEOzr.js";
|
|
168
168
|
import "./heartbeat-summary-HZcxwHEG.js";
|
|
169
169
|
import "./health-CTvMdFD0.js";
|
|
@@ -175,8 +175,8 @@ import "./logging-CCAD006e.js";
|
|
|
175
175
|
import "./provider-auth-guidance-B_NKjdQv.js";
|
|
176
176
|
import "./systemd-linger-oTeBMq7I.js";
|
|
177
177
|
import "./health-format-Fetcyff1.js";
|
|
178
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
179
|
-
import "./doctor-completion-
|
|
178
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DbY6h1hP.js";
|
|
179
|
+
import "./doctor-completion-D6EC827q.js";
|
|
180
180
|
import "./doctor-config-preflight-DDSQ_hvl.js";
|
|
181
181
|
import "./channel-account-context-BEfAyRPu.js";
|
|
182
182
|
import "./doctor-state-migrations-Bu3ll1xU.js";
|
|
@@ -146,16 +146,16 @@ import "./cli-runtime-nG8azND-.js";
|
|
|
146
146
|
import "./runtime-guard-CbyjeLa6.js";
|
|
147
147
|
import "./control-ui-shared-DEACC46h.js";
|
|
148
148
|
import "./prompt-style-CgFvSU31.js";
|
|
149
|
-
import "./onboard-helpers-
|
|
149
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
150
150
|
import "./note-DGgHX98f.js";
|
|
151
151
|
import "./clack-prompter-D0MuJLME.js";
|
|
152
152
|
import "./setup.secret-input-D6o8-piQ.js";
|
|
153
|
-
import "./setup-
|
|
153
|
+
import "./setup-COGr_tIo.js";
|
|
154
154
|
import "./logging-CCAD006e.js";
|
|
155
155
|
import { i as resolveManifestProviderOnboardAuthFlags } from "./provider-auth-choices-BAtOUb06.js";
|
|
156
156
|
import "./provider-wizard-CgoGGb5m.js";
|
|
157
157
|
import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-DxIuta1V.js";
|
|
158
|
-
import { n as CORE_ONBOARD_AUTH_FLAGS, t as setupWizardCommand } from "./onboard-
|
|
158
|
+
import { n as CORE_ONBOARD_AUTH_FLAGS, t as setupWizardCommand } from "./onboard-DE-J-TAz.js";
|
|
159
159
|
//#region src/cli/program/register.onboard.ts
|
|
160
160
|
function resolveInstallDaemonFlag(command, opts) {
|
|
161
161
|
if (!command || typeof command !== "object") return;
|
|
@@ -147,14 +147,14 @@ import "./cli-runtime-nG8azND-.js";
|
|
|
147
147
|
import "./runtime-guard-CbyjeLa6.js";
|
|
148
148
|
import "./control-ui-shared-DEACC46h.js";
|
|
149
149
|
import "./prompt-style-CgFvSU31.js";
|
|
150
|
-
import "./onboard-helpers-
|
|
150
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
151
151
|
import "./note-DGgHX98f.js";
|
|
152
152
|
import "./clack-prompter-D0MuJLME.js";
|
|
153
153
|
import "./setup.secret-input-D6o8-piQ.js";
|
|
154
|
-
import "./setup-
|
|
154
|
+
import "./setup-COGr_tIo.js";
|
|
155
155
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-CCAD006e.js";
|
|
156
156
|
import "./provider-auth-choices-BAtOUb06.js";
|
|
157
|
-
import { t as setupWizardCommand } from "./onboard-
|
|
157
|
+
import { t as setupWizardCommand } from "./onboard-DE-J-TAz.js";
|
|
158
158
|
import JSON5 from "json5";
|
|
159
159
|
import fs from "node:fs/promises";
|
|
160
160
|
//#region src/commands/setup.ts
|
|
@@ -145,7 +145,7 @@ import "./progress-CFrjU7HA.js";
|
|
|
145
145
|
import "./cli-runtime-nG8azND-.js";
|
|
146
146
|
import "./control-ui-shared-DEACC46h.js";
|
|
147
147
|
import "./prompt-style-CgFvSU31.js";
|
|
148
|
-
import "./onboard-helpers-
|
|
148
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
149
149
|
import "./runtime-parse-CbMZOR08.js";
|
|
150
150
|
import "./launchd-BwdQrMmV.js";
|
|
151
151
|
import "./service-DF1iauwf.js";
|
|
@@ -161,7 +161,7 @@ import "./status.summary-DvW-2PrA.js";
|
|
|
161
161
|
import "./heartbeat-summary-HZcxwHEG.js";
|
|
162
162
|
import { r as healthCommand } from "./health-CTvMdFD0.js";
|
|
163
163
|
import "./update-check-DWG94oIl.js";
|
|
164
|
-
import { t as statusCommand } from "./status-
|
|
164
|
+
import { t as statusCommand } from "./status-CW44-4j7.js";
|
|
165
165
|
import "./node-service-rGz6YhpD.js";
|
|
166
166
|
import "./channels-status-issues-NiwHczu3.js";
|
|
167
167
|
import "./channels-BeMNJbnw.js";
|
|
@@ -6,6 +6,6 @@ import "./subsystem-C22AJBBS.js";
|
|
|
6
6
|
import "./ansi-cwY8Vrne.js";
|
|
7
7
|
import "./boolean-B6zcAynR.js";
|
|
8
8
|
import "./env-aTvZ63fR.js";
|
|
9
|
-
import { n as loadValidatedConfigForPluginRegistration, r as registerSubCliByName } from "./register.subclis-
|
|
9
|
+
import { n as loadValidatedConfigForPluginRegistration, r as registerSubCliByName } from "./register.subclis-DudZcnvj.js";
|
|
10
10
|
import "./subcli-descriptors-DMeO6dhF.js";
|
|
11
11
|
export { loadValidatedConfigForPluginRegistration, registerSubCliByName };
|
|
@@ -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-DEMg2x3q.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-CzIuQ7Fu.js")).registerModelsCli(program);
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
{
|
|
@@ -264,7 +264,7 @@ const entries = [
|
|
|
264
264
|
description: "Update Pllan and inspect update channel status",
|
|
265
265
|
hasSubcommands: true,
|
|
266
266
|
register: async (program) => {
|
|
267
|
-
(await import("./update-cli-
|
|
267
|
+
(await import("./update-cli-dB-uw5lZ.js")).registerUpdateCli(program);
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
270
|
{
|
|
@@ -272,7 +272,7 @@ const entries = [
|
|
|
272
272
|
description: "Generate shell completion script",
|
|
273
273
|
hasSubcommands: false,
|
|
274
274
|
register: async (program) => {
|
|
275
|
-
(await import("./completion-cli-
|
|
275
|
+
(await import("./completion-cli-CQrlBvJp.js")).registerCompletionCli(program);
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
];
|
|
@@ -72,7 +72,7 @@ const routeStatus = {
|
|
|
72
72
|
}, defaultRuntime);
|
|
73
73
|
return true;
|
|
74
74
|
}
|
|
75
|
-
const { statusCommand } = await import("./status-
|
|
75
|
+
const { statusCommand } = await import("./status-D1BVl04P.js");
|
|
76
76
|
await statusCommand({
|
|
77
77
|
json,
|
|
78
78
|
deep,
|
|
@@ -106,7 +106,7 @@ const routeGatewayStatus = {
|
|
|
106
106
|
const json = hasFlag(argv, "--json");
|
|
107
107
|
const requireRpc = hasFlag(argv, "--require-rpc");
|
|
108
108
|
const probe = !hasFlag(argv, "--no-probe");
|
|
109
|
-
const { runDaemonStatus } = await import("./status-
|
|
109
|
+
const { runDaemonStatus } = await import("./status-Bz8ZO3eU.js");
|
|
110
110
|
await runDaemonStatus({
|
|
111
111
|
rpc: {
|
|
112
112
|
url: url ?? void 0,
|
|
@@ -149,7 +149,7 @@ const routeAgentsList = {
|
|
|
149
149
|
run: async (argv) => {
|
|
150
150
|
const json = hasFlag(argv, "--json");
|
|
151
151
|
const bindings = hasFlag(argv, "--bindings");
|
|
152
|
-
const { agentsListCommand } = await import("./agents-
|
|
152
|
+
const { agentsListCommand } = await import("./agents-CsCxCfnK.js");
|
|
153
153
|
await agentsListCommand({
|
|
154
154
|
json,
|
|
155
155
|
bindings
|
|
@@ -216,7 +216,7 @@ const routes = [
|
|
|
216
216
|
const pathArg = positionals[0];
|
|
217
217
|
if (!pathArg) return false;
|
|
218
218
|
const json = hasFlag(argv, "--json");
|
|
219
|
-
const { runConfigGet } = await import("./config-cli-
|
|
219
|
+
const { runConfigGet } = await import("./config-cli-aSsUr82E.js");
|
|
220
220
|
await runConfigGet({
|
|
221
221
|
path: pathArg,
|
|
222
222
|
json
|
|
@@ -231,7 +231,7 @@ const routes = [
|
|
|
231
231
|
if (!positionals || positionals.length !== 1) return false;
|
|
232
232
|
const pathArg = positionals[0];
|
|
233
233
|
if (!pathArg) return false;
|
|
234
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
234
|
+
const { runConfigUnset } = await import("./config-cli-aSsUr82E.js");
|
|
235
235
|
await runConfigUnset({ path: pathArg });
|
|
236
236
|
return true;
|
|
237
237
|
}
|
|
@@ -245,7 +245,7 @@ const routes = [
|
|
|
245
245
|
const local = hasFlag(argv, "--local");
|
|
246
246
|
const json = hasFlag(argv, "--json");
|
|
247
247
|
const plain = hasFlag(argv, "--plain");
|
|
248
|
-
const { modelsListCommand } = await import("./models-
|
|
248
|
+
const { modelsListCommand } = await import("./models-C_xWdTZQ.js");
|
|
249
249
|
await modelsListCommand({
|
|
250
250
|
all,
|
|
251
251
|
local,
|
|
@@ -276,7 +276,7 @@ const routes = [
|
|
|
276
276
|
const plain = hasFlag(argv, "--plain");
|
|
277
277
|
const check = hasFlag(argv, "--check");
|
|
278
278
|
const probe = hasFlag(argv, "--probe");
|
|
279
|
-
const { modelsStatusCommand } = await import("./models-
|
|
279
|
+
const { modelsStatusCommand } = await import("./models-C_xWdTZQ.js");
|
|
280
280
|
await modelsStatusCommand({
|
|
281
281
|
json,
|
|
282
282
|
plain,
|
|
@@ -380,7 +380,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
380
380
|
}
|
|
381
381
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
382
382
|
enableConsoleCapture();
|
|
383
|
-
const { buildProgram } = await import("./program-
|
|
383
|
+
const { buildProgram } = await import("./program-BpXm3xKz.js");
|
|
384
384
|
const program = buildProgram();
|
|
385
385
|
const { installUnhandledRejectionHandler } = await import("./unhandled-rejections-DIpztrf7.js");
|
|
386
386
|
installUnhandledRejectionHandler();
|
|
@@ -394,10 +394,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
394
394
|
const { getProgramContext } = await import("./program-context-CJUJhiTi.js");
|
|
395
395
|
const ctx = getProgramContext(program);
|
|
396
396
|
if (ctx) {
|
|
397
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
397
|
+
const { registerCoreCliByName } = await import("./command-registry-Ndv4rFv1.js");
|
|
398
398
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
399
399
|
}
|
|
400
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
400
|
+
const { registerSubCliByName } = await import("./register.subclis-DHNGRf8Z.js");
|
|
401
401
|
await registerSubCliByName(program, primary);
|
|
402
402
|
}
|
|
403
403
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -406,7 +406,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
406
406
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
407
407
|
})) {
|
|
408
408
|
const { registerPluginCliCommands } = await import("./cli-XcMZ5xFW.js");
|
|
409
|
-
const { loadValidatedConfigForPluginRegistration } = await import("./register.subclis-
|
|
409
|
+
const { loadValidatedConfigForPluginRegistration } = await import("./register.subclis-DHNGRf8Z.js");
|
|
410
410
|
const config = await loadValidatedConfigForPluginRegistration();
|
|
411
411
|
if (config) registerPluginCliCommands(program, config);
|
|
412
412
|
}
|
|
@@ -44,7 +44,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
44
44
|
})) throw new WizardCancelledError("risk not accepted");
|
|
45
45
|
}
|
|
46
46
|
async function runSetupWizard(opts, runtime = defaultRuntime, prompter) {
|
|
47
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
47
|
+
const onboardHelpers = await import("./onboard-helpers-CLmCjfbK.js");
|
|
48
48
|
onboardHelpers.printWizardHeader(runtime);
|
|
49
49
|
await prompter.intro("Pllan setup");
|
|
50
50
|
await requireRiskAcknowledgement({
|
|
@@ -257,7 +257,7 @@ async function runSetupWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
257
257
|
}]
|
|
258
258
|
}));
|
|
259
259
|
if (mode === "remote") {
|
|
260
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
260
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-DPIEA-Ts.js");
|
|
261
261
|
const { logConfigUpdated } = await import("./logging-BtYc_FsD.js");
|
|
262
262
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter, { secretInputMode: opts.secretInputMode });
|
|
263
263
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -329,7 +329,7 @@ async function runSetupWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
329
329
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
330
330
|
}
|
|
331
331
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
332
|
-
const { configureGatewayForSetup } = await import("./setup.gateway-config-
|
|
332
|
+
const { configureGatewayForSetup } = await import("./setup.gateway-config-DkAt4wX9.js");
|
|
333
333
|
const gateway = await configureGatewayForSetup({
|
|
334
334
|
flow,
|
|
335
335
|
baseConfig,
|
|
@@ -370,7 +370,7 @@ async function runSetupWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
370
370
|
}
|
|
371
371
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
372
372
|
else {
|
|
373
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
373
|
+
const { setupSkills } = await import("./onboard-skills-CnQmgb4M.js");
|
|
374
374
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
375
375
|
}
|
|
376
376
|
const { setupInternalHooks } = await import("./onboard-hooks-Ct8UtJGu.js");
|
|
@@ -380,7 +380,7 @@ async function runSetupWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
380
380
|
mode
|
|
381
381
|
});
|
|
382
382
|
await writeConfigFile(nextConfig);
|
|
383
|
-
const { finalizeSetupWizard } = await import("./setup.finalize-
|
|
383
|
+
const { finalizeSetupWizard } = await import("./setup.finalize-Dl9NRUKp.js");
|
|
384
384
|
const { launchedTui } = await finalizeSetupWizard({
|
|
385
385
|
flow,
|
|
386
386
|
opts,
|
|
@@ -148,26 +148,26 @@ import "./cli-runtime-nG8azND-.js";
|
|
|
148
148
|
import "./daemon-install-plan.shared-CUg8dTte.js";
|
|
149
149
|
import "./runtime-paths-3hNux-wk.js";
|
|
150
150
|
import "./runtime-guard-CbyjeLa6.js";
|
|
151
|
-
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-
|
|
151
|
+
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-MQck4Vza.js";
|
|
152
152
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BoR-ThDA.js";
|
|
153
153
|
import "./control-ui-shared-DEACC46h.js";
|
|
154
154
|
import "./prompt-style-CgFvSU31.js";
|
|
155
|
-
import { b as waitForGatewayReachable, d as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint, p as probeGatewayReachable } from "./onboard-helpers-
|
|
155
|
+
import { b as waitForGatewayReachable, d as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint, p as probeGatewayReachable } from "./onboard-helpers-DwQ3myyz.js";
|
|
156
156
|
import "./runtime-parse-CbMZOR08.js";
|
|
157
157
|
import "./launchd-BwdQrMmV.js";
|
|
158
158
|
import { n as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-DF1iauwf.js";
|
|
159
159
|
import { i as isSystemdUserServiceAvailable } from "./systemd-ZmL4lowD.js";
|
|
160
160
|
import "./note-DGgHX98f.js";
|
|
161
|
-
import { r as installCompletion } from "./completion-cli-
|
|
162
|
-
import "./register.subclis-
|
|
163
|
-
import "./command-registry-
|
|
161
|
+
import { r as installCompletion } from "./completion-cli-BaDGqU2X.js";
|
|
162
|
+
import "./register.subclis-DudZcnvj.js";
|
|
163
|
+
import "./command-registry-Z1Aja7X6.js";
|
|
164
164
|
import "./program-context-FVBIEOzr.js";
|
|
165
165
|
import "./heartbeat-summary-HZcxwHEG.js";
|
|
166
166
|
import { r as healthCommand } from "./health-CTvMdFD0.js";
|
|
167
167
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Dp0Hg8fu.js";
|
|
168
168
|
import { t as resolveSetupSecretInputString } from "./setup.secret-input-D6o8-piQ.js";
|
|
169
169
|
import { t as formatHealthCheckFailure } from "./health-format-Fetcyff1.js";
|
|
170
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
170
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D6EC827q.js";
|
|
171
171
|
import { t as runTui } from "./tui-DipRNuRL.js";
|
|
172
172
|
import path from "node:path";
|
|
173
173
|
import os from "node:os";
|
|
@@ -146,7 +146,7 @@ import "./progress-CFrjU7HA.js";
|
|
|
146
146
|
import "./cli-runtime-nG8azND-.js";
|
|
147
147
|
import "./control-ui-shared-DEACC46h.js";
|
|
148
148
|
import "./prompt-style-CgFvSU31.js";
|
|
149
|
-
import { m as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
149
|
+
import { m as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-DwQ3myyz.js";
|
|
150
150
|
import { t as resolveSetupSecretInputString } from "./setup.secret-input-D6o8-piQ.js";
|
|
151
151
|
import { t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-iklGLPY9.js";
|
|
152
152
|
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-B56r1pk-.js";
|
|
@@ -147,7 +147,7 @@ import "./runtime-paths-3hNux-wk.js";
|
|
|
147
147
|
import "./runtime-guard-CbyjeLa6.js";
|
|
148
148
|
import "./control-ui-shared-DEACC46h.js";
|
|
149
149
|
import "./prompt-style-CgFvSU31.js";
|
|
150
|
-
import "./onboard-helpers-
|
|
150
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
151
151
|
import "./runtime-parse-CbMZOR08.js";
|
|
152
152
|
import "./launchd-BwdQrMmV.js";
|
|
153
153
|
import "./service-DF1iauwf.js";
|
|
@@ -156,7 +156,7 @@ import "./shared-xN2astJI.js";
|
|
|
156
156
|
import "./systemd-hints-Cu5j8fzG.js";
|
|
157
157
|
import "./probe-BCxcT791.js";
|
|
158
158
|
import "./issue-format-DYtGj0Su.js";
|
|
159
|
-
import { t as runDaemonStatus } from "./status-
|
|
159
|
+
import { t as runDaemonStatus } from "./status-Dl0nPxli.js";
|
|
160
160
|
import "./diagnostics-BWUdd_Cr.js";
|
|
161
161
|
import "./inspect-CULvOZAA.js";
|
|
162
162
|
import "./probe-auth-BVwpffWS.js";
|
|
@@ -20,7 +20,7 @@ import { n as formatTimeAgo } from "./format-relative-C4LcG4FI.js";
|
|
|
20
20
|
import { t as resolveMemorySearchConfig } from "./memory-search-D20dGUsP.js";
|
|
21
21
|
import { n as withProgress } from "./progress-CFrjU7HA.js";
|
|
22
22
|
import { r as normalizeControlUiBasePath } from "./control-ui-shared-DEACC46h.js";
|
|
23
|
-
import { g as resolveControlUiLinks } from "./onboard-helpers-
|
|
23
|
+
import { g as resolveControlUiLinks } from "./onboard-helpers-DwQ3myyz.js";
|
|
24
24
|
import { c as resolveGatewayLogPaths } from "./launchd-BwdQrMmV.js";
|
|
25
25
|
import { n as resolveGatewayService } from "./service-DF1iauwf.js";
|
|
26
26
|
import { t as probeGateway } from "./probe-BCxcT791.js";
|
|
@@ -145,7 +145,7 @@ import "./progress-CFrjU7HA.js";
|
|
|
145
145
|
import "./cli-runtime-nG8azND-.js";
|
|
146
146
|
import "./control-ui-shared-DEACC46h.js";
|
|
147
147
|
import "./prompt-style-CgFvSU31.js";
|
|
148
|
-
import "./onboard-helpers-
|
|
148
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
149
149
|
import "./runtime-parse-CbMZOR08.js";
|
|
150
150
|
import "./launchd-BwdQrMmV.js";
|
|
151
151
|
import "./service-DF1iauwf.js";
|
|
@@ -160,7 +160,7 @@ import "./status.summary-DvW-2PrA.js";
|
|
|
160
160
|
import "./heartbeat-summary-HZcxwHEG.js";
|
|
161
161
|
import "./health-CTvMdFD0.js";
|
|
162
162
|
import "./update-check-DWG94oIl.js";
|
|
163
|
-
import { t as statusCommand } from "./status-
|
|
163
|
+
import { t as statusCommand } from "./status-CW44-4j7.js";
|
|
164
164
|
import "./node-service-rGz6YhpD.js";
|
|
165
165
|
import "./channels-status-issues-NiwHczu3.js";
|
|
166
166
|
import "./channels-BeMNJbnw.js";
|
|
@@ -16,7 +16,7 @@ import { o as killProcessTree } from "./cmd-argv-CFdKciTn.js";
|
|
|
16
16
|
import { r as isWSLEnv } from "./wsl-Bq25VpKD.js";
|
|
17
17
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-DZs4ypvM.js";
|
|
18
18
|
import { n as withProgress } from "./progress-CFrjU7HA.js";
|
|
19
|
-
import { g as resolveControlUiLinks } from "./onboard-helpers-
|
|
19
|
+
import { g as resolveControlUiLinks } from "./onboard-helpers-DwQ3myyz.js";
|
|
20
20
|
import { c as resolveGatewayLogPaths } from "./launchd-BwdQrMmV.js";
|
|
21
21
|
import { n as resolveGatewayService } from "./service-DF1iauwf.js";
|
|
22
22
|
import { a as normalizeListenerAddress, d as safeDaemonEnv, i as filterDaemonEnv, l as renderRuntimeHints, o as parsePortFromArgs, s as pickProbeHostForBind, t as createCliStatusTextStyles, u as resolveRuntimeStatusColor } from "./shared-xN2astJI.js";
|
|
@@ -153,21 +153,21 @@ import "./cli-runtime-nG8azND-.js";
|
|
|
153
153
|
import "./daemon-install-plan.shared-CUg8dTte.js";
|
|
154
154
|
import "./runtime-paths-3hNux-wk.js";
|
|
155
155
|
import { r as parseSemver } from "./runtime-guard-CbyjeLa6.js";
|
|
156
|
-
import "./gateway-install-token-
|
|
156
|
+
import "./gateway-install-token-MQck4Vza.js";
|
|
157
157
|
import "./control-ui-shared-DEACC46h.js";
|
|
158
158
|
import { n as stylePromptMessage } from "./prompt-style-CgFvSU31.js";
|
|
159
|
-
import "./onboard-helpers-
|
|
159
|
+
import "./onboard-helpers-DwQ3myyz.js";
|
|
160
160
|
import "./runtime-parse-CbMZOR08.js";
|
|
161
161
|
import "./launchd-BwdQrMmV.js";
|
|
162
162
|
import { n as resolveGatewayService } from "./service-DF1iauwf.js";
|
|
163
163
|
import "./systemd-ZmL4lowD.js";
|
|
164
164
|
import "./shared-xN2astJI.js";
|
|
165
165
|
import "./systemd-hints-Cu5j8fzG.js";
|
|
166
|
-
import { r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
166
|
+
import { r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-CSPB2cf3.js";
|
|
167
167
|
import "./probe-BCxcT791.js";
|
|
168
168
|
import { n as formatConfigIssueLines } from "./issue-format-DYtGj0Su.js";
|
|
169
169
|
import "./lifecycle-core-SKDB6zUj.js";
|
|
170
|
-
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, s as waitForGatewayHealthyRestart } from "./status-
|
|
170
|
+
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, s as waitForGatewayHealthyRestart } from "./status-Dl0nPxli.js";
|
|
171
171
|
import "./diagnostics-BWUdd_Cr.js";
|
|
172
172
|
import "./inspect-CULvOZAA.js";
|
|
173
173
|
import "./probe-auth-BVwpffWS.js";
|
|
@@ -176,9 +176,9 @@ import "./note-DGgHX98f.js";
|
|
|
176
176
|
import "./npm-pack-install-DnN4RrIs.js";
|
|
177
177
|
import "./skill-scanner-DLv8ow2j.js";
|
|
178
178
|
import "./installs-CB9VKpIk.js";
|
|
179
|
-
import { r as installCompletion } from "./completion-cli-
|
|
180
|
-
import "./register.subclis-
|
|
181
|
-
import "./command-registry-
|
|
179
|
+
import { r as installCompletion } from "./completion-cli-BaDGqU2X.js";
|
|
180
|
+
import "./register.subclis-DudZcnvj.js";
|
|
181
|
+
import "./command-registry-Z1Aja7X6.js";
|
|
182
182
|
import "./program-context-FVBIEOzr.js";
|
|
183
183
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-D5HyAG8A.js";
|
|
184
184
|
import "./heartbeat-summary-HZcxwHEG.js";
|
|
@@ -193,8 +193,8 @@ import "./provider-auth-guidance-B_NKjdQv.js";
|
|
|
193
193
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-QELnfVgb.js";
|
|
194
194
|
import "./systemd-linger-oTeBMq7I.js";
|
|
195
195
|
import "./health-format-Fetcyff1.js";
|
|
196
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
197
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
196
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DbY6h1hP.js";
|
|
197
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D6EC827q.js";
|
|
198
198
|
import "./doctor-config-preflight-DDSQ_hvl.js";
|
|
199
199
|
import "./channel-account-context-BEfAyRPu.js";
|
|
200
200
|
import "./doctor-state-migrations-Bu3ll1xU.js";
|