Local-first, prompt-by-prompt diff tracking for AI coding sessions.
test readme
- testing
- another test
Website: https://v0-prompt-version-control-pi.vercel.app/
PromptVC is a coding AI CLI visualization that records each prompt and shows what changed in your repo after every response, in VS Code and the terminal.
- Ding after each response finishes
- Per-prompt and per-session views
- Hide/unhide/flag prompts
- GitHub-style review UI (unified/split, collapsible files, mark as viewed)
- Captures prompt-by-prompt diffs in interactive sessions
- See exactly what the AI changed after each prompt
Requirements:
- Git
- Node.js 22+ (use nvm:
nvm install 22 && nvm use 22) and pnpm - npm 11.5.1 (set
PROMPTVC_EXPECTED_NPM_VERSIONto override) - VS Code 1.80+
- Codex CLI 0.80.0 (set
PROMPTVC_EXPECTED_CODEX_VERSIONto override) - jq (optional; legacy hook fallback)
- macOS/Linux
- Windows: Git Bash required (run
promptvc+codexin Git Bash)
Windows notes:
jqis only needed if Node isn’t available to the hook environment (legacy fallback). Install (pick one):winget install jqlang.jq,choco install jq, orscoop install jq.
Version guard:
promptvc configandpromptvc initwarn and stop if Codex/npm don’t match the expected versions. SetPROMPTVC_ALLOW_VERSION_MISMATCH=1to bypass.
- Clone and install dependencies:
git clone https://github.com/sehmim/PromptVC.git
cd PromptVC
pnpm install- Build all packages:
pnpm -r build- Install the CLI globally:
cd apps/cli
pnpm link --global- Configure the Codex notify hook (recommended):
promptvc configThis verifies Codex/npm versions and writes the notify hook.
Manual setup (if needed): add to ~/.codex/config.toml:
notify = ["/absolute/path/to/PromptVC/apps/cli/hooks/codex-notify.sh"]Tip: run pwd inside the PromptVC repo to get the absolute path.
- Launch the debug build of the extension (from
apps/vscode-extension):
- In VS Code:
Run -> Start Debugging -> npm build - This opens a new Extension Development Host window
-
In the Extension Development Host window, open the repo you want to track.
-
Initialize PromptVC in that repo:
cd /path/to/your/repo
promptvc initThis creates .promptvc/ inside that repo with sessions.json and settings.json. Run this once per repo you want to track.
- Start coding with Codex in that repo:
codex- Each prompt you run shows up in the PromptVC Sessions view:
codex- Codex (current)
- Claude (coming soon)
- Gemini (coming soon)

