feat: Implement a unified channel and provider management system with migration support and TUI integration.

This commit is contained in:
0x5487 2026-03-01 01:14:29 +08:00
parent c22a6a6a34
commit f06f78fa95

View file

@ -224,7 +224,16 @@ func setupCronTool(
cronService := cron.NewCronService(cronStorePath, nil)
// Create and register CronTool
cronTool, err := tools.NewCronTool(cronService, agentLoop, msgBus, workspace, restrict, execTimeout, cfg, agentLoop.GetDefaultSandboxManager())
cronTool, err := tools.NewCronTool(
cronService,
agentLoop,
msgBus,
workspace,
restrict,
execTimeout,
cfg,
agentLoop.GetDefaultSandboxManager(),
)
if err != nil {
log.Fatalf("Critical error during CronTool initialization: %v", err)
}