From 0065a0ef344237c4e52bf391646e7495258ee180 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 25 Jul 2026 02:29:53 +0300 Subject: [PATCH] fix: run pi worktree ext on background --- .pi/extensions/herdr-worktree/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.pi/extensions/herdr-worktree/index.ts b/.pi/extensions/herdr-worktree/index.ts index 5e82af60..0ce0f6a2 100644 --- a/.pi/extensions/herdr-worktree/index.ts +++ b/.pi/extensions/herdr-worktree/index.ts @@ -137,10 +137,6 @@ async function startHerdrWorktree( await runInNewPane(pi, signal, created.rootPaneId, newSessionFile, worktreePath); - if (created.workspaceId) { - await herdr(pi, ["workspace", "focus", created.workspaceId], signal, sourceCheckout, 10_000); - } - if (options.closeOldPane && oldPaneId) { await scheduleOldPaneCleanup(pi, signal, currentFile, oldPaneId, process.pid); } @@ -201,7 +197,6 @@ async function createHerdrWorktree( sourceCheckout, "--base", options.base || DEFAULT_BASE, - "--focus", "--json", ];