import { emergencyAutomation } from '@/lib/emergency-automation' export async function POST(request) { try { const config = await request.json() console.log('🚨 EMERGENCY: Automation start request received') const result = await emergencyAutomation.start(config) return Response.json(result) } catch (error) { console.error('Emergency start failed:', error) return Response.json({ success: false, message: 'Emergency start failed: ' + error.message }, { status: 500 }) } }