A high-integrity delivery mechanism for AI-generated code patches. Akkhar Code
Patcher provides a surgical approach to code modification, ensuring context
retention and atomic execution.
Features
Bulk Preview Diff: Review multiple patches simultaneously using the native
VS Code side-by-side diff engine.
Reverse-Topological Execution: Patches are applied from the bottom of the
file to the top to maintain line-number integrity and prevent offset drift.
Surgical Precision Engine: Uses a line-by-line sliding window algorithm to
ensure bit-perfect matches while remaining immune to CRLF/LF (Windows/Unix)
line-ending conflicts.
Atomic Transactions: All patches in a stream are committed as a single
undo-able event using vscode.workspace.applyEdit.
Diagnostic Feedback: Real-time validation and error logging to a dedicated
Output Channel for debugging complex patch streams.
Usage
Open the Akkhar Orchestration sidebar icon.
Paste your patch stream into the buffer. The stream must follow the Akkhar
DSL: