2f643451ee
- Modified buildCompactDiffPreview to omit removed lines from output while preserving removal counts for offset tracking. - Added logic to collapse long contiguous added runs with +<lineNum>... elision marker, keeping configurable edge lines on each side via new maxAddedRunContext option. - Removed context-gap placeholder rows (... or ...) from model-facing preview, relying on line-number jumps to convey elision. - Reorganized test suite by moving core contract tests to dedicated core-contracts.test.ts file and diff-preview tests to diff-preview.test.ts for better separation of concerns.