feat(tools): add switch agent background workflow

This commit is contained in:
YeonGyu-Kim
2026-03-26 12:59:36 +09:00
parent 647f691fe2
commit 1c125ec3ef
25 changed files with 607 additions and 0 deletions
+2
View File
@@ -25,6 +25,7 @@ import {
createTaskList,
createTaskUpdateTool,
createHashlineEditTool,
createSwitchAgentTool,
} from "../tools"
import { getMainSessionID } from "../features/claude-code-session-state"
import { filterDisabledTools } from "../shared/disabled-tools"
@@ -144,6 +145,7 @@ export function createToolRegistry(args: {
interactive_bash,
...taskToolsRecord,
...hashlineToolsRecord,
switch_agent: createSwitchAgentTool(ctx.client, pluginConfig.disabled_agents ?? []),
}
for (const toolDefinition of Object.values(allTools)) {