fix(apps): key Antigravity connector to antigravity with Antigravity branding and logo (#23012)

## Thinking Path

> - Paperclip is the open source app people use to manage AI agents for
work
> - The Connectors catalog and `/apps/connect` setup page let people
connect AI model providers for their agents
> - The Antigravity model-provider connector still used the `google`
slug, the generic Google "G" icon, and "Google" headings and sign-in
copy on `/apps/connect?source=google`
> - Showing "Google" with the generic Google icon on the Antigravity
connection flow makes it easy to confuse with Google Workspace
connectors and hides the Antigravity product identity
> - This pull request moves the catalog slug to `antigravity`, adds the
official Antigravity vector logo, redirects legacy `source=google` and
`source=google-ai` links to `source=antigravity`, and updates the
Connect page copy and icons to Antigravity while preserving the
underlying `google` AI provider storage contract
> - The benefit is that people see clear Antigravity branding, logo, and
URL routing throughout the Antigravity connection flow without breaking
saved accounts or existing links

## Linked Issues or Issue Description

**What existing behavior does this improve?**
Connector routing, branding, and logo presentation for Antigravity on
the Connectors catalog and `/apps/connect` setup page.

**Subsystem affected**
Shared app definitions (`packages/shared`), app brand assets
(`ui/public/brands/apps`), and UI connection setup pages and components
(`ui/src/pages/apps`, `ui/src/components`).

**Current behavior**
The Antigravity model-provider connector uses `?source=google`, displays
the generic Google logo, and shows "Connect Google", "Google", and "Sign
in to Google" on the Connect page.

**Proposed behavior**
The Antigravity connector keys to `?source=antigravity`, displays the
Antigravity logo, and shows "Connect Antigravity", "Antigravity", and
"Sign in to Antigravity" on the Connect page. Legacy links using
`?source=google` or `?source=google-ai` redirect to
`?source=antigravity` while preserving other query parameters.

**Reason and benefit**
This matches the existing `github` -> `github-copilot` catalog
separation pattern: stored `google` AI connections and Gemini API key
compatibility remain unchanged, while the user-facing catalog entry, URL
key, logo, and Connect page copy consistently reflect Antigravity.

**Breaking changes**
None. The underlying `google` AI provider identifier, credential
storage, and grants do not change, and legacy `source=google` /
`source=google-ai` deep links redirect automatically to
`source=antigravity`.

## What Changed

- Added the official transparent Antigravity vector mark at
`ui/public/brands/apps/antigravity.svg` and registered `antigravity` in
`ui/public/brands/apps/manifest.json` (keeping `google` with
`catalogVisible: false` for Google Workspace branding).
- Mapped `aiConnectionCatalogSlug("google")` to `"antigravity"` and
updated `aiProviderSetupPreset` so `antigravity`, `google`, and
`google-ai` all resolve to `{ provider: "google", label: "Antigravity"
}`.
- Replaced `packages/shared/src/app-definitions/google.json` with
`packages/shared/src/app-definitions/antigravity.json`, added
`scripts/app-definition-overrides/antigravity.json`, updated
`scripts/ingest-app-definitions.mjs`,
`packages/shared/src/app-definitions.ts`, and
`packages/shared/src/app-definitions.generated.ts`, and resynced
`tests/runner-e2e/source-sdk-public-inputs.json`.
- Updated `ui/src/pages/apps/app-connect-policy.ts` and
`ui/src/pages/apps/AppsConnect.tsx` to admit and redirect legacy
`source=google` and `source=google-ai` links to `source=antigravity`
while preserving query parameters.
- Updated `AdapterMark`, `AiProviderSetup`, `AgentProviderConnection`,
`AdapterLoginChrome`, `AiConnectionCredentialStep`, `AiConnectionField`,
`ai-connections/model.ts`, and
`ui/storybook/prototypes/AiConnectorPages.tsx` to show Antigravity
branding and `/brands/apps/antigravity.svg`.
- Updated existing unit tests and added
`ui/src/pages/apps/AppsConnect.test.tsx` covering legacy URL redirects
and Antigravity Connect page rendering.

## Verification

- `pnpm --filter @paperclipai/shared build` — passed.
- `node scripts/check-app-brand-assets.mjs` — passed (`Validated 114
brand identities`).
- `pnpm exec vitest run packages/shared/src/` — 120 test files passed.
- `pnpm exec vitest run ui/src/` — 575 test files (7,178 tests) passed;
`pnpm exec vitest run ui/src/pages/apps/AppsConnect.test.tsx` — 3/3
passed.
- `pnpm --filter @paperclipai/server exec vitest run
src/__tests__/ai-connections.test.ts
src/__tests__/connection-intents-service.test.ts` — 208/208 passed.
- `pnpm --filter @paperclipai/shared typecheck && pnpm --filter
@paperclipai/ui typecheck && pnpm --filter @paperclipai/server
typecheck` — passed.
- `node --test scripts/app-definition-overrides.test.mjs
scripts/app-brand-validation.test.mjs scripts/check-test-budget.test.mjs
scripts/storybook-catalog.test.mjs` — passed.
- `node tests/runner-e2e/source-sdk-public-inputs.mjs $(git rev-parse
HEAD) --check` — passed (`changed: false`).

## Risks

- Low risk. The stored AI provider enum (`google`) and database/API
contracts stay unchanged; `aiConnectionSourceSlug` maps previously
stored `google` connections to the `antigravity` catalog entry
automatically.
- Legacy bookmarks or deep links to `/apps/connect?source=google` or
`?source=google-ai` redirect immediately to `?source=antigravity` with
existing query parameters preserved.

## Model Used

- Google Gemini (Antigravity agent with tool use and code execution).

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [x] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [ ] All Paperclip CI gates are green
- [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge

Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip authored and GitHub committed 2026-11-26 02:25:12 +00:00
1 parent 5ea8c99717
commit 6fab9e8659
25 files changed
+343 -52

No files matched your search

@@ -0,0 +1,73 @@
{
"schemaVersion": 1,
"slug": "antigravity",
"name": "Antigravity",
"description": "Connect Antigravity accounts or Gemini API keys for your agents.",
"categories": [
"ai"
],
"urlPatterns": [
"https://generativelanguage.googleapis.com/*"
],
"methods": [
{
"key": "ai-subscription",
"label": "Antigravity sign-in",
"purpose": "ai",
"transport": "runtime_auth",
"auth": "oauth",
"ai": {
"provider": "google",
"method": "subscription"
},
"grantKinds": [
"user",
"organization"
],
"ownershipModes": [
"customer"
],
"whenToUse": "Sign in to Antigravity for your agents.",
"guidanceMd": "Uses a separate Antigravity runtime sign-in for this connection. Google Drive and other tool permissions are separate.",
"riskTier": "S3"
},
{
"key": "ai-api_key",
"label": "Gemini API key",
"purpose": "ai",
"transport": "runtime_auth",
"auth": "api_key",
"ai": {
"provider": "google",
"method": "api_key"
},
"grantKinds": [
"user",
"organization"
],
"ownershipModes": [
"customer"
],
"whenToUse": "Authenticate an agent with this account.",
"guidanceMd": "Use your personal account or an explicitly shared company account.",
"riskTier": "S3",
"credentialFields": [
{
"key": "apiKey",
"label": "API key",
"type": "password",
"required": true,
"placeholder": "Enter API key",
"secret": true
}
],
"keyPlacement": {
"location": "env",
"name": "GEMINI_API_KEY"
}
}
],
"tags": [
"model-provider"
]
}
-1
View File
@@ -2025,7 +2025,6 @@ const aiCatalogEntries = [
{ slug: "openai", name: "OpenAI", provider: "openai", subscription: true, envKey: "OPENAI_API_KEY", url: "https://api.openai.com/*" },
{ slug: "openrouter", name: "OpenRouter", provider: "openrouter", envKey: "OPENROUTER_API_KEY", url: "https://openrouter.ai/api/*" },
{ slug: "xai", name: "Grok", provider: "xai", subscription: true, envKey: "XAI_API_KEY", url: "https://api.x.ai/*" },
{ slug: "google", name: "Google Gemini", provider: "google", envKey: "GEMINI_API_KEY", url: "https://generativelanguage.googleapis.com/*" },
{ slug: "bedrock", name: "Amazon Bedrock", provider: "anthropic", envKey: "AWS_BEARER_TOKEN_BEDROCK", description: "Use Claude through Amazon Bedrock with a Bedrock API key and AWS region." },
{ slug: "responses-api", name: "Responses API", provider: "openai", envKey: "OPENAI_API_KEY", description: "Connect any compatible harness to an OpenAI Responses-compatible provider or gateway, including Emissary." },
{ slug: "messages-api", name: "Messages API", provider: "anthropic", envKey: "ANTHROPIC_API_KEY", description: "Connect any compatible harness to an Anthropic Messages-compatible provider or gateway." },