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/tabs.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/domains/tabs.ts') diff --git a/src/domains/tabs.ts b/src/domains/tabs.ts index 2971a6b..f932fbf 100644 --- a/src/domains/tabs.ts +++ b/src/domains/tabs.ts @@ -87,8 +87,6 @@ export const switchTabTool = defineBrowserTool({ parameters: SwitchTabArgs, concurrency: "serialized", async handler(args, { client }): Promise> { - // Resolve to a concrete targetId (exact, or unique hex prefix). We resolve - // first so the ownership check sees the canonical id, not the prefix. let resolved = args.targetId; if (!client.owns(resolved)) { const isHexPrefix = /^[0-9A-Fa-f]{8,}$/.test(args.targetId); -- cgit v1.2.3