fix: Remove last scan_updates reference\n\n- Line 833 in ChatTimeline still had scan_updates\n- Updated to check platform-specific scans (apt, dnf, winget, windows)\n- Verifying: no scan_updates references remain in frontend

This commit is contained in:
Fimeg
2025-12-20 18:54:16 -05:00
parent 1582a4c270
commit 584311c3b6

View File

@@ -830,7 +830,8 @@ const ChatTimeline: React.FC<ChatTimelineProps> = ({ agentId, className, isScope
const details: Array<{label: string, value: string}> = [];
// Handle scan results specifically
if (entry.action === 'scan_updates') {
if (entry.action === 'scan_apt' || entry.action === 'scan_dnf' ||
entry.action === 'scan_winget' || entry.action === 'scan_windows') {
// Extract update counts
const updateCountMatch = stdout.match(/Found\s+(\d+)\s+([^:\n]+)/i);
if (updateCountMatch) {