feat(hosts): add Antigravity (agy) declarative config and setup registry#2134
feat(hosts): add Antigravity (agy) declarative config and setup registry#21340xshae wants to merge 5 commits into
Conversation
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
/trunk merge |
|
An error occurred while submitting your PR to the queue: |
agy)**, enabling gstack skills to be generated and loaded natively in Antigravity workspaces and global configurations.|
@0xshae Please make setup accept the declared Agy host and complete its runtime installation path. The identity and roots are correct, but installation currently cannot finish. |
|
I have a tested setup/runtime implementation in #2244 that may help with the requested follow-up here. Relevant reference commits:
The useful safeguards to carry over are:
Please use those commits as reference rather than cherry-picking blindly: #2244 uses I split unrelated fixes from #2244 into focused drafts #2282 ( |
This addresses feedback from time-attack and KiDDarn on PR garrytan#2134 by wiring the agy host into the setup script. It adds the installation logic (runtime root creation and skill linking) following the existing opencode pattern. It also incorporates the safeguard to verify SKILL.md presence before reporting success.
|
@time-attack @KiDDarn Thank you both for the detailed review and the reference implementation! I've just pushed a new commit that wires the Specifically, I modeled the
Let me know if this looks good to merge or if there's anything else you'd like me to tweak |
Host Config (
hosts/agy.ts): Added declarative host specification foragymapping CLIcommand, global root (
.gemini/config/skills/gstack), workspace root (.agents/skills/gstack),path rewrites, and runtime symlinks.
hosts/index.ts): RegisteredagyinALL_HOST_CONFIGSand re-exported theconfiguration.
.gitignore): Added.agy/to prevent tracking generated skill files.README.md): Updated the supported agents table to include Antigravity and--host agyflag usage.test/host-config.test.ts): Updated registered host count test assertion from10 to 11.
Verification
bun run scripts/host-config-export.ts validate.bun run gen:skill-docs --host all(generated. agy/skills/gstack/*successfully).bun test test/host-config.test.ts(73/73 tests passing).