"use client"; import { Handle, Position, type Node, type NodeProps } from "@xyflow/react"; import BaseNodeWrapper from "./base-node-wrapper"; type AgentOutputNodeData = { title?: string; channel?: string; outputType?: string; body?: string; _status?: string; _statusMessage?: string; }; type AgentOutputNodeType = Node; export default function AgentOutputNode({ data, selected }: NodeProps) { const nodeData = data as AgentOutputNodeData; return (

{nodeData.title ?? "Agent output"}

Channel

{nodeData.channel ?? "-"}

Output Type

{nodeData.outputType ?? "-"}

Body

{nodeData.body ?? ""}

); }