pub enum ConfigAction {
Show 31 variants
PermissionRulesChanged,
ApproveAutoReviewRetry {
target: String,
},
OpenModelConnectionSetup,
StartAccountConnect,
StartAccountLogin,
StartAccountLogout,
StartXaiDeviceLogin,
StartChatgptPkceLogin,
StartChatgptRevoke,
StartOrcarouterPkceLogin,
StartOrcarouterRevoke,
OpenConfigView,
OpenModePicker,
SetConversationMode {
id: String,
},
OpenThemePicker,
OpenStatusPicker,
OpenProviderPicker,
StartPluginLogin {
provider: String,
},
StartPluginLogout {
provider: String,
},
SetScreenMode(CommandScreenMode),
SetWorkspaceTrust {
trusted: bool,
save: bool,
},
ModeChanged(CommandMode),
ApprovalPolicyChanged {
policy: Option<String>,
},
SwitchProvider {
provider: CommandProviderId,
model: Option<String>,
},
CompactionChanged(CommandCompactionConfig),
StreamChunkTimeoutChanged(u64),
SubagentRuntimeChanged(CommandSubagentRuntimeConfig),
SearchProviderChanged(CommandSearchProvider),
PromptSuggestionChanged {
enabled: bool,
},
AutoReviewReviewerModelChanged {
reviewer_model: Option<String>,
},
NotificationChanged(CommandNotificationUpdate),
}Expand description
Complete config-group action vocabulary (FEAT-028 D5). Unifies the FEAT-027
policy action with the auth, picker, view, screen-mode, trust and
host-effect actions of the main config slice. Constructing one never
executes it; the TUI host adapter converts it to a concrete AppAction
outside the movable closure.
Variants§
PermissionRulesChanged
A permission rule was safely removed; the host reloads active rules.
ApproveAutoReviewRetry
OpenModelConnectionSetup
StartAccountConnect
StartAccountLogin
StartAccountLogout
StartXaiDeviceLogin
StartChatgptPkceLogin
StartChatgptRevoke
StartOrcarouterPkceLogin
StartOrcarouterRevoke
OpenConfigView
OpenModePicker
SetConversationMode
OpenThemePicker
OpenStatusPicker
OpenProviderPicker
StartPluginLogin
StartPluginLogout
SetScreenMode(CommandScreenMode)
SetWorkspaceTrust
ModeChanged(CommandMode)
ApprovalPolicyChanged
SwitchProvider
CompactionChanged(CommandCompactionConfig)
StreamChunkTimeoutChanged(u64)
SubagentRuntimeChanged(CommandSubagentRuntimeConfig)
SearchProviderChanged(CommandSearchProvider)
PromptSuggestionChanged
AutoReviewReviewerModelChanged
NotificationChanged(CommandNotificationUpdate)
Trait Implementations§
Source§impl Clone for ConfigAction
impl Clone for ConfigAction
Source§impl Debug for ConfigAction
impl Debug for ConfigAction
impl Eq for ConfigAction
Source§impl PartialEq for ConfigAction
impl PartialEq for ConfigAction
impl StructuralPartialEq for ConfigAction
Auto Trait Implementations§
impl Forget for ConfigAction
impl Freeze for ConfigAction
impl Move for ConfigAction
impl RefUnwindSafe for ConfigAction
impl Send for ConfigAction
impl Sync for ConfigAction
impl Unpin for ConfigAction
impl UnsafeUnpin for ConfigAction
impl UnwindSafe for ConfigAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.