aboutsummaryrefslogtreecommitdiff
path: root/src/setup.ts
diff options
context:
space:
mode:
authoramankumarsingh77 <amankumarsingh7702@gmail.com>2026-07-28 20:34:49 +0530
committerAman Kumar <145339995+amankumarsingh77@users.noreply.github.com>2026-08-02 19:12:46 +0530
commita9bdbd8590801cd9c2fa0cda6203948ac19a779c (patch)
tree060ced4709815f9415fc1172842ed25d97de545f /src/setup.ts
parent34e5cfdcbe29bbb5f2f46ba54eb67903abd9274d (diff)
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) <noreply@anthropic.com>
Diffstat (limited to 'src/setup.ts')
-rw-r--r--src/setup.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/setup.ts b/src/setup.ts
index d2ab7ac..395fff4 100644
--- a/src/setup.ts
+++ b/src/setup.ts
@@ -1,4 +1,3 @@
-
import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
import type { BrowserClient } from "./client";
import { ensureDaemon } from "./daemon/spawn";
@@ -6,7 +5,6 @@ import { DAEMON_SOCKET_PATH } from "./daemon/protocol";
import { isBrowserRunning } from "./profile/browser-process";
import { promptForProfileIfUnset } from "./profile/command";
-
export function registerSetupCommand(pi: ExtensionAPI, client: BrowserClient): void {
pi.registerCommand("browser-setup", {
description: "Connect pi to your Chrome browser",
@@ -21,10 +19,8 @@ export function registerSetupCommand(pi: ExtensionAPI, client: BrowserClient): v
});
}
-
export type SetupResult = { success: true; data: string } | { success: false; error: string };
-
export async function performSetup(client: BrowserClient, ctx?: ExtensionContext): Promise<SetupResult> {
const chromeRunning = await isBrowserRunning();
if (!chromeRunning) {