* fix(#1441): antigravity resolver prefers GSD-owned dir over first-existing resolveConfigHomeFromDescriptor's dot-home-nested probe returned the first bare-existing candidate, so a CLI user (~/.gemini/antigravity-cli) who also had the IDE's ~/.gemini/antigravity dir was silently shadowed to the legacy dir (probed first). Regression from #217 — pre-#217 returned ~/.gemini/antigravity unconditionally. Add an optional probeMarker (gsd-core/VERSION) to the dot-home-nested descriptor: a two-pass probe prefers the candidate GSD installed into, then bare existence, then probe[0]. Behavior is byte-identical when probeMarker is absent (windsurf etc. unaffected). Adds detectAntigravityDirAmbiguity() for installer/operator guidance on already-misinstalled users (auto-relocation ruled out per ADR-0008's single-configDir migration bound). Regression tests fail before / pass after: coexistence + marker-priority cases, end-to-end through the registry descriptor. Claude-Session: https://claude.ai/code/session_01JU2WB23JLE3QTysPXuFJjB * chore(#1441): add changeset for antigravity resolver fix Claude-Session: https://claude.ai/code/session_01JU2WB23JLE3QTysPXuFJjB
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"id": "antigravity",
|
|
"role": "runtime",
|
|
"version": "1.5.1-dev.0",
|
|
"title": "Antigravity",
|
|
"description": "Google Antigravity IDE — nested under ~/.gemini/antigravity; probed across 1.x and 2.x layouts; Gemini hook event dialect; nested skill layout; tier-1 support.",
|
|
"tier": "core",
|
|
"requires": [],
|
|
"engines": {
|
|
"gsd": ">=1.6.0"
|
|
},
|
|
"runtime": {
|
|
"configHome": {
|
|
"kind": "dot-home-nested",
|
|
"name": "antigravity",
|
|
"parent": ".gemini",
|
|
"env": [
|
|
"ANTIGRAVITY_CONFIG_DIR"
|
|
],
|
|
"probe": [
|
|
"antigravity",
|
|
"antigravity-ide",
|
|
"antigravity-cli"
|
|
],
|
|
"probeExists": "gsd-core/VERSION"
|
|
},
|
|
"configFormat": "settings-json",
|
|
"artifactLayout": {
|
|
"global": [
|
|
{
|
|
"kind": "skills",
|
|
"destSubpath": "skills",
|
|
"prefix": "gsd-",
|
|
"nesting": "nested",
|
|
"recursive": false,
|
|
"converter": "convertClaudeCommandToAntigravitySkill"
|
|
}
|
|
],
|
|
"local": [
|
|
{
|
|
"kind": "skills",
|
|
"destSubpath": "skills",
|
|
"prefix": "gsd-",
|
|
"nesting": "nested",
|
|
"recursive": false,
|
|
"converter": "convertClaudeCommandToAntigravitySkill"
|
|
}
|
|
]
|
|
},
|
|
"commandStyle": "slash-hyphen",
|
|
"hooksSurface": "settings-json",
|
|
"hookEvents": "gemini",
|
|
"sandboxTier": "none",
|
|
"supportTier": 1,
|
|
"installSurface": "settings-json",
|
|
"writesSharedSettings": true,
|
|
"permissionWriter": null,
|
|
"extendedHookEvents": []
|
|
}
|
|
}
|