102
* file and the total lines added/removed across the session.
103
*/
105
>
sessionUri: string,
106
>
db: ISessionDatabase,
107
>
diffService: IDiffComputeService,
108
>
incremental?: IIncrementalDiffOptions,
109
>
): Promise<ISessionFileDiff[]> {
110
>
// Full mode (no incremental) is the single-source case of the unioned
111
>
// computation — delegate so the identity-graph + diff logic lives in one
112
>
// place and multi-chat sessions reuse the exact same code path.
113
>
if (!incremental) {
114
return computeUnionedDiffs([{ sessionUri, db }], diffService);
115
}