Skip to content

⚡ Antigravity Cleaner v5.4.6 — macOS AMFI & Core Engine Fix, Chromium Network/ & SQLite Reset (#37, #44)

Choose a tag to compare

@github-actions github-actions released this 04 Nov 10:33
· 26 commits to main since this release

🚑 Stability, macOS Kernel Security (AMFI) & Chromium Network/Session Reset

Welcome to Antigravity Cleaner v5.4.6, a crucial stability and compatibility release resolving macOS kernel termination crashes (SIGTERM), modern Chromium Network/ & SQLite session persistence causing HTTP 443 / region blocks on Gemini 3.8 Flash, and V8 bytecode cache invalidation for Antigravity IDE.


🍏 macOS Apple Silicon & Gatekeeper Resilience (Resolves #37)

  • Eliminate Shell Script Wrappers on macOS: Replaced legacy shell wrapper injection inside /Applications/Antigravity.app (Contents/Resources/bin/language_server). Apple Mobile File Integrity (AMFI) and Electron Hardened Runtime strictly prohibit plain text shell scripts masquerading as Mach-O executables inside signed bundles, which previously triggered Language server exited unexpectedly (code=null, signal=SIGTERM) on Antigravity 2.28.2+.
  • Automated Binary Self-Healing (HealDarwinBinaries): Proactively detects if language_server was replaced by a shell script wrapper or corrupted by previous runs, restores the pristine Mach-O binary from .bin / backup artifacts, sweeps away leftover .bin duplicates, and ensures language_server is always a clean native Mach-O executable.
  • Proactive Pre-Patch Healing: Integrated HealPlatformBinaries into DetectLanguageServerInDir and PatchSingleLanguageServer, completely eliminating FAIL Core Engine -> signature not found in language_server errors for users upgrading from earlier builds.
  • Recursive Ad-Hoc Re-Signing: Automatically strips Apple quarantine attributes (xattr -dr com.apple.quarantine) and recursively applies valid ad-hoc codesigning (codesign --force --sign - and --deep) on the restored native binary and enclosing .app bundle.

🛡️ Chromium Network Subdirectories & SQLite Token Purge (Resolves #44)

  • Modern Chromium Network/ Wipe: Modern Electron/Chromium releases moved cookie jars and session states into subdirectories. Upgraded SurgicalReset429 in pkg/cleaner/quota.go to thoroughly wipe:
    • Network/Cookies & Network/Cookies-journal
    • Network/Network Persistent State
    • Network/Trust Tokens & Network/Trust Tokens-journal
    • Network/TransportSecurity
  • WebStorage & Session Storage Sweep: Deep-cleans WebStorage/ and Session Storage/ across all detected user config roots.
  • Surgical state.vscdb OAuth Reset: Safely purges tainted antigravityUnifiedStateSync.oauthToken entries from SQLite global storage without touching user chat histories, custom instructions, or editor settings. This completely eliminates HTTP 403 / 443 location gating on Gemini 3.8 Flash.

⚡ Antigravity IDE V8 Bytecode Cache Invalidation & Bundled Mode

  • V8 Code Cache Invalidation: Automatically clears Code Cache/js, Code Cache/wasm, and Partitions directories in ClearIdeCache(), forcing the V8 engine to recompile patched JavaScript and preventing stale bytecode execution across Linux, macOS, and Windows.
  • Support for dist/main.js Hierarchy: Maps newly structured distributions using resources/app/dist/main.js alongside classic out/main.js and app/main.js.
  • Bundled Mode Recognition: Smoothly identifies integrated Antigravity IDE engines in CLI headers and guided menus without false-positive missing binary warnings.

💻 Antigravity CLI (agy v1.4.12) Dynamic MultiGate Support

  • Dynamic Binary Discovery: Resolves agy from $PATH and user binaries dynamically without hardcoded path dependencies.
  • Bytecode MultiGate Alignment: Confirmed offset 0x95694e0 and successfully unlocks hasValidAuth on agy 1.4.12 across x64 and ARM64 architectures.

🐛 Resolved Issues & Community Reports

  • macOS Startup Failure / AMFI SIGTERM (Closes #37): Fixed with HealDarwinBinaries, native Mach-O preservation, and recursive codesigning.
  • Gemini 3.8 Flash HTTP 443 / Geo-Block (Fixes #44): Resolved via Chromium Network/ subdirectory purge and state.vscdb unified OAuth token reset.
  • Antigravity IDE Stale Patch Cache: Resolved with V8 Code Cache/js and Partitions cache invalidation.

📥 Download & Quick Start

Platform Prebuilt Binary Asset How to Run
🪟 Windows (x86_64) antigravity-cleaner-windows-amd64.exe Double-click .exe (opens Retro GUI automatically)
🍎 macOS (Apple Silicon M1–M4) antigravity-cleaner-darwin-arm64 chmod +x & run ./antigravity-cleaner-darwin-arm64
🍎 macOS (Intel x64) antigravity-cleaner-darwin-amd64 chmod +x & run ./antigravity-cleaner-darwin-amd64
🐧 Linux (x86_64) antigravity-cleaner-linux-amd64 chmod +x & run ./antigravity-cleaner-linux-amd64
🐧 Linux (ARM64) antigravity-cleaner-linux-arm64 chmod +x & run ./antigravity-cleaner-linux-arm64

⚡ Quick In-Place Self-Update (Existing Users):

antigravity-cleaner update

🚀 One-Liner Terminal Install (New Users):

Linux & macOS:

curl -fsSL https://raw.githubusercontent.com/tawroot/antigravity-cleaner/main/install.sh | bash

Windows (PowerShell as Admin):

irm https://raw.githubusercontent.com/tawroot/antigravity-cleaner/main/install.ps1 | iex

🇮🇷 راهنمای فارسی و شرح تغییرات (جهت مشاهده کلیک کنید)

نسخه ۵.۴.۶ آنتی‌گراویتی کلینر (v5.4.6)

این نسخه جهت پایداری، رفع کرش‌های سیستم‌عامل مک و پاکسازی دیتابیس‌های سشن کرومیوم منتشر شده است:

مهم‌ترین تغییرات و باگ‌های رفع‌شده:

  1. حل قطعی مشکل مک (ایشو #37):
    • حذف خودکار اسکریپت‌های شل مسموم و بازیابی باینری اصلی Mach-O با مکانیزم جدید HealDarwinBinaries.
    • توقف جایگزینی فایل با اسکریپت در مک برای رفع خطای امنیتی اپل (Language server exited unexpectedly (code=null, signal=SIGTERM)).
    • امضای دیجیتال محلی خودکار (codesign) روی باینری و بسته برنامه.
  2. رفع خطای 443 و تحریم در مدل Gemini 3.8 Flash (ایشو #44):
    • پاکسازی پوشه مدرن Network/Cookies و کوکی‌های نوین کرومیوم.
    • پاکسازی پوشه‌های WebStorage و Session Storage.
    • ریست امن توکن سشن در فایل SQLite دیتابیس state.vscdb بدون دستکاری چت‌ها و تنظیمات کاربر.
  3. رفع نادیده گرفته شدن پچ در Antigravity IDE:
    • پاکسازی عمیق کش بایت‌کد V8 (Code Cache/js و Partitions) تا ادیتور بایت‌کد پچ‌شده جدید را مجدداً کامپایل کند.
    • شناسایی بسته‌های جدید ادیتور شامل dist/main.js.
  4. پچ بدون هاردکد Antigravity CLI نسخه 1.4.12 (agy):
    • دیسکاوری پویا از شل سیستم و اعمال پچ روی آفست 0x95694e0.

برای آپدیت کافی است دستور antigravity-cleaner update را اجرا کرده و گزینه [1] (Smart Auto-Fix) را انتخاب نمایید.


🔒 Security, Privacy & License:

  • 100% Offline & Zero Telemetry: Operates exclusively on 127.0.0.1. Never transmits telemetry, code snippets, or user data.
  • SHA-256 Verification: All prebuilt binaries are cryptographically verified against checksums.txt.
  • License: Released under the Apache License 2.0.