"use strict"; /** * NetworkCollector — logs all HTTP responses from the current observation. * The data is already captured in the observation; this collector formats it. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.NetworkCollector = void 0; class NetworkCollector { constructor() { this.name = 'NetworkCollector'; } async collect(anomaly, _agent) { // HTTP responses are captured in the observation → anomaly evidence const httpLog = anomaly.evidence.httpLog ?? []; return { httpLog }; } } exports.NetworkCollector = NetworkCollector;