@bestdefense/bd-agent
Version:
An AI-powered coding assistant CLI that connects to AWS Bedrock
21 lines • 675 B
TypeScript
export interface SlashCommand {
name: string;
description: string;
content: string;
arguments?: string[];
}
export declare class SlashCommandManager {
private commands;
private commandsDir;
constructor();
private ensureCommandsDirectory;
private loadBuiltInCommands;
private loadCommands;
getCommand(name: string): SlashCommand | undefined;
getAllCommands(): SlashCommand[];
executeCommand(commandName: string, args: string[]): string | null;
createCommand(name: string, content: string): void;
deleteCommand(name: string): boolean;
getCommandsDirectory(): string;
}
//# sourceMappingURL=slash-commands.d.ts.map