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/files.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/domains/files.ts') diff --git a/src/domains/files.ts b/src/domains/files.ts index ebc5a83..534a674 100644 --- a/src/domains/files.ts +++ b/src/domains/files.ts @@ -17,8 +17,6 @@ const UploadArgs = Type.Object({ filePath: Type.String({ description: "Absolute path to the file to upload" }), }); -// Ref path: set files directly on the resolved backendNodeId via CDP — simplest -// and most reliable, no selector needed. const tryRefUpload = async ( client: BrowserClient, backendId: number, @@ -115,7 +113,6 @@ export const uploadFileTool = defineBrowserTool({ const readable = await verifyReadable(args.filePath); if (!readable.success) return readable; - // Ref path: resolve to backendNodeId and set files directly via CDP. if (args.ref !== undefined) { const backendId = resolveRefToBackendId(client, args.ref); if (!backendId.success) return backendId; -- cgit v1.2.3