7 Commits

Author SHA1 Message Date
Austin Horstman
aac4965ddb antigravity-cli: use lib.hm.mcp.resolveEnabled for MCP server resolution
Export resolveEnabled from lib.hm.mcp and use it in antigravity-cli.
Add test cases for direct disabled and enabled declarations.
2026-08-16 20:11:26 -05:00
Austin Horstman
c507a06bd1 antigravity-cli: emit disabled for disabled MCP servers
Antigravity expects "disabled": true in mcp_config.json rather than
"enabled": false. Map disabled servers to disabled = true and strip
the unrecognized enabled attribute.
2026-08-16 20:11:26 -05:00
Austin Horstman
2e5052fc72 antigravity-cli: avoid IFD for skill paths
Normalize derived skill files and directories during builds for both native and legacy Gemini layouts.
2026-08-16 19:46:12 -05:00
Fida Waseque Choudhury
5bcff43156 antigravity-cli: fix mcp validation error for remote/local servers
Do not serialize null/empty fields (command, args, env) for remote servers.
Also fix 'isRemote' check to check for non-null url fields instead of
using the ? operator, which evaluates to true even if the key is null.
2026-06-17 21:59:28 -05:00
Austin Horstman
34dd288e65 antigravity-cli: update skills deployment path
The skills folder deployment path has been updated to
'~/.gemini/antigravity-cli/skills/' to align with the application's
configuration path structure from docs. I think the other path is just a
weird compatibility shim that app supports. strace shows it will search
it, but it also checks the documented path.
2026-06-16 08:06:05 -05:00
Fida Waseque Choudhury
a813a04113 antigravity-cli: fix programs.mcp.servers integration for remote servers
Do not rename url to serverUrl in transformMcpServer's extraTransforms.
This caused the core library to incorrectly default the server type to stdio,
and subsequently erase the serverUrl attribute entirely during cleanup.

The renaming is already handled at the end by the transformMcpServers helper.
2026-06-15 09:25:46 -05:00
Austin Horstman
ff77a72fe5 antigravity-cli: rename gemini-cli module 2026-06-05 11:39:28 -05:00