Functions§
- compute_
edit_ file_ diff - Return a formatted diff string for an edit_file operation without applying it. Lines prefixed “- “ are removals, “+ “ are additions. Returns Err if the search string cannot be located (caller falls through to normal tool dispatch).
- compute_
msr_ diff - Return a formatted diff string for a multi_search_replace operation without applying it.
- compute_
patch_ hunk_ diff - Return a formatted diff string for a patch_hunk operation without applying it.
- edit_
file - grep_
files - inspect_
lines - is_
project_ workspace - Returns true if the workspace root looks like a real project.
A bare
.gitalone (e.g. accidentalgit initin the home folder) doesn’t count — at least one explicit build/package marker must also be present. - list_
files - multi_
search_ replace - patch_
hunk - pop_
ghost_ ledger - read_
file - workspace_
root - Resolve the workspace root by looking upward for common markers.
- write_
file