Skip to content

Fix Antigravity support#32

Merged
stephencelis merged 10 commits intopointfreeco:mainfrom
ibrahimkteish:feature/copy-flag
Feb 18, 2026
Merged

Fix Antigravity support#32
stephencelis merged 10 commits intopointfreeco:mainfrom
ibrahimkteish:feature/copy-flag

Conversation

@ibrahimkteish
Copy link
Contributor

Adds a --copy flag to create full copies instead of symlinks for AI tools that don't support symbolic links.

Usage:

pfw install --tool <tool> --copy

Changes:

  • Added --copy / -c flag to install command
  • Added copyItem to FileSystem protocol
  • Added test for copy installation
  • Updated README with usage guidance

All 58 tests pass.

Update the default install path for Antigravity from:
  ~/.gemini/antigravity/global_skills
to:
  ~/.gemini/antigravity/skills

This aligns with the official Antigravity documentation:
https://antigravity.google/docs/skills
Some AI tools don't support symbolic links for skills. This adds a --copy
flag that creates full copies instead of symlinks.

Changes:
- Add --copy/-c flag to install command
- Add copyItem to FileSystem protocol
- Implement copyItem in InMemoryFileSystem for tests
- Add test for copy installation
- Document when to use --copy in README

Usage:
  pfw install --tool <tool> --copy

Note: Using --copy duplicates skills for each tool and requires
re-running install after updates.
The copyItem method had code handling files and symlinks as source,
but in practice we always copy directories from ~/.pfw/skills/.
Removed unreachable code paths for clarity.
The source directory (~/.pfw/skills/) never contains symlinks,
so there's no need to copy them.
@ibrahimkteish
Copy link
Contributor Author

should be rebased on top #31 after merging it

Copy link
Member

@mbrandonw mbrandonw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @ibrahimkteish, thanks for doing this! We decided to tone it down a bit by just special casing cursor for now to do the copying rather than have a --copy flag.

@stephencelis stephencelis mentioned this pull request Feb 6, 2026
@ibrahimkteish
Copy link
Contributor Author

Hey @mbrandonw, whatever you see fit, but there is also a report on Slack that symlinks don't work with Antigravity. But also, I understand if you want to just keep cursor for now.

@stephencelis
Copy link
Member

@ibrahimkteish We're down to maintain a whitelist for those that don't work, and maybe link to any open issues. Do you know if there's an Antigravity issue we can track?

@ibrahimkteish
Copy link
Contributor Author

ibrahimkteish commented Feb 8, 2026

@stephencelis I am not aware of any link for the antigravity issue. It was reported in the Slack channel only by one of the users of the tool

@schneiderandre
Copy link
Contributor

From :
https://forum.cursor.com/t/global-symlinked-skills-are-not-discovered-by-cursor/150028/6

2.5 got released and for me symlinks seem to now work. So the Cursor whitelist might not be needed anymore.

https://cursor.com/changelog/2-5

@stephencelis stephencelis changed the title Add --copy flag for installing skills without symlinks Fix Antigravity support Feb 18, 2026
@stephencelis stephencelis merged commit adec2cc into pointfreeco:main Feb 18, 2026
2 checks passed
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.

4 participants