File size: 427 Bytes
c6b6c96 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import { NextResponse } from 'next/server'
import { isTorqueConfigured } from '@/lib/torque-mcp'
import { getCount } from '@/lib/event-store'
export async function GET() {
const configured = isTorqueConfigured()
return NextResponse.json({
configured,
status: configured ? 'connected' : 'unconfigured',
sessionEvents: getCount(),
projectId: 'cmon6tgg20009jr1iz2b1eue8',
projectName: 'FlowState',
})
}
|