Agent Skills: Implement /skills reload (#15865)

This commit is contained in:
N. Taylor Mullen
2026-01-05 15:12:51 -08:00
committed by GitHub
parent 8f0324d868
commit 2cb33b2f76
11 changed files with 468 additions and 9 deletions

View File

@@ -225,6 +225,15 @@ export class ToolRegistry {
this.allKnownTools.set(tool.name, tool);
}
/**
* Unregisters a tool definition by name.
*
* @param name - The name of the tool to unregister.
*/
unregisterTool(name: string): void {
this.allKnownTools.delete(name);
}
/**
* Sorts tools as:
* 1. Built in tools.