update /theme to new slash command arch (#3791)

Co-authored-by: matt korwel <matt.korwel@gmail.com>
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
This commit is contained in:
haroldmciver-go
2025-07-11 16:01:28 -04:00
committed by GitHub
parent 2826c7a1c6
commit 4197f30278
7 changed files with 102 additions and 14 deletions

View File

@@ -8,11 +8,13 @@ import { SlashCommand } from '../ui/commands/types.js';
import { memoryCommand } from '../ui/commands/memoryCommand.js';
import { helpCommand } from '../ui/commands/helpCommand.js';
import { clearCommand } from '../ui/commands/clearCommand.js';
import { themeCommand } from '../ui/commands/themeCommand.js';
const loadBuiltInCommands = async (): Promise<SlashCommand[]> => [
clearCommand,
helpCommand,
memoryCommand,
themeCommand,
];
export class CommandService {