Commit Graph
5 Commits
Author SHA1 Message Date
nandi ec93b5a215 feat: lease-based Sprite keepalive with expiry and renewal
Replace forever-on heartbeat billing with a finite lease system:
callers request a window of Sprite time and renew as needed; on
expiry the heartbeat session stops and the Sprite auto-pauses.

- SpriteLeaseStore (server/sprite-lease-store.ts): refcounted
  leases with TTL clamping ([60s, 8h], default 15min) persisted
  to sprite-leases.json
- SpriteHostKeepalive reimplemented on leases; legacy
  keepalive-hosts manifest seeds one final window then clears
- Provider: session.open acquires, session.prompt renews,
  session.close releases
- sprite_* tools and RPCs acquire/renew/release via
  sprites.lease.acquire/renew/release/list
- destroy/archive release leases before deleting Sprites
- Settings: defaultLeaseMinutes (1-480, default 30), schema v2
2026-11-20 14:25:36 -08:00
nandi 36d88ef168 feat: add async Sprite job manager with progress polling
- Add SpriteJobManager and job RPCs (start/get/list) for connect,
  launch, create, and sync operations
- Time-box status RPC with 5s remote timeout and lazy remote fetching
- Cache remote sprites, raw token, and host/agent lists to avoid
  redundant API calls
- Harden sprite host exec timeouts, JSON parsing, and npm install
  with --no-audit --no-fund
- UI: poll active jobs with phase updates in workers screen
- Reduce token exchange and OpenBao request timeout to 8s
2026-11-18 18:39:40 -08:00
nandi 32c02cb3cd feat: switch to managed Paseo Sprite agents, remote hosts, and Fly token exchange 2026-11-19 01:47:07 +00:00
nandi 9188bfc277 feat: add OpenBao + Zitadel OIDC device-code token integration 2026-11-18 16:43:42 -08:00
nandi 0c4027ebe5 feat: add fly-sprites-workers Paseo plugin 2026-11-18 14:49:53 -08:00