UNPKG

apply-multi-diff

Version:

A zero-dependency library to apply unified diffs and search-and-replace patches, with support for fuzzy matching.

8 lines (7 loc) 557 B
export { applyDiff as applyStandardDiff, getToolDescription as getStandardDiffToolDescription } from './strategies/standard-diff.js'; export { applyDiff as applySearchReplace, getToolDescription as getSearchReplaceToolDescription } from './strategies/search-replace.js'; export { ApplyDiffResult, DiffError } from './types.js'; export { ERROR_CODES } from './constants.js'; export { createErrorResult } from './utils/error.js'; export { logger } from './utils/logger.js'; export { dedent, getCommonIndent, getIndent, levenshtein } from './utils/string.js';