diff --git a/src/renderer/src/lib/workspace-session-host-split.ts b/src/renderer/src/lib/workspace-session-host-split.ts index 2be516f48cc..0df194c1548 100644 --- a/src/renderer/src/lib/workspace-session-host-split.ts +++ b/src/renderer/src/lib/workspace-session-host-split.ts @@ -69,7 +69,10 @@ const FIELD_OWNERSHIP = { remoteSessionIdsByTabId: 'tabKeyed', browserPagesByWorkspace: 'browserWorkspaceKeyed', markdownFrontmatterVisible: 'fileKeyed', - sleepingAgentSessionsByPaneKey: 'sleepingAgentKeyed' + sleepingAgentSessionsByPaneKey: 'sleepingAgentKeyed', + // Session-level capability stamp — not worktree/tab keyed. Stays in the local + // blob; main re-stamps each host session on write (#5356). + agentSessionCaptureVersion: 'global' } as const satisfies Record // Why: a new WorkspaceSessionState field must be classified above or the split