@burdenoff/microfe-vibecontrols 2026.529.2 → 2026.529.3

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.
@@ -333,16 +333,18 @@ function ot() {
333
333
  let t = X.find((t) => t.id === e.sessionId);
334
334
  if (t) try {
335
335
  let n = await G({ variables: { id: e.sessionId } }), r = t.agent?.tunnelUrl ?? null, i = it(n.data?.startSessionTerminal?.ttydUrl ?? null, r);
336
- L((t) => t.map((t) => t.sessionId === e.sessionId ? {
337
- ...t,
336
+ L((n) => n.map((n) => n.sessionId === e.sessionId ? {
337
+ ...n,
338
338
  terminalUrl: i,
339
+ agentId: t.agent?.id ?? n.agentId ?? null,
339
340
  loading: !1,
340
341
  error: null
341
- } : t));
342
+ } : n));
342
343
  } catch (n) {
343
344
  console.warn("[sessions] tab restore startSessionTerminal failed", n), L((n) => n.map((n) => n.sessionId === e.sessionId && t.ttydUrl ? {
344
345
  ...n,
345
346
  terminalUrl: t.ttydUrl,
347
+ agentId: t.agent?.id ?? n.agentId ?? null,
346
348
  loading: !1
347
349
  } : n));
348
350
  }
@@ -369,6 +371,7 @@ function ot() {
369
371
  sessionId: e.id,
370
372
  name: e.name,
371
373
  terminalUrl: t,
374
+ agentId: e.agent?.id ?? null,
372
375
  loading: !t,
373
376
  error: null
374
377
  };
@@ -605,6 +608,7 @@ function ot() {
605
608
  sessionId: e.id,
606
609
  name: e.name,
607
610
  terminalUrl: t,
611
+ agentId: e.agent?.id ?? null,
608
612
  loading: !1,
609
613
  error: null
610
614
  };
@@ -615,6 +619,7 @@ function ot() {
615
619
  sessionId: e.id,
616
620
  name: e.name,
617
621
  terminalUrl: null,
622
+ agentId: e.agent?.id ?? null,
618
623
  loading: !0,
619
624
  error: null
620
625
  };