/** * `brain` setup wizard section (E-CONFIG-AUTH-UNIFY E3 / T9425). * * Controls how BRAIN context is surfaced inside AGENTS.md by toggling * `brain.memoryBridge.mode` across three operator-visible values: * * - `'digest'` — AGENTS.md gets a `cleo memory digest --brief` directive * (no `.cleo/memory-bridge.md` written). Wire value stays * `'cli'` so existing project configs continue to resolve * correctly; the wizard label was renamed to "digest" to * match the user-facing CLI command. * - `'file'` — Legacy behaviour: write `.cleo/memory-bridge.md` and * `.cleo/nexus-bridge.md` so they get `@`-injected. * - `'disabled'` — Suppress BRAIN-driven AGENTS.md augmentation entirely. * * V2 additions (T9610): * - `isConfigured()` — returns `true` when `brain.memoryBridge.mode` is set (BRAIN-6). * - Retention days prompt (BRAIN-3). * - Embedding toggle prompt (BRAIN-4). * - Displays current bridge mode, embedding state, and retention days (BRAIN-1). * - Section description printed before prompts (GEN-6). * * Non-interactive contract: * - `options.nonInteractive === true` + `options.brainBridgeMode` → * persist that value; no prompts. * - Missing `--brain-bridge-mode` under `--non-interactive` → * section short-circuits with error. * * @task T9425 * @task T9610 * @epic T9402 * @epic T9591 * @see docs/plans/E-CLEO-SETUP-V2.md §4.6 (BRAIN-1 through BRAIN-6) * @see docs/plans/E-CONFIG-AUTH-UNIFY.md §5.3 T-E3-6 */ import type { WizardSectionRunner } from '../wizard.js'; /** * Operator-facing mode labels the wizard offers. * * `'digest'` is a label-only synonym for the on-disk `'cli'` mode — see the * file-level doc comment for the rationale. The wizard normalises every * answer through {@link toWireMode} before persisting. */ declare const WIZARD_MODE_CHOICES: readonly ["digest", "file", "disabled"]; /** * Surface-facing mode label. */ export type WizardBrainBridgeMode = (typeof WIZARD_MODE_CHOICES)[number]; /** * Build the `brain` section runner. * * @returns A {@link WizardSectionRunner} for the BRAIN section. * @task T9425 * @task T9610 */ export declare function createBrainSection(): WizardSectionRunner; export {}; //# sourceMappingURL=brain.d.ts.map