mirror of
https://github.com/stablyai/orca.git
synced 2026-10-17 16:02:55 +00:00
Classify agentSessionCaptureVersion in the host-split ownership table (#5356)
The new WorkspaceSessionState field must be classified in the exhaustive FIELD_OWNERSHIP table or the compile-time guard (and CI typecheck) fails. It is a session-level capability stamp, not worktree/tab keyed, so it rides the local blob; main re-stamps each host session on write.
This commit is contained in:
@@ -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<keyof WorkspaceSessionState, FieldOwnership>
|
||||
|
||||
// Why: a new WorkspaceSessionState field must be classified above or the split
|
||||
|
||||
Reference in New Issue
Block a user