@songsid/agend 2.1.4-beta.26 → 2.1.4-beta.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1674,6 +1674,10 @@ export class FleetManager {
1674
1674
  const { getTmuxSocketName: getSocket } = await import("./paths.js");
1675
1675
  TmuxManager.setSocketName(getSocket());
1676
1676
  await TmuxManager.ensureSession(getTmuxSession());
1677
+ // Pre-flight (advisory, fire-and-forget): warm the per-backend auth cache
1678
+ // before instances spawn, so a CLI that comes up on its sign-in screen gets
1679
+ // an instant 🔑 verdict instead of decaying into crash/MCP-died noise.
1680
+ this.lifecycle.primeAuthVerification(Object.values(fleet.instances).map(config => config.backend ?? fleet.defaults?.backend ?? "claude-code"));
1677
1681
  // Start tmux control mode client for idle detection
1678
1682
  if (!this.controlClient) {
1679
1683
  this.controlClient = new TmuxControlClient(getTmuxSession(), 2000, this.logger);