Skip to main content

Crate wonk

Crate wonk 

Source

Modulesยง

blast
Blast radius analysis for wonk blast.
budget
Token budget tracking for output limiting.
callgraph
Call graph traversal for wonk callers and wonk callees.
cli
cluster
K-Means clustering of symbol embeddings with automatic k selection.
color
Color resolution: determines whether to emit ANSI color codes.
config
Configuration file parsing, defaults, and merging.
context
Symbol context aggregation for wonk context.
daemon
Background daemon for file watching and incremental indexing.
db
Database layer for SQLite storage.
embedding
Ollama embedding API client and symbol chunking engine.
errors
Application error types and user-facing error formatting.
flows
Entry point detection and execution flow tracing for wonk flows.
impact
Symbol change detection.
indexer
File indexing and tree-sitter parsing.
llm
LLM description generation and caching for wonk summary --semantic.
mcp
MCP (Model Context Protocol) server over stdio.
output
Output formatting: grep-compatible (default), JSON Lines, or TOON.
pipeline
Full index build pipeline.
progress
Progress indicators for indexing operations.
ranker
Result classification, ranking, and deduplication engine.
router
Query routing layer.
search
Text search engine wrapping the grep crate.
semantic
Brute-force cosine similarity search over stored embedding vectors.
show
Source body retrieval for wonk show.
summary
Structural summary engine for wonk summary.
types
Shared types and data structures.
walker
File walker with gitignore support, default exclusions, and worktree boundary detection.
watcher
File watcher with debounced events for incremental re-indexing.