How futureppo/antigravity_bypass works
Antigravity Bypass is a Go command-line utility for checking, patching, and restoring local MCP tool-count limits in the Antigravity IDE, desktop app, and CLI. The principal workflow resolves a selected installation, inspects its version-specific frontend and/or backend structure, plans safe edits, then applies them with backups; restore reverses those edits. The graph separates client discovery, compatibility inspection, patch analysis, and file mutation. Some discovery and matching internals are only partly shown, so unverified links are omitted.
Main entry points: main.go CLI workflow · patch_files.go IDE inspection · desktop.go Desktop inspection · cli.go CLI inspection
Components 16
Command and discovery
- CLI workflow
main.go - Client detection
desktop.go - IDE discovery
main.go - Platform paths
platform_other.go - CLI discovery
cli.go
Client inspection
- IDE inspection
patch_files.go - Desktop inspection
desktop.go - CLI inspection
cli.go - ASAR validation
desktop.go
Patch analysis
- Frontend matching
patch_frontend.go - Backend matching
patch_binary.go
File mutation
- Patch planning
patch_files.go - Apply with backups
patch_files.go - Restore backups
patch_files.go
Other components
- Operator
- Local installation files
Connections 20
- Operator → CLI workflow: selects action
README.md - CLI workflow → Client detection: resolves client
main.go - Client detection → IDE discovery: checks IDE
desktop.go - Client detection → CLI discovery: checks CLI
desktop.go - IDE discovery → Platform paths: gets candidates
main.go - CLI workflow → IDE inspection: inspects IDE
main.go - CLI workflow → Desktop inspection: inspects desktop
main.go - CLI workflow → CLI inspection: inspects CLI
main.go - Desktop inspection → ASAR validation: validates archive
desktop.go - IDE inspection → Frontend matching: plans frontend
patch_files.go - IDE inspection → Backend matching: plans backend
patch_files.go - Desktop inspection → Backend matching: plans backend
desktop.go - CLI inspection → Backend matching: plans backend
cli.go - IDE inspection → Patch planning: assembles edits
patch_files.go - Desktop inspection → Patch planning: assembles edits
desktop.go - CLI inspection → Patch planning: assembles edits
cli.go - CLI workflow → Apply with backups: applies patch
main.go - Apply with backups → Local installation files: backs up and writes
patch_files.go - CLI workflow → Restore backups: restores files
main.go - Restore backups → Local installation files: reads backups
patch_files.go