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:
@@ -356,6 +356,14 @@ export function createToolRegistry(args: {
|
|||||||
...hashlineToolsRecord,
|
...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)) {
|
for (const toolDefinition of Object.values(allTools)) {
|
||||||
normalizeToolArgSchemas(toolDefinition)
|
normalizeToolArgSchemas(toolDefinition)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user