Commit Graph
3 Commits
Author SHA1 Message Date
nandi 0b923ff019 feat: add Sprite host keepalive to prevent auto-pause
- 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
2026-11-18 19:08:08 -08:00
nandi 2ded63183b fix: resolve Paseo CLI via npm prefix fallback in Sprites and use bash -c for exec
- Add RESOLVE_PASEO_BIN_SNIPPET to locate paseo via npm prefix -g and
  symlink into ~/.local/bin for subsequent calls
- Switch Sprite exec from bash -lc to bash -c so PATH_PREAMBLE
  exports and node version shims apply to already-sourced shells
- Surface npm prefix and install log tail when binary still missing
- Add justfile with plugin install/reload/logs recipes
2026-11-18 18:49:23 -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