// tools/init-project/stack-detector.ts — Architecture pattern and stack detection during init_project
import { detectModernPatterns, detectDdd } from '../../engine/architecture-pattern-detector.js';
import { detectAgileProcess } from '../../engine/agile-config-builder.js';
import { detectOrchestratorInfo, detectComposeMultiplatform } from './helpers.js';
/**
 * SPEC-033: Detect modern architecture patterns, DDD config, agile process,
 * container orchestrator, and Compose Multiplatform — all in parallel.
 */
export async function detectStackPatterns(projectPath) {
    const [modernPatterns, dddConfig, agileDetection, orchestratorInfo, composeMultiplatform] = await Promise.all([
        detectModernPatterns(projectPath),
        detectDdd(projectPath),
        detectAgileProcess(projectPath),
        detectOrchestratorInfo(projectPath),
        detectComposeMultiplatform(projectPath),
    ]);
    return { modernPatterns, dddConfig, agileDetection, orchestratorInfo, composeMultiplatform };
}
//# sourceMappingURL=stack-detector.js.map