pub struct CodingContextBundle {Show 13 fields
pub instructions: Option<InstructionBundle>,
pub repo_tree: Vec<WorkspaceEntry>,
pub search_results: Vec<RepoSearchResults>,
pub git_status: Option<GitStatus>,
pub changed_files: Vec<WorkspacePath>,
pub relevant_files: Vec<WorkspacePath>,
pub dependency_metadata: Vec<DependencyMetadata>,
pub recent_test_failures: Vec<VerificationResult>,
pub transcript_summary: Option<String>,
pub warnings: Vec<String>,
pub bytes_used: usize,
pub truncated: bool,
pub metadata: RunMetadata,
}Expand description
Context bundle returned by a CodingContextProvider.
Fields§
§instructions: Option<InstructionBundle>Resolved project instructions.
repo_tree: Vec<WorkspaceEntry>Repository tree entries.
search_results: Vec<RepoSearchResults>Search results.
git_status: Option<GitStatus>Git status.
changed_files: Vec<WorkspacePath>Changed files.
relevant_files: Vec<WorkspacePath>Focus and changed paths considered relevant by deterministic heuristics.
dependency_metadata: Vec<DependencyMetadata>Dependency manifest hints discovered in the repository tree.
recent_test_failures: Vec<VerificationResult>Recent verification failures.
transcript_summary: Option<String>Recent transcript summary.
warnings: Vec<String>Warnings about truncation, unsupported tools, or missing context.
bytes_used: usizeApproximate bytes used.
truncated: boolWhether the bundle hit a configured budget.
metadata: RunMetadataHost-owned metadata.
Trait Implementations§
Source§impl Clone for CodingContextBundle
impl Clone for CodingContextBundle
Source§impl Debug for CodingContextBundle
impl Debug for CodingContextBundle
Source§impl<'de> Deserialize<'de> for CodingContextBundle
impl<'de> Deserialize<'de> for CodingContextBundle
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 CodingContextBundle
Source§impl PartialEq for CodingContextBundle
impl PartialEq for CodingContextBundle
Source§impl Serialize for CodingContextBundle
impl Serialize for CodingContextBundle
impl StructuralPartialEq for CodingContextBundle
Auto Trait Implementations§
impl Freeze for CodingContextBundle
impl RefUnwindSafe for CodingContextBundle
impl Send for CodingContextBundle
impl Sync for CodingContextBundle
impl Unpin for CodingContextBundle
impl UnsafeUnpin for CodingContextBundle
impl UnwindSafe for CodingContextBundle
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.