Skip to content

Commit 1ca6ac1

Browse files
feat(Sky): Add terminal replay info to replay-events log
Extend the replay mechanism in SkyBridge to surface terminal state returned by Mountain's `sky:replay-events` IPC call. Add `terminals?: number` and `terminalDataBytes?: number` to the type definition and include them in the log summary alongside tree-views, scm providers, and commands. This provides visibility into terminal sessions that were active during the early boot phase when extension activations may create terminals before the frontend is ready to receive them. The byte count helps diagnose payload sizes during replay.
1 parent af2e8fa commit 1ca6ac1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Source/Function/SkyBridge.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2926,9 +2926,11 @@ export async function InstallSkyBridge(): Promise<void> {
29262926
treeViews?: number;
29272927
scmProviders?: number;
29282928
commands?: number;
2929+
terminals?: number;
2930+
terminalDataBytes?: number;
29292931
}
29302932
| undefined;
2931-
const Summary = `tree-views=${Replay?.treeViews ?? 0} scm=${Replay?.scmProviders ?? 0} commands=${Replay?.commands ?? 0}`;
2933+
const Summary = `tree-views=${Replay?.treeViews ?? 0} scm=${Replay?.scmProviders ?? 0} commands=${Replay?.commands ?? 0} terminals=${Replay?.terminals ?? 0} terminal-bytes=${Replay?.terminalDataBytes ?? 0}`;
29322934
invoke("RenderDevLog", {
29332935
Tag: "sky-emit",
29342936
Message: `[SkyBridge] replay-events ${Summary}`,

0 commit comments

Comments
 (0)