From b67faca60b21b0cf74d5c967f0f8d215ad601e93 Mon Sep 17 00:00:00 2001 From: amankumarsingh77 Date: Tue, 28 Jul 2026 20:30:49 +0530 Subject: refactor(domains): strip comment noise Removes module banners, step markers, and comments restating the code. Keeps one-line notes for safeJs's trust boundary, the select-match null sentinels, the TUI width clamp, the single-window tab rule, the input synthesis quirks (char events, keyCode, mousemove, focus, compositor), the stale AX value, ignored-wrapper recursion, and isolated-tab routing. Co-Authored-By: Claude Opus 5 (1M context) --- src/domains/network.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/domains/network.ts') diff --git a/src/domains/network.ts b/src/domains/network.ts index fa755b3..fc54eb2 100644 --- a/src/domains/network.ts +++ b/src/domains/network.ts @@ -131,7 +131,6 @@ const renderNetworkMarkdown = ( return `${headerLines.join("\n")}\n\n${rows}${more}`; } - // Expanded: full table + optional body sections. const tableHeader = `| # | Method | Status | URL | Type | ms |\n|---|---|---|---|---|---|`; const tableRows = records .map((r, i) => { @@ -269,7 +268,7 @@ export const networkRequestsTool = defineBrowserTool({ includeBodies: args.includeResponseBodies ?? false, total: drained.total, bufferOverflowed: drained.bufferOverflowed, - expanded: true, // full text always returned to the LLM; renderResult handles compact view for humans + expanded: true, }); const trunc = await applyTruncation(text, "network"); -- cgit v1.2.3