Skip to content

fix(core): support Windows symlinks via junction/copy fallback - #49

Closed
ddetleffsen wants to merge 1 commit into
codemcp:mainfrom
ddetleffsen:fix/windows-symlink-support
Closed

ddetleffsen wants to merge 1 commit into
codemcp:mainfrom
ddetleffsen:fix/windows-symlink-support

Conversation

@ddetleffsen

Copy link
Copy Markdown

On Windows, fs.symlink() fails without elevated privileges. Use junctions for directories and copyFile for files instead. Unix behavior remains unchanged (plain symlink).

On Windows, fs.symlink() fails without elevated privileges.
Use junctions for directories and copyFile for files instead.
Unix behavior remains unchanged (plain symlink).
@mrsimpson

Copy link
Copy Markdown
Collaborator

I would actually prefer to fail for linked files: by default, we should link directories anyways.

@ddetleffsen

Copy link
Copy Markdown
Author

is good for me, I test it on monday.

@ddetleffsen
ddetleffsen deleted the fix/windows-symlink-support branch June 16, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants