Add Commands section to TUI configurator with toggle for each built-in command

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ubuntu 2026-02-24 07:33:36 +00:00
commit 32147ccaec
3 changed files with 79 additions and 13 deletions

View file

@ -95,7 +95,11 @@ class MeshAI:
await self.history.initialize()
# Command dispatcher
self.dispatcher = create_dispatcher()
self.dispatcher = create_dispatcher(
prefix=self.config.commands.prefix,
disabled_commands=self.config.commands.disabled_commands,
custom_commands=self.config.commands.custom_commands,
)
# LLM backend
api_key = self.config.resolve_api_key()