7e4d27a9e8
- Reverted to flushing only on the last file write or explicitly on early failure paths within `apply_patch` multi-file operations. - Refactored error counting logic within single path entries to use clean booleans instead of numeric counters. - Replaced custom preview capping logic in task progress rendering with `capPreviewLines` and added an option to hide the expand hint.