- orderoptional
number- selector
Target- slot
SemanticFamilySlot<{ sessions: SemanticFamilyDeclaration<'sessions', { activeSubmissionId: string & $brand<'SubmissionId'> | null; id: string & $brand<'SessionId'>; isArchived: boolean; lineage: { kind: 'root' } | { depth: number; forkedAt: string; kind: 'fork'; parentRunnerId: 'claude-sdk' | 'codex' | 'graph'; parentSessionId: string & $brand<'SessionId'>; parentTurnOrdinal: number; parentUserMessageId?: string } | { depth: number; kind: 'spawn'; parentChatUri: string; parentSessionId: string & $brand<'SessionId'>; spawnedAt: string; trigger: { commandId: string; kind: 'command' } | { kind: 'tool'; toolCallId: string & $brand<...> } }; metadata?: { icon?: string; label: string } | { icon: string; label?: string }; model?: string; resource: string; status: 'completed' | 'error' | 'idle' | 'inProgress' | 'needsInput'; title: string | null; updatedAt: number; workingDirectory?: string }, string & $brand<'SessionId'>, { composer.submit: SurfaceToken<{ activeSubmissionId: string & $brand<'SubmissionId'> | null; id: string & $brand<'SessionId'>; isArchived: boolean; lineage: { kind: 'root' } | { depth: number; forkedAt: string; kind: 'fork'; parentRunnerId: 'claude-sdk' | 'codex' | 'graph'; parentSessionId: string & $brand<...>; parentTurnOrdinal: number; parentUserMessageId?: string } | { depth: number; kind: 'spawn'; parentChatUri: string; parentSessionId: string & $brand<...>; spawnedAt: string; trigger: { commandId: ...; kind: ... } | { kind: ...; toolCallId: ... } }; metadata?: { icon?: string; label: string } | { icon: string; label?: string }; model?: string; resource: string; status: 'completed' | 'error' | 'idle' | 'inProgress' | 'needsInput'; title: string | null; updatedAt: number; workingDirectory?: string }, string & $brand<'SessionId'>>; row.detail: SurfaceToken<{ activeSubmissionId: string & $brand<'SubmissionId'> | null; id: string & $brand<'SessionId'>; isArchived: boolean; lineage: { kind: 'root' } | { depth: number; forkedAt: string; kind: 'fork'; parentRunnerId: 'claude-sdk' | 'codex' | 'graph'; parentSessionId: string & $brand<...>; parentTurnOrdinal: number; parentUserMessageId?: string } | { depth: number; kind: 'spawn'; parentChatUri: string; parentSessionId: string & $brand<...>; spawnedAt: string; trigger: { commandId: ...; kind: ... } | { kind: ...; toolCallId: ... } }; metadata?: { icon?: string; label: string } | { icon: string; label?: string }; model?: string; resource: string; status: 'completed' | 'error' | 'idle' | 'inProgress' | 'needsInput'; title: string | null; updatedAt: number; workingDirectory?: string }, string & $brand<'SessionId'>> }, { archive: string }>; tabs: SemanticFamilyDeclaration<'tabs', { active: boolean; dirty: boolean; editorId: string | null; groupId: number; index: number; input: { kind: 'ai-chat'; sessionId: string & $brand<'SessionId'> | null } | { docId: string; kind: 'shared-doc'; workspaceId: string } | { kind: 'workspace-view'; viewId: string } | { kind: 'workbench'; location: string } | { kind: 'space-organizer'; target: { kind: 'all-docs'; workspaceId: string } | { collectionId: string; kind: 'collection'; workspaceId: string } | { kind: 'tag'; tagId: string; workspaceId: string } | { kind: 'trash'; workspaceId: string } } | { kind: 'blank-tab' } | { kind: 'studio-file'; uri: string } | { kind: 'text'; uri: string } | { kind: 'text-diff'; modified: string; original: string } | { base: string; input1: string; input2: string; kind: 'text-merge'; result: string } | { kind: 'notebook'; notebookType: string; uri: string } | { kind: 'notebook-diff'; modified: string; notebookType: string; original: string } | { kind: 'custom'; uri: string; viewType: string } | { kind: 'webview'; viewType: string } | { kind: 'terminal' } | { inputBoxUri: string; kind: 'interactive'; uri: string } | { kind: 'chat' } | { kind: 'multi-diff'; textDiffs: { kind: 'text-diff'; modified: string; original: string }[] } | { kind: 'unknown' }; label: string; leafId: string; pinned: boolean; selected: boolean; singleton: boolean; sticky: boolean; tabId: string; transient: boolean; windowId: number }, string, { title.accessory: SurfaceToken<{ active: boolean; dirty: boolean; editorId: string | null; groupId: number; index: number; input: { kind: 'ai-chat'; sessionId: ... & ... | null } | { docId: string; kind: 'shared-doc'; workspaceId: string } | { kind: 'workspace-view'; viewId: string } | { kind: 'workbench'; location: string } | { kind: 'space-organizer'; target: { kind: ...; workspaceId: ... } | { collectionId: ...; kind: ...; workspaceId: ... } | { kind: ...; tagId: ...; workspaceId: ... } | { kind: ...; workspaceId: ... } } | { kind: 'blank-tab' } | { kind: 'studio-file'; uri: string } | { kind: 'text'; uri: string } | { kind: 'text-diff'; modified: string; original: string } | { base: string; input1: string; input2: string; kind: 'text-merge'; result: string } | { kind: 'notebook'; notebookType: string; uri: string } | { kind: 'notebook-diff'; modified: string; notebookType: string; original: string } | { kind: 'custom'; uri: string; viewType: string } | { kind: 'webview'; viewType: string } | { kind: 'terminal' } | { inputBoxUri: string; kind: 'interactive'; uri: string } | { kind: 'chat' } | { kind: 'multi-diff'; textDiffs: { kind: ...; modified: ...; original: ... }[] } | { kind: 'unknown' }; label: string; leafId: string; pinned: boolean; selected: boolean; singleton: boolean; sticky: boolean; tabId: string; transient: boolean; windowId: number }, string>; title.label: SurfaceToken<{ active: boolean; dirty: boolean; editorId: string | null; groupId: number; index: number; input: { kind: 'ai-chat'; sessionId: ... & ... | null } | { docId: string; kind: 'shared-doc'; workspaceId: string } | { kind: 'workspace-view'; viewId: string } | { kind: 'workbench'; location: string } | { kind: 'space-organizer'; target: { kind: ...; workspaceId: ... } | { collectionId: ...; kind: ...; workspaceId: ... } | { kind: ...; tagId: ...; workspaceId: ... } | { kind: ...; workspaceId: ... } } | { kind: 'blank-tab' } | { kind: 'studio-file'; uri: string } | { kind: 'text'; uri: string } | { kind: 'text-diff'; modified: string; original: string } | { base: string; input1: string; input2: string; kind: 'text-merge'; result: string } | { kind: 'notebook'; notebookType: string; uri: string } | { kind: 'notebook-diff'; modified: string; notebookType: string; original: string } | { kind: 'custom'; uri: string; viewType: string } | { kind: 'webview'; viewType: string } | { kind: 'terminal' } | { inputBoxUri: string; kind: 'interactive'; uri: string } | { kind: 'chat' } | { kind: 'multi-diff'; textDiffs: { kind: ...; modified: ...; original: ... }[] } | { kind: 'unknown' }; label: string; leafId: string; pinned: boolean; selected: boolean; singleton: boolean; sticky: boolean; tabId: string; transient: boolean; windowId: number }, string>; title.leadingAccessory: SurfaceToken<{ active: boolean; dirty: boolean; editorId: string | null; groupId: number; index: number; input: { kind: 'ai-chat'; sessionId: ... & ... | null } | { docId: string; kind: 'shared-doc'; workspaceId: string } | { kind: 'workspace-view'; viewId: string } | { kind: 'workbench'; location: string } | { kind: 'space-organizer'; target: { kind: ...; workspaceId: ... } | { collectionId: ...; kind: ...; workspaceId: ... } | { kind: ...; tagId: ...; workspaceId: ... } | { kind: ...; workspaceId: ... } } | { kind: 'blank-tab' } | { kind: 'studio-file'; uri: string } | { kind: 'text'; uri: string } | { kind: 'text-diff'; modified: string; original: string } | { base: string; input1: string; input2: string; kind: 'text-merge'; result: string } | { kind: 'notebook'; notebookType: string; uri: string } | { kind: 'notebook-diff'; modified: string; notebookType: string; original: string } | { kind: 'custom'; uri: string; viewType: string } | { kind: 'webview'; viewType: string } | { kind: 'terminal' } | { inputBoxUri: string; kind: 'interactive'; uri: string } | { kind: 'chat' } | { kind: 'multi-diff'; textDiffs: { kind: ...; modified: ...; original: ... }[] } | { kind: 'unknown' }; label: string; leafId: string; pinned: boolean; selected: boolean; singleton: boolean; sticky: boolean; tabId: string; transient: boolean; windowId: number }, string> }, { close: string }>; viewContainers: SemanticFamilyDeclaration<'viewContainers', { defaultZone: 'panel-bottom' | 'panel-left' | 'panel-right' | null; hideIfEmpty: boolean; icon: { colorId: string | null; id: string; kind: 'theme' } | { kind: 'uri'; uri: string } | null; id: string; order: number | null; source: { kind: 'built-in' } | { extensionId: string; kind: 'extension' }; title: string }, string, {}, {}>; viewDefinitions: SemanticFamilyDeclaration<'viewDefinitions', { allowedZones: 'anywhere' | { only: ('bar-status' | 'bar-title' | 'content' | 'panel-bottom' | 'panel-left' | 'panel-right')[] } | { except: ('bar-status' | 'bar-title' | 'content' | 'panel-bottom' | 'panel-left' | 'panel-right')[] }; capabilities: { canMove: boolean; canToggleVisibility: boolean }; collapsedByDefault: boolean; defaultContainerId: string; defaultZone: 'bar-status' | 'bar-title' | 'content' | 'panel-bottom' | 'panel-left' | 'panel-right' | null; description: string | null; hiddenByDefault: boolean; icon: { colorId: string | null; id: string; kind: 'theme' } | { kind: 'uri'; uri: string } | null; id: string; name: string; order: number | null; source: { kind: 'built-in' } | { extensionId: string; kind: 'extension' }; type: string | null; viewType: 'editor' | 'file-tree' | 'panel' | 'scm' | 'sidebar' | 'widget' | null; weight: number | null; workspaceScoped: boolean }, string, {}, {}>; views: SemanticFamilyDeclaration<'views', { descriptor: { allowedZones: 'anywhere' | { only: (... | ... | ... | ... | ... | ...)[] } | { except: (... | ... | ... | ... | ... | ...)[] }; capabilities: { canMove: boolean; canToggleVisibility: boolean }; collapsedByDefault: boolean; defaultContainerId: string; defaultZone: 'bar-status' | 'bar-title' | 'content' | 'panel-bottom' | 'panel-left' | 'panel-right' | null; description: string | null; hiddenByDefault: boolean; icon: { colorId: string | null; id: string; kind: 'theme' } | { kind: 'uri'; uri: string } | null; id: string; name: string; order: number | null; source: { kind: 'built-in' } | { extensionId: string; kind: 'extension' }; type: string | null; viewType: 'editor' | 'file-tree' | 'panel' | 'scm' | 'sidebar' | 'widget' | null; weight: number | null; workspaceScoped: boolean }; descriptorId: string; kind: 'native'; occurrenceId: string & $brand<'ViewOccurrenceId'>; placement: { containerId: string; kind: 'native'; order: number; zoneId: 'panel-bottom' | 'panel-left' | 'panel-right' }; scope: { windowId: number; workspaceId: string }; state: { available: boolean; visible: boolean } } | { descriptor: { allowedZones: 'anywhere' | { only: (... | ... | ... | ... | ... | ...)[] } | { except: (... | ... | ... | ... | ... | ...)[] }; capabilities: { canMove: boolean; canToggleVisibility: boolean }; collapsedByDefault: boolean; defaultContainerId: string; defaultZone: 'bar-status' | 'bar-title' | 'content' | 'panel-bottom' | 'panel-left' | 'panel-right' | null; description: string | null; hiddenByDefault: boolean; icon: { colorId: string | null; id: string; kind: 'theme' } | { kind: 'uri'; uri: string } | null; id: string; name: string; order: number | null; source: { kind: 'built-in' } | { extensionId: string; kind: 'extension' }; type: string | null; viewType: 'editor' | 'file-tree' | 'panel' | 'scm' | 'sidebar' | 'widget' | null; weight: number | null; workspaceScoped: boolean }; descriptorId: string; kind: 'modular-zone'; occurrenceId: string & $brand<'ViewOccurrenceId'>; placement: { kind: 'modular-zone'; order: number; zoneId: 'bar-status' | 'bar-title' | 'content' }; scope: { windowId: number; workspaceId: string }; state: { active: boolean; hidden: boolean } }, string & $brand<'ViewOccurrenceId'>, { title.accessory: SurfaceToken<{ descriptor: { allowedZones: 'anywhere' | { only: ... } | { except: ... }; capabilities: { canMove: boolean; canToggleVisibility: boolean }; collapsedByDefault: boolean; defaultContainerId: string; defaultZone: 'bar-status' | 'bar-title' | 'content' | 'panel-bottom' | 'panel-left' | 'panel-right' | null; description: string | null; hiddenByDefault: boolean; icon: { colorId: ...; id: ...; kind: ... } | { kind: ...; uri: ... } | null; id: string; name: string; order: number | null; source: { kind: ... } | { extensionId: ...; kind: ... }; type: string | null; viewType: 'editor' | 'file-tree' | 'panel' | 'scm' | 'sidebar' | 'widget' | null; weight: number | null; workspaceScoped: boolean }; descriptorId: string; kind: 'native'; occurrenceId: string & $brand<'ViewOccurrenceId'>; placement: { containerId: string; kind: 'native'; order: number; zoneId: 'panel-bottom' | 'panel-left' | 'panel-right' }; scope: { windowId: number; workspaceId: string }; state: { available: boolean; visible: boolean } } | { descriptor: { allowedZones: 'anywhere' | { only: ... } | { except: ... }; capabilities: { canMove: boolean; canToggleVisibility: boolean }; collapsedByDefault: boolean; defaultContainerId: string; defaultZone: 'bar-status' | 'bar-title' | 'content' | 'panel-bottom' | 'panel-left' | 'panel-right' | null; description: string | null; hiddenByDefault: boolean; icon: { colorId: ...; id: ...; kind: ... } | { kind: ...; uri: ... } | null; id: string; name: string; order: number | null; source: { kind: ... } | { extensionId: ...; kind: ... }; type: string | null; viewType: 'editor' | 'file-tree' | 'panel' | 'scm' | 'sidebar' | 'widget' | null; weight: number | null; workspaceScoped: boolean }; descriptorId: string; kind: 'modular-zone'; occurrenceId: string & $brand<'ViewOccurrenceId'>; placement: { kind: 'modular-zone'; order: number; zoneId: 'bar-status' | 'bar-title' | 'content' }; scope: { windowId: number; workspaceId: string }; state: { active: boolean; hidden: boolean } }, string & $brand<'ViewOccurrenceId'>> }, { move: string; reveal: string; toggleVisibility: string }> }[SelectorFamily<Target>]>- ui
() => ModUI