mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
* fix(sidebar): keep discovered worktrees hidden when adding a project Adding a project no longer switches it to show worktrees Orca didn't create (Conductor workspaces and other tools' worktrees). They stay behind the sidebar's "Hiding N discovered worktrees" line, the same as every other way a project is added. * fix(sidebar): open a picked linked worktree instead of revealing its siblings When the folder added as a project is itself a linked worktree, its main checkout is hidden. Open the picked worktree instead of switching the whole project to show worktrees Orca didn't create. * fix(repos): register clone and create paths with symlinks resolved Git reports checkout paths with symlinks resolved. Clone and create saved the typed path, so a project cloned under a symlinked folder (e.g. /tmp on macOS) did not recognise its own checkout and hid it as a discovered worktree. Resolve the existing part of the destination before registering, as adding an existing folder already does. * fix(repos): keep finding projects saved under a symlinked clone or create path Projects cloned or created before paths were resolved keep the typed spelling. Match both spellings so retrying the same clone or create reuses the saved project instead of failing on its non-empty folder. * fix(repos): keep Windows clone and create paths as typed Windows Git reports the typed spelling, and resolving would turn mapped drives into UNC paths. Runtime clone/create tests now use resolved temp roots, matching what registration saves. * fix(repos): register Git's checkout path for clone and create Replace the parent-symlink resolution with the path Git reports after clone or git init, as adding an existing folder already does. This also covers a symlink at the target folder itself and WSL paths, leaves plain folders and Windows spellings unchanged, and matches saved projects by both the typed and the resolved spelling. * fix(sidebar): keep opening projects whose own checkout isn't recognised Projects saved through a symlinked path by older builds or paired hosts don't recognise their own checkout. Keep main's behaviour for that case: show the project so the add still opens it. * fix(repos): match resolved paths when importing a folder of repos Clone and create now save Git's resolved checkout path, so a nested import through a symlinked folder must also match that spelling instead of registering a duplicate project. * fix(repos): find saved projects through a symlink before the clone target exists Resolve a missing clone target through its existing ancestors, reusing the worktree-create alias resolver, and read the lookup keys inside the clone lock. Queued clones through a symlinked folder reuse the first clone, and a different repository at a saved project whose folder is gone is refused before cloning, as on main. * fix(repos): match a folder import's resolved path only to local projects The resolved spelling names this machine's folder, so a remote (SSH) project at the same path string must not be treated as the import. * fix(repos): limit a desktop folder import's resolved-path match to this machine Runtime-owned and SSH projects can share the path string; only projects on this machine may match the import's resolved folder. * fix(repos): read a nested import row's connection through the host helper * fix(repos): match only this machine's projects when creating a local project