From 6e4ff96dcdefaca4ded2fc616fbcb9e79510b89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E6=98=8E?= <83812544+Ed1s0nZ@users.noreply.github.com> Date: Thu, 25 Jun 2026 14:48:25 +0800 Subject: [PATCH] Add files via upload --- internal/app/app.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/app/app.go b/internal/app/app.go index d31d916f..44d81ac7 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -135,6 +135,10 @@ func New(cfg *config.Config, log *logger.Logger, configPath string) (*App, error externalMCPMgr.StartAllEnabled() } + execReconciler := monitor.NewExecutionReconciler(db, mcpServer, externalMCPMgr, log.Logger) + execReconciler.ReconcileOnStartup() + monitor.StartStaleRunningReconcileLoop(execReconciler, log.Logger) + // 创建Agent maxIterations := cfg.Agent.MaxIterations if maxIterations <= 0 {