import { NextRequest, NextResponse } from 'next/server'; import { createSupervisorClient } from '@/lib/supervisor/client'; import { withLogging } from '@/lib/utils/api-logger'; export const GET = withLogging(async (request: NextRequest) => { const client = createSupervisorClient(); const configs = await client.getAllConfigInfo(); return NextResponse.json(configs); }, 'getAllConfigInfo');