Skip to content

A desktop coding agent with free access to frontier models.

TypeScript

Merge branch 'fix/v1.1.1-diagnostics' into fix/v1.1.1-sessions-visible

ogsamrate64e02569ad5
diff --cc apps/app/src/app/lib/diagnostics-bundle.ts
index 41184cce,dbb9b7a9..d6548602
--- a/apps/app/src/app/lib/diagnostics-bundle.ts
+++ b/apps/app/src/app/lib/diagnostics-bundle.ts
@@@ -103,8 -107,13 +107,13 @@@ function pickEngineInfo(info: EngineInf
function pickHostInfo(info: OmniRushServerInfo | null) {
if (!info) return null;
+ const generation = typeof info.generation === "number" ? info.generation : null;
return {
running: Boolean(info.running),
- // The desktop runtime counts built-in server starts per app launch; it
- // does not record restart reasons or times (those are in omnirush-server.log).
++ // The desktop runtime counts built-in server starts per app launch; the
++ // reasons and times of those restarts are in `restarts` below.
+ generation,
+ restartsThisLaunch: generation === null ? null : Math.max(0, generation - 1),
remoteAccessEnabled: info.remoteAccessEnabled,
baseUrl: info.baseUrl ?? null,
connectUrl: info.connectUrl ?? null,