DecodeSpeak is a VS Code extension prototype that explains diff hunks in plain English.
It keeps lightweight actions in the diff editor and uses a dedicated sidebar for a richer review flow.
This project is early-stage and open for contributions.
What works today:
- active diff detection on the modified side of a text diff
- per-hunk CodeLens actions:
Explain,Accept,Revert - a DecodeSpeak sidebar in the Activity Bar
- local explanation calls through
codex exec - explanation caching per hunk
- a native inline review composer for the current diff flow
What is still rough:
Revertis still a placeholder- the richer review UX is moving toward the sidebar
- there is no packaged marketplace release yet
- Open a diff editor in VS Code
- Put the cursor on a changed hunk
- Trigger
Explainfrom CodeLens or use the DecodeSpeak sidebar - DecodeSpeak gathers the current hunk context and calls the local
codexCLI
- VS Code
^1.96.0 - Node.js and
npm - local
codexCLI available on your path, or configured throughdecodespeak.codexCliPath
DecodeSpeak: Explain Active Diff HunkDecodeSpeak: Accept Active Diff HunkDecodeSpeak: Revert Active Diff HunkDecodeSpeak: Focus Sidebar
Install dependencies and run the checks:
npm install
npm run build
npm run testLaunch a dedicated Extension Development Host:
code --new-window \
--extensionDevelopmentPath="$PWD" \
"$PWD"Open the sample diff quickly:
code --new-window \
--extensionDevelopmentPath="$PWD" \
--diff "$PWD/test-before.js" "$PWD/test-after.js"decodespeak.codexCliPath: path to thecodexexecutabledecodespeak.codexModel: optional model overridedecodespeak.requestTimeoutMs: CLI timeout in millisecondsdecodespeak.contextLines: modified-side context lines around the hunk
- move the richer review workflow into the sidebar
- make
Reverta real per-hunk action - improve sidebar-to-diff synchronization
- add stronger integration and end-to-end test coverage
- publish a marketplace-ready release
See CONTRIBUTING.md.
MIT. See LICENSE.

