BlamePrompt for VS CodeSee which lines of your code were written by AI — directly in your editor. BlamePrompt tracks every AI-generated line back to its prompt, model, cost, and full chain of thought. This extension surfaces that data inside VS Code so you never lose context on how your code was written. FeaturesSource Control-style Commit HistoryBrowse ALL commits in your git history — not just AI ones. AI-assisted commits stand out with a sparkle icon and are expandable to show the prompts behind them. Plain commits appear with a standard git icon, giving you full project context like VS Code's built-in Source Control view. Rich Commit TooltipsHover over any commit to see a detailed tooltip: author, email, date, full commit message, files changed with per-file insertion/deletion counts, and whether the commit was AI-assisted. Tooltips load lazily so the tree stays fast. Prompt History GraphA visual timeline of your entire commit history with AI prompts overlaid. AI commits are prominent with amber dots and expandable prompt entries showing model, cost, files, and tool/MCP/agent chips. Plain commits appear subdued in the timeline. The stats bar shows total commits (with AI count), prompts, cost, and files at a glance. File HistoryOpen any file to see every commit that touched it — across its full git history, including renames. Commits with matching AI receipts are expandable to show which prompts modified the file and the specific line ranges. Plain commits show author, sha, and time. Multi-repo Workspace SupportWorks seamlessly with multi-root workspaces. Each workspace folder's git history is discovered independently. The Prompt History tree groups commits by repository, the File History automatically detects which repo a file belongs to, and the Prompt Graph merges commits from all repos into a unified timeline sorted by date. Line-by-line AI AttributionAI-generated lines are highlighted with yellow gutter markers and background tinting. Human-written lines stay clean. CodeLens AnnotationsSee the model, cost, and prompt summary above every AI-generated block — right in the editor. Chain of ThoughtClick any receipt to open the full conversation: every user prompt, AI response, and tool call that produced the code. Displayed as a timeline with collapsible messages and syntax-highlighted code blocks. Sidebar Receipt TreeBrowse all AI receipts grouped by commit and session. Expand any receipt to see provider, model, cost, files, lines changed, tools used, MCP servers called, and sub-agents spawned. Auto-refresh on New CommitsViews automatically refresh when HEAD changes, branches switch, or new commits land. No manual refresh needed — just commit and the history updates. Status BarThe bottom-right status bar shows the AI percentage for the current file (e.g. "45% AI"). Hover TooltipsHover over any AI-generated line to see a quick summary: model, provider, cost, and a link to the full receipt. Search PromptsSearch across all stored prompts from the command palette. Results show model, file, cost, and prompt summary. Requirements
Install the CLI
Or build from source:
How it Works
No external services. No telemetry. Everything stays local in your git repo. CommandsOpen the command palette (
Settings
LicenseMIT |