UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

8 lines • 357 B
import * as Diff from "diff"; export function createUnifiedPatch(oldPath, newPath, oldContent, newContent, contextLines = 4) { return Diff.createTwoFilesPatch(oldPath, newPath, oldContent, newContent, undefined, undefined, { context: contextLines, headerOptions: Diff.FILE_HEADERS_ONLY, }); } //# sourceMappingURL=unified-diff.js.map