import { useState } from 'react'; export default function OverseerControlPanel({ state, onClearHistory, clearingHistory }) { const [showPayload, setShowPayload] = useState(false); if (!state) { return (
{input.stateUpdate || ''}
{renderModelMessages()}
{input.systemPrompt || ''}
{JSON.stringify(input.transcript || [], null, 2)}
{JSON.stringify({ available: input.availableTools, blocked: input.blockedTools }, null, 2)}
{output.raw || ''}
{JSON.stringify(output.liveToolCalls || [], null, 2)}
{JSON.stringify(state.history || [], null, 2)}
{JSON.stringify(state, null, 2)}
) : null}