singularity-forge/packages/pi-coding-agent/src/utils
Mikael Hugo 59806f8cc5 rip out antigravity from SF + pi-coding-agent UI/config layer
Antigravity (Google's IDE sandbox product, different from Gemini CLI) is
removed from:

  src/onboarding.ts                         — drop from LLM_PROVIDER_IDS + OAuth-flow picker
  src/pi-migration.ts                       — drop from LLM_PROVIDER_IDS migration list
  src/web/onboarding-service.ts             — drop from web-UI provider list
  src/tests/integration/web-onboarding-contract.test.ts — update contract
  src/resources/extensions/sf/doctor-providers.ts — drop from CLI_AUTH_PROVIDERS
  src/resources/extensions/sf/key-manager.ts      — drop UI listing
  src/resources/extensions/sf-usage-bar/index.ts  — delete entire quota fetcher block (~200 lines)
  packages/pi-coding-agent/src/cli/args.ts        — drop PI_AI_ANTIGRAVITY_VERSION doc
  packages/pi-coding-agent/src/utils/proxy-server.ts — drop from claude provider chain

Reason: antigravity has no vendor-published core library we can embed
(unlike @google/gemini-cli-core for the Gemini CLI). Continuing to
hand-roll OAuth against daily-cloudcode-pa.sandbox.googleapis.com is
exactly the pattern Google has started banning for third-party tools.
Removing the code removes the ban risk.

pi-ai provider code, OAuth util, and models.generated entries for
google-antigravity are removed in follow-up commits (separated for
reviewability — each layer verified independently).

Build passes. Note: this is a breaking change for any user who had
google-antigravity configured — they'll need to migrate to
google-gemini-cli (OAuth), google (API key), or google-vertex.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 10:39:36 +02:00
..
changelog.ts refactor: remove dead code (unused exports) (#1486) 2026-03-19 15:33:32 -06:00
clipboard-image.ts Rename @sf-run/* → @singularity-forge/* package scope 2026-04-15 22:56:33 +02:00
clipboard-native.ts Rename @sf-run/* → @singularity-forge/* package scope 2026-04-15 22:56:33 +02:00
clipboard.ts Rename @sf-run/* → @singularity-forge/* package scope 2026-04-15 22:56:33 +02:00
error.ts refactor: extract retry handler and compaction orchestrator from agent-session 2026-03-19 16:46:14 -03:00
frontmatter.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
git.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
image-convert.ts Rename @sf-run/* → @singularity-forge/* package scope 2026-04-15 22:56:33 +02:00
image-resize.ts Rename @sf-run/* → @singularity-forge/* package scope 2026-04-15 22:56:33 +02:00
mime.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
path-display.ts fix: normalize Windows paths in LLM-visible text to prevent bash failures (#874) (#884) 2026-03-17 09:02:23 -06:00
photon.ts refactor: remove dead code (unused exports) (#1486) 2026-03-19 15:33:32 -06:00
proxy-server.ts rip out antigravity from SF + pi-coding-agent UI/config layer 2026-04-19 10:39:36 +02:00
shell.ts Cherry-pick process lifecycle fixes for multi-day autonomous operation 2026-04-18 14:38:55 +02:00
sleep.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
tools-manager.ts refactor: remove dead code (unused exports) (#1486) 2026-03-19 15:33:32 -06:00