mirror of
https://github.com/morluto/rea.git
synced 2026-10-28 10:25:42 +00:00
Inspect selected fields in existing captures through shared CLI/MCP Evidence. Page matching frames without changing dissection or two-pass read coverage; retain failed descriptor/process cleanup ownership and reject excess admission. Verified with real TShark 4.0.17 and 4.2.2, public Wireshark recordings, owned HTTP application traffic, real CLI/MCP workflows and schema checks. Co-authored-by: Olorinm <59321404+Olorinm@users.noreply.github.com> Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
7 lines
363 B
TypeScript
7 lines
363 B
TypeScript
import { PacketCaptureService } from "../application/captures/PacketCaptureService.js";
|
|
import { TsharkCaptureProvider } from "../captures/TsharkCaptureProvider.js";
|
|
export const createPacketCaptureService = (
|
|
environment: Readonly<NodeJS.ProcessEnv> = process.env,
|
|
): PacketCaptureService =>
|
|
new PacketCaptureService(new TsharkCaptureProvider(environment));
|