import React, { useEffect, useRef } from 'react'; import { Loader, TrendingUp, Search, Eye } from 'lucide-react'; import { AnalysisState } from '../types'; interface StepProcessingProps { state: AnalysisState; } export const StepProcessing: React.FC = ({ state }) => { const percentage = Math.round((state.completed / state.total) * 100) || 0; const terminalRef = useRef(null); useEffect(() => { if (terminalRef.current) { terminalRef.current.scrollTop = terminalRef.current.scrollHeight; } }, [state.completed, state.currentCompany]); return (

Running Market Audit

Analyzing digital traces based on your strategy...

Progress {percentage}% ({state.completed}/{state.total})
audit_agent.exe
$ load_strategy --context="custom"
{state.completed > 0 &&
... {state.completed} companies analyzed.
} {state.currentCompany && ( <>
{`> Analyzing: ${state.currentCompany}`}
Fetching Firmographics (Revenue/Size)...
Scanning Custom Signals...
Validating against ICP...
)}
); };