Skip to content

armgit / herdr

Public Imported from GitHub
0

the runtime your coding agents live on

fix: run pi worktree ext on background

Ogulcan Celik0065a0ef3442
diff --git a/.pi/extensions/herdr-worktree/index.ts b/.pi/extensions/herdr-worktree/index.ts
index 5e82af604..0ce0f6a2e 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",
];