114
return computeUnionedDiffs([{ sessionUri, db }], diffService);
115
}
117
>
// Incremental mode (single source): try to fetch only the current turn's
118
>
// edits. When the turn only introduces new files (no renames, no re-edits
119
>
// of previously changed files), the full edit history is not needed.
120
>
let edits: IFileEditRecord[];
121
>
let fastPath = false;
122
>
123
>
const turnEdits = await db.getFileEditsByTurn(incremental.changedTurnId);
124
>
if (turnEdits.length === 0) {
125
return [...incremental.previousDiffs];
126
}