pub enum ContextVisibility {
Visible,
Pinned,
SummaryOnly,
Archived,
Candidate,
Dropped,
Blocked,
}Expand description
Inclusion status of a ContextItem in the current working set.
Visible and Pinned items are rendered into the prompt. The remaining
states describe why an item is omitted and how it can be recovered.
Variants§
Visible
Selected and rendered into the prompt this turn.
Pinned
User-pinned; always rendered until dropped or expired.
SummaryOnly
Replaced by a compaction summary; original detail is recoverable.
Archived
Moved out of the active working set; recoverable by id.
Candidate
Discovered but not yet selected (e.g. nested AGENTS.md out of scope).
Dropped
Explicitly excluded by the user until source change or /drop --reset.
Blocked
Excluded because it would exceed budget even after eviction; recoverable.
Implementations§
Trait Implementations§
Source§impl Clone for ContextVisibility
impl Clone for ContextVisibility
Source§fn clone(&self) -> ContextVisibility
fn clone(&self) -> ContextVisibility
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextVisibility
impl Debug for ContextVisibility
Source§impl<'de> Deserialize<'de> for ContextVisibility
impl<'de> Deserialize<'de> for ContextVisibility
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextVisibility
Source§impl Hash for ContextVisibility
impl Hash for ContextVisibility
Source§impl PartialEq for ContextVisibility
impl PartialEq for ContextVisibility
Source§impl Serialize for ContextVisibility
impl Serialize for ContextVisibility
impl StructuralPartialEq for ContextVisibility
Auto Trait Implementations§
impl Freeze for ContextVisibility
impl RefUnwindSafe for ContextVisibility
impl Send for ContextVisibility
impl Sync for ContextVisibility
impl Unpin for ContextVisibility
impl UnsafeUnpin for ContextVisibility
impl UnwindSafe for ContextVisibility
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