"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseChatModule = void 0;
class BaseChatModule {
    commands = [];
    modes = [];
    chatService;
    async initialize(service) {
        this.chatService = service;
        this.commands = this.getCommands();
        this.modes = this.getModes();
        for (const command of this.commands) {
            this.chatService.registerCommand(command);
        }
    }
    getCommands() {
        return [];
    }
    getModes() {
        return [];
    }
    async handleInput(input, context) {
        return false;
    }
    async cleanup() {
    }
    updateContext(updates) {
        this.chatService.setContext(updates);
    }
}
exports.BaseChatModule = BaseChatModule;
//# sourceMappingURL=BaseChatModule.js.map