pub struct InsightClient { /* private fields */ }Expand description
Client for analysis and insights operations.
Implementations§
Source§impl InsightClient
impl InsightClient
Sourcepub fn corpus_stats(
&self,
project_hash: Option<&ProjectHash>,
limit: usize,
) -> Result<CorpusStats>
pub fn corpus_stats( &self, project_hash: Option<&ProjectHash>, limit: usize, ) -> Result<CorpusStats>
Get corpus statistics.
Sourcepub fn tool_usage(
&self,
limit: Option<usize>,
provider: Option<String>,
) -> Result<StatsResult>
pub fn tool_usage( &self, limit: Option<usize>, provider: Option<String>, ) -> Result<StatsResult>
Get tool usage statistics.
Sourcepub fn pack(&self, _limit: usize) -> Result<PackResult>
pub fn pack(&self, _limit: usize) -> Result<PackResult>
Pack sessions for analysis (placeholder - needs runtime implementation).
Sourcepub fn grep(
&self,
_pattern: &str,
_filter: &SessionFilter,
_limit: usize,
) -> Result<Vec<AgentEvent>>
pub fn grep( &self, _pattern: &str, _filter: &SessionFilter, _limit: usize, ) -> Result<Vec<AgentEvent>>
Grep through tool calls (placeholder - needs runtime implementation).
Auto Trait Implementations§
impl Freeze for InsightClient
impl RefUnwindSafe for InsightClient
impl Send for InsightClient
impl Sync for InsightClient
impl Unpin for InsightClient
impl UnwindSafe for InsightClient
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