pub struct SessionPermissionsChangedData {
pub assisted_approval_model: Option<String>,
pub mode: Option<PermissionMode>,
pub previous_mode: Option<PermissionMode>,
}Expand description
Session event “session.permissions_changed”. Permission-mode transition details.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§assisted_approval_model: Option<String>Explicit LLM judge model override used by assisted mode; omitted when the provider default applies
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
mode: Option<PermissionMode>Permission mode after the change
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
previous_mode: Option<PermissionMode>Permission mode before the change
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.