Files
Mark McKeen 35532aba05 feat: align sandbox config with OpenShell policy schema
- replace generic config UI with OpenShell policy editor
- add sandbox config API route using policy-shaped data
- fix combined telemetry route to avoid broken upstream fetch
2026-03-29 08:38:57 -06:00

16 lines
416 B
TypeScript

import { NextResponse } from "next/server"
export async function GET() {
const combinedTelemetry = {
cpu: Math.random() * 30 + 30,
memory: Math.random() * 25 + 40,
disk: Math.random() * 15 + 50,
gpuMemoryUsed: Math.random() * 60 + 20,
gpuMemoryTotal: 80,
gpuTemperature: Math.random() * 20 + 65,
timestamp: new Date().toISOString()
}
return NextResponse.json(combinedTelemetry)
}