refactor(electron): retain complete active observations

This commit is contained in:
morluto
2026-09-29 12:42:24 +08:00
parent fa2b6c5a61
commit e8c56e0c0a
8 changed files with 60 additions and 161 deletions
@@ -96,14 +96,7 @@ const normalizeInspection = (
completeness: classifyBrowserCompleteness({
policyFilteredSections: new Set(),
attachLimitedSections: new Set(),
truncatedSections: new Set(
result.windows_truncated ||
result.processes.truncated ||
result.ipc.truncated ||
result.timeline.truncated
? ["timeline"]
: [],
),
truncatedSections: new Set(),
unavailableSections: new Set([
"frames",
"scripts",
@@ -118,7 +111,7 @@ const normalizeInspection = (
websocket_connections: 0,
websocket_frames: 0,
webmcp_tools: 0,
timeline_events: result.timeline.truncated ? result.timeline.observed : 0,
timeline_events: 0,
},
}),
});