squidclaw 3.0.16 → 3.0.18
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 +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{command-registry-D-zYyZpc.js → command-registry-CmcjFtGc.js} +4 -4
- package/dist/{completion-cli-DhTAfX_O.js → completion-cli-DmtM9wN7.js} +2 -2
- package/dist/{completion-cli-ClRcwvgc.js → completion-cli-s3jkg4De.js} +1 -1
- package/dist/{doctor-completion-DTHBtueI.js → doctor-completion-BhbEWKLY.js} +1 -1
- package/dist/{doctor-completion-CvbhXcBA.js → doctor-completion-BiWEEW0n.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{gateway-cli-CF1kp5f9.js → gateway-cli-o6o-HYL4.js} +1 -1
- package/dist/{gateway-cli-5rUG2fBn.js → gateway-cli-s0ZRMX70.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{onboard-Vq9LkQon.js → onboard-C-zpr47X.js} +2 -2
- package/dist/{onboard-BVgRwIeK.js → onboard-W1bpoHOl.js} +2 -2
- package/dist/{onboard-config-C0UVcgCr.js → onboard-config-ClJAny4z.js} +1 -1
- package/dist/{onboard-config-a-Bwydlo.js → onboard-config-Dr7DjNAf.js} +1 -1
- package/dist/{onboarding-BW7AN6GP.js → onboarding-BWsK7NGF.js} +2 -2
- package/dist/{onboarding-DO1ScRD8.js → onboarding-CyHlCE2q.js} +2 -2
- package/dist/{onboarding.finalize-DyoNGKAv.js → onboarding.finalize-DTefAQD1.js} +61 -5
- package/dist/{onboarding.finalize-mpPeXAsn.js → onboarding.finalize-DcVbPJlf.js} +62 -6
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/{program-context-CWsWlM9-.js → program-context-DYZXiwDI.js} +6 -6
- package/dist/{program-BJO_oaKF.js → program-jawPtuKK.js} +2 -2
- package/dist/{prompt-select-styled-CnWGIwST.js → prompt-select-styled-B8Gy56D5.js} +1 -1
- package/dist/{prompt-select-styled-R6Iau0zv.js → prompt-select-styled-B9r-0miA.js} +1 -1
- package/dist/{register.maintenance-C0WLFNcv.js → register.maintenance-BO-Uvkuw.js} +5 -5
- package/dist/{register.maintenance-c4CZQhHy.js → register.maintenance-DhCuval0.js} +4 -4
- package/dist/{register.onboard-C8-hGp4-.js → register.onboard-C8gcqhYr.js} +2 -2
- package/dist/{register.onboard-B8LXDCnA.js → register.onboard-CmNRb3DP.js} +2 -2
- package/dist/{register.setup-Bw1pnWbM.js → register.setup-BE7jmZUQ.js} +2 -2
- package/dist/{register.setup-DiUpJRvj.js → register.setup-DnBlMBg7.js} +2 -2
- package/dist/{register.subclis-BbFUfhdj.js → register.subclis-BThrPDMC.js} +3 -3
- package/dist/{run-main-Exefhxet.js → run-main-DppGGkNn.js} +3 -3
- package/dist/{update-cli-esFXuN7Z.js → update-cli-C3vGvEpl.js} +5 -5
- package/dist/{update-cli-CeMQxSs2.js → update-cli-CmGHH0ie.js} +4 -4
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e0e09f1d7b233c0885c0f6b5ddbeb9bf3cbd0e85fe8e304a6aaabba5bd17c765
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as getPrimaryCommand, R as hasHelpOrVersion } from "./globals-BrhVUl-N.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-BThrPDMC.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-DnBlMBg7.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-C8gcqhYr.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-BO-Uvkuw.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -4,8 +4,8 @@ import { g as resolveStateDir } from "./paths-CHIu6D1E.js";
|
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-Bw5n50gj.js";
|
|
5
5
|
import { m as pathExists } from "./utils-D6vohX1h.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
7
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
8
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
7
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-BThrPDMC.js";
|
|
8
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-CmcjFtGc.js";
|
|
9
9
|
import { t as getProgramContext } from "./program-context-DKVuITe2.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
@@ -4,7 +4,7 @@ import { p as theme } from "./globals-xfUIfxbE.js";
|
|
|
4
4
|
import { h as pathExists } from "./utils-DMGXr25O.js";
|
|
5
5
|
import { i as routeLogsToStderr } from "./subsystem-DC87CPVS.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-De9M3AmU.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-DYZXiwDI.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 { t as resolveSquidClawPackageRoot } from "./squidclaw-root-CnE19yKj.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-z1t1m-Kx.js";
|
|
3
3
|
import { t as note } from "./note-CBt9wSWa.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-s3jkg4De.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-D8-lYArk.js";
|
|
2
2
|
import { t as resolveSquidClawPackageRoot } from "./squidclaw-root-BQfLymzj.js";
|
|
3
3
|
import { t as note } from "./note-IoQo8Ol0.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-DmtM9wN7.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -370,7 +370,7 @@ if (!isMainModule({
|
|
|
370
370
|
}
|
|
371
371
|
function tryHandleRootHelpFastPath(argv) {
|
|
372
372
|
if (!isRootHelpInvocation(argv)) return false;
|
|
373
|
-
import("./program-
|
|
373
|
+
import("./program-jawPtuKK.js").then(({ buildProgram }) => {
|
|
374
374
|
buildProgram().outputHelp();
|
|
375
375
|
}).catch((error) => {
|
|
376
376
|
console.error("[squidclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
|
|
@@ -389,7 +389,7 @@ if (!isMainModule({
|
|
|
389
389
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
390
390
|
process$1.argv = parsed.argv;
|
|
391
391
|
}
|
|
392
|
-
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-
|
|
392
|
+
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-DppGGkNn.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
393
393
|
console.error("[squidclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
394
394
|
process$1.exitCode = 1;
|
|
395
395
|
});
|
|
@@ -152,7 +152,7 @@ import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t
|
|
|
152
152
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-e4ysObLI.js";
|
|
153
153
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-Ci7mtLvH.js";
|
|
154
154
|
import "./onboarding.secret-input-DlDt-I2O.js";
|
|
155
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
155
|
+
import { t as runOnboardingWizard } from "./onboarding-BWsK7NGF.js";
|
|
156
156
|
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-C-YdARdy.js";
|
|
157
157
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CDJE1jBL.js";
|
|
158
158
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-CwVo8Z1X.js";
|
|
@@ -153,7 +153,7 @@ import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t
|
|
|
153
153
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-CQ6rCiGI.js";
|
|
154
154
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-BUEakvJt.js";
|
|
155
155
|
import "./onboarding.secret-input-C8mMp0WO.js";
|
|
156
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
156
|
+
import { t as runOnboardingWizard } from "./onboarding-CyHlCE2q.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-DilLlrt_.js";
|
|
158
158
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BDpWdYq5.js";
|
|
159
159
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-B_2iqnrx.js";
|
package/dist/index.js
CHANGED
|
@@ -119,7 +119,7 @@ import { t as isMainModule } from "./is-main-D5LnS2LP.js";
|
|
|
119
119
|
import { t as ensureSquidClawCliOnPath } from "./path-env-kSxA2INU.js";
|
|
120
120
|
import { t as assertSupportedRuntime } from "./runtime-guard-pMNmDPEU.js";
|
|
121
121
|
import "./ports-CXjhFS7T.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-DYZXiwDI.js";
|
|
123
123
|
import "./plugin-registry-BSlUIHKX.js";
|
|
124
124
|
import { n as resolveCliChannelOptions } from "./channel-options-BL5mHe-R.js";
|
|
125
125
|
import process$1 from "node:process";
|
|
@@ -8,10 +8,10 @@ import { t as assertSupportedRuntime } from "./runtime-guard-pMNmDPEU.js";
|
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-knTF_LVq.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-Bx0vssUh.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Di8BSZyD.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-BWsK7NGF.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-AGpu_2Pc.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-BpV7mEJN.js";
|
|
14
|
-
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-
|
|
14
|
+
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-ClJAny4z.js";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/onboard-interactive.ts
|
|
17
17
|
async function runInteractiveOnboarding(opts, runtime = defaultRuntime) {
|
|
@@ -8,10 +8,10 @@ import { t as WizardCancelledError } from "./prompts-l_pUOv42.js";
|
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-DU01bRlk.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-BPoq8vFM.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-CyHlCE2q.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-ZAeFsd9K.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DjGs2ip7.js";
|
|
14
|
-
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-
|
|
14
|
+
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-Dr7DjNAf.js";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/onboard-interactive.ts
|
|
17
17
|
async function runInteractiveOnboarding(opts, runtime = defaultRuntime) {
|
|
@@ -7,7 +7,7 @@ var onboard_config_exports = /* @__PURE__ */ __exportAll({
|
|
|
7
7
|
applyOnboardingLocalWorkspaceConfig: () => applyOnboardingLocalWorkspaceConfig
|
|
8
8
|
});
|
|
9
9
|
const ONBOARDING_DEFAULT_DM_SCOPE = "per-channel-peer";
|
|
10
|
-
const ONBOARDING_DEFAULT_TOOLS_PROFILE = "
|
|
10
|
+
const ONBOARDING_DEFAULT_TOOLS_PROFILE = "coding";
|
|
11
11
|
function applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir) {
|
|
12
12
|
return {
|
|
13
13
|
...baseConfig,
|
|
@@ -7,7 +7,7 @@ var onboard_config_exports = /* @__PURE__ */ __exportAll({
|
|
|
7
7
|
applyOnboardingLocalWorkspaceConfig: () => applyOnboardingLocalWorkspaceConfig
|
|
8
8
|
});
|
|
9
9
|
const ONBOARDING_DEFAULT_DM_SCOPE = "per-channel-peer";
|
|
10
|
-
const ONBOARDING_DEFAULT_TOOLS_PROFILE = "
|
|
10
|
+
const ONBOARDING_DEFAULT_TOOLS_PROFILE = "coding";
|
|
11
11
|
function applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir) {
|
|
12
12
|
return {
|
|
13
13
|
...baseConfig,
|
|
@@ -240,7 +240,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
240
240
|
message: "Workspace directory",
|
|
241
241
|
initialValue: baseConfig.agents?.defaults?.workspace ?? onboardHelpers.DEFAULT_WORKSPACE
|
|
242
242
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
243
|
-
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-
|
|
243
|
+
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-ClJAny4z.js").then((n) => n.n);
|
|
244
244
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
245
245
|
const { ensureAuthProfileStore } = await import("./model-selection-QgM_TOjC.js").then((n) => n.ht);
|
|
246
246
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-D8RKb8oM.js").then((n) => n.t);
|
|
@@ -328,7 +328,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
328
328
|
mode
|
|
329
329
|
});
|
|
330
330
|
await writeConfigFile(nextConfig);
|
|
331
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
331
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-DTefAQD1.js");
|
|
332
332
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
333
333
|
flow,
|
|
334
334
|
opts,
|
|
@@ -240,7 +240,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
240
240
|
message: "Workspace directory",
|
|
241
241
|
initialValue: baseConfig.agents?.defaults?.workspace ?? onboardHelpers.DEFAULT_WORKSPACE
|
|
242
242
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
243
|
-
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-
|
|
243
|
+
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-Dr7DjNAf.js").then((n) => n.n);
|
|
244
244
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
245
245
|
const { ensureAuthProfileStore } = await import("./auth-profiles-A-5JDnrS.js").then((n) => n.t);
|
|
246
246
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-4mupmvzh.js").then((n) => n.t);
|
|
@@ -328,7 +328,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
328
328
|
mode
|
|
329
329
|
});
|
|
330
330
|
await writeConfigFile(nextConfig);
|
|
331
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
331
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-DcVbPJlf.js");
|
|
332
332
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
333
333
|
flow,
|
|
334
334
|
opts,
|
|
@@ -111,9 +111,9 @@ import "./progress-BHN121Ps.js";
|
|
|
111
111
|
import "./server-lifecycle-yAUMTJhv.js";
|
|
112
112
|
import "./stagger-DL-XRpny.js";
|
|
113
113
|
import "./runtime-guard-pMNmDPEU.js";
|
|
114
|
-
import "./program-context-
|
|
114
|
+
import "./program-context-DYZXiwDI.js";
|
|
115
115
|
import "./note-CBt9wSWa.js";
|
|
116
|
-
import { r as installCompletion } from "./completion-cli-
|
|
116
|
+
import { r as installCompletion } from "./completion-cli-s3jkg4De.js";
|
|
117
117
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-a4pGEsbA.js";
|
|
118
118
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Di8BSZyD.js";
|
|
119
119
|
import { r as isSystemdUserServiceAvailable } from "./systemd-fP8tz4aL.js";
|
|
@@ -122,7 +122,7 @@ import { r as healthCommand } from "./health-Cia3g9r1.js";
|
|
|
122
122
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Bz7TCLpb.js";
|
|
123
123
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-DlDt-I2O.js";
|
|
124
124
|
import { t as formatHealthCheckFailure } from "./health-format-B3bJdIC6.js";
|
|
125
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
125
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BhbEWKLY.js";
|
|
126
126
|
import { t as runTui } from "./tui-BMOMT-ma.js";
|
|
127
127
|
import os from "node:os";
|
|
128
128
|
import path from "node:path";
|
|
@@ -176,6 +176,56 @@ async function setupOnboardingShellCompletion(params) {
|
|
|
176
176
|
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/wizard/onboarding.finalize.ts
|
|
179
|
+
const DEFAULT_SOUL_MD = `# SOUL.md - Who You Are
|
|
180
|
+
|
|
181
|
+
**Name:** Ash 🔥
|
|
182
|
+
|
|
183
|
+
## Core Truths
|
|
184
|
+
|
|
185
|
+
- Be genuinely helpful, not performatively helpful. Skip the filler.
|
|
186
|
+
- Have opinions. Don't be a yes-machine.
|
|
187
|
+
- Be resourceful — figure it out first, ask second.
|
|
188
|
+
- Earn trust through competence.
|
|
189
|
+
- You're a guest in someone's life. Respect that.
|
|
190
|
+
|
|
191
|
+
## Vibe
|
|
192
|
+
|
|
193
|
+
Casual. Chill. To the point when needed, fun when it fits. No corporate speak, no sycophancy.
|
|
194
|
+
Talk like a friend who happens to be really good at getting stuff done.
|
|
195
|
+
|
|
196
|
+
## Boundaries
|
|
197
|
+
|
|
198
|
+
- Private things stay private.
|
|
199
|
+
- Ask before acting externally.
|
|
200
|
+
- Never half-ass replies on messaging surfaces.
|
|
201
|
+
|
|
202
|
+
## Continuity
|
|
203
|
+
|
|
204
|
+
Each session starts fresh. Files are memory. Read them. Update them.
|
|
205
|
+
`;
|
|
206
|
+
const DEFAULT_AGENTS_MD = `# AGENTS.md - Your Workspace
|
|
207
|
+
|
|
208
|
+
## Every Session
|
|
209
|
+
|
|
210
|
+
Before doing anything:
|
|
211
|
+
|
|
212
|
+
1. Read SOUL.md — this is who you are
|
|
213
|
+
2. Read memory/YYYY-MM-DD.md (today) for recent context
|
|
214
|
+
|
|
215
|
+
## Memory
|
|
216
|
+
|
|
217
|
+
You wake up fresh each session. These files are your continuity:
|
|
218
|
+
|
|
219
|
+
- Daily notes: memory/YYYY-MM-DD.md — raw logs of what happened
|
|
220
|
+
- Long-term: MEMORY.md — your curated memories
|
|
221
|
+
|
|
222
|
+
Write things down. Mental notes do not survive session restarts. Files do.
|
|
223
|
+
|
|
224
|
+
## Style
|
|
225
|
+
|
|
226
|
+
Keep it human. Skip the filler. No Great question! or Certainly! — just answer.
|
|
227
|
+
Be direct. Be useful. Be yourself.
|
|
228
|
+
`;
|
|
179
229
|
async function finalizeOnboardingWizard(options) {
|
|
180
230
|
const { flow, opts, baseConfig, nextConfig, settings, prompter, runtime } = options;
|
|
181
231
|
const withWizardProgress = async (label, options, work) => {
|
|
@@ -366,6 +416,12 @@ async function finalizeOnboardingWizard(options) {
|
|
|
366
416
|
const gatewayStatusLine = gatewayProbe.ok ? "Gateway: reachable" : `Gateway: not detected${gatewayProbe.detail ? ` (${gatewayProbe.detail})` : ""}`;
|
|
367
417
|
const bootstrapPath = path.join(resolveUserPath(options.workspaceDir), DEFAULT_BOOTSTRAP_FILENAME);
|
|
368
418
|
const hasBootstrap = await fs.access(bootstrapPath).then(() => true).catch(() => false);
|
|
419
|
+
const resolvedWorkspaceDir = resolveUserPath(options.workspaceDir);
|
|
420
|
+
await fs.mkdir(resolvedWorkspaceDir, { recursive: true });
|
|
421
|
+
const soulPath = path.join(resolvedWorkspaceDir, "SOUL.md");
|
|
422
|
+
if (!await fs.access(soulPath).then(() => true).catch(() => false)) await fs.writeFile(soulPath, DEFAULT_SOUL_MD, "utf8");
|
|
423
|
+
const agentsPath = path.join(resolvedWorkspaceDir, "AGENTS.md");
|
|
424
|
+
if (!await fs.access(agentsPath).then(() => true).catch(() => false)) await fs.writeFile(agentsPath, DEFAULT_AGENTS_MD, "utf8");
|
|
369
425
|
await prompter.note([
|
|
370
426
|
`Web UI: ${links.httpUrl}`,
|
|
371
427
|
settings.authMode === "token" && settings.gatewayToken ? `Web UI (with token): ${authedUrl}` : void 0,
|
|
@@ -382,7 +438,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
382
438
|
"This is the defining action that makes your agent you.",
|
|
383
439
|
"Please take your time.",
|
|
384
440
|
"The more you tell it, the better the experience will be.",
|
|
385
|
-
"We will send: \"
|
|
441
|
+
"We will send: \"Hey Friend, Wakeup!\""
|
|
386
442
|
].join("\n"), "Start TUI (best option!)");
|
|
387
443
|
await prompter.note([
|
|
388
444
|
"Gateway token: shared auth for the Gateway + Control UI.",
|
|
@@ -418,7 +474,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
418
474
|
token: settings.authMode === "token" ? settings.gatewayToken : void 0,
|
|
419
475
|
password: settings.authMode === "password" ? resolvedGatewayPassword : "",
|
|
420
476
|
deliver: false,
|
|
421
|
-
message: hasBootstrap ? "
|
|
477
|
+
message: hasBootstrap ? "Hey Friend, Wakeup!" : void 0
|
|
422
478
|
});
|
|
423
479
|
launchedTui = true;
|
|
424
480
|
} else if (hatchChoice === "web") {
|
|
@@ -112,9 +112,9 @@ import "./cli-utils-BKqG4ZT-.js";
|
|
|
112
112
|
import "./help-format-CpR5cEGe.js";
|
|
113
113
|
import "./progress-DuhDspl6.js";
|
|
114
114
|
import "./note-IoQo8Ol0.js";
|
|
115
|
-
import { r as installCompletion } from "./completion-cli-
|
|
116
|
-
import "./register.subclis-
|
|
117
|
-
import "./command-registry-
|
|
115
|
+
import { r as installCompletion } from "./completion-cli-DmtM9wN7.js";
|
|
116
|
+
import "./register.subclis-BThrPDMC.js";
|
|
117
|
+
import "./command-registry-CmcjFtGc.js";
|
|
118
118
|
import "./program-context-DKVuITe2.js";
|
|
119
119
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CJtiW2RE.js";
|
|
120
120
|
import "./runtime-guard-BPoq8vFM.js";
|
|
@@ -125,7 +125,7 @@ import { r as healthCommand } from "./health-DWPZxgyM.js";
|
|
|
125
125
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BYEy341x.js";
|
|
126
126
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-C8mMp0WO.js";
|
|
127
127
|
import { t as formatHealthCheckFailure } from "./health-format-eNDYxTNS.js";
|
|
128
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
128
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BiWEEW0n.js";
|
|
129
129
|
import { t as runTui } from "./tui-COxtcHW8.js";
|
|
130
130
|
import { spawn } from "node:child_process";
|
|
131
131
|
import os from "node:os";
|
|
@@ -179,6 +179,56 @@ async function setupOnboardingShellCompletion(params) {
|
|
|
179
179
|
|
|
180
180
|
//#endregion
|
|
181
181
|
//#region src/wizard/onboarding.finalize.ts
|
|
182
|
+
const DEFAULT_SOUL_MD = `# SOUL.md - Who You Are
|
|
183
|
+
|
|
184
|
+
**Name:** Ash 🔥
|
|
185
|
+
|
|
186
|
+
## Core Truths
|
|
187
|
+
|
|
188
|
+
- Be genuinely helpful, not performatively helpful. Skip the filler.
|
|
189
|
+
- Have opinions. Don't be a yes-machine.
|
|
190
|
+
- Be resourceful — figure it out first, ask second.
|
|
191
|
+
- Earn trust through competence.
|
|
192
|
+
- You're a guest in someone's life. Respect that.
|
|
193
|
+
|
|
194
|
+
## Vibe
|
|
195
|
+
|
|
196
|
+
Casual. Chill. To the point when needed, fun when it fits. No corporate speak, no sycophancy.
|
|
197
|
+
Talk like a friend who happens to be really good at getting stuff done.
|
|
198
|
+
|
|
199
|
+
## Boundaries
|
|
200
|
+
|
|
201
|
+
- Private things stay private.
|
|
202
|
+
- Ask before acting externally.
|
|
203
|
+
- Never half-ass replies on messaging surfaces.
|
|
204
|
+
|
|
205
|
+
## Continuity
|
|
206
|
+
|
|
207
|
+
Each session starts fresh. Files are memory. Read them. Update them.
|
|
208
|
+
`;
|
|
209
|
+
const DEFAULT_AGENTS_MD = `# AGENTS.md - Your Workspace
|
|
210
|
+
|
|
211
|
+
## Every Session
|
|
212
|
+
|
|
213
|
+
Before doing anything:
|
|
214
|
+
|
|
215
|
+
1. Read SOUL.md — this is who you are
|
|
216
|
+
2. Read memory/YYYY-MM-DD.md (today) for recent context
|
|
217
|
+
|
|
218
|
+
## Memory
|
|
219
|
+
|
|
220
|
+
You wake up fresh each session. These files are your continuity:
|
|
221
|
+
|
|
222
|
+
- Daily notes: memory/YYYY-MM-DD.md — raw logs of what happened
|
|
223
|
+
- Long-term: MEMORY.md — your curated memories
|
|
224
|
+
|
|
225
|
+
Write things down. Mental notes do not survive session restarts. Files do.
|
|
226
|
+
|
|
227
|
+
## Style
|
|
228
|
+
|
|
229
|
+
Keep it human. Skip the filler. No Great question! or Certainly! — just answer.
|
|
230
|
+
Be direct. Be useful. Be yourself.
|
|
231
|
+
`;
|
|
182
232
|
async function finalizeOnboardingWizard(options) {
|
|
183
233
|
const { flow, opts, baseConfig, nextConfig, settings, prompter, runtime } = options;
|
|
184
234
|
const withWizardProgress = async (label, options, work) => {
|
|
@@ -369,6 +419,12 @@ async function finalizeOnboardingWizard(options) {
|
|
|
369
419
|
const gatewayStatusLine = gatewayProbe.ok ? "Gateway: reachable" : `Gateway: not detected${gatewayProbe.detail ? ` (${gatewayProbe.detail})` : ""}`;
|
|
370
420
|
const bootstrapPath = path.join(resolveUserPath(options.workspaceDir), DEFAULT_BOOTSTRAP_FILENAME);
|
|
371
421
|
const hasBootstrap = await fs.access(bootstrapPath).then(() => true).catch(() => false);
|
|
422
|
+
const resolvedWorkspaceDir = resolveUserPath(options.workspaceDir);
|
|
423
|
+
await fs.mkdir(resolvedWorkspaceDir, { recursive: true });
|
|
424
|
+
const soulPath = path.join(resolvedWorkspaceDir, "SOUL.md");
|
|
425
|
+
if (!await fs.access(soulPath).then(() => true).catch(() => false)) await fs.writeFile(soulPath, DEFAULT_SOUL_MD, "utf8");
|
|
426
|
+
const agentsPath = path.join(resolvedWorkspaceDir, "AGENTS.md");
|
|
427
|
+
if (!await fs.access(agentsPath).then(() => true).catch(() => false)) await fs.writeFile(agentsPath, DEFAULT_AGENTS_MD, "utf8");
|
|
372
428
|
await prompter.note([
|
|
373
429
|
`Web UI: ${links.httpUrl}`,
|
|
374
430
|
settings.authMode === "token" && settings.gatewayToken ? `Web UI (with token): ${authedUrl}` : void 0,
|
|
@@ -385,7 +441,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
385
441
|
"This is the defining action that makes your agent you.",
|
|
386
442
|
"Please take your time.",
|
|
387
443
|
"The more you tell it, the better the experience will be.",
|
|
388
|
-
"We will send: \"
|
|
444
|
+
"We will send: \"Hey Friend, Wakeup!\""
|
|
389
445
|
].join("\n"), "Start TUI (best option!)");
|
|
390
446
|
await prompter.note([
|
|
391
447
|
"Gateway token: shared auth for the Gateway + Control UI.",
|
|
@@ -421,7 +477,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
421
477
|
token: settings.authMode === "token" ? settings.gatewayToken : void 0,
|
|
422
478
|
password: settings.authMode === "password" ? resolvedGatewayPassword : "",
|
|
423
479
|
deliver: false,
|
|
424
|
-
message: hasBootstrap ? "
|
|
480
|
+
message: hasBootstrap ? "Hey Friend, Wakeup!" : void 0
|
|
425
481
|
});
|
|
426
482
|
launchedTui = true;
|
|
427
483
|
} else if (hatchChoice === "web") {
|
|
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
4
4
|
import fs, { constants, createWriteStream } from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import json5 from "json5";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import "@clack/prompts";
|
|
@@ -766,7 +766,7 @@ function readLoggingConfig() {
|
|
|
766
766
|
try {
|
|
767
767
|
if (!fs.existsSync(configPath)) return;
|
|
768
768
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
769
|
-
const logging =
|
|
769
|
+
const logging = json5.parse(raw)?.logging;
|
|
770
770
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
771
771
|
return logging;
|
|
772
772
|
} 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-o6o-HYL4.js")).registerGatewayCli(program);
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -262,7 +262,7 @@ const entries = [
|
|
|
262
262
|
description: "Update SquidClaw and inspect update channel status",
|
|
263
263
|
hasSubcommands: true,
|
|
264
264
|
register: async (program) => {
|
|
265
|
-
(await import("./update-cli-
|
|
265
|
+
(await import("./update-cli-CmGHH0ie.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-s3jkg4De.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-BE7jmZUQ.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-CmNRb3DP.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-DhCuval0.js")).registerMaintenanceCommands(program);
|
|
388
388
|
}
|
|
389
389
|
},
|
|
390
390
|
{
|
|
@@ -114,8 +114,8 @@ import "./help-format-CpR5cEGe.js";
|
|
|
114
114
|
import "./progress-DuhDspl6.js";
|
|
115
115
|
import "./plugin-registry-CY6M0s7E.js";
|
|
116
116
|
import { n as resolveCliChannelOptions } from "./channel-options-MXnjBZLl.js";
|
|
117
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
118
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
117
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-BThrPDMC.js";
|
|
118
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-CmcjFtGc.js";
|
|
119
119
|
import { r as setProgramContext } from "./program-context-DKVuITe2.js";
|
|
120
120
|
import { t as forceFreePort } from "./ports-Be82TlEg.js";
|
|
121
121
|
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-sP4T31sA.js";
|
|
@@ -47,7 +47,7 @@ import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as l
|
|
|
47
47
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-CqqomOFQ.js";
|
|
48
48
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DgK8uuKY.js";
|
|
49
49
|
import { t as formatHealthCheckFailure } from "./health-format-B3bJdIC6.js";
|
|
50
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
50
|
+
import { n as doctorShellCompletion } from "./doctor-completion-BhbEWKLY.js";
|
|
51
51
|
import fs from "node:fs";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
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-6-9iUInB.js";
|
|
48
48
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-6Jd9K5p2.js";
|
|
49
49
|
import { t as formatHealthCheckFailure } from "./health-format-eNDYxTNS.js";
|
|
50
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
50
|
+
import { n as doctorShellCompletion } from "./doctor-completion-BiWEEW0n.js";
|
|
51
51
|
import { execFile } from "node:child_process";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import path from "node:path";
|
|
@@ -116,9 +116,9 @@ import { t as copyToClipboard } from "./clipboard-DFi9X9K_.js";
|
|
|
116
116
|
import "./note-IoQo8Ol0.js";
|
|
117
117
|
import "./issue-format-C7Xmnsr-.js";
|
|
118
118
|
import "./channels-status-issues-Dz1_R7Ah.js";
|
|
119
|
-
import "./completion-cli-
|
|
120
|
-
import "./register.subclis-
|
|
121
|
-
import "./command-registry-
|
|
119
|
+
import "./completion-cli-DmtM9wN7.js";
|
|
120
|
+
import "./register.subclis-BThrPDMC.js";
|
|
121
|
+
import "./command-registry-CmcjFtGc.js";
|
|
122
122
|
import "./program-context-DKVuITe2.js";
|
|
123
123
|
import "./daemon-install-helpers-CJtiW2RE.js";
|
|
124
124
|
import "./runtime-guard-BPoq8vFM.js";
|
|
@@ -135,8 +135,8 @@ import "./doctor-config-flow-bhei5LcE.js";
|
|
|
135
135
|
import "./oauth-tls-preflight-6-9iUInB.js";
|
|
136
136
|
import "./systemd-linger-6Jd9K5p2.js";
|
|
137
137
|
import "./health-format-eNDYxTNS.js";
|
|
138
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
139
|
-
import "./doctor-completion-
|
|
138
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-B9r-0miA.js";
|
|
139
|
+
import "./doctor-completion-BiWEEW0n.js";
|
|
140
140
|
import path from "node:path";
|
|
141
141
|
import fs from "node:fs/promises";
|
|
142
142
|
import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
|
|
@@ -111,13 +111,13 @@ import "./progress-BHN121Ps.js";
|
|
|
111
111
|
import "./server-lifecycle-yAUMTJhv.js";
|
|
112
112
|
import "./stagger-DL-XRpny.js";
|
|
113
113
|
import "./runtime-guard-pMNmDPEU.js";
|
|
114
|
-
import "./program-context-
|
|
114
|
+
import "./program-context-DYZXiwDI.js";
|
|
115
115
|
import "./skills-status-DQw98BkG.js";
|
|
116
116
|
import { t as copyToClipboard } from "./clipboard-Cv0aNouS.js";
|
|
117
117
|
import "./note-CBt9wSWa.js";
|
|
118
118
|
import "./issue-format-sA05c-6t.js";
|
|
119
119
|
import "./channels-status-issues-N9kzQrD8.js";
|
|
120
|
-
import "./completion-cli-
|
|
120
|
+
import "./completion-cli-s3jkg4De.js";
|
|
121
121
|
import "./daemon-install-helpers-a4pGEsbA.js";
|
|
122
122
|
import "./systemd-fP8tz4aL.js";
|
|
123
123
|
import { t as resolveGatewayService } from "./service-D4y0_Q5Z.js";
|
|
@@ -132,8 +132,8 @@ import "./doctor-config-flow-DDWA3Z2D.js";
|
|
|
132
132
|
import "./oauth-tls-preflight-CqqomOFQ.js";
|
|
133
133
|
import "./systemd-linger-DgK8uuKY.js";
|
|
134
134
|
import "./health-format-B3bJdIC6.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-B8Gy56D5.js";
|
|
136
|
+
import "./doctor-completion-BhbEWKLY.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 "./note-IoQo8Ol0.js";
|
|
|
40
40
|
import "./clack-prompter-DU01bRlk.js";
|
|
41
41
|
import "./runtime-guard-BPoq8vFM.js";
|
|
42
42
|
import "./onboarding.secret-input-C8mMp0WO.js";
|
|
43
|
-
import "./onboarding-
|
|
43
|
+
import "./onboarding-CyHlCE2q.js";
|
|
44
44
|
import "./logging-ZAeFsd9K.js";
|
|
45
45
|
import { t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DjGs2ip7.js";
|
|
46
46
|
import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-gK9YFFTi.js";
|
|
47
|
-
import { t as onboardCommand } from "./onboard-
|
|
47
|
+
import { t as onboardCommand } from "./onboard-W1bpoHOl.js";
|
|
48
48
|
|
|
49
49
|
//#region src/cli/program/register.onboard.ts
|
|
50
50
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -40,11 +40,11 @@ import "./runtime-guard-pMNmDPEU.js";
|
|
|
40
40
|
import "./note-CBt9wSWa.js";
|
|
41
41
|
import "./clack-prompter-Bx0vssUh.js";
|
|
42
42
|
import "./onboarding.secret-input-DlDt-I2O.js";
|
|
43
|
-
import "./onboarding-
|
|
43
|
+
import "./onboarding-BWsK7NGF.js";
|
|
44
44
|
import "./logging-AGpu_2Pc.js";
|
|
45
45
|
import { t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-BpV7mEJN.js";
|
|
46
46
|
import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-DEvk4ApB.js";
|
|
47
|
-
import { t as onboardCommand } from "./onboard-
|
|
47
|
+
import { t as onboardCommand } from "./onboard-C-zpr47X.js";
|
|
48
48
|
|
|
49
49
|
//#region src/cli/program/register.onboard.ts
|
|
50
50
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -41,9 +41,9 @@ import { t as hasExplicitOptions } from "./command-options-D0bXi5Pl.js";
|
|
|
41
41
|
import "./note-CBt9wSWa.js";
|
|
42
42
|
import "./clack-prompter-Bx0vssUh.js";
|
|
43
43
|
import "./onboarding.secret-input-DlDt-I2O.js";
|
|
44
|
-
import "./onboarding-
|
|
44
|
+
import "./onboarding-BWsK7NGF.js";
|
|
45
45
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-AGpu_2Pc.js";
|
|
46
|
-
import { t as onboardCommand } from "./onboard-
|
|
46
|
+
import { t as onboardCommand } from "./onboard-C-zpr47X.js";
|
|
47
47
|
import JSON5 from "json5";
|
|
48
48
|
import fs from "node:fs/promises";
|
|
49
49
|
|
|
@@ -41,9 +41,9 @@ import "./note-IoQo8Ol0.js";
|
|
|
41
41
|
import "./clack-prompter-DU01bRlk.js";
|
|
42
42
|
import "./runtime-guard-BPoq8vFM.js";
|
|
43
43
|
import "./onboarding.secret-input-C8mMp0WO.js";
|
|
44
|
-
import "./onboarding-
|
|
44
|
+
import "./onboarding-CyHlCE2q.js";
|
|
45
45
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-ZAeFsd9K.js";
|
|
46
|
-
import { t as onboardCommand } from "./onboard-
|
|
46
|
+
import { t as onboardCommand } from "./onboard-W1bpoHOl.js";
|
|
47
47
|
import JSON5 from "json5";
|
|
48
48
|
import fs from "node:fs/promises";
|
|
49
49
|
|
|
@@ -65,7 +65,7 @@ const entries = [
|
|
|
65
65
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
66
66
|
hasSubcommands: true,
|
|
67
67
|
register: async (program) => {
|
|
68
|
-
(await import("./gateway-cli-
|
|
68
|
+
(await import("./gateway-cli-s0ZRMX70.js")).registerGatewayCli(program);
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
{
|
|
@@ -269,7 +269,7 @@ const entries = [
|
|
|
269
269
|
description: "Update SquidClaw and inspect update channel status",
|
|
270
270
|
hasSubcommands: true,
|
|
271
271
|
register: async (program) => {
|
|
272
|
-
(await import("./update-cli-
|
|
272
|
+
(await import("./update-cli-C3vGvEpl.js")).registerUpdateCli(program);
|
|
273
273
|
}
|
|
274
274
|
},
|
|
275
275
|
{
|
|
@@ -277,7 +277,7 @@ const entries = [
|
|
|
277
277
|
description: "Generate shell completion script",
|
|
278
278
|
hasSubcommands: false,
|
|
279
279
|
register: async (program) => {
|
|
280
|
-
(await import("./completion-cli-
|
|
280
|
+
(await import("./completion-cli-DmtM9wN7.js").then((n) => n.n)).registerCompletionCli(program);
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
];
|
|
@@ -419,7 +419,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
419
419
|
assertSupportedRuntime();
|
|
420
420
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
421
421
|
enableConsoleCapture();
|
|
422
|
-
const { buildProgram } = await import("./program-
|
|
422
|
+
const { buildProgram } = await import("./program-jawPtuKK.js");
|
|
423
423
|
const program = buildProgram();
|
|
424
424
|
installUnhandledRejectionHandler();
|
|
425
425
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -432,10 +432,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
432
432
|
const { getProgramContext } = await import("./program-context-DKVuITe2.js").then((n) => n.n);
|
|
433
433
|
const ctx = getProgramContext(program);
|
|
434
434
|
if (ctx) {
|
|
435
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
435
|
+
const { registerCoreCliByName } = await import("./command-registry-CmcjFtGc.js").then((n) => n.t);
|
|
436
436
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
437
437
|
}
|
|
438
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
438
|
+
const { registerSubCliByName } = await import("./register.subclis-BThrPDMC.js").then((n) => n.a);
|
|
439
439
|
await registerSubCliByName(program, primary);
|
|
440
440
|
}
|
|
441
441
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -122,9 +122,9 @@ import "./skill-scanner-CvS725eQ.js";
|
|
|
122
122
|
import "./installs-BiQDtPF0.js";
|
|
123
123
|
import { n as formatConfigIssueLines } from "./issue-format-C7Xmnsr-.js";
|
|
124
124
|
import "./channels-status-issues-Dz1_R7Ah.js";
|
|
125
|
-
import { r as installCompletion } from "./completion-cli-
|
|
126
|
-
import "./register.subclis-
|
|
127
|
-
import "./command-registry-
|
|
125
|
+
import { r as installCompletion } from "./completion-cli-DmtM9wN7.js";
|
|
126
|
+
import "./register.subclis-BThrPDMC.js";
|
|
127
|
+
import "./command-registry-CmcjFtGc.js";
|
|
128
128
|
import "./program-context-DKVuITe2.js";
|
|
129
129
|
import "./daemon-install-helpers-CJtiW2RE.js";
|
|
130
130
|
import { r as parseSemver } from "./runtime-guard-BPoq8vFM.js";
|
|
@@ -146,8 +146,8 @@ import "./doctor-config-flow-bhei5LcE.js";
|
|
|
146
146
|
import "./oauth-tls-preflight-6-9iUInB.js";
|
|
147
147
|
import "./systemd-linger-6Jd9K5p2.js";
|
|
148
148
|
import "./health-format-eNDYxTNS.js";
|
|
149
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
150
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
149
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-B9r-0miA.js";
|
|
150
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BiWEEW0n.js";
|
|
151
151
|
import { spawn, spawnSync } from "node:child_process";
|
|
152
152
|
import os from "node:os";
|
|
153
153
|
import path from "node:path";
|
|
@@ -113,7 +113,7 @@ import "./server-lifecycle-yAUMTJhv.js";
|
|
|
113
113
|
import "./stagger-DL-XRpny.js";
|
|
114
114
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-JYGbA1vc.js";
|
|
115
115
|
import { r as parseSemver } from "./runtime-guard-pMNmDPEU.js";
|
|
116
|
-
import "./program-context-
|
|
116
|
+
import "./program-context-DYZXiwDI.js";
|
|
117
117
|
import "./skills-status-DQw98BkG.js";
|
|
118
118
|
import { n as inheritOptionFromParent } from "./command-options-D0bXi5Pl.js";
|
|
119
119
|
import "./note-CBt9wSWa.js";
|
|
@@ -123,7 +123,7 @@ import "./skill-scanner-rdr9cQew.js";
|
|
|
123
123
|
import "./installs-CyjlehlR.js";
|
|
124
124
|
import { n as formatConfigIssueLines } from "./issue-format-sA05c-6t.js";
|
|
125
125
|
import "./channels-status-issues-N9kzQrD8.js";
|
|
126
|
-
import { r as installCompletion } from "./completion-cli-
|
|
126
|
+
import { r as installCompletion } from "./completion-cli-s3jkg4De.js";
|
|
127
127
|
import "./daemon-install-helpers-a4pGEsbA.js";
|
|
128
128
|
import "./systemd-fP8tz4aL.js";
|
|
129
129
|
import { t as resolveGatewayService } from "./service-D4y0_Q5Z.js";
|
|
@@ -143,8 +143,8 @@ import "./doctor-config-flow-DDWA3Z2D.js";
|
|
|
143
143
|
import "./oauth-tls-preflight-CqqomOFQ.js";
|
|
144
144
|
import "./systemd-linger-DgK8uuKY.js";
|
|
145
145
|
import "./health-format-B3bJdIC6.js";
|
|
146
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
147
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
146
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-B8Gy56D5.js";
|
|
147
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BhbEWKLY.js";
|
|
148
148
|
import os from "node:os";
|
|
149
149
|
import path from "node:path";
|
|
150
150
|
import fs from "node:fs/promises";
|