diff --git a/ui/litellm-dashboard/src/app/(dashboard)/agents/components/three-pane/right-panel.tsx b/ui/litellm-dashboard/src/app/(dashboard)/agents/components/three-pane/right-panel.tsx new file mode 100644 index 00000000000..f43d18aedd1 --- /dev/null +++ b/ui/litellm-dashboard/src/app/(dashboard)/agents/components/three-pane/right-panel.tsx @@ -0,0 +1,49 @@ +"use client"; + +/** + * RightPanel — third pane in the session view, with Git/Terminal tabs. + * + * The Git tab needs both the active Run snapshot (branches, current PR) + * and live events (commits, pr_opened). The Terminal tab only needs + * terminal_chunk events. + */ +import { Tabs } from "antd"; +import GitTab from "@/app/(dashboard)/agents/components/three-pane/git-tab"; +import TerminalTab from "@/app/(dashboard)/agents/components/three-pane/terminal-tab"; +import type { CloudAgentRun, CloudAgentRunEvent } from "@/types/cloud-agents"; + +interface RightPanelProps { + run: CloudAgentRun | null; + events: CloudAgentRunEvent[]; +} + +export default function RightPanel({ run, events }: RightPanelProps) { + return ( + + + + ), + }, + { + key: "terminal", + label: "Terminal", + children: ( +
+ +
+ ), + }, + ]} + /> + ); +}