Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(chat): sync worktree reference PR with current main

vastsaa564ed991ce1
diff --cc apps/desktop/electron/main/ipc/workspace-ipc.ts
index 15dac8b68,dbb604bea..f704e0c02
--- a/apps/desktop/electron/main/ipc/workspace-ipc.ts
+++ b/apps/desktop/electron/main/ipc/workspace-ipc.ts
@@@ -40,8 -40,7 +40,8 @@@ import
} from "@pi-desktop/host-runtime";
import { openableMp4Path } from "../open-attachment-video";
import { isChatRefOutsideRoots, resolveChatFileRef } from "../chat-ref-resolve";
+import { rebaseWorktreeRef, type WorktreeRefContext } from "../worktree-ref";
- import { getWorkspaceFileIndex } from "../fs-index";
+ import { getWorkspaceFileIndex, searchWorkspaceFiles } from "../fs-index";
import {
projectFolderPaths,
refreshProjectGroups,