Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
🤖 Plandex → Pass preBuildState and updated values to verification ActiveBuild
Dane Schneiderdd9d24de3ac3
diff --git a/app/server/model/plan/build_finish.go b/app/server/model/plan/build_finish.goindex a49797d6..8b51fbbc 100644--- a/app/server/model/plan/build_finish.go+++ b/app/server/model/plan/build_finish.go@@ -287,14 +287,16 @@ func (fileState *activeBuildStreamFileState) onFinishBuildFile(planRes *db.PlanFlog.Println("preBuildState:\n", fileState.preBuildState)log.Println("updated:\n", fileState.updated)- go fileState.execPlanBuild(&types.ActiveBuild{- ReplyId: activeBuild.ReplyId,- FileDescription: activeBuild.FileDescription,- FileContent: activeBuild.FileContent,- Path: activeBuild.Path,- Idx: activeBuild.Idx,- IsVerification: true,- })+go fileState.execPlanBuild(&types.ActiveBuild{+ ReplyId: activeBuild.ReplyId,+ FileDescription: activeBuild.FileDescription,+ FileContent: activeBuild.FileContent,+ Path: activeBuild.Path,+ Idx: activeBuild.Idx,+ IsVerification: true,+ ToVerifyPreBuildState: fileState.preBuildState,+ ToVerifyUpdatedState: fileState.updated,+})}} else {if activePlan.PathFinished(filePath) {@@ -374,3 +376,4 @@ func (fileState *activeBuildStreamFileState) onBuildFileError(err error) {log.Printf("Error clearing uncommitted changes: %v\n", err)}}+