"use client";
import { jsx as _jsx } from "react/jsx-runtime";
import { ExecutionProgress } from "../../execution/ExecutionProgress";
/**
 * Plan facet for the SessionInspector.
 *
 * Wraps the existing chrome-less {@link ExecutionProgress} component
 * (phase badge + todo list). The `role="region" aria-label="Execution
 * progress"` contract is preserved for E2E and screen readers.
 *
 * Renders nothing when no execution is available (pre-first-run state).
 */
export function PlanTab({ execution }) {
    if (!execution) {
        return (_jsx("div", { className: "flex flex-col items-center justify-center px-4 py-8 text-center", children: _jsx("p", { className: "text-xs text-muted-foreground", children: "No execution yet. Send a message to start." }) }));
    }
    return _jsx(ExecutionProgress, { execution: execution });
}
//# sourceMappingURL=PlanTab.js.map