winclaw 2026.4.5 → 2026.4.6
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/build-info.json +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{command-registry-4EMu8e9g.js → command-registry-DQ0IumyH.js} +4 -4
- package/dist/{completion-cli-X_n8CDZJ.js → completion-cli-3d_RmBoV.js} +2 -2
- package/dist/{completion-cli-YxgEnHDL.js → completion-cli-B1XHee2f.js} +1 -1
- package/dist/{doctor-completion-CrKO80Pz.js → doctor-completion-BnBJETZQ.js} +1 -1
- package/dist/{doctor-completion-oHRX8DhS.js → doctor-completion-SckwOGxI.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{gateway-cli-Dy9nDyBx.js → gateway-cli-CFvMd9xm.js} +3 -10
- package/dist/{gateway-cli-D4hBIPCd.js → gateway-cli-DhYTJPSe.js} +3 -10
- package/dist/index.js +1 -1
- package/dist/{onboard-DSX10Qhu.js → onboard-Bwhmuw1j.js} +1 -1
- package/dist/{onboard-C4TgEX9y.js → onboard-alIIq9Su.js} +1 -1
- package/dist/{onboarding-D3j0h7IL.js → onboarding-CDUW9Kih.js} +1 -1
- package/dist/{onboarding-Dgh-UWZJ.js → onboarding-CcfiRX23.js} +1 -1
- package/dist/{onboarding.finalize-DDjMFKmT.js → onboarding.finalize-CprhiMzP.js} +3 -3
- package/dist/{onboarding.finalize-Ok0mvV-Y.js → onboarding.finalize-CzawBJZa.js} +4 -4
- package/dist/plugin-sdk/bluebubbles.js +2 -2
- package/dist/plugin-sdk/googlechat.js +2 -2
- package/dist/plugin-sdk/irc.js +2 -2
- package/dist/plugin-sdk/matrix.js +2 -2
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/nextcloud-talk.js +2 -2
- package/dist/plugin-sdk/tlon.js +2 -2
- package/dist/plugin-sdk/twitch.js +2 -2
- package/dist/{program-context-e0NNUT0t.js → program-context-Dexa3z9Q.js} +6 -6
- package/dist/{program-B93fETyO.js → program-d8audy11.js} +2 -2
- package/dist/{prompt-select-styled-DgyVPD5A.js → prompt-select-styled-CM0H8nyZ.js} +1 -1
- package/dist/{prompt-select-styled-cntx2BcP.js → prompt-select-styled-h2edDLEh.js} +1 -1
- package/dist/{register.maintenance-BN60FwsH.js → register.maintenance-8RukZjXL.js} +5 -5
- package/dist/{register.maintenance-IIKdEkoA.js → register.maintenance-D7ZO_zx9.js} +4 -4
- package/dist/{register.onboard-sNWhdErB.js → register.onboard-B2OlRuCk.js} +2 -2
- package/dist/{register.onboard-BcH2tgcx.js → register.onboard-CS3cNz6u.js} +2 -2
- package/dist/{register.setup-BixsPbcm.js → register.setup-B6EUhd8j.js} +2 -2
- package/dist/{register.setup-CJ9a4C42.js → register.setup-ChoeJvJu.js} +2 -2
- package/dist/{register.subclis-4iBHoUMQ.js → register.subclis-DPSEJ3Gv.js} +3 -3
- package/dist/{run-main-BOkzkeXE.js → run-main-C63dUKOG.js} +3 -3
- package/dist/{update-cli-BPaw-Kze.js → update-cli-B-UM7aoD.js} +4 -4
- package/dist/{update-cli-BbnKnF3V.js → update-cli-Cgd3zAK3.js} +5 -5
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e218bb435ee1c14bcf39f845d7bdd4ad5db685de76cfc61e66ff5c2a8648ea86
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Ct as hasHelpOrVersion, bt as getPrimaryCommand } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-DPSEJ3Gv.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-ChoeJvJu.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-CS3cNz6u.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-8RukZjXL.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -2,8 +2,8 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { P as theme, ot as resolveStateDir, u as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { m as pathExists } from "./utils-hiIKrqOK.js";
|
|
4
4
|
import { t as formatDocsLink } from "./links-Bcv6_maG.js";
|
|
5
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
6
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
5
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-DPSEJ3Gv.js";
|
|
6
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-DQ0IumyH.js";
|
|
7
7
|
import { t as getProgramContext } from "./program-context-gd4x_qEm.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
@@ -4,7 +4,7 @@ import { p as theme } from "./globals-OYV0_7Zs.js";
|
|
|
4
4
|
import { h as pathExists } from "./utils-D78H0maG.js";
|
|
5
5
|
import { i as routeLogsToStderr } from "./subsystem-CYocb_fP.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-Tx7CNWHl.js";
|
|
7
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
7
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-Dexa3z9Q.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-C2YuTuPp.js";
|
|
2
2
|
import { t as resolveWinClawPackageRoot } from "./winclaw-root-D0OUuGl7.js";
|
|
3
3
|
import { t as note } from "./note-Emtc1zzf.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-3d_RmBoV.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveWinClawPackageRoot } from "./winclaw-root-ExuHY0xi.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-BU9fEGrc.js";
|
|
3
3
|
import { t as note } from "./note-DPVyaATq.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-B1XHee2f.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -1831,7 +1831,7 @@ if (!isMainModule({
|
|
|
1831
1831
|
}
|
|
1832
1832
|
function tryHandleRootHelpFastPath(argv) {
|
|
1833
1833
|
if (!isRootHelpInvocation(argv)) return false;
|
|
1834
|
-
import("./program-
|
|
1834
|
+
import("./program-d8audy11.js").then(({ buildProgram }) => {
|
|
1835
1835
|
buildProgram().outputHelp();
|
|
1836
1836
|
}).catch((error) => {
|
|
1837
1837
|
console.error("[winclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
|
|
@@ -1850,7 +1850,7 @@ if (!isMainModule({
|
|
|
1850
1850
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
1851
1851
|
process$1.argv = parsed.argv;
|
|
1852
1852
|
}
|
|
1853
|
-
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-
|
|
1853
|
+
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-C63dUKOG.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
1854
1854
|
console.error("[winclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
1855
1855
|
process$1.exitCode = 1;
|
|
1856
1856
|
});
|
|
@@ -150,7 +150,7 @@ import { c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as checkUp
|
|
|
150
150
|
import { t as runGatewayUpdate } from "./update-runner-BR8sKR57.js";
|
|
151
151
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-BF8Olfsc.js";
|
|
152
152
|
import "./onboarding.secret-input-BqpyOfgu.js";
|
|
153
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
153
|
+
import { t as runOnboardingWizard } from "./onboarding-CcfiRX23.js";
|
|
154
154
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-4NSYQtYX.js";
|
|
155
155
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-DgQq2EEP.js";
|
|
156
156
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-hSqGZL6Y.js";
|
|
@@ -4072,15 +4072,8 @@ var GrcConnectionManager = class {
|
|
|
4072
4072
|
const mem = process.memoryUsage();
|
|
4073
4073
|
const heapMB = Math.round(mem.heapUsed / 1024 / 1024);
|
|
4074
4074
|
const rssMB = Math.round(mem.rss / 1024 / 1024);
|
|
4075
|
-
if (heapMB > 500) log$5.warn({
|
|
4076
|
-
|
|
4077
|
-
rssMB,
|
|
4078
|
-
heapTotal: Math.round(mem.heapTotal / 1024 / 1024)
|
|
4079
|
-
}, "High memory usage detected");
|
|
4080
|
-
else log$5.info({
|
|
4081
|
-
heapMB,
|
|
4082
|
-
rssMB
|
|
4083
|
-
}, "Memory usage");
|
|
4075
|
+
if (heapMB > 500) log$5.warn(`High memory usage detected: heap=${heapMB}MB rss=${rssMB}MB`);
|
|
4076
|
+
else log$5.info(`Memory usage: heap=${heapMB}MB rss=${rssMB}MB`);
|
|
4084
4077
|
}, 600 * 1e3);
|
|
4085
4078
|
if (typeof this.memoryMonitorTimer.unref === "function") this.memoryMonitorTimer.unref();
|
|
4086
4079
|
}
|
|
@@ -153,7 +153,7 @@ import { c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as checkUp
|
|
|
153
153
|
import { t as runGatewayUpdate } from "./update-runner-YpfIVrxn.js";
|
|
154
154
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-C8G-Ij45.js";
|
|
155
155
|
import "./onboarding.secret-input-CpvAADXr.js";
|
|
156
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
156
|
+
import { t as runOnboardingWizard } from "./onboarding-CDUW9Kih.js";
|
|
157
157
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-KFZYRedg.js";
|
|
158
158
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CGtohkh2.js";
|
|
159
159
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-CtleaLrB.js";
|
|
@@ -4074,15 +4074,8 @@ var GrcConnectionManager = class {
|
|
|
4074
4074
|
const mem = process.memoryUsage();
|
|
4075
4075
|
const heapMB = Math.round(mem.heapUsed / 1024 / 1024);
|
|
4076
4076
|
const rssMB = Math.round(mem.rss / 1024 / 1024);
|
|
4077
|
-
if (heapMB > 500) log$5.warn({
|
|
4078
|
-
|
|
4079
|
-
rssMB,
|
|
4080
|
-
heapTotal: Math.round(mem.heapTotal / 1024 / 1024)
|
|
4081
|
-
}, "High memory usage detected");
|
|
4082
|
-
else log$5.info({
|
|
4083
|
-
heapMB,
|
|
4084
|
-
rssMB
|
|
4085
|
-
}, "Memory usage");
|
|
4077
|
+
if (heapMB > 500) log$5.warn(`High memory usage detected: heap=${heapMB}MB rss=${rssMB}MB`);
|
|
4078
|
+
else log$5.info(`Memory usage: heap=${heapMB}MB rss=${rssMB}MB`);
|
|
4086
4079
|
}, 600 * 1e3);
|
|
4087
4080
|
if (typeof this.memoryMonitorTimer.unref === "function") this.memoryMonitorTimer.unref();
|
|
4088
4081
|
}
|
package/dist/index.js
CHANGED
|
@@ -119,7 +119,7 @@ import { t as isMainModule } from "./is-main-TPRg8r91.js";
|
|
|
119
119
|
import { t as ensureWinClawCliOnPath } from "./path-env-Buh15leX.js";
|
|
120
120
|
import { t as assertSupportedRuntime } from "./runtime-guard-FM7xygCS.js";
|
|
121
121
|
import "./ports-75LDB15g.js";
|
|
122
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
122
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-Dexa3z9Q.js";
|
|
123
123
|
import "./plugin-registry-Cn7cnCEr.js";
|
|
124
124
|
import { n as resolveCliChannelOptions } from "./channel-options-BZs6qoPF.js";
|
|
125
125
|
import process$1 from "node:process";
|
|
@@ -7,7 +7,7 @@ import { t as WizardCancelledError } from "./prompts-DomsZukd.js";
|
|
|
7
7
|
import { t as createClackPrompter } from "./clack-prompter-C88sE8nV.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard-H-DjZ1G4.js";
|
|
9
9
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-99xh1fGv.js";
|
|
10
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
10
|
+
import { t as runOnboardingWizard } from "./onboarding-CcfiRX23.js";
|
|
11
11
|
import { n as logConfigUpdated } from "./logging-D6YjGDjQ.js";
|
|
12
12
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags--oF1OLyy.js";
|
|
13
13
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-g-XBXKJM.js";
|
|
@@ -8,7 +8,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-FM7xygCS.js";
|
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-zvdI4LpS.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-mYDSc4SR.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-CDUW9Kih.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-BD5zmT-4.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-CIRgbott.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-CiaxSolC.js";
|
|
@@ -327,7 +327,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
327
327
|
mode
|
|
328
328
|
});
|
|
329
329
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
330
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CprhiMzP.js");
|
|
331
331
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
332
|
flow,
|
|
333
333
|
opts,
|
|
@@ -326,7 +326,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
326
326
|
mode
|
|
327
327
|
});
|
|
328
328
|
await writeConfigFile(nextConfig);
|
|
329
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
329
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CzawBJZa.js");
|
|
330
330
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
331
331
|
flow,
|
|
332
332
|
opts,
|
|
@@ -111,9 +111,9 @@ import "./progress-skGe4xuJ.js";
|
|
|
111
111
|
import "./server-lifecycle-Do-Sf9Cq.js";
|
|
112
112
|
import "./stagger-BU0UZwZh.js";
|
|
113
113
|
import "./runtime-guard-FM7xygCS.js";
|
|
114
|
-
import "./program-context-
|
|
114
|
+
import "./program-context-Dexa3z9Q.js";
|
|
115
115
|
import "./note-DPVyaATq.js";
|
|
116
|
-
import { r as installCompletion } from "./completion-cli-
|
|
116
|
+
import { r as installCompletion } from "./completion-cli-B1XHee2f.js";
|
|
117
117
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DSwJ2uJ4.js";
|
|
118
118
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-mYDSc4SR.js";
|
|
119
119
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BS462KFE.js";
|
|
@@ -122,7 +122,7 @@ import { r as healthCommand } from "./health-DocuAip7.js";
|
|
|
122
122
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DhUI98bh.js";
|
|
123
123
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-CpvAADXr.js";
|
|
124
124
|
import { t as formatHealthCheckFailure } from "./health-format-Ba6tveTS.js";
|
|
125
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
125
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-SckwOGxI.js";
|
|
126
126
|
import { t as runTui } from "./tui-C3Mn21ul.js";
|
|
127
127
|
import os from "node:os";
|
|
128
128
|
import path from "node:path";
|
|
@@ -109,9 +109,9 @@ import "./cli-utils-BlpNlYVq.js";
|
|
|
109
109
|
import "./help-format-DqamOwoM.js";
|
|
110
110
|
import "./progress-Dtl-ttAH.js";
|
|
111
111
|
import "./note-Emtc1zzf.js";
|
|
112
|
-
import { r as installCompletion } from "./completion-cli-
|
|
113
|
-
import "./register.subclis-
|
|
114
|
-
import "./command-registry-
|
|
112
|
+
import { r as installCompletion } from "./completion-cli-3d_RmBoV.js";
|
|
113
|
+
import "./register.subclis-DPSEJ3Gv.js";
|
|
114
|
+
import "./command-registry-DQ0IumyH.js";
|
|
115
115
|
import "./program-context-gd4x_qEm.js";
|
|
116
116
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-D1YQ03lO.js";
|
|
117
117
|
import "./runtime-guard-H-DjZ1G4.js";
|
|
@@ -122,7 +122,7 @@ import { r as healthCommand } from "./health-CdsUFoBm.js";
|
|
|
122
122
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B0DdamQU.js";
|
|
123
123
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-BqpyOfgu.js";
|
|
124
124
|
import { t as formatHealthCheckFailure } from "./health-format-DfUHWWsW.js";
|
|
125
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
125
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BnBJETZQ.js";
|
|
126
126
|
import { t as runTui } from "./tui-D8p-fGCf.js";
|
|
127
127
|
import os from "node:os";
|
|
128
128
|
import path from "node:path";
|
|
@@ -4,7 +4,7 @@ import fs from "node:fs";
|
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import chalk, { Chalk } from "chalk";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
9
|
import { execFile } from "node:child_process";
|
|
10
10
|
import { fileURLToPath } from "node:url";
|
|
@@ -367,7 +367,7 @@ function readLoggingConfig() {
|
|
|
367
367
|
try {
|
|
368
368
|
if (!fs.existsSync(configPath)) return;
|
|
369
369
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
370
|
-
const logging =
|
|
370
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
371
371
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
372
372
|
return logging;
|
|
373
373
|
} catch {
|
|
@@ -5,7 +5,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import JSON5 from "json5";
|
|
9
9
|
import { promisify } from "node:util";
|
|
10
10
|
import { execFile } from "node:child_process";
|
|
11
11
|
import { getOAuthProviders } from "@mariozechner/pi-ai";
|
|
@@ -415,7 +415,7 @@ function readLoggingConfig() {
|
|
|
415
415
|
try {
|
|
416
416
|
if (!fs.existsSync(configPath)) return;
|
|
417
417
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
418
|
-
const logging =
|
|
418
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
419
419
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
420
420
|
return logging;
|
|
421
421
|
} catch {
|
package/dist/plugin-sdk/irc.js
CHANGED
|
@@ -6,7 +6,7 @@ import fs from "node:fs";
|
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
import { Logger } from "tslog";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import { format, promisify } from "node:util";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
12
12
|
import "@aws-sdk/client-bedrock";
|
|
@@ -612,7 +612,7 @@ function readLoggingConfig() {
|
|
|
612
612
|
try {
|
|
613
613
|
if (!fs.existsSync(configPath)) return;
|
|
614
614
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
615
|
-
const logging =
|
|
615
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
616
616
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
617
617
|
return logging;
|
|
618
618
|
} catch {
|
|
@@ -6,7 +6,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
6
6
|
import fs$1 from "node:fs";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
8
|
import os from "node:os";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import { format, promisify } from "node:util";
|
|
11
11
|
import { execFile, spawn } from "node:child_process";
|
|
12
12
|
import process$1 from "node:process";
|
|
@@ -417,7 +417,7 @@ function readLoggingConfig() {
|
|
|
417
417
|
try {
|
|
418
418
|
if (!fs$1.existsSync(configPath)) return;
|
|
419
419
|
const raw = fs$1.readFileSync(configPath, "utf-8");
|
|
420
|
-
const logging =
|
|
420
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
421
421
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
422
422
|
return logging;
|
|
423
423
|
} catch {
|
|
@@ -5,7 +5,7 @@ import fs, { constants } from "node:fs";
|
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import chalk, { Chalk } from "chalk";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
|
-
import
|
|
8
|
+
import JSON5 from "json5";
|
|
9
9
|
import util, { promisify } from "node:util";
|
|
10
10
|
import fs$1 from "node:fs/promises";
|
|
11
11
|
import process$1 from "node:process";
|
|
@@ -400,7 +400,7 @@ function readLoggingConfig() {
|
|
|
400
400
|
try {
|
|
401
401
|
if (!fs.existsSync(configPath)) return;
|
|
402
402
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
403
|
-
const logging =
|
|
403
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
404
404
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
405
405
|
return logging;
|
|
406
406
|
} catch {
|
|
@@ -4481,7 +4481,7 @@ function resolveWinClawManifestBlock(params) {
|
|
|
4481
4481
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
4482
4482
|
if (!raw) return;
|
|
4483
4483
|
try {
|
|
4484
|
-
const parsed =
|
|
4484
|
+
const parsed = JSON5.parse(raw);
|
|
4485
4485
|
if (!parsed || typeof parsed !== "object") return;
|
|
4486
4486
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
4487
4487
|
for (const key of manifestKeys) {
|
|
@@ -6,7 +6,7 @@ import fs from "node:fs";
|
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
import { Logger } from "tslog";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import { format, promisify } from "node:util";
|
|
11
11
|
import fs$1 from "node:fs/promises";
|
|
12
12
|
import process$1 from "node:process";
|
|
@@ -722,7 +722,7 @@ function readLoggingConfig() {
|
|
|
722
722
|
try {
|
|
723
723
|
if (!fs.existsSync(configPath)) return;
|
|
724
724
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
725
|
-
const logging =
|
|
725
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
726
726
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
727
727
|
return logging;
|
|
728
728
|
} catch {
|
package/dist/plugin-sdk/tlon.js
CHANGED
|
@@ -6,7 +6,7 @@ import fs from "node:fs";
|
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
import { Logger } from "tslog";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import { format, promisify } from "node:util";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
12
12
|
import "@aws-sdk/client-bedrock";
|
|
@@ -371,7 +371,7 @@ function readLoggingConfig() {
|
|
|
371
371
|
try {
|
|
372
372
|
if (!fs.existsSync(configPath)) return;
|
|
373
373
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
374
|
-
const logging =
|
|
374
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
375
375
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
376
376
|
return logging;
|
|
377
377
|
} catch {
|
|
@@ -6,7 +6,7 @@ import fs from "node:fs";
|
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
import { Logger } from "tslog";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
12
12
|
import "@aws-sdk/client-bedrock";
|
|
@@ -368,7 +368,7 @@ function readLoggingConfig() {
|
|
|
368
368
|
try {
|
|
369
369
|
if (!fs.existsSync(configPath)) return;
|
|
370
370
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
371
|
-
const logging =
|
|
371
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
372
372
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
373
373
|
return logging;
|
|
374
374
|
} catch {
|
|
@@ -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-DhYTJPSe.js")).registerGatewayCli(program);
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -262,7 +262,7 @@ const entries = [
|
|
|
262
262
|
description: "Update WinClaw and inspect update channel status",
|
|
263
263
|
hasSubcommands: true,
|
|
264
264
|
register: async (program) => {
|
|
265
|
-
(await import("./update-cli-
|
|
265
|
+
(await import("./update-cli-B-UM7aoD.js")).registerUpdateCli(program);
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
{
|
|
@@ -270,7 +270,7 @@ const entries = [
|
|
|
270
270
|
description: "Generate shell completion script",
|
|
271
271
|
hasSubcommands: false,
|
|
272
272
|
register: async (program) => {
|
|
273
|
-
(await import("./completion-cli-
|
|
273
|
+
(await import("./completion-cli-B1XHee2f.js").then((n) => n.n)).registerCompletionCli(program);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
];
|
|
@@ -327,7 +327,7 @@ const coreEntries = [
|
|
|
327
327
|
hasSubcommands: false
|
|
328
328
|
}],
|
|
329
329
|
register: async ({ program }) => {
|
|
330
|
-
(await import("./register.setup-
|
|
330
|
+
(await import("./register.setup-B6EUhd8j.js")).registerSetupCommand(program);
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
333
|
{
|
|
@@ -337,7 +337,7 @@ const coreEntries = [
|
|
|
337
337
|
hasSubcommands: false
|
|
338
338
|
}],
|
|
339
339
|
register: async ({ program }) => {
|
|
340
|
-
(await import("./register.onboard-
|
|
340
|
+
(await import("./register.onboard-B2OlRuCk.js")).registerOnboardCommand(program);
|
|
341
341
|
}
|
|
342
342
|
},
|
|
343
343
|
{
|
|
@@ -384,7 +384,7 @@ const coreEntries = [
|
|
|
384
384
|
}
|
|
385
385
|
],
|
|
386
386
|
register: async ({ program }) => {
|
|
387
|
-
(await import("./register.maintenance-
|
|
387
|
+
(await import("./register.maintenance-D7ZO_zx9.js")).registerMaintenanceCommands(program);
|
|
388
388
|
}
|
|
389
389
|
},
|
|
390
390
|
{
|
|
@@ -110,8 +110,8 @@ import "./help-format-DqamOwoM.js";
|
|
|
110
110
|
import "./progress-Dtl-ttAH.js";
|
|
111
111
|
import "./plugin-registry-CcDbSrjy.js";
|
|
112
112
|
import { n as resolveCliChannelOptions } from "./channel-options-DsprMgcR.js";
|
|
113
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
114
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
113
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-DPSEJ3Gv.js";
|
|
114
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-DQ0IumyH.js";
|
|
115
115
|
import { r as setProgramContext } from "./program-context-gd4x_qEm.js";
|
|
116
116
|
import { t as forceFreePort } from "./ports-Dw-3Gxsb.js";
|
|
117
117
|
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-BlcNXfVb.js";
|
|
@@ -44,7 +44,7 @@ import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as l
|
|
|
44
44
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-DQJBchsr.js";
|
|
45
45
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CyioH9ho.js";
|
|
46
46
|
import { t as formatHealthCheckFailure } from "./health-format-DfUHWWsW.js";
|
|
47
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
47
|
+
import { n as doctorShellCompletion } from "./doctor-completion-BnBJETZQ.js";
|
|
48
48
|
import { execFile } from "node:child_process";
|
|
49
49
|
import os from "node:os";
|
|
50
50
|
import path from "node:path";
|
|
@@ -47,7 +47,7 @@ import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as l
|
|
|
47
47
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-s2FxaqDA.js";
|
|
48
48
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-rPflcD6X.js";
|
|
49
49
|
import { t as formatHealthCheckFailure } from "./health-format-Ba6tveTS.js";
|
|
50
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
50
|
+
import { n as doctorShellCompletion } from "./doctor-completion-SckwOGxI.js";
|
|
51
51
|
import fs from "node:fs";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import path from "node:path";
|
|
@@ -113,9 +113,9 @@ import { t as copyToClipboard } from "./clipboard-Co_m2ybJ.js";
|
|
|
113
113
|
import "./note-Emtc1zzf.js";
|
|
114
114
|
import "./issue-format-DUrssptL.js";
|
|
115
115
|
import "./channels-status-issues-DpfEWI4l.js";
|
|
116
|
-
import "./completion-cli-
|
|
117
|
-
import "./register.subclis-
|
|
118
|
-
import "./command-registry-
|
|
116
|
+
import "./completion-cli-3d_RmBoV.js";
|
|
117
|
+
import "./register.subclis-DPSEJ3Gv.js";
|
|
118
|
+
import "./command-registry-DQ0IumyH.js";
|
|
119
119
|
import "./program-context-gd4x_qEm.js";
|
|
120
120
|
import "./daemon-install-helpers-D1YQ03lO.js";
|
|
121
121
|
import "./runtime-guard-H-DjZ1G4.js";
|
|
@@ -132,8 +132,8 @@ import "./doctor-config-flow-DAKQgNc6.js";
|
|
|
132
132
|
import "./oauth-tls-preflight-DQJBchsr.js";
|
|
133
133
|
import "./systemd-linger-CyioH9ho.js";
|
|
134
134
|
import "./health-format-DfUHWWsW.js";
|
|
135
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
136
|
-
import "./doctor-completion-
|
|
135
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CM0H8nyZ.js";
|
|
136
|
+
import "./doctor-completion-BnBJETZQ.js";
|
|
137
137
|
import path from "node:path";
|
|
138
138
|
import fsPromises from "node:fs/promises";
|
|
139
139
|
import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
|
|
@@ -111,13 +111,13 @@ import "./progress-skGe4xuJ.js";
|
|
|
111
111
|
import "./server-lifecycle-Do-Sf9Cq.js";
|
|
112
112
|
import "./stagger-BU0UZwZh.js";
|
|
113
113
|
import "./runtime-guard-FM7xygCS.js";
|
|
114
|
-
import "./program-context-
|
|
114
|
+
import "./program-context-Dexa3z9Q.js";
|
|
115
115
|
import "./skills-status-ilQpZgqj.js";
|
|
116
116
|
import { t as copyToClipboard } from "./clipboard-DUi7QSXe.js";
|
|
117
117
|
import "./note-DPVyaATq.js";
|
|
118
118
|
import "./issue-format-DeA5j-y8.js";
|
|
119
119
|
import "./channels-status-issues-C3u3kBU-.js";
|
|
120
|
-
import "./completion-cli-
|
|
120
|
+
import "./completion-cli-B1XHee2f.js";
|
|
121
121
|
import "./daemon-install-helpers-DSwJ2uJ4.js";
|
|
122
122
|
import "./systemd-BS462KFE.js";
|
|
123
123
|
import { t as resolveGatewayService } from "./service-DZoBpPO5.js";
|
|
@@ -132,8 +132,8 @@ import "./doctor-config-flow-w9QjOWic.js";
|
|
|
132
132
|
import "./oauth-tls-preflight-s2FxaqDA.js";
|
|
133
133
|
import "./systemd-linger-rPflcD6X.js";
|
|
134
134
|
import "./health-format-Ba6tveTS.js";
|
|
135
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
136
|
-
import "./doctor-completion-
|
|
135
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-h2edDLEh.js";
|
|
136
|
+
import "./doctor-completion-SckwOGxI.js";
|
|
137
137
|
import path from "node:path";
|
|
138
138
|
import fs from "node:fs/promises";
|
|
139
139
|
import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
|
|
@@ -40,11 +40,11 @@ import "./runtime-guard-FM7xygCS.js";
|
|
|
40
40
|
import "./note-DPVyaATq.js";
|
|
41
41
|
import "./clack-prompter-zvdI4LpS.js";
|
|
42
42
|
import "./onboarding.secret-input-CpvAADXr.js";
|
|
43
|
-
import "./onboarding-
|
|
43
|
+
import "./onboarding-CDUW9Kih.js";
|
|
44
44
|
import "./logging-BD5zmT-4.js";
|
|
45
45
|
import { t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-CIRgbott.js";
|
|
46
46
|
import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-BuIvRYDa.js";
|
|
47
|
-
import { t as onboardCommand } from "./onboard-
|
|
47
|
+
import { t as onboardCommand } from "./onboard-alIIq9Su.js";
|
|
48
48
|
|
|
49
49
|
//#region src/cli/program/register.onboard.ts
|
|
50
50
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -37,11 +37,11 @@ import "./note-Emtc1zzf.js";
|
|
|
37
37
|
import "./clack-prompter-C88sE8nV.js";
|
|
38
38
|
import "./runtime-guard-H-DjZ1G4.js";
|
|
39
39
|
import "./onboarding.secret-input-BqpyOfgu.js";
|
|
40
|
-
import "./onboarding-
|
|
40
|
+
import "./onboarding-CcfiRX23.js";
|
|
41
41
|
import "./logging-D6YjGDjQ.js";
|
|
42
42
|
import { t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags--oF1OLyy.js";
|
|
43
43
|
import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-FGZ6fXFQ.js";
|
|
44
|
-
import { t as onboardCommand } from "./onboard-
|
|
44
|
+
import { t as onboardCommand } from "./onboard-Bwhmuw1j.js";
|
|
45
45
|
|
|
46
46
|
//#region src/cli/program/register.onboard.ts
|
|
47
47
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -41,9 +41,9 @@ import { t as hasExplicitOptions } from "./command-options-6wdtBBWB.js";
|
|
|
41
41
|
import "./note-DPVyaATq.js";
|
|
42
42
|
import "./clack-prompter-zvdI4LpS.js";
|
|
43
43
|
import "./onboarding.secret-input-CpvAADXr.js";
|
|
44
|
-
import "./onboarding-
|
|
44
|
+
import "./onboarding-CDUW9Kih.js";
|
|
45
45
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BD5zmT-4.js";
|
|
46
|
-
import { t as onboardCommand } from "./onboard-
|
|
46
|
+
import { t as onboardCommand } from "./onboard-alIIq9Su.js";
|
|
47
47
|
import JSON5 from "json5";
|
|
48
48
|
import fs from "node:fs/promises";
|
|
49
49
|
|
|
@@ -38,9 +38,9 @@ import "./note-Emtc1zzf.js";
|
|
|
38
38
|
import "./clack-prompter-C88sE8nV.js";
|
|
39
39
|
import "./runtime-guard-H-DjZ1G4.js";
|
|
40
40
|
import "./onboarding.secret-input-BqpyOfgu.js";
|
|
41
|
-
import "./onboarding-
|
|
41
|
+
import "./onboarding-CcfiRX23.js";
|
|
42
42
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-D6YjGDjQ.js";
|
|
43
|
-
import { t as onboardCommand } from "./onboard-
|
|
43
|
+
import { t as onboardCommand } from "./onboard-Bwhmuw1j.js";
|
|
44
44
|
import JSON5 from "json5";
|
|
45
45
|
import fsPromises from "node:fs/promises";
|
|
46
46
|
|
|
@@ -64,7 +64,7 @@ const entries = [
|
|
|
64
64
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
65
65
|
hasSubcommands: true,
|
|
66
66
|
register: async (program) => {
|
|
67
|
-
(await import("./gateway-cli-
|
|
67
|
+
(await import("./gateway-cli-CFvMd9xm.js")).registerGatewayCli(program);
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
{
|
|
@@ -268,7 +268,7 @@ const entries = [
|
|
|
268
268
|
description: "Update WinClaw and inspect update channel status",
|
|
269
269
|
hasSubcommands: true,
|
|
270
270
|
register: async (program) => {
|
|
271
|
-
(await import("./update-cli-
|
|
271
|
+
(await import("./update-cli-Cgd3zAK3.js")).registerUpdateCli(program);
|
|
272
272
|
}
|
|
273
273
|
},
|
|
274
274
|
{
|
|
@@ -276,7 +276,7 @@ const entries = [
|
|
|
276
276
|
description: "Generate shell completion script",
|
|
277
277
|
hasSubcommands: false,
|
|
278
278
|
register: async (program) => {
|
|
279
|
-
(await import("./completion-cli-
|
|
279
|
+
(await import("./completion-cli-3d_RmBoV.js").then((n) => n.n)).registerCompletionCli(program);
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
];
|
|
@@ -396,7 +396,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
396
396
|
assertSupportedRuntime();
|
|
397
397
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
398
398
|
enableConsoleCapture();
|
|
399
|
-
const { buildProgram } = await import("./program-
|
|
399
|
+
const { buildProgram } = await import("./program-d8audy11.js");
|
|
400
400
|
const program = buildProgram();
|
|
401
401
|
installUnhandledRejectionHandler();
|
|
402
402
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -409,10 +409,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
409
409
|
const { getProgramContext } = await import("./program-context-gd4x_qEm.js").then((n) => n.n);
|
|
410
410
|
const ctx = getProgramContext(program);
|
|
411
411
|
if (ctx) {
|
|
412
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
412
|
+
const { registerCoreCliByName } = await import("./command-registry-DQ0IumyH.js").then((n) => n.t);
|
|
413
413
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
414
414
|
}
|
|
415
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
415
|
+
const { registerSubCliByName } = await import("./register.subclis-DPSEJ3Gv.js").then((n) => n.a);
|
|
416
416
|
await registerSubCliByName(program, primary);
|
|
417
417
|
}
|
|
418
418
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -113,7 +113,7 @@ import "./server-lifecycle-Do-Sf9Cq.js";
|
|
|
113
113
|
import "./stagger-BU0UZwZh.js";
|
|
114
114
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-BmfqwMZv.js";
|
|
115
115
|
import { r as parseSemver } from "./runtime-guard-FM7xygCS.js";
|
|
116
|
-
import "./program-context-
|
|
116
|
+
import "./program-context-Dexa3z9Q.js";
|
|
117
117
|
import "./skills-status-ilQpZgqj.js";
|
|
118
118
|
import { n as inheritOptionFromParent } from "./command-options-6wdtBBWB.js";
|
|
119
119
|
import "./note-DPVyaATq.js";
|
|
@@ -123,7 +123,7 @@ import "./skill-scanner-BVCtyIxS.js";
|
|
|
123
123
|
import "./installs-iGEIUBA2.js";
|
|
124
124
|
import { n as formatConfigIssueLines } from "./issue-format-DeA5j-y8.js";
|
|
125
125
|
import "./channels-status-issues-C3u3kBU-.js";
|
|
126
|
-
import { r as installCompletion } from "./completion-cli-
|
|
126
|
+
import { r as installCompletion } from "./completion-cli-B1XHee2f.js";
|
|
127
127
|
import "./daemon-install-helpers-DSwJ2uJ4.js";
|
|
128
128
|
import "./systemd-BS462KFE.js";
|
|
129
129
|
import { t as resolveGatewayService } from "./service-DZoBpPO5.js";
|
|
@@ -144,8 +144,8 @@ import "./doctor-config-flow-w9QjOWic.js";
|
|
|
144
144
|
import "./oauth-tls-preflight-s2FxaqDA.js";
|
|
145
145
|
import "./systemd-linger-rPflcD6X.js";
|
|
146
146
|
import "./health-format-Ba6tveTS.js";
|
|
147
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
148
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
147
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-h2edDLEh.js";
|
|
148
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-SckwOGxI.js";
|
|
149
149
|
import os from "node:os";
|
|
150
150
|
import path from "node:path";
|
|
151
151
|
import fs from "node:fs/promises";
|
|
@@ -119,9 +119,9 @@ import "./skill-scanner-DqqhF5of.js";
|
|
|
119
119
|
import "./installs-zKF10nZF.js";
|
|
120
120
|
import { n as formatConfigIssueLines } from "./issue-format-DUrssptL.js";
|
|
121
121
|
import "./channels-status-issues-DpfEWI4l.js";
|
|
122
|
-
import { r as installCompletion } from "./completion-cli-
|
|
123
|
-
import "./register.subclis-
|
|
124
|
-
import "./command-registry-
|
|
122
|
+
import { r as installCompletion } from "./completion-cli-3d_RmBoV.js";
|
|
123
|
+
import "./register.subclis-DPSEJ3Gv.js";
|
|
124
|
+
import "./command-registry-DQ0IumyH.js";
|
|
125
125
|
import "./program-context-gd4x_qEm.js";
|
|
126
126
|
import "./daemon-install-helpers-D1YQ03lO.js";
|
|
127
127
|
import { r as parseSemver } from "./runtime-guard-H-DjZ1G4.js";
|
|
@@ -144,8 +144,8 @@ import "./doctor-config-flow-DAKQgNc6.js";
|
|
|
144
144
|
import "./oauth-tls-preflight-DQJBchsr.js";
|
|
145
145
|
import "./systemd-linger-CyioH9ho.js";
|
|
146
146
|
import "./health-format-DfUHWWsW.js";
|
|
147
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
148
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
147
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CM0H8nyZ.js";
|
|
148
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BnBJETZQ.js";
|
|
149
149
|
import { spawn, spawnSync } from "node:child_process";
|
|
150
150
|
import os from "node:os";
|
|
151
151
|
import path from "node:path";
|