import "./unified-runner-DXjH-prv.js";
import { j as theme } from "./registry-Sbac4a4z.js";
import "./paths-By0XjHBk.js";
import "./utils-CTPsqyE_.js";
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
import "./auth-profiles-D5nYBj_Z.js";
import "./exec-DuYbft0z.js";
import "./agent-scope-Bnsyyeci.js";
import "./model-selection-CCTzD29o.js";
import "./file-lock-2AecMjCa.js";
import "./agent-paths-BbZSGrUA.js";
import "./pi-embedded-helpers-j1JrlsI0.js";
import "./config-BngIfn5l.js";
import "./boolean-CbZoNRMn.js";
import "./env-BRnPI9sO.js";
import "./shell-env-Dc3iU7HK.js";
import "./manifest-registry-D1MLZEjS.js";
import "./sandbox-CZGTCone.js";
import "./chrome-38OnGyuN.js";
import "./tailscale-DpKBMIvx.js";
import "./auth-Bkx-QuRN.js";
import "./server-context-DXdk410X.js";
import "./frontmatter-B_jqcova.js";
import "./skills-CYcBtLGH.js";
import "./routes-BwTUoI5h.js";
import "./redact-B3O-RBO1.js";
import "./errors-bI7Tdx75.js";
import "./fs-safe-B0Is-oLk.js";
import "./paths-BWqg8NZT.js";
import "./ssrf-DOZRI5XH.js";
import "./image-ops-BzCBIakN.js";
import "./ports-CB_Iu83U.js";
import "./trash-_YhavPQI.js";
import "./sessions-BCc3THTm.js";
import "./dock-hF45sewN.js";
import "./message-channel-DgjXWzf-.js";
import "./plugins-CF5skkHh.js";
import "./send-CxjvucMO.js";
import "./paths-BtvQ7JvU.js";
import "./thinking-COroyVA5.js";
import "./tokens-0yh2UnJq.js";
import "./deliver-CWMFmMCv.js";
import "./diagnostic-DbT9t0Sh.js";
import "./diagnostic-session-state-DnkpMfCl.js";
import "./model-auth-_C07_3Yr.js";
import "./github-copilot-token-D-FdDfee.js";
import "./models-config-DlXge3Sd.js";
import "./pi-auth-json-D-vdh-nY.js";
import "./session-cost-usage-D3mgssM_.js";
import "./session-utils-CJhcRx3E.js";
import "./with-timeout-CLrF-Yr_.js";
import "./reply-prefix-CtZtkTJK.js";
import "./memory-BFnx3v3_.js";
import "./manager-DG6PODgu.js";
import "./sqlite-BpogPlQW.js";
import "./chunk-BxfKjCUx.js";
import "./markdown-tables-CS1Tvb3z.js";
import "./fetch-guard-JHxT9355.js";
import "./local-roots-2Jb79HZ8.js";
import "./commands-DUzLGgEZ.js";
import "./commands-registry-CwXsDVuO.js";
import "./client-CTrfpKT3.js";
import "./call-Bpjj5p7I.js";
import "./pairing-token-B703A1U3.js";
import "./tool-display-DFOL6UQ9.js";
import "./skills-remote-BcRQTDsZ.js";
import "./workspace-dirs-DCICLTHx.js";
import "./pi-model-discovery-ClQLvlCW.js";
import "./model-catalog-BWurV7gl.js";
import "./skill-commands-DWvXs3lz.js";
import "./pairing-store-Be-ZQK87.js";
import "./exec-approvals-DioSaIeH.js";
import "./nodes-screen-Cp5QP3ET.js";
import "./breakdown-B_Dhhm3K.js";
import "./control-service-CUreKVeY.js";
import "./stagger-DQs772BN.js";
import "./channel-selection-H1qOf0q-.js";
import "./delivery-queue-OAc7hsIs.js";
import "./bindings-DIhsYGa_.js";
import "./resolve-route-Du0VftVs.js";
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
import { n as runCommandWithRuntime } from "./cli-utils-CuyGL3rq.js";
import "./help-format-7hFcsqss.js";
import "./progress-swt2y17x.js";
import "./memory-cli-CHNghdrm.js";
import "./logging-BWknayJl.js";
import "./replies-B_3j7R_Q.js";
import "./pi-tools.policy-CvAqjEH9.js";
import "./model-Cwbcw-km.js";
import "./runtime-guard-CWA00ZXa.js";
import "./catalog-BptA-dUv.js";
import "./skills-status-DLnCHUZ2.js";
import "./prompt-style-olk5zI5k.js";
import "./note-D9FXI2qW.js";
import "./clack-prompter-BpcKjPIh.js";
import "./plugin-auto-enable-BXSJTxI7.js";
import "./install-safe-path-BrpA09f2.js";
import "./npm-registry-spec-C-muP97-.js";
import "./skill-scanner-CIlHPszT.js";
import "./installs-bnDlOSq2.js";
import "./onboard-channels-wfGO5Zlh.js";
import "./daemon-runtime-CKn0wmCk.js";
import "./onboard-helpers-BKejzolA.js";
import "./systemd-CsoVnIbM.js";
import "./service-CRZoXO_n.js";
import "./widearea-dns-DHO-Mc6G.js";
import "./bonjour-discovery-CWTnBKX8.js";
import "./health-CMbUI4aN.js";
import "./control-ui-assets-B8B9z_Ll.js";
import "./skills-install-BTa9IuQ6.js";
import "./shared-Dh-O8nRd.js";
import "./auth-token-fgnCQEHT.js";
import "./logging-DDnP1BTp.js";
import "./provider-auth-helpers-WLwb6tL4.js";
import "./auth-choice-BtXIQPTU.js";
import "./openai-model-default-De-UAjwg.js";
import "./model-picker-Dpkr5xBW.js";
import { n as configureCommandFromSectionsArg, r as CONFIGURE_WIZARD_SECTIONS } from "./configure-C7zmSgvC.js";
import "./systemd-linger-BnhuRdbt.js";
import "./onboard-custom-DnDrvxSg.js";
import "./health-format-Bxg84_f4.js";
import "./onboard-remote-y3ZmP90U.js";
import "./onboard-skills-BFhHfrt9.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.symi.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 };