add subagents control tool and session kind visibility

This commit is contained in:
DBT
2026-02-23 12:59:24 +00:00
parent 5e3945b760
commit 89847f5672
4 changed files with 170 additions and 16 deletions

View File

@@ -97,6 +97,7 @@ func NewAgentLoop(cfg *config.Config, msgBus *bus.MessageBus, provider providers
subagentManager := tools.NewSubagentManager(provider, workspace, msgBus, orchestrator)
spawnTool := tools.NewSpawnTool(subagentManager)
toolsRegistry.Register(spawnTool)
toolsRegistry.Register(tools.NewSubagentsTool(subagentManager))
// Register edit file tool
editFileTool := tools.NewEditFileTool(workspace)