mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 10:55:57 +00:00
Inspect bounded offline aioquic1.5.0 JSON qlog0.3 and page retained event/transport facts with explicit trace and stream selectors. Preserve producer coordinates, exact numeric lexemes, global pre-selection fact scope and endpoint declaration uncertainty. Verified four real HTTP/3 recordings with an independent interval oracle, public CLI/MCP/schema parity, auth exclusions, source-deletion views and actual decoder heap exhaustion. Unverified producer platforms and qlog-specific lifecycle induction remain documented. Co-authored-by: LuisTaffelli <86675342+LuisTaffelli@users.noreply.github.com> Co-authored-by: N0zoM1z0 <161784452+N0zoM1z0@users.noreply.github.com>
21 lines
865 B
TypeScript
21 lines
865 B
TypeScript
import { WebNetworkCaptureService } from "../application/WebNetworkCaptureService.js";
|
|
import { HistoricalCaptureDecoder } from "../browser/history/HistoricalCaptureDecoder.js";
|
|
import { NodeCaptureAdapter } from "../browser/history/NodeCaptureAdapter.js";
|
|
import { MitmproxyCaptureAdapter } from "../browser/history/MitmproxyCaptureAdapter.js";
|
|
|
|
/** Compose offline format adapters without import-time reads, installation or process startup. */
|
|
export const createWebNetworkCaptureService = (
|
|
environment: Readonly<NodeJS.ProcessEnv> = process.env,
|
|
): WebNetworkCaptureService =>
|
|
new WebNetworkCaptureService(
|
|
new HistoricalCaptureDecoder(
|
|
[
|
|
new NodeCaptureAdapter("har"),
|
|
new NodeCaptureAdapter("saz"),
|
|
new NodeCaptureAdapter("qlog"),
|
|
new MitmproxyCaptureAdapter(environment),
|
|
],
|
|
environment,
|
|
),
|
|
);
|