From 9bae873395fa47116c7d524214fded4762c97c36 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Mon, 18 May 2026 13:09:14 +0900 Subject: [PATCH] fix(plugin): log team tool registry state Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/plugin/tool-registry.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/plugin/tool-registry.ts b/src/plugin/tool-registry.ts index 30c311c2e..a95bc9ab9 100644 --- a/src/plugin/tool-registry.ts +++ b/src/plugin/tool-registry.ts @@ -356,6 +356,14 @@ export function createToolRegistry(args: { ...hashlineToolsRecord, } + const allToolNames = Object.keys(allTools) + const teamToolCount = allToolNames.filter((toolName) => toolName.startsWith("team_")).length + log("[tool-registry] Built tool registry", { + totalTools: allToolNames.length, + teamModeEnabled: pluginConfig.team_mode?.enabled ?? false, + teamToolCount, + }) + for (const toolDefinition of Object.values(allTools)) { normalizeToolArgSchemas(toolDefinition) }