From a9bdbd8590801cd9c2fa0cda6203948ac19a779c Mon Sep 17 00:00:00 2001 From: amankumarsingh77 Date: Tue, 28 Jul 2026 20:34:49 +0530 Subject: refactor: tidy the whitespace the comment removal left behind Drops leading blank lines where a file header was removed, collapses double blank lines, and closes the empty catch/handler blocks whose only content had been a comment. Whitespace only. Co-Authored-By: Claude Opus 5 (1M context) --- src/index.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index 7b35f35..e0fa750 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,3 @@ - import type { ExtensionAPI } from "@mariozechner/pi-coding-agent"; import { type BrowserClient, createBrowserClient } from "./client"; import { getBrowserSystemPrompt } from "./prompt"; @@ -119,7 +118,6 @@ export default function browserHarnessExtension(pi: ExtensionAPI): void { client.setProfilePin(profilePin); } - if (!toolsRegistered) { registerAllTools(pi, client); toolsRegistered = true; -- cgit v1.2.3