Unify TUI slash commands and harden tool inventory responses

This commit is contained in:
William Valentin
2026-02-21 12:39:27 -08:00
parent e9cb1d7c1a
commit b09bfc8373
16 changed files with 505 additions and 21 deletions
+10
View File
@@ -567,6 +567,16 @@ export class NativeAgent {
};
}
getAvailableToolNames(): string[] {
if (!this.toolRegistry) {
return [];
}
return this.toolRegistry
.filteredList(this._toolPolicyContext)
.map((tool) => tool.name)
.sort();
}
setAttachmentCollector(collector: OutboundAttachmentCollector | undefined): void {
this._attachmentCollector = collector;
}