Adding MultiRoot support scaffolding to tasks and adding support for multi root checkpoint manager (#5978)
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user