The existing file with only the lines in the diff changed, or the file left untouched with the reason it did not apply.
About
Changes part of an existing file from a unified diff, the standard before-and-after format, instead of rewriting the whole file. Every context line in the diff is checked against the real file, so a change that does not match is refused and the file stays as it was.
Diffs written by an AI assistant often get the line counts wrong or escape quotes twice. When the diff as sent does not apply, it retries with the counts recalculated from the diff body and with the extra escaping removed, and reports which repair worked. A repair that would change the meaning fails to match and is refused like any other mismatch.
On a desktop setup it hands the change back for you to review before it is written; on a cloud setup it applies the change directly. It currently runs inside Syvon.
- TypeScript
- Unified diff
Requirements
- Runs with
- Node.js 20 or later
- Operating systems
- windows, macos, linux
Costs
- External costs
- None
License
- License
- UNLICENSED (pending owner decision)Licence terms are not decided yet. Nothing can be acquired until the owner decides them.