sha256:b4cdb358afbff427fa461c8cf89b18bb12a304dc82cf0de7392032b9c8f14c51
Last pushed
16 days by aloe657
Type
Sandbox Kit
Manifest digest
sha256:b4cdb358afbff427fa461c8cf89b18bb12a304dc82cf0de7392032b9c8f14c51
schemaVersion: "2"
kind: sandbox
name: antigravity-cloud-pro
version: 1.0.1
displayName: Google Antigravity Cloud Pro
description: Google's agent-first development platform (agy CLI) with Google Account OAuth login and cloud coding network allowlist.
sandbox:
image: docker.io/sbx/antigravity-image:latest
entrypoint:
- agy
command:
default:
- --dangerously-skip-permissions
interactive:
- --dangerously-skip-permissions
agentInstructions:
filename: AGENTS.md
permissions:
network:
allow:
- accounts.google.com
- oauth2.googleapis.com
- www.googleapis.com
- lh3.googleusercontent.com
- aicode.googleapis.com
- cloudcode-pa.googleapis.com
- daily-cloudcode-pa.googleapis.com
- generativelanguage.googleapis.com
- antigravity.google
- antigravity.google.com
- antigravity-unleash.goog
- play.googleapis.com
- safebrowsing.googleapis.com
- www.gstatic.com
- antigravity-cli-auto-updater-974169037036.us-central1.run.app
- storage.googleapis.com
- raw.githubusercontent.com
- github.com
- api.github.com
- codeload.github.com
- objects.githubusercontent.com
- release-assets.githubusercontent.com
- gist.github.com
- cli.github.com
- gitlab.com
- bitbucket.org
- registry.npmjs.org
- '*.npmjs.org'
- registry.yarnpkg.com
- yarnpkg.com
- bun.sh
- deno.land
- jsr.io
- npm.jsr.io
- esm.sh
- cdn.jsdelivr.net
- unpkg.com
- pypi.org
- files.pythonhosted.org
- astral.sh
- crates.io
- index.crates.io
- static.crates.io
- sh.rustup.rs
- static.rust-lang.org
- proxy.golang.org
- sum.golang.org
- go.dev
- pkg.go.dev
- auth.docker.io
- production.cloudfront.docker.com
- registry-1.docker.io
- ghcr.io
- pkg-containers.githubusercontent.com
- archive.ubuntu.com
- security.ubuntu.com
- ports.ubuntu.com
- deb.debian.org
- security.debian.org
environment:
variables:
BROWSER: xdg-open
setup:
startup:
- command:
- sh
- -c
- |
set -e
cfg="$HOME/.gemini/antigravity-cli/settings.json"
mkdir -p "$(dirname "$cfg")"
[ -s "$cfg" ] || echo '{}' > "$cfg"
if [ "${SBX_CRED_GOOGLE_MODE:-none}" = apikey ]; then
jq '.modelProvider = "gemini"' "$cfg" > "$cfg.tmp"
else
jq 'del(.modelProvider)' "$cfg" > "$cfg.tmp"
fi
mv "$cfg.tmp" "$cfg"
user: "1000"
description: Select Gemini API-key mode only when a Google credential is available
- command:
- sh
- -c
- |
set -e
[ -n "$MCP_GATEWAY_URL" ] || exit 0
cfg="$HOME/.gemini/config/mcp_config.json"
mkdir -p "$(dirname "$cfg")"
[ -s "$cfg" ] || echo '{}' > "$cfg"
frag=/tmp/antigravity-mcp-gateway.json
cat > "$frag" <<EOF
{
"mcpServers": {
"mcp-gateway": {
"serverUrl": "$MCP_GATEWAY_URL",
"headers": {
"Authorization": "Bearer $MCP_SENTINEL_TOKEN_NAME"
}
}
}
}
EOF
jq -s '.[0] * .[1]' "$cfg" "$frag" > "$cfg.tmp"
mv "$cfg.tmp" "$cfg"
rm -f "$frag"
user: "1000"
description: Register the sandbox MCP gateway in Antigravity's user configuration