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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user