import type React from "react"; import type { VectorCortexPlansView } from "../api/vector-cortex"; import { Card, CardContent, CardHeader, CardTitle } from "../components/ui/card"; import { Metric } from "./VectorCortexMetric"; import { VcStatusBadge } from "./VcStatusBadge"; export function VectorCortexPlansCard({ view }: { view: VectorCortexPlansView | null }): React.ReactElement { return (
Plan Manifests (VC5A)
{!view?.enabled ? (
PromptDagV1 + budgeted planner disabled (VC5A off).
) : ( <>
Reader-only plan manifests only — no session payloads or prompt text. Per-run plan outputs are staged in-memory this sprint.
{view?.status === "awaiting_data" && (
Awaiting first event. Data will appear after the next pipeline run.
)} {view?.status === "deferred" && view?.deferredReason && (
Deferred: {view.deferredReason.replace(/_/g, " ")}
)} )}
); }