Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: MIT

Directories

Path Synopsis
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.
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.
Package desktop installs and removes OS launcher entries that open `sift serve --app`: an XDG .desktop file on Linux and a Sift.app bundle on macOS.
Package desktop installs and removes OS launcher entries that open `sift serve --app`: an XDG .desktop file on Linux and a Sift.app bundle on macOS.
Package format renders a scanned document in configurable output styles.
Package format renders a scanned document in configurable output styles.
Package gitclone is the one place sift runs `git clone`.
Package gitclone is the one place sift runs `git clone`.
Package highlight provides small, terminal-safe syntax highlighting for human-facing previews.
Package highlight provides small, terminal-safe syntax highlighting for human-facing previews.
Code generated by generate_rules.py.
Code generated by generate_rules.py.
Package lang is the facade external consumers import.
Package lang is the facade external consumers import.
go
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.
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.
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.
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.
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.
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.
Code generated by generate_rules.py.
Code generated by generate_rules.py.
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.
appmode.go owns the app-window lifecycle: it counts the window's liveness stream and shuts the server down when the window is gone, so an app-mode server never outlives the UI it was opened for.
appmode.go owns the app-window lifecycle: it counts the window's liveness stream and shuts the server down when the window is gone, so an app-mode server never outlives the UI it was opened for.
auth
Package auth holds the serve authentication primitives: startup token or configured password verification, stateless signed session cookies, and login throttling.
Package auth holds the serve authentication primitives: startup token or configured password verification, stateless signed session cookies, and login throttling.
jail
Package jail resolves every client-supplied path against the configured roots.
Package jail resolves every client-supplied path against the configured roots.
Package setup provides initialization and configuration functions
Package setup provides initialization and configuration functions
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.
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.
genweb command
Command genweb derives the web theme data and CSS from the internal/theme catalog, so the browser UI never hand-maintains palettes.
Command genweb derives the web theme data and CSS from the internal/theme catalog, so the browser UI never hand-maintains palettes.
Package tokenize counts tokens offline and fits documents to a budget.
Package tokenize counts tokens offline and fits documents to a budget.
Package tui renders an interactive picker for the pick subcommand.
Package tui renders an interactive picker for the pick subcommand.
Package utils provides common utilities shared across packages
Package utils provides common utilities shared across packages
Package walker handles directory traversal and file processing
Package walker handles directory traversal and file processing
Package watch re-renders a directory's context document when files change.
Package watch re-renders a directory's context document when files change.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL