Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ghostwriter
command
Command ghostwriter narrates the changes your AI coding agent made and lets you accept or reject each one before it lands.
|
Command ghostwriter narrates the changes your AI coding agent made and lets you accept or reject each one before it lands. |
|
internal
|
|
|
buildinfo
Package buildinfo exposes version metadata injected at build time via -ldflags.
|
Package buildinfo exposes version metadata injected at build time via -ldflags. |
|
cli
Package cli wires the ghostwriter command-line interface together.
|
Package cli wires the ghostwriter command-line interface together. |
|
config
Package config loads ghostwriter's optional TOML configuration.
|
Package config loads ghostwriter's optional TOML configuration. |
|
deps
Package deps detects dependencies added or removed by a change, across the common ecosystems (npm, Go, pip, Cargo).
|
Package deps detects dependencies added or removed by a change, across the common ecosystems (npm, Go, pip, Cargo). |
|
gitdiff
Package gitdiff collects and parses the changes an AI agent (or anyone) has made to a git repository, and can reverse-apply a selected subset of those changes back to the working tree.
|
Package gitdiff collects and parses the changes an AI agent (or anyone) has made to a git repository, and can reverse-apply a selected subset of those changes back to the working tree. |
|
intent
Package intent groups the raw hunks of a diff into human-meaningful "intents" β the handful of things an agent was actually trying to do β so a reviewer reads a short story instead of a wall of diff.
|
Package intent groups the raw hunks of a diff into human-meaningful "intents" β the handful of things an agent was actually trying to do β so a reviewer reads a short story instead of a wall of diff. |
|
llm
Package llm provides a tiny, dependency-free client for the chat APIs of Anthropic, OpenAI, and Ollama.
|
Package llm provides a tiny, dependency-free client for the chat APIs of Anthropic, OpenAI, and Ollama. |
|
render
Package render turns a Review into output: a styled terminal report (the default), Markdown, JSON, or uncolored plain text.
|
Package render turns a Review into output: a styled terminal report (the default), Markdown, JSON, or uncolored plain text. |
|
review
Package review orchestrates a full ghostwriter review: it collects the diff, detects dependency changes, and groups the hunks into narrated intents β using a model when one is available and falling back to deterministic, offline grouping otherwise.
|
Package review orchestrates a full ghostwriter review: it collects the diff, detects dependency changes, and groups the hunks into narrated intents β using a model when one is available and falling back to deterministic, offline grouping otherwise. |
|
risk
Package risk applies fast, deterministic heuristics to a changed file and flags the kinds of changes a reviewer should look at twice β migrations, dependency and lockfile edits, CI/Docker changes, possible secrets, and large or test-removing deletions.
|
Package risk applies fast, deterministic heuristics to a changed file and flags the kinds of changes a reviewer should look at twice β migrations, dependency and lockfile edits, CI/Docker changes, possible secrets, and large or test-removing deletions. |
|
tui
Package tui implements ghostwriter's interactive review: a Bubble Tea program that shows each intent as a card with its underlying diff and lets you accept or reject it with a single keystroke.
|
Package tui implements ghostwriter's interactive review: a Bubble Tea program that shows each intent as a card with its underlying diff and lets you accept or reject it with a single keystroke. |
Click to show internal directories.
Click to hide internal directories.