import "./paths-Cmq4jkLW.js";
import { B as theme } from "./utils-CcH8KYHm.js";
import "./pi-embedded-helpers-CUM4EVtq.js";
import "./reply-VKjYl5sI.js";
import "./registry-BvTskRju.js";
import { f as defaultRuntime } from "./subsystem-D5jeWpPI.js";
import "./exec-Drj_Y0q4.js";
import "./agent-scope-B830_s1e.js";
import "./model-selection-Cu-UzQaa.js";
import "./boolean-Wzu0-e0P.js";
import "./env-L9Bekcgw.js";
import "./io-B0vHiKay.js";
import "./manifest-registry-CKXLdOam.js";
import "./config-CPJqIoc0.js";
import "./runner-DB15hets.js";
import "./model-catalog-DpWoHG9o.js";
import "./sandbox-l0BIS2AF.js";
import "./chrome-BHApvxyL.js";
import "./tailscale-C4Vg-KZ-.js";
import "./auth-DIeV2lKw.js";
import "./server-context-bg3lXzeH.js";
import "./frontmatter-CNh1FjpI.js";
import "./skills-CKZwNx6X.js";
import "./routes-CuHfLF5P.js";
import "./redact-D8ZUlwEM.js";
import "./errors-CaeqAr2b.js";
import "./paths-Bd5AWivy.js";
import "./ssrf-CqwYCyyw.js";
import "./image-ops-CgU_RtSG.js";
import "./store-vua1MTJe.js";
import "./ports-_-ibL5BF.js";
import "./trash-DyQphUG9.js";
import "./sessions-CUSpOb-h.js";
import "./message-channel-BZ3Pmru_.js";
import "./plugins-CK8s7WRs.js";
import "./accounts-CqvejUxk.js";
import "./accounts-DBps791j.js";
import "./accounts-D9-52N3f.js";
import "./bindings-Rfu8UC_f.js";
import "./logging-GKUQydLE.js";
import "./send-BcLigZI1.js";
import "./send-WJ_bUIhn.js";
import "./paths-DRmXMWHJ.js";
import "./tool-images-BLUAnHRr.js";
import "./tool-display-D_iFHKHp.js";
import "./fetch-guard-DvcUsuQY.js";
import "./api-key-rotation-DZBE6VME.js";
import "./fetch-DNpno7P_.js";
import "./sqlite-2J_aUfpb.js";
import "./tokens-l-Si0ZDZ.js";
import "./with-timeout-RAYdcaDS.js";
import "./deliver-BZje9EiY.js";
import "./send-CS8No41i.js";
import "./reply-prefix-G6fMC6ID.js";
import "./memory-cli-Bt5IOprN.js";
import "./manager-DLaEm3Ck.js";
import "./retry-S9N3koCo.js";
import "./common-Ct4DbLC9.js";
import "./chunk-BZIV3cUY.js";
import "./markdown-tables-DJrsOaQF.js";
import "./ir-BbBSx66U.js";
import "./render-lL152pED.js";
import "./commands-registry-BqlDWjuG.js";
import "./client-DHtTLXhO.js";
import "./call-D2SDoKJk.js";
import "./send-1U4da-s7.js";
import "./outbound-attachment-GYBEI_mQ.js";
import "./fetch-foh1DT5r.js";
import "./delivery-queue-DwiVWmkG.js";
import "./channel-activity-B_aFm3Dm.js";
import "./tables-CckVE7p3.js";
import "./pairing-store-CzdfWU5W.js";
import { t as formatDocsLink } from "./links-DV6hYVY1.js";
import { n as runCommandWithRuntime } from "./cli-utils-BjM5oE0K.js";
import "./help-format-BpfPzEPd.js";
import "./progress-CWlDqwUr.js";
import "./resolve-route-B4jEqPtt.js";
import "./replies-B069McC7.js";
import "./pi-tools.policy-ki7ZRcz5.js";
import "./send-DGcH_0CW.js";
import "./onboard-helpers-Dtt6BNTy.js";
import "./prompt-style-fNcmRVVS.js";
import "./pairing-labels-CGli10Hb.js";
import "./session-cost-usage-CFTdb38x.js";
import "./nodes-screen-dtXdEZUN.js";
import "./project-context-Cdlm0139.js";
import "./control-service-CnE_Bj9V.js";
import "./stagger-DQK2wQxi.js";
import "./channel-selection-BGIcRAHU.js";
import "./runtime-guard-CISSb1XO.js";
import "./catalog-IhKgYGCM.js";
import "./skills-status-Bm3gL-xU.js";
import "./note-DL3bb6Gk.js";
import "./clack-prompter-DXCMO1vU.js";
import "./plugin-auto-enable-B7XiDEEM.js";
import "./install-safe-path-BdzKxu5e.js";
import "./npm-registry-spec-CVVtAvFA.js";
import "./skill-scanner-BSW__ypt.js";
import "./installs-BwIEieJB.js";
import "./onboard-channels-Crx10JFu.js";
import "./daemon-runtime-CaeVeU9n.js";
import "./systemd-DG1iWQQd.js";
import "./service-CeQ0Lum9.js";
import "./widearea-dns-CrFc3w-V.js";
import "./bonjour-discovery-CJWV4g7_.js";
import "./health-C1tMKfCM.js";
import "./control-ui-assets-D1AxaHMm.js";
import "./skills-install-EpT9d_bI.js";
import "./shared-DJIo2v-z.js";
import "./onboard-auth.credentials-CcUNd8i7.js";
import "./auth-token-DHTtZX8_.js";
import "./logging-Czzgs1Mf.js";
import "./provider-auth-helpers-BCM957pI.js";
import "./auth-choice-BzBCxUJP.js";
import "./openai-model-default-tXOZlwFA.js";
import "./env-file-DUypwWSM.js";
import "./vllm-setup-C4-bM0FN.js";
import { n as configureCommandFromSectionsArg, r as CONFIGURE_WIZARD_SECTIONS } from "./configure-Bip9G4vN.js";
import "./systemd-linger-BGAbLMdR.js";
import "./model-picker-B_geyJtH.js";
import "./onboard-custom-CNoruDe6.js";
import "./health-format-CZOpW4t4.js";
import "./onboard-remote-DPNpNil0.js";
import "./onboard-skills-CjFT4ssT.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 };