"use client" import { CheckCircle2, Play, Clock, Terminal, AlertCircle } from "lucide-react" import { cn } from "@/lib/utils" import { useGSDWorkspaceState, type TerminalLineType } from "@/lib/sf-workspace-store" function EventIcon({ type }: { type: TerminalLineType }) { const baseClass = "h-4 w-4" switch (type) { case "system": return case "success": return case "error": return case "output": return case "input": return default: return } } export function ActivityView() { const workspace = useGSDWorkspaceState() const terminalLines = workspace.terminalLines ?? [] // Show most recent events first const reversedLines = [...terminalLines].reverse() return (

Activity Log

Execution history and git operations

{reversedLines.length === 0 ? (
No activity yet. Events will appear here once the workspace is active.
) : (
{/* Timeline line */}
{reversedLines.map((line) => (
{/* Timeline dot */}
{/* Content */}

{line.content}

{line.timestamp}
))}
)}
) }