/** * CLI implementation of the workspace-initialization interaction port. * * Owns the setup prompts and every piece of setup presentation wording: the * agent scan line, retired-agent warnings, the plan ledger, and the apply * gate. Prompt cancellations map into the kernel-owned * `WorkspaceInitializationCancelled`. */ import * as Layer from "effect/Layer"; import { Screen, type ChooseAsk, type ConfirmAsk, type InputAsk, type PickAsk } from "./screen/index.js"; import { WorkspaceInitializationInteraction, type InstructionSourceChoice, type WorkspaceInitializationInteractionService } from "@agentxm/workspace/configuration"; /** Which agents the scan found, and which of them a person already chose. */ type AgentFacts = Parameters[0]; /** * Every supported agent, each with what the scan knows about it. Agents that * are configured, found in the project, or suggested open picked. */ export declare const selectAgentsAsk: (facts: AgentFacts) => PickAsk>; /** The setup gate: nothing has been written yet, so the default is to proceed. */ export declare const setupPlanAsk: ConfirmAsk; export declare const instructionSyncAsk: (enabled: boolean) => ConfirmAsk; /** What the source list answers: a file it offered, or a name still to be typed. */ export type InstructionSource = { readonly _tag: "File"; readonly fileName: string; } | { readonly _tag: "Other"; }; export declare const instructionSourceAsk: (defaultFileName: string, choices: ReadonlyArray) => ChooseAsk; export declare const customSourceAsk: InputAsk; export declare const WorkspaceInitializationInteractionLive: Layer.Layer; export {}; //# sourceMappingURL=workspace-initialization-interaction-live.d.ts.map