pub struct PermissionRequestMemory {
pub action: Option<PermissionRequestMemoryAction>,
pub assisted_approval: Option<PermissionAssistedApproval>,
pub citations: Option<String>,
pub direction: Option<PermissionRequestMemoryDirection>,
pub fact: String,
pub kind: PermissionRequestMemoryKind,
pub managed_approval_required: Option<bool>,
pub reason: Option<String>,
pub repo_nwo: Option<String>,
pub scope: Option<PermissionRequestMemoryScope>,
pub subject: Option<String>,
pub tool_call_id: Option<String>,
}Expand description
Memory operation permission request
Fields§
§action: Option<PermissionRequestMemoryAction>Whether this is a store or vote memory operation
assisted_approval: Option<PermissionAssistedApproval>Assisted-approval judge information for this request; present only in assisted mode.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
citations: Option<String>Source references for the stored fact (store only)
direction: Option<PermissionRequestMemoryDirection>Vote direction (vote only)
fact: StringThe fact being stored or voted on
kind: PermissionRequestMemoryKindPermission kind discriminator
managed_approval_required: Option<bool>When true, managed policy requires an explicit user decision and automatic approval must be bypassed.
reason: Option<String>Reason for the vote (vote only)
repo_nwo: Option<String>Repository name with owner associated with the stored memory (store only)
scope: Option<PermissionRequestMemoryScope>Scope of the stored memory (store only)
subject: Option<String>Topic or subject of the memory (store only)
tool_call_id: Option<String>Tool call ID that triggered this permission request
Trait Implementations§
Source§impl Clone for PermissionRequestMemory
impl Clone for PermissionRequestMemory
Source§fn clone(&self) -> PermissionRequestMemory
fn clone(&self) -> PermissionRequestMemory
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more