Repository navigation
Releases
Releases · aklkbqx/agy-swap
v3.0.2
Changes
- Restore
agy-swap updateupgrades from all previous releases and Windowsinstall.ps1installs by enforcing clean release build IDs (release-vX.Y.Z) and verifying exactagy-swap vX.Y.Zversion output before staging release assets. - Include the actual reported version string when update candidate self-tests detect a version mismatch.
- Remove retired Argon sample buckets from demo fixtures and align the README banners with the terminal console layout.
- Website update: align documentation guides and 404 pages with the Cobalt dark/light theme, remove retired Argon copy and demo frames, clean public section links, and sync metadata to
v3.0.2.
v3.0.1
Changes
- Move the Go module path to
github.com/aklkbqx/agy-swap/v3so Go 3.x releases stamp clean module provenance andgo install github.com/aklkbqx/agy-swap/v3/cmd/agy-swap@latestresolvesv3.xbuilds directly. - Derive the Go module major-version suffix dynamically during source-build fallback updates in
agy-swap update. - Website update: update Go source install commands, release metadata, and localized documentation to
v3.0.1and/v3.
Included from v3.0.0
- Add tiered auto-swap handoffs: same-account recoveries after transient errors or refreshed sign-ins automatically reopen the existing conversation (
--resume) and continue active work, while cross-account swaps default to a two-tier clean handoff pairing a redacted 48 KB brief (auto_swap.handoff_max_bytes, default49152, rune-aware for non-ASCII text) containing recent turns, active plans, checkpoint digests, scoped edited-file diffs, user choices, recent command errors, and0600staged artifacts with a private on-demand context file (up to 192 KB) in~/.gemini/agy-swap/handoffs/. - Upgrade proactive pre-compact auto-swap and terminal switching: compact idle interactive macOS and Linux sessions at turn boundaries (
auto_swap.mode=turn-boundary) before quota reaches zero (auto_swap.pre_compact_pct,auto_swap.pre_compact_min_context_tokensdefault50000) using live local-hub quota checks, switch directly at the turn boundary without running/compactwhen remaining quota reachesauto_swap.switch_out_pcton shorter non-swarm sessions (or0%), abort cleanly without erasing typed input or recalled history if you start typing, fall back to reactive handoffs on timeouts,reactive-onlymode, unsupported CLI versions, or Windows (shown in an interactive startup banner), and reload the Antigravity IDE hub asynchronously without blocking CLI switches on IDE idle waits. - Support opt-in cross-account
--resumeon confirmed paid accounts with automatic fallback: when bothauto_swap.handoff_mode=resumeandauto_swap.allow_cross_account_resume=trueare set, reopen conversations and continue active work only when both source and target accounts are confirmed Pro or Ultra plans with no active swarm or subagent state, automatically fall back to the two-tier clean handoff for free-tier, unconfirmed, or swarm-active sessions (with anagy-swap doctorwarning whenauto_swap.exclude_free_tier=false), and perform a one-shot fallback to the pre-built clean brief if a resumed cross-account session fails before completing its first turn without spending swap budget or tripping the circuit breaker. - Keep modes, language, swarm work, and isolated worktrees intact across multi-swap runs: preserve sticky
/goal,/boost,/swarm,/plan(including--mode plan),/teamwork, and detected user language across relaunches with automatic single-prefix re-engagement and fallback, chain a canonical goal anchor and fresh git/task-tracker progress ledger across consecutive swaps without post-compaction stalls, harvest swarm board progress, unfinished subagent tails, interrupted tasks, and undelivered messages, rescue uncommitted changes from isolated worker worktrees read-only as redacted0600.patchfiles with apply commands, scrub worker identifiers, secrets, and nested reasoning blocks before writing handoff files, and revive active swarms automatically on same-account--resume. - Stabilize concurrent multi-terminal relaunches and MCP sessions: serialize concurrent terminal launches behind an adaptive staggered boot gate (
auto_swap.boot_gate_enabled,auto_swap.boot_gate_min_gap_ms,auto_swap.boot_gate_hold_cap_ms, withAGY_SWAP_DISABLE_BOOT_GATE=1opt-out) with zero delay for a lone terminal, macOS memory-pressure backoff, and coordinated Antigravity IDE hub reloads, protect MCP OAuth token storage with blind integrity checks that restore only after truncation or corruption while excluding MCP tokens from backups, stop MCP authentication errors from triggering Google account swaps, reap lingering child processes before draining, and cap retained supervised logs and handoff files on disk. - Harden fail-closed account safety, pacing, and overnight endurance: immediately persist an open host-wide circuit breaker on terms-of-service halts, account-verification challenges (
VERIFY), or suspended-account signals while preservingsuspendedeligibility across token-invalidation errors, synchronize per-account local identity files atomically under the session lock, enforce hourly/daily swap budgets, a 3-second pacing jitter floor (auto_swap.pace_jitter_min_ms), zero-progress and ping-pong/cascade circuit breakers, and per-account 429 cooldowns (auto_swap.account_cooldown_after_429_seconds, honoring exactResets indurations when reported), run a three-stage proactive swarm drain (auto_swap.swarm_drain_deadline_seconds, default120) before proactive compaction and switching, extend overnight wait-for-reset to a 6-hour default (auto_swap.max_wait_seconds, default21600, range300..28800) including waiting for the active account's own pool or daily-budget reset with automatic same-account--resume, default interactive sessions toauto_swap.model_policy=ask(auto_swap.model_prompt_timeout_seconds, default60) withsame-model-onlyandallow-fallbackoptions, preserve the active/modelacross clean-summary relaunches, fix Windows model-prompt timeouts, and handle supervised logs cleanly in non-interactive-pruns. - Speed up quota loading and cut upstream API calls: store volatile quota snapshots, project caches, and backoff timestamps in a separate
quota-cache.jsoncache file so refreshes write once without touchingaccounts.json, reuse per-account isolated HTTP/2 connections while keeping distinct accounts completely isolated, deduplicate concurrent refreshes across terminals with per-account file locks, eliminate background polling of inactive accounts insafemode while pre-warming one standby backup only when the active account drops below 25%, decode live quota pushed viaagy-swap statusline render, respectRetry-Afterheaders across processes, display 5-hour quota windows on compact and short terminal panes, and show time-aware reset indicators (reset · verify/reset passed) once a window reset passes. - Improve cross-terminal session repair and visibility: repair mismatched or stale saved tokens on
agy-swap runwhile respecting--sync-sessionfor unsaved sign-ins, sync per-account local identity during token repair and recovery, adopt already-switched active accounts across concurrent terminals without dwell waits or token ping-pong, serialize concurrent conversation-owner writes and quota refresh checks, display account and stale status inagy-swap auto-swap sessions, and warn with active PIDs when background sessions hold other accounts. - Improve blocked auto-swap recovery, cross-family switching, swarm deadlock handling, and pool visibility: print a rate-limited live notice when a swap is waiting on dwell, budget, or cooldown limits and re-check automatically as soon as an eligible account or reset becomes ready without waiting for another error, align the relaunched model with the target pool family during cross-family quota switches, recover automatically when all swarm workers pause on quota limits, pin handoff capture to the coordinator conversation during subagent and swarm runs so briefs keep your goal and recent turns, and display exact single-pool readiness (
gem only,3p only, orlimited) and active cooldowns in the terminal UI. - Harden supervised quota detection, manual
/compacthandling, hot account addition, and multi-terminal recovery: expand quota,HTTP 429,503,pre-invocation hook:, andreset after/retry afterparsing with PTY quota-banner fallback, enter wait-for-reset reliably even before cached snapshots update, synthesize unused 100% Claude/GPT pools on newly added accounts, stop local MCP tool-registry errors from restarting live sessions, isolate manual/compactruns and reset transcript token counts on completed checkpoints without waiting forStream completed, skip/compactat0%quota even during active swarms, keep proactive swaps from killing live sessions undermodel_policy=askwithout a same-model backup, probe newly added accounts before saving and wake waiting or low sessions within seconds without overwriting active supervised sessions, keep proactive swaps and multi-terminal exits from tripping false circuit breakers, enforceSessionLockand boot-gate ordering on token repairs, and align TUI standby indicators with real model eligibility (#115). - Detect already logged-in
agysessions reliably on Windows: decode both UTF-8 and UTF-16LE Windows Credential Manager blobs across alternate Antigravity target names, tolerate UTF-8 BOMs in file-backed token stores, and fall back to~/.gemini/oauth_creds.jsonduring active session detection and unsaved-session guards (#116). - Website update: publish five terminal workflow recordings for switching, dashboard controls, CLI commands, profiles and limits, and diagnostics alongside Dark and Light five-language terminal story frames, updated v3.0 guides for supervised auto-swap and Windows setup, and improved clipboard copy fallback.
v2.27.0
Changes
- Continuous supervised CLI auto-swapping (
agy-swap run --auto-swap): remove the per-process restart limit, monitor a per-process--log-fileon interactiveagyruns to react quickly to quota exhaustion, refresh expired OAuth tokens in place before falling back to an account switch, wait in cancellable slices when dwell, budget, or cooldown limits block an immediate swap, and adopt already-switched active accounts across concurrent terminals under a shared lock (#113). - Tier-aware account rotation and fresher quota recovery: add
auto_swap.tier_policy(same-tier-first,same-tier-only,highest-paid) and display tier policy inagy-swap auto-swap status, reconcile stale log-derived cooldowns automatically once a newer quota snapshot shows available capacity, and expand CLI log parsing for newer Gemini 4 model streams andRESOURCE_EXHAUSTEDreset messages (#113). - Automatic
agylauncher delegation and faster non-IDE switches: whenauto_swap.enabledis turned on, delegate interactive runs from the managedagywrapper toagy-swap run --auto-swapautomatically (passing through--version,--help,--hub, and subcommands, withAGY_SWAP_NO_AUTO=1opt-out), skip Antigravity IDE hub-restart delays when no IDE hub is running, clear stale in-flight stream guards on stream exit or error, and prioritize the newest conversation turns in handoff briefs (#113). - Website update: synchronize release metadata and terminal story frames for v2.27.0.
v2.26.0
Changes
- Isolate network connections and local session state across accounts: each account refresh uses its own short-lived HTTP transport with no shared keep-alive sockets, removes the browser user-agent header on OAuth calls, aligns the Antigravity client user-agent, routes consumer and GCP credentials to their matching endpoints, supports public PKCE WIF refreshes, keeps
google_accounts.jsonfree of prior account lists, and isolates per-account local installation identifiers (#112). - Switch the
agylauncher wrapper and login flow fromWSL_INTEROP=1toAGY_CLI_FORCE_FILE_TOKEN_STORAGE=1, backfillauth_methodon stored tokens, maintain all three keyring bypass marker paths, and encrypt Windows vault entries with DPAPI while falling back cleanly to file session storage when a token exceeds the Windows Credential Manager size limit (#112). - Cut unnecessary quota traffic and protect restricted accounts: default to serialized refreshes with inter-account jitter, set the TUI default
quota.poll_modetosafeso idle accounts are not polled in the background, cache project metadata on disk for 24 hours, runonboardUseronly duringagy-swap add, separate suspended accounts from verification-required accounts, exclude both from polling and rotation, and addagy-swap account protectandunprotect(#112). - Add configurable Antigravity IDE reload modes (
ide.reload_mode:hub-restart,app-restart,manual,rpc-fast) plus--restart-ideand--no-restart-ideflags onswitchandnext, guard hub reloads behind an in-flight stream check targeting live hub PIDs, restrictstate.vscdbonboarding updates to offline IDE states, and read active-account quota directly from the running local hub when available (#112). - Add supervised CLI auto-swapping with clean-context handoff (
agy-swap run --auto-swap,agy-swap auto-swap enable|disable|status|reset): acceptagyflags directly onagy-swap runwithout requiringnowor--, drain the previous CLI process cleanly across macOS, Linux, and Windows before switching, generate a redacted private handoff brief so the new account starts a fresh conversation trajectory, and enforce non-bypassable dwell, hourly/daily budget, hysteresis, and global circuit-breaker limits (#112). - Expand
agy-swap doctorwith safety posture checks covering circuit breaker state, suspended accounts, protected primary accounts, Antigravity IDE telemetry settings, legacy wrappers, and Windows DPAPI vault entries, and fix live verification helpers for Docker-stampedversion.jsonmetadata andgo installversion strings (#112). - Website update: synchronize release metadata for v2.26.0.
v2.25.1
Fixes
- Target macOS 13.0 as the minimum deployment version for darwin release builds and verify the Mach-O minimum OS metadata during release checks so macOS 13 and 14 users can run shipped binaries (#111).
- Harden session locking and rollback during account switches, logins, and logouts: release the session lock across interactive login prompts, restore mirrored Keychain entries on cancellation, clear Antigravity IDE state on logout, and roll back vault writes if saving account state fails (#111).
- Decouple Antigravity IDE hub reloads from Keychain mirroring settings, scope process reloads to the current user, and canonicalize symlinked project paths in directory bindings and
agy-swap run(#111). - Keep the terminal UI responsive and stable across edge cases: scroll wide detail views, Profiles, and History cleanly, respond immediately to terminal resizes, handle EOF and
SIGTERMcleanly during interactive prompts, isolate pointer and wheel events inside open modals, confirm logouts, pause cleanly after output commands, and fix Windows navigation keys and surrogate pairs (#111). - Improve CLI reliability and JSON automation: support
--flag=valuesyntax, add structured JSON output formetricsand mutation commands, exit non-zero whentarget check --jsonfails, require confirmation or--yes/--forcefor destructiveremoveandlimitactions, prompt without echo for backup passphrases, and guard against clock skew and missing reset timestamps in quota forecasts and statusline (#111). - Harden
agy-swap doctor,install-agy,self-update, installers, and local storage: expand doctor diagnostics, enforce HTTPS and atomic replacement ininstall-agy, add IPv6 DoH fallback in the updater, retry interrupted file locks, preserve explicit zero notification settings, and tighten installer checksum and error handling (#111). - Website update: synchronize release metadata and terminal story frames for v2.25.1.
v2.25.0
Changes
- Add a quiet daily version check against
https://agy-swap.aklkbqx.com/version.jsoncached for 24 hours (update-check.json) on interactive TUI and CLI runs, showingvX.Y.Z ↑in the TUI header when a newer stable release is available; sends only the tool version, OS, CPU architecture, and install channel (brew,binary, orgo-install) with no account data or identifiers, and can be disabled withAGY_SWAP_NO_UPDATE_CHECK=1orDO_NOT_TRACK=1(#110). - Update
README.md,SECURITY.md,docs/architecture.md, and localized README files (docs/i18n/README.*.md) to document the daily version check and opt-out environment variables (#110). - Website update: update localized copy, guides, and terminal frames for v2.25.0 and document the daily version check.
v2.24.0
Changes
- Add Thai, Japanese, Chinese (Simplified), and Korean README translations (
docs/i18n/README.*.md) with a language selector bar and guide links inREADME.md(#109). - Website update: add Korean localization (
/ko/), complete localized crawler shells and translated structured data, nine workflow and reference guides (/guides/,/compare/,/security/,/commands/), video structured data, expanded AI crawler references (/llms-full.txt), and release frames for v2.24.0.
v2.23.8
v2.23.7
Fixes
- Wait for the terminal input poller to stop before restoring terminal state and returning from the interactive UI, preventing a file-descriptor race on exit and preserving buffered shell keystrokes.
- Website update: add search engine ownership verification metadata and synchronize release frames for v2.23.7.
v2.23.6
Changes
- Document multi-account workflows, canonical installer URLs, and isolated concurrent
agyCLI sessions inREADME.md, and update the Homebrew formula description and homepage (#108). - Website update: add a Homebrew install tab, rename the Go install tab to
Sourceacross all supported languages, and expand install and FAQ documentation (#108).