/**
 * Thin proxy to chat-standalone (port 8408):
 *   GET  /api/chat/sessions   → list
 *   POST /api/chat/sessions   → create
 *
 * Auth handled by middleware (session cookie OR X-Forge-Token).
 */

import { proxyToChat } from '@/lib/chat/proxy';

export async function GET(req: Request)  { return proxyToChat(req, '/api/sessions'); }
export async function POST(req: Request) { return proxyToChat(req, '/api/sessions'); }
