Expand description
Compatibility layer between core config types and TUI types. Compatibility layer between vtcode-core config types and TUI types.
These conversions bridge the core configuration layer with the UI surface
types shared via vtcode-commons::ui_protocol.
Functionsยง
- inline_
theme_ from_ core_ styles - Build an
InlineThemefrom coreThemeStyles. - reasoning_
from_ selection_ string - Convert a reasoning selection string back to a
ReasoningEffortLevel. - reasoning_
to_ selection_ string - Convert a config
ReasoningEffortLevelto the string form used byInlineListSelection::Reasoning. - to_
tui_ appearance - Build a
SessionAppearanceConfigfrom the loadedVTCodeConfig. - to_
tui_ fullscreen - Build
FullscreenInteractionSettingsfrom the loadedVTCodeConfig. - to_
tui_ keyboard_ protocol - Convert a
KeyboardProtocolConfigto the TUIKeyboardProtocolSettings. - to_
tui_ slash_ commands - Convert a slice of
SlashCommandInfoto TUISlashCommandItemvalues. - to_
tui_ surface - Convert a config
UiSurfacePreferenceto the TUISessionSurfaceenum. - tui_
theme_ styles_ from_ core - Convert core
ThemeStylesto the TUIThemeStylesvariant (TUI build).