Expand description
Async code operations for pipeline integration
Wraps the synchronous CodeTools via
tokio::task::spawn_blocking for use in async contexts (pipeline, GUI).
Functionsยง
- batch_
edit - Apply multiple str-replace edits across files.
- batch_
read - Read multiple files in a single call.
- definition
- Find the first definition of
symbolunderroot. - deps
- Parse Cargo dependencies from the manifest at
path. - glob_
search - Find files matching
patternunderroot(glob syntax). - grep
- Search file contents under
rootfor lines matchingpattern(regex). - lint
- Run
cargo clippyinpath, optionally applying fixes. - map
- Generate a repository map for
pathup tomax_depthdirectory levels. - outline
- Return a structured outline of symbols in
path. - references
- Find all references to
symbolunderroot. - stats_
dir - Compute code statistics for
path(file or directory). - symbols
- Extract top-level symbols from a file.
- test
- Run
cargo testinpath, with an optional test name filter.