Structural code search via ast-grep. Provides pattern-based code matching that understands language syntax, enabling searches like "find all functions that return a Promise" rather than raw regex.
### clipboard
Native clipboard access for reading and writing system clipboard contents.
### diff
Fuzzy text matching and unified diff generation. Provides efficient comparison of text content with configurable matching thresholds.
### fd
Fuzzy file path discovery. Locates files by partial name matching across the project tree.
### fs_cache
Filesystem caching layer. Caches file metadata and contents to reduce redundant I/O during repeated operations.
### git
Libgit2-backed git read operations. Provides fast, direct access to repository status, diffs, blame, and log without shelling out to the `git` CLI.
### glob / glob_util
Gitignore-aware file discovery. Walks directory trees while respecting `.gitignore` rules, returning matching paths for a given glob pattern.
Image decoding, encoding, and resizing. Supports common formats (PNG, JPEG, WebP) and provides efficient thumbnail generation.
### json_parse
JSON parsing utilities. Provides streaming and fault-tolerant JSON parsing for large or partially valid payloads.
### ps
Cross-platform process tree management. Lists, inspects, and terminates process trees by PID, used for managing spawned subprocesses.
### stream_process
Streaming process I/O. Spawns child processes with non-blocking, streamed access to stdout and stderr for real-time output handling.
### task
Task-related native operations. Provides low-level primitives for task scheduling and execution within the native layer.
### text
ANSI-aware text measurement and wrapping. Correctly measures visible width of strings containing ANSI escape codes and wraps text to terminal column widths.
### truncate
Text truncation utilities. Truncates strings to a target length while preserving ANSI sequences and respecting grapheme boundaries.
### ttsr
Tool-triggered system rules. Evaluates and applies system-level rules that activate in response to specific tool invocations.
### xxhash
xxHash hashing. Provides fast, non-cryptographic hashing via the xxHash algorithm for content deduplication and cache keying.