@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.
- package/dist/daemon.d.ts +2 -0
- package/dist/daemon.js +29 -3
- package/dist/daemon.js.map +1 -1
- package/dist/fleet-manager.js +4 -0
- package/dist/fleet-manager.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +10 -0
- package/dist/instance-lifecycle.js +31 -2
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/login-flows.d.ts +6 -0
- package/dist/login-flows.js +5 -0
- package/dist/login-flows.js.map +1 -1
- package/dist/transcript-sources.d.ts +35 -10
- package/dist/transcript-sources.js +190 -38
- package/dist/transcript-sources.js.map +1 -1
- package/package.json +1 -1
package/dist/fleet-manager.js
CHANGED
|
@@ -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);
|