ast-bro 2.2.0

Fast, AST-based code-navigation: shape, public API, deps & call graphs, hybrid semantic search, structural rewrite. MCP server included.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::path::PathBuf;

#[derive(Debug, Clone)]
pub struct ToolCallEvent {
    pub tool_name: String,
    pub file_path: Option<PathBuf>,
    pub has_offset_or_limit: bool,
}

#[derive(Debug, Clone)]
pub enum Decision {
    PassThrough,
    Substitute { content: String },
}