Skip to main content

Crate aft

Crate aft 

Source

Modules§

ast_grep_hints
Pattern hint detection for ast-grep search/replace.
ast_grep_lang
AST-grep language implementations for ast-grep-core.
backup
bash_background
Background bash task management. Phase 0 stub; Phase 1 Track D fills in.
bash_permissions
Bash permission scanner for hoisted bash. Phase 0 stub; Phase 1 Track C fills in.
bash_rewrite
Bash command rewriter for hoisted bash. Phase 0 stub; Phase 1 Track B fills in.
cache_freshness
callgraph
Call graph engine: cross-file call resolution and forward traversal.
calls
Shared call-site extraction helpers.
checkpoint
commands
compress
Output compression for hoisted bash.
config
context
edit
Shared edit engine: byte-offset conversion, content replacement, syntax validation, and auto-backup orchestration.
error
extract
Shared extraction utilities for extract_function (and future inline_symbol).
format
External tool runner and auto-formatter detection.
fuzzy_match
Fuzzy string matching for edit_match, inspired by opencode’s 4-pass approach.
imports
Import analysis engine: parsing, grouping, deduplication, and insertion.
indent
Shared indentation detection utility (D042).
language
log_ctx
Thread-local session context for log lines.
lsp
lsp_hints
LSP-enhanced symbol disambiguation.
parser
protocol
query_shape
search_index
semantic_index
symbol_cache_disk
symbols
windows_shell
Shared Windows shell selection for foreground and background bash commands.

Macros§

slog_error
Log at ERROR level with the optional [ses_xxx] session tag.
slog_info
Log at INFO level with the optional [ses_xxx] session tag.
slog_warn
Log at WARN level with the optional [ses_xxx] session tag.