pub enum OverlayResult {
Show 13 variants
ModelSelected(String),
ScopedModelsAccepted(Option<Vec<String>>),
ScopedModelsCancelled,
LoginProviderSelected(String),
LoginApiKeyProvided {
provider: String,
key: String,
},
LoginAuthTypeSelected(AuthType),
LogoutProviderSelected(String),
ImportConfirmed(String),
ImportCancelled,
TreeNavigateTo(String),
TreeCancelled,
TreeSummarizeChoice {
entry_id: String,
summarize: bool,
custom_instructions: Option<String>,
},
TreeReopen(String),
}Expand description
Result from an overlay lifecycle — checked by the main loop after route_input.
Variants§
ModelSelected(String)
User selected a model (provider/id string).
ScopedModelsAccepted(Option<Vec<String>>)
User accepted scoped model changes — persist to settings.
ScopedModelsCancelled
User cancelled — close overlay, no persist.
LoginProviderSelected(String)
User selected a provider for login.
LoginApiKeyProvided
User provided an API key for login.
LoginAuthTypeSelected(AuthType)
User selected an auth type for login.
LogoutProviderSelected(String)
User selected a provider for logout.
ImportConfirmed(String)
User confirmed session import (carries the resolved path).
ImportCancelled
User cancelled session import.
User selected a tree entry to navigate to.
TreeCancelled
User cancelled tree navigation.
TreeSummarizeChoice
User chose whether to summarize after tree entry selection.
custom_instructions is set when user chose “Summarize with custom prompt”.
TreeReopen(String)
User wants to reopen the tree selector (from summarization prompt), carrying the entry to select.
Trait Implementations§
Source§impl Clone for OverlayResult
impl Clone for OverlayResult
Source§fn clone(&self) -> OverlayResult
fn clone(&self) -> OverlayResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more