"use client";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { cn } from "@stigmer/theme";
import { START_NODE_ID } from "../workflow-graph-model";
/**
 * Inspector for sentinel nodes (Start / End).
 *
 * Shows a brief description of the sentinel's role in the workflow.
 *
 * @since T10 (Inspector Panel Refactor) — extracted from WorkflowInspectorPanel
 */
export function SentinelInspector({ node, className }) {
    const isStart = node.id === START_NODE_ID;
    return (_jsxs("div", { className: cn("flex h-full flex-col gap-2 p-3", className), children: [_jsx("h3", { className: "text-[11px] font-semibold uppercase tracking-wide text-[var(--stgm-muted-foreground,#737373)]", children: isStart ? "Start" : "End" }), _jsx("p", { className: "text-xs text-[var(--stgm-muted-foreground,#737373)]", children: isStart
                    ? "Entry point of the workflow. The first task is connected automatically."
                    : "Terminal point. Tasks routing here end the workflow execution." })] }));
}
//# sourceMappingURL=SentinelInspector.js.map