Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
sift
command
Command sift packs a codebase into an LLM-friendly context document.
|
Command sift packs a codebase into an LLM-friendly context document. |
|
internal
|
|
|
clipboard
Package clipboard copies text to the system clipboard using the platform's native tool, avoiding X11-specific dependencies.
|
Package clipboard copies text to the system clipboard using the platform's native tool, avoiding X11-specific dependencies. |
|
compress
Package compress extracts signature-only summaries of source files using tree-sitter grammars registered in internal/lang.
|
Package compress extracts signature-only summaries of source files using tree-sitter grammars registered in internal/lang. |
|
format
Package format renders a scanned document in configurable output styles.
|
Package format renders a scanned document in configurable output styles. |
|
highlight
Package highlight provides small, terminal-safe syntax highlighting for human-facing previews.
|
Package highlight provides small, terminal-safe syntax highlighting for human-facing previews. |
|
ignore
Code generated by generate_rules.py.
|
Code generated by generate_rules.py. |
|
lang
Package lang is the facade external consumers import.
|
Package lang is the facade external consumers import. |
|
lang/registry
Package registry owns the global language lookup tables and the shared path-convention rules.
|
Package registry owns the global language lookup tables and the shared path-convention rules. |
|
lang/signature
Package signature owns the tree-sitter signature engine: per-language SignatureSpec registration and a pooled parser engine that reduces source to declaration signatures.
|
Package signature owns the tree-sitter signature engine: per-language SignatureSpec registration and a pooled parser engine that reduces source to declaration signatures. |
|
lang/types
Package types defines the core language contracts shared by every driver and the registry.
|
Package types defines the core language contracts shared by every driver and the registry. |
|
picker
Package picker runs the interactive picker workflow: structure-first skeleton launch, a background streaming scan, git-relevance rank patching, and selection-to-output conversion.
|
Package picker runs the interactive picker workflow: structure-first skeleton launch, a background streaming scan, git-relevance rank patching, and selection-to-output conversion. |
|
rank
Package rank scores files by git relevance so an LLM gets the most important context first when a token budget is in play.
|
Package rank scores files by git relevance so an LLM gets the most important context first when a token budget is in play. |
|
scan
Package scan owns the per-file processing pipeline: smart filtering, token counting, and optional signature compression.
|
Package scan owns the per-file processing pipeline: smart filtering, token counting, and optional signature compression. |
|
secrets
Code generated by generate_rules.py.
|
Code generated by generate_rules.py. |
|
selection
Package selection chooses the most useful representation of collected files under a token budget.
|
Package selection chooses the most useful representation of collected files under a token budget. |
|
setup
Package setup provides initialization and configuration functions
|
Package setup provides initialization and configuration functions |
|
smart
Package smart filters files that are unlikely to be useful LLM context: generated artifacts, lockfiles, minified bundles, and oversized files that .gitignore often misses.
|
Package smart filters files that are unlikely to be useful LLM context: generated artifacts, lockfiles, minified bundles, and oversized files that .gitignore often misses. |
|
state
Package state persists per-project dump records in the user's application data directory so delta dumps can know the last commit a project was dumped from, without polluting the repository itself.
|
Package state persists per-project dump records in the user's application data directory so delta dumps can know the last commit a project was dumped from, without polluting the repository itself. |
|
summary
Package summary handles display of scan results and statistics
|
Package summary handles display of scan results and statistics |
|
tokenize
Package tokenize counts tokens offline and fits documents to a budget.
|
Package tokenize counts tokens offline and fits documents to a budget. |
|
tui
Package tui renders an interactive picker for the pick subcommand.
|
Package tui renders an interactive picker for the pick subcommand. |
|
utils
Package utils provides common utilities shared across packages
|
Package utils provides common utilities shared across packages |
|
walker
Package walker handles directory traversal and file processing
|
Package walker handles directory traversal and file processing |
|
watch
Package watch re-renders a directory's context document when files change.
|
Package watch re-renders a directory's context document when files change. |
Click to show internal directories.
Click to hide internal directories.
