ast-outline 0.3.0

Fast, AST-based structural outline for source files. Built for LLM coding agents and humans.
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 },
}