Sprites have no size presets and CPU/storage are fixed (8 vCPU / 100 GB),
so memory policy (limit + autoscale) is the sizing lever for bursty
unknown workloads. ensureSprite now applies idempotently, non-failing:
- memoryAutoscale (default true) lets the platform grow memory under
pressure instead of thrashing at a fixed cap
- memoryLimitMB (0 = Fly default ceiling 8192) is the peak ceiling
- Settings UI exposes both controls
- Add server/antigravity-auth.ts to resolve Antigravity OAuth credentials
from OpenBao (ANTIGRAVITY_OAUTH_TOKEN / AGY_OAUTH_TOKEN), env, local OS
keyring (secret-tool / macOS security), or local token file and stream
them over stdin (umask 077, mode 0600, atomic replace) into
~/.gemini/antigravity-cli/antigravity-oauth-token on Sprites
- Cache full OpenBao KV secret map in OpenBaoClient and add
getOptionalSecretKey for zero-extra-request lookup
- Wire sync into SpritesManager.ensureSprite and restart Sprite Paseo
daemon worker in ensureSpriteHost when credentials change
- Add syncAntigravityAuth setting (default true) with Settings UI toggle
- Add Antigravity to PROVIDER_CHOICES and prioritize it in PREFERRED_PROVIDERS
- Add SpriteHostKeepalive (server/sprite-keepalive.ts) maintaining a
lightweight heartbeat session per enabled Sprite host so Fly Sprites
does not auto-pause and drop the Paseo relay connection
- Wire keepalive into agent hooks, RPC handlers, and host
connect/launch paths via onHostReady/onHostRemoved hooks
- Reconcile every 30s against ~/.paseo/hosts.json enabled hosts with
backoff reconnect; persist desired set to plugin-data
- Add keepSpriteHostsAwake setting (default true) with settings UI
toggle and live subscription