JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
fix(TUI): hide hidden commands from tui suggestions
dourand7d2d393a5d6
diff --git a/jiuwenswarm/channels/tui/frontend/src/ui/app-screen.ts b/jiuwenswarm/channels/tui/frontend/src/ui/app-screen.tsindex bcdcb92f55..9a04950221 100644--- a/jiuwenswarm/channels/tui/frontend/src/ui/app-screen.ts+++ b/jiuwenswarm/channels/tui/frontend/src/ui/app-screen.ts@@ -3364,7 +3364,7 @@ export class AppScreen implements Component, Focusable {return null;}- const parsed = parseSlashCommand(text, this.commands.getAll(true));+ const parsed = parseSlashCommand(text, this.commands.getAll());if (!parsed.command) {return null;}@@ -3483,7 +3483,7 @@ export class AppScreen implements Component, Focusable {private buildSlashCommands(): TuiSlashCommand[] {const hasAnyCompletion = (cmd: SlashCommand): boolean =>!!cmd.completion || (cmd.subCommands?.some(hasAnyCompletion) ?? false);- return this.commands.getAll(true).map((command) => ({+ return this.commands.getAll().map((command) => ({name: command.name,description: command.description,getArgumentCompletions: hasAnyCompletion(command)