Skip to content

Releases

Charlier v0.2.3: Zero-Kill Dual-IDE Antigravity Swaps, Per-Window Focus Isolation, 0ms Quota Details & Live 5h/7d Sync

Choose a tag to compare

@prince-sernine prince-sernine released this 24 Nov 18:41

Fast cuts stay fast. v0.2.3 is the single binary release stepping straight from v0.2.1 (rolling up v0.2.2 plus live 5h/7d quota sync fixes): it upgrades Antigravity switches to zero-kill in-place hydration (~30ms) that keeps sibling windows alive on their open chats, cuts Codex visual handoffs down to ~15-50ms in parallel, isolates provider focus cleanly across multiple open VS Code / Antigravity windows, makes Quota Details open at 0ms, keeps 5h and 7d pools moving live across every surface, aligns Antigravity with Google's unified 2-pool lineup, and locks down cross-OS failure edges across Windows, macOS, and Linux.

What's New

  • Zero-Kill Dual-IDE Antigravity Swaps (~30ms handoff): Replaces the old process-kill path with LanguageServerService/HasAuthToken (~15ms) in parallel with Cockpit repaint and immediate antigravity.reconnect, verifying identity asynchronously via GetUserStatus. Works across both the Antigravity VS Code extension (google.google-antigravity) and Antigravity IDE without burning a single attempt of Google's 10-minute backend crash limit (AUTO_RECOVER_MAX_ATTEMPTS = 3). Even better: when running multiple VS Code windows on the Antigravity extension (or Antigravity IDE alongside VS Code), switching in one window leaves sibling windows planted on their open chats with zero destructive restart, picking up the new profile cleanly in real time while Google's built-in retry absorbs any mid-flight turn.
  • Instant Buffered-Stdin Codex Hot-Swap (~15-50ms visual handoff): Starts hotSwapCodexAppServer() in parallel with UI updates and attaches a FIFO buffering stdin proxy so the 3-stage account/updated sidebar remount fires immediately while the replacement codex app-server reaps, boots, and initializes in the background.
  • Per-Window Multi-Instance Focus Isolation: Running Codex in one VS Code window while opening or chatting with Antigravity in another no longer cross-flips decks. Each window verifies Antigravity conversation writes against its own local agy --hub (GetAllCascadeTrajectories), ignores idle startup annotation indexing and background brain split panes, drops unfocused tab/editor/terminal events, and persists each VS Code workspace's deck independently in workspaceState.
  • 0ms Quota Details QuickPick: Clicking the Quota Details (graph) icon on any Antigravity or Codex account now opens synchronously at 0ms from cached state, refreshes stale pools quietly in place (qp.busy), and runs inline Refresh with zero close/reopen blink.
  • Real-Time 5h & 7d Quota Sync Across All Surfaces: Active Antigravity 5h and 7d bars now refresh live after every turn without waiting on stale daemon caches or dropped throttle windows, and Cockpit, Status Bar, Hover Matrix, and Quota Details all share synchronized pool values and expired-window healing across Windows, macOS, and Linux.
  • Unified 2-Pool Antigravity Telemetry: Retired Gemini 4 Argon, Gemini 3.8 Flash, and GPT-OSS 120B. Pro and Ultra now render cleanly onto Google's unified 2-pool layout (Gemini [Hydrogen, Neon, Carbon] + Claude & GPT [Opus, Sonnet]) across Status Bar, Hover Matrix, QuickPick, and Cockpit, auto-sanitizing stale disk snapshots while still surfacing extra paid pools dynamically if upstream returns one.
  • Codex Reset Credits Parity: Surfaces available Codex rate-limit Reset Credits directly on Standby Cockpit cards and as compact inline badges on both Active and Standby rows in the Status Bar Hover Matrix.
  • Sharper README & Fresh 2x Retina Screenshots: Clarified Antigravity VS Code extension vs Antigravity IDE behavior, added a dedicated section on Antigravity's 10-minute restart limit and zero-kill workaround, and regenerated both 2360 x 2080 2x Retina showcase shots.

Hardening & Fixes

  • Fixed live Antigravity 5h and 7d refresh stalls by passing { force_refresh: true } to RetrieveUserQuotaSummary after Charlier's 15s cache TTL expires, replacing post-turn activity throttle drops with trailing reschedules (8s Antigravity / 12s Codex), and watching both antigravity/ and antigravity-ide/ conversation directories safely via local-hub UUID ownership.
  • Fixed inactive Antigravity Gemini horizon handling so Cloud Code /v1internal:fetchAvailableModels responses with a >6h reset window update 7d without overwriting 5h or stamping 7-day countdowns onto 5h, added cross-surface expired-window healing (healExpiredAntigravityMetric) while keeping RE-AUTH snapshots frozen, unified live + cached Hover Claude 5h/7d rows, suppressed countdown badges on 100% bars, and prioritized fresher in-memory Codex stdout push metrics (account/rateLimits/updated) over disk snapshots.
  • Fixed Google Cloud Code HTTPS /v1internal:retrieveUserQuotaSummary HTTP 400 and empty /v1internal:fetchAvailableModels responses by removing the unsupported metadata payload field and prioritizing gemini-4-hydrogen* ahead of retiring 3.8-flash*.
  • Preserved prior cached tier/metrics on offline Cloud Code timeouts (no false PRO/ULTRA -> FREE downgrades) and rejected failed gRPC-Web HTTP 200 trailers during in-place hydration.
  • Guarded hotSwapCodexAppServer() against unhandled ENOENT errors on missing binaries, chained rapid back-to-back swaps cleanly, unwound buffered stdin on spawn failure, and sequenced swaps ahead of post-switch refreshes to prevent Codex single-use RTR collisions.
  • Preserved refresh tokens and recovered cleanly from corrupt keyring_credential.json files during Antigravity switches, parallelized optional Codex keyring cleanup (including Windows \\?\ canonical hash cleanup), added Buffer.concat HTTPS reads + agent: false / ::1 loopback fallback, honored single-provider refreshQuota overrides, and eliminated idle hover-tooltip churn and null-fingerprint focus repaint waves.

What's Cooking Next

  • Researching the same zero-kill in-place swap on OpenAI Codex (codex app-server) instead of respawning the child process.
  • Pushing toward per-IDE-window profile isolation, so you can bind completely different Antigravity and Codex accounts to separate VS Code or Antigravity IDE windows at the exact same time with zero disk or keyring collision.

Install

Download charlier-0.2.3.vsix from the release assets (or install from VS Code Marketplace / Open VSX) and run:

code --install-extension charlier-0.2.3.vsix --force
# or for Antigravity IDE
antigravity-ide --install-extension charlier-0.2.3.vsix --force

Charlier v0.2.1 - Live Burn Auto-Refresh & Cross-OS Hardening

Choose a tag to compare

@prince-sernine prince-sernine released this 20 Nov 10:36

Keep your Cockpit Hero, Status Bar, parallel CLI CLAIMED terminals, and standby vault gauges updated live as you work without touching Refresh All or reloading your IDE.

Highlights

  • Hybrid Live Burn Auto-Refresh (charlier.autoRefreshInterval, default 60s):
    • OpenAI Codex real-time push: Reads native account/rateLimits/updated notifications directly off codex app-server stdout (0ms, zero extra HTTPS calls), with a 1.2s debounced fallback check on turn/completed.
    • Google Antigravity post-turn sync: Refreshes the local loopback agy daemon automatically after conversation activity settles (2.5s trailing debounce).
    • Tiered focused cadence + instant catch-up: Active Hero and running CLI CLAIMED terminals refresh every 60s while focused; unclaimed standby profiles refresh gently every 5m; exiting a CLI CLAIMED terminal pulls its final burn immediately. Pauses automatically when unfocused (with Linux/Wayland & macOS Spaces interaction fallback) and catches up on window focus regain or Cockpit reopen. Set charlier.autoRefreshInterval to 0 to disable periodic polling while keeping real-time turn push updates.
  • Parallel CLI & Surgical Swap Positioning: Updated README.md with a side-by-side breakdown of single-provider surgical swaps vs full Extension Host restarts and multi-account CLI Only concurrency, plus Marketplace / Open VSX metadata (AI category + 10 high-intent keywords).

Hardening & Cross-OS Fixes

  • Serialized Codex RTR & Read-Only CLI CLAIMED Telemetry: Added a shared per-account OAuth refresh lock (inFlightOAuthRefresh) and pre-refresh disk check so concurrent refreshes never race OpenAI single-use refresh tokens; skipped proactive 5-minute rotation while a live codex app-server owns ~/.codex/auth.json; added strictly read-only CLI CLAIMED auth readers so live CLI terminals report fresh burn without write races or false RE-AUTH / revoked flags on transient 401s.
  • Antigravity Daemon Isolation & Cache Protection: Scoped daemon discovery to the current IDE window/host so sibling windows never cross-contaminate telemetry, prevented transient empty daemon responses from poisoning cached gauges, reused unexpired Google access tokens (>120s remaining) on standby refreshes to cut redundant token mints, and cleared sticky un-resettable gemini7d caps.
  • UI, Watcher & Storage Reliability: Fixed Codex stdout observer partial-chunk duplicate events and exit+close double callbacks, external Codex auth.json changes skipping live quota probes, mid-flight deck-flip freshness tracking, out-of-order Cockpit postMessage races (renderSeq), FSWatcher 'error' handling + ~/.codex re-watching on recreate, Vault profile-ID traversal guards + 0o700 directory modes, and macOS/Linux keyring stdin EPIPE guards.

Install

  • VS Code Marketplace: ext install Sernine.charlier
  • Open VSX / Antigravity IDE: Search Sernine.charlier
  • Manual VSIX: Download charlier-0.2.1.vsix from this release and run Extensions: Install from VSIX...

Charlier v0.2.0

Choose a tag to compare

@prince-sernine prince-sernine released this 16 Nov 20:40

Multi-Account Vault, Surgical Hot-Swap & Live Quota Cockpit for Google Antigravity and OpenAI Codex across Windows, macOS, and Linux.

What's New

Dual-Provider Vault & Night Cut Cockpit

  • OpenAI Codex Support: Manage Free, Plus, Pro, Team, Enterprise, Edu, and API Key accounts alongside Google Antigravity in one vault (~/.gemini/charlier/) with direct ~120ms wham/usage HTTPS quota pulls, 5h / 7d / Code Review / Reset Credits tracking, multi-workspace chatgpt_account_id disambiguation, and Single-Use Refresh Token Rotation safety.
  • Quota & Account Cockpit Sidebar: Activity Bar webview (‹ Antigravity | Codex ›) with SVG radial gauges, segmented pool bars, recessed ≡ standby drawers, tier sorting (ULTRA > ENTERPRISE > PRO > TEAM > EDU > PLUS > API_KEY > FREE), sticky search at 6+ accounts (/ to focus, Esc to clear), retained-context sync recovery, and zero-flicker DOM morphing.
  • Unified Status Bar Pill & Hover Matrix: Single color-graded status pill (priority: 501) with Antigravity tier-averaged health, unconditional Carbon hover column, scalloped Codex marks (./media/charlier-status-v2.woff), 1-click hover row switching, and view-only ◀ Antigravity · Codex ▶ footer deck toggle.

Smart Failover, Surgical Swaps & CLI Concurrency

  • Best Standby (NEXT UP) Healthy-Tier Failover: When an active session drops below 15%, exhausts a primary pool (< 15% Claude or Gemini on paid Antigravity even while other pools stay high), or enters RE-AUTH / VERIFY NEEDED, Charlier picks the top unclaimed standby using Healthy-Tier Bands (healthy paid plans win by tier rank, e.g. Ultra 50% / 30% Claude > Pro 100%; thin paid 15-49% yields to healthy paid while beating Free 100%; Free-only sorts by max %) and surfaces ⇄ Switch Best + NEXT UP in Cockpit, Best Standby + NEXT in Hover Matrix, and NEXT UP in QuickPicks.
  • Surgical Dual-Provider Hot-Swaps: Swaps Codex via an ~100ms in-memory codex app-server stdio graft and Antigravity via window-scoped --hub daemon respawn (~800ms), guarded by a 4.5s cooldown and 2-in-10m surgical budget cap that falls back cleanly to a soft Extension Host restart before upstream's 3-restart process_exit_nonzero limit can trip.
  • 1-Click CLI Only Isolated Workspaces: Keep your IDE session pinned while spawning parallel codex --no-daemon or agy terminals under ~/.gemini/charlier/cli-homes/ (CODEX_HOME + file store / .xdg/ Linux isolation), surfaced via CLI CLAIMED priority sorting (Active -> CLI Claimed -> Standby), preflighted by cross-OS resolveCliBinary discovery (~/ expansion + install prompt when missing), and synced back on exit/close.
  • Focus-Aware Auto-Switch & Fast Login Detection: Host-scoped startup primacy (selectedProviderByHost) keeps Antigravity primary inside Antigravity IDE while remembering VS Code deck choice, flips automatically on focused editor/tab/terminal/turn/conversation activity (1.2s manual pin), detects new Antigravity sign-ins in <600ms, and updates active/inactive decks without stealing focus from sibling windows.

Account Safety, Hardening & Native Win32 Keyring

  • 15 KB #![no_std] Rust Win32 N-API Keyring: Replaced PowerShell Add-Type workers with an auditable in-process wincred-win32-x64.node addon (CredReadW/CredWriteW/CredDeleteW + cmdkey.exe delete fallback), eliminating shell spawns and EDR false positives while staying zero-dependency.
  • Google VERIFY NEEDED, RE-AUTH / STALE & Inactive-Only Deletion: Surfaces Google post-login phone/QR checks (VERIFY NEEDED + CLI Locked until verified in IDE), flags revoked/expired tokens cleanly without bogus clock rollover, prevents server-side account/logout token revocations, auto-saves unsaved sessions before switches, and locks ✕ delete on active Hero and CLI CLAIMED cards until switched away or exited.

Install / Upgrade

  • Download charlier-0.2.0.vsix from Assets below and run Extensions: Install from VSIX..., or via CLI:
    code --install-extension charlier-0.2.0.vsix --force
    antigravity-ide --install-extension charlier-0.2.0.vsix --force
  • Verification: 0 runtime npm dependencies | npx tsc --noEmit (0 errors) | 79/79 automated tests passing across quota values, CLI isolation, Cockpit/UI contracts, native keyring, focus routing, latency budgets, flicker invariants, and cross-OS discovery.

Charlier v0.1.0 - Initial Public Release

Choose a tag to compare

@prince-sernine prince-sernine released this 06 Nov 22:24

Initial public release of Charlier: a fast, zero-dependency multi-account switcher, local credential vault, and live quota dashboard for Google Antigravity.

Features & Capabilities

  • Hot-Swap Without Re-Logging In: Swaps ~/.gemini/google_accounts.json, ~/.gemini/oauth_creds.json, and your OS keyring token in one atomic pass, then soft-restarts the extension host (agy) so your new session goes live in ~150ms without closing open tabs, terminals, or editor windows.
  • 1-Click Switching from Hover & QuickPick: Hover over the status bar pill to view remaining capacity across your accounts and click any inactive profile name directly in the hover table (or via Charlier: Switch Profile) to switch on the spot.
  • Live & Background Quota Telemetry:
    • Pixel-aligned capacity meters (▓▓▓▓░) and exact reset timers across Gemini (Flash, Pro), Claude & GPT (Opus, Sonnet, GPT-OSS), and Gemini 4 Argon.
    • Full dual-window (5h active pool + 7d rolling reserve) breakdown for every model family.
    • Background OAuth refresh for dormant vault profiles so you can check which backup account is recharged without switching into it.
  • Accurate Plan Badges & Session Guard: Reads upstream billing tiers (Free, Pro, Ultra) directly, isolates quota caches per account email, and auto-detects newly signed-in sessions on editor focus (· Unsaved) so you never overwrite an active token by accident.
  • Zero Dependencies, Native OS Keyrings: Interfaces directly with Windows Credential Manager (advapi32.dll / cmdkey.exe), macOS Login Keychain (/usr/bin/security), and Linux Secret Service (secret-tool) with zero bundled native binaries or background daemons.

Installation