//! Agent-profile use cases & reference catalogue (ARCHITECTURE ยง6, L5). //! //! This module owns the *profile* side of the AI runtime: detecting which CLIs //! are installed, persisting the chosen/edited/custom profiles, and exposing the //! pre-filled reference catalogue that seeds the first-run wizard. It talks only //! to the [`domain::ports::AgentRuntime`] and [`domain::ports::ProfileStore`] //! ports. Launching an agent (PTY + injection) is L6. mod catalogue; mod lifecycle; mod usecases; pub(crate) use lifecycle::unique_md_path; pub use catalogue::{reference_profile_id, reference_profiles}; pub use lifecycle::{ CreateAgentFromScratch, CreateAgentInput, CreateAgentOutput, DeleteAgent, DeleteAgentInput, LaunchAgent, LaunchAgentInput, LaunchAgentOutput, ListAgents, ListAgentsInput, ListAgentsOutput, ReadAgentContext, ReadAgentContextInput, ReadAgentContextOutput, UpdateAgentContext, UpdateAgentContextInput, }; pub use usecases::{ ConfigureProfiles, ConfigureProfilesInput, ConfigureProfilesOutput, DeleteProfile, DeleteProfileInput, DetectProfiles, DetectProfilesInput, DetectProfilesOutput, FirstRunState, FirstRunStateOutput, ListProfiles, ListProfilesOutput, ProfileAvailability, ReferenceProfiles, ReferenceProfilesOutput, SaveProfile, SaveProfileInput, SaveProfileOutput, };