Releases: weby-homelab/antigravity-cli-statusline
Releases · weby-homelab/antigravity-cli-statusline
Release list
v0.2.2: Atomic Installation & Native macOS/Windows Battery Support
🚀 Antigravity CLI Statusline v0.2.2 — Official Production Release
📦 Key Updates:
- Atomic Installation Safety: Updated
install.shto use atomic file replacement (mv -f .tmp target), guaranteeing that background statusline processes never read partially written files during upgrades. - Cross-Platform Battery Scanning: Integrated native macOS
pmsetbattery detection alongside Linux/sys/class/power_supplyand Windows WMI/CIM. - Smart Dynamic Line-Packing: Fully unified zero-wrapping layout engine across Linux, macOS, and Windows.
🛠️ One-Command Upgrade:
curl -fsSL https://raw.githubusercontent.com/weby-homelab/antigravity-cli-statusline/main/install.sh | bashv0.2.1: Smart Dynamic Line-Packing Engine & Zero Line Wrapping
🛡️ Antigravity CLI Statusline v0.2.1 — Zero Line-Wrapping Release
🛠️ What is Fixed:
- Smart Dynamic Line-Packing Engine: Replaced rigid fixed-row layouts with a greedy, adaptive line-packing algorithm.
- Zero Line Wrapping: Calculates exact visible character width per badge and automatically wraps badges into clean boxed rows (
╭─,├─,╰─). - 100% Telemetry Guarantee: All 14 telemetry fields remain 100% visible on any terminal width (from 60 to 250+ cols) without text clipping or broken box borders.
- PowerShell Parity: Updated
statusline.ps1to match the exact same greedy line-packing engine.
🛠️ Quick Upgrade:
curl -fsSL https://raw.githubusercontent.com/weby-homelab/antigravity-cli-statusline/main/install.sh | bashv0.2.0: Maximized Telemetry Dashboard & User Account Badges
👑 Antigravity CLI Statusline v0.2.0 — Maximized Telemetry Edition
🚀 What is New:
- User Account & Plan Tier Segment: Added
👤 Plan (Email)(e.g.👤 Pro (rekvizitor.ua@gmail.com)) segment directly to LINE1 Powerline status bar. - Turn-by-Turn Token Metrics: Enabled full token breakdown
(total: IN/OUT | turn: +IN/OUT)across Medium, Medium-Wide, and Wide layouts. - Maximized Telemetry Dashboard: Restored and expanded all 14 telemetry fields (State, Model, CWD, User Plan, Session ID, Host/Tailscale IP, Version, Context Usage, Tokens, RAM/Load, Artifacts, Subagents, Tasks, Sandbox, Quotas, Power).
- Full Platform Parity: Synchronized Linux/macOS (
statusline.sh) and Windows PowerShell (statusline.ps1).
🛠️ Quick Upgrade:
curl -fsSL https://raw.githubusercontent.com/weby-homelab/antigravity-cli-statusline/main/install.sh | bashv0.1.9: Defensive Payload Sanitization & Global Scope Hardening
🚀 Antigravity CLI Statusline v0.1.9 — Production Release
📦 Key Highlights & Improvements:
- Defensive Payload Sanitization: Safe fallbacks and numeric sanitization for
USED_PCT,COLS,SUBAGENTS,ARTIFACTS, and quota fields underset -e. - Global Scope Hardening: Removed invalid
localkeyword from global scope in battery telemetry scanner. - Cross-Platform Compatibility: Enhanced
LC_NUMERIC=Cfloat handling and safe/sys/class/power_supplypath checking for Linux and macOS. - PowerShell Null-Safety: Defensive null navigation for PowerShell
statusline.ps1and symlink preservation inuninstall.ps1. - Layout Size Options: Support for
--compact,--medium, and--medium-wideCLI overrides.
🛠️ Installation / Upgrade:
curl -fsSL https://raw.githubusercontent.com/weby-homelab/antigravity-cli-statusline/main/install.sh | bashv0.1.7: Idempotency & symlink preservation
Changelog
All notable changes to this project will be documented in this file.
[0.1.7] - 2026-07-13
Fixed
- Symlink Preservation: Modified installers and uninstallers (
install.sh,uninstall.sh, anduninstall.ps1) to avoid breaking symlinks when updatingsettings.json. Instead of usingmv/Move-Itemwhich replaces whole files, the scripts now use redirection (cat > file) and copying (Copy-Item/Remove-Item) to perform disjoint-key updates directly on the target configurations. This prevents breaking user setups managed by dotfile managers (like chezmoi, stow, or custom symlinked setups).
v0.1.6
🚀 Release v0.1.6 (July 9, 2026)
- Subprocess-Free Load Average: Replaced
bcshell calls instatusline.shwith pure Bash decimal stripping to improve rendering performance and remove external package dependency. - Windows Git Timeout Resilience: Ported the Git timeout safeguard to
statusline.ps1using a .NET-native Process wrapper with a 1-sec limit to prevent PowerShell hangs on slow remote filesystems.
v0.1.5
🚀 Release v0.1.5 (July 9, 2026)
- Responsive 2-Line Layout: Configured a space-efficient 2-line layout when the terminal window is scaled between 140 and 179 characters wide.
- Optimized Tokens Display: Split token usage formatting into wide and medium versions to prevent terminal output wrapping on compact displays.
Release v0.1.4
🚀 Release v0.1.4 (July 8, 2026)
This release improves the statusline's performance, stability, and hardware compatibility across Linux distributions, especially under unpredictable environments (e.g. blackout states, air raid alerts, and remote development setups).
🛡️ Git Timeout Resilience
- Wrapped all git-based status queries in a 1-second timeout safeguard using the system
timeoutcommand. - Why it matters: Prevents terminal statusline hangs and prompt latency when working inside massive repositories or directories mounted via slow/unreachable network filesystems (Samba, NFS).
🔌 Universal Power Supply Scanning
- Replaced hardcoded battery and AC adapter sysfs paths (
/sys/class/power_supply/ACAD/and/sys/class/power_supply/BAT1/) with dynamic supply scanning using wildcards (/sys/class/power_supply/*/onlineand/sys/class/power_supply/*/capacity). - Why it matters: Ensures seamless blackout and power tracking on laptops and UPS devices across all Linux setups, automatically adapting to varying hardware labels (such as
BAT0,BAT1,BATTandAC,ACAD,ADP1).
📦 Installation & Uninstallation Updates
- Local files are copied to the directory
~/.antigravity/and registered into your~/.gemini/antigravity-cli/settings.jsonprofile. - You can easily verify execution with
echo '{}' | ~/.antigravity/statusline.shor remove it via~/.antigravity/uninstall.sh.
v0.1.3
Changes in v0.1.3
- One-liner Web Installation: Added full support for direct internet-based installation using
curlorwget(without cloning the repository locally) for Linux, macOS, and Windows. - Sudo Safety Check: Added an active check to block execution when run with
sudoor asrootviasudoon Linux/macOS to protect local user home directory permissions. - Documentation: Updated README.md with warnings and new one-liner instructions.
v0.1.2
What's Changed
- Classic Compatibility Mode: Added
--classic,--no-nerdfont, and--compatibilityflags tostatusline.shandstatusline.ps1to fallback to standard Unicode symbols and plain text labels. This fixes rendering on terminals that do not support Nerd Fonts (such as ChromeOS Terminal and Emacs). (Resolves #1) - Robust Quota Rendering: Rewrote the active model quota detection logic to check availability instead of string matching on name. The quota section is now dynamically hidden if both quotas are unavailable (
-1or null). (Resolves #2) - Documentation: Updated the
README.mdto explain how to configure and enable the Classic Compatibility Mode insettings.json.
Co-authored-by: weby-homelab rekvizitor.ua@gmail.com