Skip to main content

Crate nitpik

Crate nitpik 

Source
Expand description

nitpik โ€” AI-powered code review CLI (library crate).

Re-exports public modules for integration tests and external use.

Modulesยง

agents
Agent loading, profile resolution, and markdown+YAML parsing.
cache
Content-hash based result cache.
ci
Centralized CI environment detection.
config
Configuration loading and layering.
constants
App-wide constants.
context
Baseline context assembly.
diff
Diff engine: git CLI wrapper, unified diff parsing, file scanning, and chunk splitting.
env
Environment variable abstraction for testability.
http
Centralized HTTP client construction.
license
Offline cryptographic license key verification.
models
Shared types used across all modules.
orchestrator
Review orchestrator: parallel execution and deduplication.
output
Output formatters: terminal, JSON, GitHub Actions, GitLab Code Quality, Bitbucket, Checkstyle, Forgejo.
progress
Progress reporting for terminal output.
providers
ReviewProvider trait and LLM integration.
security
Secret scanner: detection, redaction, and rule loading.
telemetry
Anonymous usage telemetry โ€” privacy-respecting heartbeat.
tools
Agentic tools for LLM-driven codebase exploration.
update
Self-update logic for the nitpik binary.