Adding MultiRoot support scaffolding to tasks and adding support for multi root checkpoint manager (#5978)

This commit is contained in:
Ara authored and GitHub committed 2025-09-09 23:09:23 -07:00
1 parent 6cc867ccb5
commit 92d7cdf593
25 files changed
+1160 -85

No files matched your search

@@ -10,7 +10,8 @@ import { Controller } from ".."
export async function taskCompletionViewChanges(controller: Controller, request: Int64Request): Promise<Empty> {
try {
if (request.value && controller.task) {
await controller.task.checkpointManager?.presentMultifileDiff(request.value, true)
// presentMultifileDiff is optional on ICheckpointManager, so capture then optionally invoke
await controller.task.checkpointManager?.presentMultifileDiff?.(request.value, true)
}
return Empty.create()
} catch (error) {