Merge branch 'worktree-agent-add3194df2bcbd3c5'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -111,7 +111,7 @@ String? noPatchReasonMessage(String? reason) => switch (reason) {
|
||||
'budget' =>
|
||||
'The workspace snapshot ran out of text budget, so no diff text was '
|
||||
'recorded.',
|
||||
'lines' => 'The change is over 5,000 lines, so no diff text was recorded.',
|
||||
'lines' => 'The change is over 20,000 lines, so no diff text was recorded.',
|
||||
'evidence_size' =>
|
||||
"This visit's recorded changes reached their size limit, so this patch "
|
||||
'was dropped.',
|
||||
@@ -121,6 +121,15 @@ String? noPatchReasonMessage(String? reason) => switch (reason) {
|
||||
'baseline' =>
|
||||
"The file's content at stage start couldn't be recovered from Git, so no "
|
||||
'diff was recorded.',
|
||||
'symlink' => 'Symbolic link; only the change to its target was recorded.',
|
||||
'protected' =>
|
||||
'A protected file (secrets, credentials or a database); its content is '
|
||||
'never read, only that it changed.',
|
||||
'generated' =>
|
||||
'A lockfile, minified or generated file; it is listed without a diff.',
|
||||
'large' =>
|
||||
'This file is too large to hash, so it was compared by size and '
|
||||
'modification time only.',
|
||||
_ => null,
|
||||
};
|
||||
|
||||
|
||||
@@ -36,8 +36,10 @@ class FileChange {
|
||||
final bool truncated;
|
||||
|
||||
/// Why the server recorded no (complete) patch: `binary`, `file_size`,
|
||||
/// `budget`, `lines`, `evidence_size`, `git_status` or `baseline`. Null from
|
||||
/// an older server or when a patch was recorded.
|
||||
/// `budget`, `lines`, `evidence_size`, `git_status`, `baseline`, `symlink`,
|
||||
/// `protected` (content never read), `generated` (lockfile/minified) or
|
||||
/// `large` (compared by size and mtime only). Null from an older server or
|
||||
/// when a patch was recorded; an unknown value gets the generic wording.
|
||||
final String? noPatchReason;
|
||||
final String? beforeMode;
|
||||
final String? afterMode;
|
||||
|
||||
Reference in New Issue
Block a user