From 139581dc803fa1b47b8dfeaed85515a93b4ac5be Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Thu, 28 May 2026 21:44:03 -0300 Subject: [PATCH] refactor(inspector): remove dead extractLlmMetadata stub from kindDetector (R5-10) --- src/mitm/inspector/kindDetector.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/mitm/inspector/kindDetector.ts b/src/mitm/inspector/kindDetector.ts index 3bc98d7b4e..e8e34196d5 100644 --- a/src/mitm/inspector/kindDetector.ts +++ b/src/mitm/inspector/kindDetector.ts @@ -1,4 +1,4 @@ -import type { InterceptedRequest, LlmMetadata } from "./types"; +import type { InterceptedRequest } from "./types"; /** * LLM host patterns — 18+ known LLM API hostnames. @@ -85,10 +85,3 @@ export function detectKind(req: InterceptedRequest): "llm" | "app" | "unknown" { return bodySignalFired ? "app" : "unknown"; } -/** - * Skeleton LLM metadata extractor. Full implementation in F4. - */ -export function extractLlmMetadata(req: InterceptedRequest): LlmMetadata | null { - if (detectKind(req) !== "llm") return null; - return null; // stub — F4 will implement -}