"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.InteractiveChatModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const chat_service_1 = require("./chat.service");
const streaming_controller_1 = require("./streaming.controller");
const session_input_entity_1 = require("../core-entities/session-input.entity");
const ai_action_entity_1 = require("../core-entities/ai-action.entity");
const llm_provider_module_1 = require("../llm-provider/llm-provider.module");
const events_module_1 = require("../events/events.module");
const llm_responses_module_1 = require("../llm-responses/llm-responses.module");
const application_state_module_1 = require("../application-state/application-state.module");
const message_bus_module_1 = require("../message-bus/message-bus.module");
const sessions_module_1 = require("../sessions/sessions.module");
const system_prompts_module_1 = require("../system-prompts/system-prompts.module");
const llm_orchestration_module_1 = require("../llm-orchestration/llm-orchestration.module");
const sub_agents_module_1 = require("../sub-agents/sub-agents.module");
let InteractiveChatModule = class InteractiveChatModule {
};
exports.InteractiveChatModule = InteractiveChatModule;
exports.InteractiveChatModule = InteractiveChatModule = __decorate([
    (0, common_1.Module)({
        imports: [
            typeorm_1.TypeOrmModule.forFeature([session_input_entity_1.SessionInput, ai_action_entity_1.AIAction]),
            (0, common_1.forwardRef)(() => llm_provider_module_1.LlmProviderModule),
            events_module_1.EventsModule,
            (0, common_1.forwardRef)(() => llm_responses_module_1.LlmResponsesModule),
            application_state_module_1.ApplicationStateModule,
            message_bus_module_1.MessageBusModule,
            (0, common_1.forwardRef)(() => sessions_module_1.SessionsModule),
            (0, common_1.forwardRef)(() => system_prompts_module_1.SystemPromptsModule),
            (0, common_1.forwardRef)(() => llm_orchestration_module_1.LlmOrchestrationModule),
            sub_agents_module_1.SubAgentsModule,
        ],
        controllers: [streaming_controller_1.StreamingController],
        providers: [chat_service_1.ChatService],
        exports: [chat_service_1.ChatService, InteractiveChatModule],
    })
], InteractiveChatModule);
//# sourceMappingURL=chat.module.js.map