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: spawning detached tasks, the watchdog that reaps them, output buffering/compression, and on-disk persistence so tasks survive a bridge restart.
bash_permissions
Bash permission scanner for hoisted bash.
bash_rewrite
Bash command rewriter for hoisted bash.
cache_freshness
callgraph
Call graph engine: cross-file call resolution and forward traversal.
callgraph_store
Persistent call/reference graph sidecar.
calls
Shared call-site extraction helpers.
checkpoint
commands
compress
Output compression for hoisted bash.
config
config_resolve
Pure aft.jsonc tier resolver.
context
db
edit
Shared edit engine: byte-offset conversion, content replacement, syntax validation, and auto-backup orchestration.
error
executor
extract
Shared extraction utilities for extract_function (and future inline_symbol).
format
External tool runner and auto-formatter detection.
fs_lock
fuzzy_match
Fuzzy string matching for edit_match, inspired by opencode’s 4-pass approach.
grep_executor
harness
imports
Import analysis engine: parsing, grouping, deduplication, and insertion.
indent
Shared indentation detection utility (D042).
inspect
language
local_embed
Local ONNX embedding backend (all-MiniLM-L6-v2) driven directly through ort.
log_ctx
Thread-local session context for log lines.
lsp
lsp_hints
LSP-enhanced symbol disambiguation.
migrate_storage
parser
path_identity
Project-root identity primitives (P0 of the subc migration).
pattern_compile
protocol
query_shape
response_finalize
runtime_drain
runtime_registry
search_index
semantic_index
subc
subc daemon attach — transport edge.
subc_config
Subc-mode local config read (subc edge only).
subc_format
Agent-facing text formatters for subc-mode tool results (parity with TS plugins).
subc_translate
Agent-facing tool → native command translation (subc edge only).
symbol_cache_disk
symbols
tool_path
Cross-platform tool binary resolution on PATH and well-known install dirs.
url_fetch
watcher_filter
windows_shell
Shared Windows shell selection for foreground and background bash commands.

Macros§

slog_debug
Log at DEBUG level with the optional [ses_xxx] session tag.
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.