Skip to main content

CodebaseBridge

Trait CodebaseBridge 

Source
pub trait CodebaseBridge: Send + Sync {
    // Provided methods
    fn lookup_symbol(&self, name: &str) -> Option<String> { ... }
    fn impact_analysis(&self, symbol: &str) -> Vec<String> { ... }
    fn semantic_search(&self, query: &str, max_results: usize) -> Vec<String> { ... }
}
Expand description

Bridge to agentic-codebase for code-aware communication.

Provided Methods§

Source

fn lookup_symbol(&self, name: &str) -> Option<String>

Look up a symbol in the code graph

Source

fn impact_analysis(&self, symbol: &str) -> Vec<String>

Get impact analysis for a code change

Search code semantically

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§