import { NextResponse } from 'next/server'

export async function GET() {
  try {
    // Return basic automation insights
    const insights = {
      status: 'available',
      features: [
        'Drift Protocol leverage trading',
        'Jupiter DEX spot trading',
        'Automated trading strategies',
        'AI-powered market analysis'
      ],
      providers: ['DRIFT', 'JUPITER'],
      timestamp: new Date().toISOString()
    }

    return NextResponse.json(insights)
  } catch (error) {
    console.error('Automation insights error:', error)
    return NextResponse.json(
      { error: 'Failed to get automation insights' },
      { status: 500 }
    )
  }
}