fix(plugin): log team tool registry state

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-18 13:09:14 +09:00
parent e5653f1655
commit 9bae873395
+8
View File
@@ -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)
}