docs: migrate Gemini CLI documentation to Antigravity CLI#5252
docs: migrate Gemini CLI documentation to Antigravity CLI#5252HARSHVARANDANI wants to merge 2 commits into
Conversation
Signed-off-by: HARSHVARANDANI <hpvarandani@gmail.com>
Signed-off-by: HARSHVARANDANI <hpvarandani@gmail.com>
| 3. Modify `~/.gemini/antigravity-cli/settings.json` to configure the permissions granted to Antigravity CLI. For example: | ||
| ```json | ||
| { | ||
| "coreTools": ["WebFetchTool", "WebSearchTool", "MemoryTool"] |
There was a problem hiding this comment.
Why not allow the equivalents of these tools?
e.g. read_url execute_url
https://antigravity.google/docs/cli/permissions
| "allow": [], | ||
| "ask": [], | ||
| "deny": [] | ||
| } |
There was a problem hiding this comment.
Doesn't it need to allow mcp for our MCP server?
How did you test these permissions?
| {{% /tab %}} | ||
| {{% tab header="Antigravity" %}} | ||
| ```bash | ||
| lima curl -fsSL https://antigravity.google/cli/install.sh | bash |
There was a problem hiding this comment.
Did you really test this?
curl is executed inside the VM, but bash is not.
There was a problem hiding this comment.
I'm sorry I wasnt aware of this
is this the correct method?
lima sh -c 'curl -fsSL https://antigravity.google/cli/install.sh | bash'
lima agy
There was a problem hiding this comment.
Yes, but please confirm how you tested this PR.
| |----------------|-------------| | ||
|
|
||
| The `--sync` flag for [`limactl shell`](../reference/limactl_shell) enables bidirectional synchronization of your host working directory with the guest VM. This is particularly useful when running AI agents (like Claude, Copilot, or Gemini) inside VMs to prevent them from accidentally modifying or breaking files on your host system. | ||
| The `--sync` flag for [`limactl shell`](../reference/limactl_shell) enables bidirectional synchronization of your host working directory with the guest VM. This is particularly useful when running AI agents (like Claude, Copilot, or Antigravity) inside VMs to prevent them from accidentally modifying or breaking files on your host system. |
There was a problem hiding this comment.
This line needs to be updated too
There was a problem hiding this comment.
Do we actually have to keep these ads (and maintain them)? There is another one for AGENTS.md
There was a problem hiding this comment.
Please verify the content before submission
#5252 (comment)
|
|
||
| Follow the guide shown in the first session for authentication. | ||
|
|
||
| Authentication uses your browser (or an authorization URL when running over SSH), so no additional environment variable configuration is typically required. |
There was a problem hiding this comment.
"when running over SSH" is always true, no?
There was a problem hiding this comment.
I took that line from the antigravity docs but yeah this will always be true in this case since the commands are executed over ssh in lima so we can change it to the same that it was before
Follow the guide shown in the first session for authentication.
Or should we specifically mention this?
| @@ -1,16 +1,16 @@ | |||
| --- | |||
| title: Gemini | |||
| title: Antigravity | |||
There was a problem hiding this comment.
The old /gemini URL should redirect to the new /antigravity URL?
There was a problem hiding this comment.
I renamed the file to antigravity.md because the _index.md page automatically lists the pages in that directory using their front matter/title, and keeping the file as gemini.md would have been confusing given that the page now documents Antigravity CLI.
The URL doesn't redirect automatically. If we want to preserve that URL, we could add a Hugo aliases entry to the new page. I didn't do that because I wasn't sure it was necessary for this particular documentation page, especially since I couldn't find any references to the old URL in the repository. If you'd prefer to keep the old URL working, I'm happy to add the alias as well.
What This PR Changes
Updates the AI documentation to reflect the migration from Gemini CLI to Antigravity CLI.
Specifically, this PR:
gemini.mdtoantigravity.md.agy), documentation links, and MCP configuration to match the current Antigravity CLI documentation.Linked Issue (Required in most cases)
Closes #5249
How I Tested This
N/A
AI Usage
Assisted-by: ChatGPT (GPT-5.5) — used to cross-check the Antigravity CLI installation commands, MCP configuration, and documentation links against the official documentation. All changes were manually reviewed before submission.