Conversation
Author
Status update from contributor automationLocal verification on head
Needs a maintainer (cannot do from this fork account):
Happy to address review feedback once CI can run. |
parsakhaz
force-pushed
the
fix/expand-user-repo-paths
branch
2 times, most recently
from
September 4, 2026 23:47
9446fb2 to
665c003
Compare
Resolve home and relative repo paths before detect-branch, create, and RunPane validation, and stop reporting a fake main branch when detection fails. Closes dcouple#577 Co-authored-by: Cursor <cursoragent@cursor.com>
parsakhaz
force-pushed
the
fix/expand-user-repo-paths
branch
from
September 5, 2026 00:52
665c003 to
c787d78
Compare
Author
|
@parsakhaz quick check-in on this one, it closes #577. It's still small (7 files) and merges cleanly against current main; checks are green. Happy to rebase or split it if that helps review. Context for why it matters to me: I run Pane on a couple of machines and add repos by typing paths, and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes Add Repository and RunPane repository validation so typed
~/…and relative paths expand before branch detection, project creation, and repository validation. Branch detection now reports failure instead of falsely showingmain.Existing absolute paths retain the user's normalized spelling rather than being canonicalized through
realpath. On macOS this prevents/var/...paths from becoming/private/var/..., which could bypass the existing-project match and create a duplicate stored repository.WSL UNC paths (
\\wsl.localhost\\…,\\wsl$\\…) remain unchanged for WSL parsing.Closes #577.
Verification
pnpm install --frozen-lockfile --offline --ignore-scripts13/13passed (pathResolveranddetectProjectBranch)pnpm typecheckpassedpnpm lintpassed (five pre-existing ESLint warnings inskillCacheManager.ts)Manual checks still useful
~/…path./var/...on macOS and confirm its stored path keeps that spelling.main.