d3a2369d1f
Timeline stage rows add the cached share (when cache_known) and a positive cost: 20.1M tokens · 97% cached · $1.42. The file viewer words each server no_patch_reason, keeping the old truncated/binary text as the fallback.
10 lines
503 B
Markdown
10 lines
503 B
Markdown
# Changes: why a file has no patch
|
|
|
|
The server's `FileChange.no_patch_reason` (`binary`, `file_size`, `budget`,
|
|
`lines`, `evidence_size`, `git_status`, `baseline`) is parsed into
|
|
`FileChange.noPatchReason` and worded by `noPatchReasonMessage` in
|
|
`lib/features/changes/domain/change_wording.dart`. The file viewer shows it in
|
|
place of the generic truncated/binary message. A missing, blank or unknown
|
|
reason (older server) keeps the old wording. Tests:
|
|
`test/features/changes/no_patch_reason_test.dart`.
|