import "./paths-CutK9mvd.js";
import "./registry-DScA7GM7.js";
import { z as theme } from "./utils-BXq128Ep.js";
import { f as defaultRuntime } from "./subsystem-C0jWWDsO.js";
import "./boolean-DtWR5bt3.js";
import "./auth-profiles-Ci0m1nDj.js";
import "./exec-BfxXkFYo.js";
import "./agent-scope-C9lu5zYP.js";
import "./frontmatter-B3s_6fwe.js";
import "./skills-CXwgvGur.js";
import "./manifest-registry-CLylU6AG.js";
import "./skills-status-C_4ZtMSQ.js";
import "./io-CD_zuK0D.js";
import "./config-DiWsrVKe.js";
import "./client-DcGx78uR.js";
import "./call-DfwL1J3H.js";
import "./message-channel-f25bXyKM.js";
import "./subagent-registry-C2sM5Cyw.js";
import "./sessions-Mt8f23sr.js";
import "./tokens-D7kBZYPD.js";
import "./plugins-CiXA7mtz.js";
import "./accounts-DlyBFGv4.js";
import "./bindings-DjR4yXgA.js";
import "./logging-pqyrk15z.js";
import "./send-BSyWSMGa.js";
import "./send-Bv-Ugxhn.js";
import "./with-timeout-CMUEB0p-.js";
import "./deliver-CkqGoWHC.js";
import "./accounts-DNDn42nY.js";
import "./send-Dbw-1Nv6.js";
import "./image-ops-DX6lds-i.js";
import "./models-config-6QdRrV1c.js";
import "./pi-embedded-helpers-_sjZz5r6.js";
import "./sandbox-Cgi5GRjr.js";
import "./chrome-CCvAKFA-.js";
import "./tailscale-BrDWEIwI.js";
import "./auth-B80pI0Uh.js";
import "./server-context-CPsi2755.js";
import "./routes-MRFMs3Hh.js";
import "./redact-CFj039qF.js";
import "./errors-8VQXhB4u.js";
import "./paths-BKv1HwMq.js";
import "./ssrf-weuQnXiO.js";
import "./store-BgSeZwv0.js";
import "./ports-BTCCmBPN.js";
import "./trash-RPQQ3ep-.js";
import "./accounts-IQLo28rM.js";
import "./paths-mQAx86lp.js";
import "./tool-images-BtNaJzDf.js";
import "./reply-prefix-CTkJoXqQ.js";
import "./memory-cli-DhQ3BMgb.js";
import "./manager-BUwPVwMU.js";
import "./gemini-auth-D_WaKG1u.js";
import "./sqlite-B6wrIncg.js";
import "./retry-eZfsfPJw.js";
import "./common-Cb-qblwg.js";
import "./chunk-CCkvwRI1.js";
import "./markdown-tables-BmPL6gxD.js";
import "./fetch-guard-DgkwAf8y.js";
import "./fetch-Cyj7bUtQ.js";
import "./ir-Zi6SqHuv.js";
import "./render-lL152pED.js";
import "./commands-registry-Bb7wps-U.js";
import "./runner-Dq5pUJw7.js";
import "./tool-display-C_2MZJqm.js";
import "./model-catalog-I10Mw32M.js";
import "./session-utils-rRgbDHdn.js";
import "./pi-tools.policy-Dl38gqLG.js";
import "./pairing-store-BFjZsQfU.js";
import "./fetch-FKiEPHsu.js";
import "./nodes-screen-aqjJyJKK.js";
import "./session-cost-usage-CFkSIl99.js";
import "./send-Dm5td_ud.js";
import "./outbound-attachment-DbnUFGg7.js";
import "./delivery-queue-CrM_98Zj.js";
import "./project-context-CDgzGX_i.js";
import "./control-service-Da4pvhRF.js";
import "./stagger-vDSk1wpM.js";
import "./channel-selection-C9HQldEr.js";
import "./send-DVTkNDIS.js";
import "./resolve-route-DfP8shJU.js";
import "./channel-activity-CjNqpxzA.js";
import "./tables-D0RFg7_p.js";
import { t as formatDocsLink } from "./links-Crq8FXFM.js";
import { n as runCommandWithRuntime } from "./cli-utils-m10N0YX2.js";
import "./help-format-xwRPMYQn.js";
import "./progress-Czj96fRf.js";
import "./replies-D7zeCuNw.js";
import "./onboard-helpers-BfUVfjJm.js";
import "./prompt-style-gyFdZw9z.js";
import "./pairing-labels-DcHuGxfy.js";
import "./catalog-C5-j4Yr-.js";
import "./note-DBwiNGlo.js";
import "./clack-prompter-H3S9tpcw.js";
import "./plugin-auto-enable-D5QkbU5E.js";
import "./install-safe-path-D3Pjumcf.js";
import "./npm-registry-spec-CzU5ys0M.js";
import "./skill-scanner-C1a4nYAb.js";
import "./installs-1dlfGJPC.js";
import "./onboard-channels-BkVbTSnu.js";
import "./daemon-runtime-CZOtxU0-.js";
import "./runtime-guard-CV_MGdwf.js";
import "./systemd-DJnyEJey.js";
import "./service-B4bQU0ni.js";
import "./widearea-dns-stvrEnB-.js";
import "./bonjour-discovery-a31Y1IA7.js";
import "./health-DSAmjFa7.js";
import "./control-ui-assets-DWW83OaY.js";
import "./skills-install-BHML06H0.js";
import "./shared-BRm-WFzj.js";
import "./onboard-auth.credentials-B9r-8gdL.js";
import "./auth-token-DWwV3TwE.js";
import "./logging-D0STCWnR.js";
import "./provider-auth-helpers-CUIc5v1Y.js";
import "./auth-choice-BwbQF1gL.js";
import "./openai-model-default-BMg8fxId.js";
import "./env-file-Dw1DtQK9.js";
import "./vllm-setup-Cr2hS61M.js";
import { n as configureCommandFromSectionsArg, r as CONFIGURE_WIZARD_SECTIONS } from "./configure-lorHzJmp.js";
import "./systemd-linger-DkqrShRC.js";
import "./model-picker-DZ8o94oV.js";
import "./onboard-custom-D3BtKuEY.js";
import "./health-format-C9GZy4gZ.js";
import "./onboard-remote-BFmmYXaR.js";
import "./onboard-skills-CYkj6m6y.js";

//#region src/cli/program/register.configure.ts
function registerConfigureCommand(program) {
	program.command("configure").description("Interactive setup wizard for credentials, channels, gateway, and agent defaults").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/configure", "docs.coderclaw.ai/cli/configure")}\n`).option("--section <section>", `Configuration sections (repeatable). Options: ${CONFIGURE_WIZARD_SECTIONS.join(", ")}`, (value, previous) => [...previous, value], []).action(async (opts) => {
		await runCommandWithRuntime(defaultRuntime, async () => {
			await configureCommandFromSectionsArg(opts.section, defaultRuntime);
		});
	});
}

//#endregion
export { registerConfigureCommand };