'use client' import GameView from '@/components/admin/GameView' import type { BridgeStatus, LogEntry, DiagnosticEntry } from './types' import { StatCard } from './StatCard' import { ConsoleLogPanel } from './ConsoleLogPanel' import { DiagnosticPanel } from './DiagnosticPanel' export function EditorTab({ status, logs, diagnostics, isLoadingLogs, isLoadingDiagnose, error, onSendCommand, onFetchLogs, onClearLogs, onRunDiagnose, }: { status: BridgeStatus | null logs: LogEntry[] diagnostics: DiagnosticEntry[] isLoadingLogs: boolean isLoadingDiagnose: boolean error: string | null onSendCommand: (command: string) => void onFetchLogs: () => void onClearLogs: () => void onRunDiagnose: () => void }) { return ( <> {/* Stats Grid */}
GET /status
GET /logs/errors
GET /scene
POST /diagnose
GET /play
GET /stop
GET /screenshot
GET /stream/start
GET /stream/frame
Basis-URL: http://localhost:8090
(Streaming-Endpoints blau markiert)