Companion
object Companion
Functions
Link copied to clipboard
fun host(state: TerminalShellIntegrationState, commandLine: StateFlow<TerminalShellCommandLineSnapshot?> = MutableStateFlow<TerminalShellCommandLineSnapshot?>(
null,
).asStateFlow(), promptReady: StateFlow<Boolean> = MutableStateFlow(false).asStateFlow()): TerminalShellIntegrationFactory
Selects a host-owned shell model without installing any protocol recorder.
fun host(state: TerminalShellIntegrationView, commandLine: TerminalShellCommandLineState, promptReady: StateFlow<Boolean> = MutableStateFlow(false).asStateFlow()): TerminalShellIntegrationFactory
Selects a host-owned versioned projection that supports atomic conditional edit admission. Publish through commandLine so model updates and the final revision check share its guard. state and promptReady retain the same ownership as in the StateFlow overload.