Package-level declarations

Types

Link copied to clipboard
data class NativeInputState(val inputMode: NativeInputState.InputMode, val inputContext: NativeInputState.InputContext, val inputPosition: NativeInputState.InputPosition = InputPosition.TOP, val toggleSelection: NativeInputState.ToggleSelection = defaultToggleFor(inputContext), val selectedTool: String? = null, val chatId: String? = null)
Link copied to clipboard

Read-only access to the per-tab native input state. Components that need to react to input state changes (toggle visibility, model selection, etc.) observe state, which follows the currently selected browser tab and re-emits both when the tab changes and when the active tab's state is republished.

Link copied to clipboard

Write-side of the native input state store. Only the native input widget (and its ViewModel) should publish; everything else observes via NativeInputStateProvider.