Skip to content

⚡ Antigravity Cleaner v5.4.1 — Smart Diagnostics, Auto-Reporting & TUI Polish

Choose a tag to compare

@github-actions github-actions released this 27 Oct 00:01
· 38 commits to main since this release

🌟 What's New & Core Highlights

  • 📋 Smart Diagnostic Report (ag-cleaner report):

    • Introduces full environment, network, and installation diagnostics in a single command.
    • Generates structured, shareable reports designed for immediate triage in GitHub Discussions and Telegram community.
    • Automatically copies markdown output to clipboard (with native OSC 52 escape sequences for Wayland & headless environments).
    • Auto-Open Text Report: Automatically generates an antigravity-report.txt file on the user's Desktop with clear bilingual instructions and opens it in the system's default text viewer (gedit, notepad, TextEdit).
  • 🎯 Explicit Target & Path Audit:

    • Scans and explicitly reports the exact filesystem paths for the Antigravity application (App Path), core language server (Core Binary), and active interface assets (app.asar / main.js).
    • Reports backup status (.agybak size and presence) to confirm rollback readiness.
    • Detects missing Antigravity installations upfront with human-friendly guidance to prevent user confusion between the patcher toolkit and the IDE itself.
  • 🔄 In-Place Atomic Self-Updater (ag-cleaner update):

    • Checks for newer GitHub releases via proxy or direct connection.
    • Downloads, verifies SHA-256 checksums, and atomically updates the local binary without breaking active sessions.
  • 🛡️ Fault-Tolerant Recent Log Sniffer:

    • Inspects the last 8KB of Antigravity crash and application logs (main.log and language_server.log) safely using a bounded, panic-resilient scanner.
    • Captures critical traces (403 Forbidden, write EIO, Middlebox drops) without degrading report generation.
  • ✨ Sleek Minimalist TUI & Pixel-Perfect Alignment:

    • Re-architected interactive menu: eliminated uneven emoji prefixes for clean, columnar, hacker-grade alignment across all terminals and fonts.
    • Fixed Unicode BiDi line-wrapping issues in terminal section dividers.
    • Streamlined banner to eliminate redundant links and guarantee full visibility on standard 80-column / 24-row terminals.

🌐 Platform-Specific Improvements

  • 🪟 Windows 10 / 11 (PowerShell & CMD):

    • Added support for auto-opening diagnostic reports via rundll32 / cmd start.
    • Full diagnostic reporting of %LOCALAPPDATA%\Programs\Antigravity and %APPDATA%\Antigravity\logs.
    • Added single-line PowerShell update / install workflow with automatic desktop shortcuts.
  • 🐧 Linux (Ubuntu, Debian, Fedora, Arch, openSUSE):

    • Native clipboard support across X11 (xclip, xsel), Wayland (wl-copy), and terminal emulator OSC 52.
    • Automatic xdg-open launcher for diagnostic text file on Desktop.
    • Fixed font-width discrepancies in GNOME Terminal, Alacritty, Kitty, and Konsole.
  • 🍏 macOS (Apple Silicon M1-M4 & Intel):

    • Auto-open report in TextEdit via native open command.
    • Full path audit for /Applications/Antigravity.app and ~/Library/Application Support/Antigravity/logs.

📦 Complete Technical Patch & Diagnostic Ledger (Click to Expand)
Diagnostic Target Scope Detection Mode Recovery Action
Antigravity Installation Universal Dynamic Path Probe (%LOCALAPPDATA%, /opt, /usr/share, /Applications) Guides user to official Google Antigravity installer
Core Language Server Multi-Arch Architecture Scorer + Signature Scanner Applies MultiGate ASM patch & generates .agybak
ASAR Zero-Log Shield Universal Binary Buffer Scan Halts 150MB+ telemetry logging & write EIO overflows
Proxy & Connectivity Loopback Scans 10808, 2080, 7890 Connects via SOCKS5 loopback; probes Gemini API & Cloud Code
Recent Error Logs Universal Safe Tail Scanner (8KB bounded, panic-recovered) Surfaces recent 403, EIO, or middlebox timeouts
🛠️ Full Changelog & Commits (Click to Expand)
  • feat(doctor): Add BuildMarkdownReport and GenerateDiagnosticReport for one-click telemetry cards
  • feat(doctor): Add SaveAndOpenReport to create Desktop antigravity-report.txt and launch default editor
  • feat(doctor): Include explicit App Path, Core Binary, and Backup metadata in report markdown
  • feat(doctor): Implement panic-safe SafeScanRecentErrorLogs for bounded log inspection
  • feat(updater): Add in-place self-updater CLI command (ag-cleaner update)
  • security: Resolve CodeQL alerts #3, #4, #5 (go/unhandled-error-on-close) in pkg/updater/updater.go
  • style(tui): Remove emoji prefixes from menu items for pixel-perfect columnar alignment
  • style(tui): Eliminate BiDi glitch in section headers and remove duplicate banner links

📥 Multi-Platform Binaries & Verification

All binaries are compiled natively with zero telemetry, stripped symbols (-s -w), and verified with comprehensive test suites.

  • Linux x86_64: antigravity-cleaner-linux-amd64
  • Linux ARM64: antigravity-cleaner-linux-arm64
  • macOS Apple Silicon (M1-M4): antigravity-cleaner-darwin-arm64
  • macOS Intel: antigravity-cleaner-darwin-amd64
  • Windows x64: antigravity-cleaner-windows-amd64.exe