Commit adec2cc
Fix Antigravity support (#32)
* Fix Antigravity skills path
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
* Add --copy flag for installing skills without symlinks
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.
* Remove dead code in InMemoryFileSystem.copyItem
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.
* Remove symlink copying in copyItem
The source directory (~/.pfw/skills/) never contains symlinks,
so there's no need to copy them.
* Copy only for cursor.
* Update readme.
* Remove Cursor, add Antigravity
* fix test
---------
Co-authored-by: Brandon Williams <mbrandonw@hey.com>
Co-authored-by: Stephen Celis <stephen@stephencelis.com>1 parent e08039b commit adec2cc
File tree
5 files changed
+141
-50
lines changed- Sources/pfw
- Dependencies
- Tests/pfwTests
- Internal
5 files changed
+141
-50
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
228 | 229 | | |
229 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
230 | 235 | | |
231 | 236 | | |
232 | 237 | | |
| |||
0 commit comments