orka.tui package
TUI package - exports the main interface class for backward compatibility.
- class orka.tui.DashboardScreen(data_manager: Any, **kwargs: Any)[source]
Bases:
BaseOrKaScreenDashboard screen showing overview of memory system.
- can_focus: bool = False
Widget may receive focus.
- can_focus_children: bool = True
Widget’s children may receive focus.
- class orka.tui.HealthScreen(data_manager: Any, **kwargs: Any)[source]
Bases:
BaseOrKaScreenScreen for system health monitoring.
- can_focus: bool = False
Widget may receive focus.
- can_focus_children: bool = True
Widget’s children may receive focus.
- class orka.tui.HealthWidget(data_manager: Any, **kwargs: Any)[source]
Bases:
ContainerWidget for displaying system health metrics.
- can_focus: bool = False
Widget may receive focus.
- can_focus_children: bool = True
Widget’s children may receive focus.
- class orka.tui.LogsWidget(data_manager: Any, **kwargs: Any)[source]
Bases:
DataTableEnhanced widget for displaying memory logs with orchestration priority.
- can_focus: bool = True
Widget may receive focus.
- can_focus_children: bool = True
Widget’s children may receive focus.
- class orka.tui.LongMemoryScreen(data_manager: Any, **kwargs: Any)[source]
Bases:
BaseOrKaScreenScreen for viewing long-term memory entries.
- can_focus: bool = False
Widget may receive focus.
- can_focus_children: bool = True
Widget’s children may receive focus.
- on_memory_table_widget_memory_selected(message: MemorySelected) None[source]
Handle memory selection to show content and metadata in lower panel.
- class orka.tui.MemoryLogsScreen(data_manager: Any, **kwargs: Any)[source]
Bases:
BaseOrKaScreenScreen for viewing memory system logs.
- can_focus: bool = False
Widget may receive focus.
- can_focus_children: bool = True
Widget’s children may receive focus.
- on_memory_table_widget_memory_selected(message: MemorySelected) None[source]
Handle memory selection to show content and metadata in lower panel.
- class orka.tui.MemoryTableWidget(data_manager: Any, memory_type: str = 'all', **kwargs: Any)[source]
Bases:
DataTableCustom data table for displaying memory entries with checkbox selection.
- class MemorySelected(memory_data: Dict[str, Any] | None, row_index: int)[source]
Bases:
MessageMessage sent when a memory row is selected.
- time
- bubble: ClassVar[bool] = True
- handler_name: ClassVar[str] = 'on_memory_table_widget_memory_selected'
Name of the default message handler.
- no_dispatch: ClassVar[bool] = False
- verbose: ClassVar[bool] = False
- can_focus: bool = True
Widget may receive focus.
- can_focus_children: bool = True
Widget’s children may receive focus.
- on_data_table_cell_selected(event: CellSelected) None[source]
Handle cell selection to toggle checkbox - alternative approach.
- class orka.tui.ModernTUIInterface[source]
Bases:
objectModern TUI interface for OrKa memory monitoring.
- class orka.tui.OrKaTextualApp(data_manager)[source]
Bases:
AppModern Textual-native OrKa monitoring application.
- BINDINGS: ClassVar[list[BindingType]] = [Binding(key='1', action='show_dashboard', description='Dashboard', show=True, key_display=None, priority=False, tooltip='', id=None, system=False), Binding(key='2', action='show_short_memory', description='Short Memory', show=True, key_display=None, priority=False, tooltip='', id=None, system=False), Binding(key='3', action='show_long_memory', description='Long Memory', show=True, key_display=None, priority=False, tooltip='', id=None, system=False), Binding(key='4', action='show_memory_logs', description='Memory Logs', show=True, key_display=None, priority=False, tooltip='', id=None, system=False), Binding(key='5', action='show_health', description='Health', show=True, key_display=None, priority=False, tooltip='', id=None, system=False), Binding(key='q', action='quit', description='Quit', show=True, key_display=None, priority=False, tooltip='', id=None, system=False), Binding(key='ctrl+p', action='command_palette', description='Palette', show=True, key_display=None, priority=False, tooltip='', id=None, system=False), Binding(key='r', action='refresh', description='Refresh', show=True, key_display=None, priority=False, tooltip='', id=None, system=False), Binding(key='f', action='toggle_fullscreen', description='Fullscreen', show=True, key_display=None, priority=False, tooltip='', id=None, system=False)]
The default key bindings.
- CSS_PATH: ClassVar[CSSPathType | None] = 'textual_styles.tcss'
File paths to load CSS from.
- SUB_TITLE: str | None = 'Real-time Memory System Monitoring'
A class variable to set the default sub-title for the application.
To update the sub-title while the app is running, you can set the [sub_title][textual.app.App.sub_title] attribute. See also [the Screen.SUB_TITLE attribute][textual.screen.Screen.SUB_TITLE].
- TITLE: str | None = 'OrKa Memory Monitor'
A class variable to set the default title for the application.
To update the title while the app is running, you can set the [title][textual.app.App.title] attribute. See also [the Screen.TITLE attribute][textual.screen.Screen.TITLE].
- class orka.tui.ShortMemoryScreen(data_manager: Any, **kwargs: Any)[source]
Bases:
BaseOrKaScreenScreen for viewing short-term memory entries.
- can_focus: bool = False
Widget may receive focus.
- can_focus_children: bool = True
Widget’s children may receive focus.
- on_memory_table_widget_memory_selected(message: MemorySelected) None[source]
Handle memory selection to show content and metadata in lower panel.
- class orka.tui.StatsWidget(data_manager: Any, **kwargs: Any)[source]
Bases:
StaticWidget for displaying memory statistics.
- can_focus: bool = False
Widget may receive focus.
- can_focus_children: bool = True
Widget’s children may receive focus.
Submodules
- orka.tui.components module
ComponentBuilderComponentBuilder.statsComponentBuilder.memory_dataComponentBuilder.performance_historyComponentBuilder.memory_loggerComponentBuilder.backendComponentBuilder.runningComponentBuilder.create_compact_header()ComponentBuilder.create_compact_stats_panel()ComponentBuilder.create_compact_memories_panel()ComponentBuilder.create_compact_performance_panel()ComponentBuilder.create_compact_footer()ComponentBuilder.create_header()ComponentBuilder.create_stats_panel()ComponentBuilder.create_footer()ComponentBuilder.create_recent_memories_panel()ComponentBuilder.create_simple_chart()ComponentBuilder.create_memory_browser()ComponentBuilder.create_performance_view()ComponentBuilder.create_performance_panel()ComponentBuilder.create_config_view()
- orka.tui.data_manager module
- orka.tui.fallback module
- orka.tui.interface module
- orka.tui.layouts module
- orka.tui.textual_app module
OrKaTextualAppOrKaTextualApp.TITLEOrKaTextualApp.SUB_TITLEOrKaTextualApp.BINDINGSOrKaTextualApp.CSS_PATHOrKaTextualApp.on_mount()OrKaTextualApp.refresh_current_screen()OrKaTextualApp.action_show_dashboard()OrKaTextualApp.action_show_short_memory()OrKaTextualApp.action_show_long_memory()OrKaTextualApp.action_show_memory_logs()OrKaTextualApp.action_show_health()OrKaTextualApp.action_refresh()OrKaTextualApp.action_toggle_fullscreen()OrKaTextualApp.on_screen_resume()OrKaTextualApp.featuresOrKaTextualApp.mouse_overOrKaTextualApp.mouse_capturedOrKaTextualApp.use_command_paletteOrKaTextualApp.theme_variablesOrKaTextualApp.scroll_sensitivity_xOrKaTextualApp.scroll_sensitivity_yOrKaTextualApp.devtoolsOrKaTextualApp.theme_changed_signalOrKaTextualApp.app_suspend_signalOrKaTextualApp.app_resume_signalOrKaTextualApp.animation_levelOrKaTextualApp.supports_smooth_scrollingOrKaTextualApp.stylesOrKaTextualApp.message_signal
- orka.tui.textual_screens module
BaseOrKaScreenDashboardScreenDashboardScreen.compose_content()DashboardScreen.refresh_data()DashboardScreen.can_focusDashboardScreen.can_focus_childrenDashboardScreen.screen_layout_refresh_signalDashboardScreen.bindings_updated_signalDashboardScreen.text_selection_started_signalDashboardScreen.highlight_styleDashboardScreen.absolute_offsetDashboardScreen.stylesDashboardScreen.message_signal
ShortMemoryScreenShortMemoryScreen.compose_content()ShortMemoryScreen.on_memory_table_widget_memory_selected()ShortMemoryScreen.refresh_data()ShortMemoryScreen.can_focusShortMemoryScreen.can_focus_childrenShortMemoryScreen.screen_layout_refresh_signalShortMemoryScreen.bindings_updated_signalShortMemoryScreen.text_selection_started_signalShortMemoryScreen.highlight_styleShortMemoryScreen.absolute_offsetShortMemoryScreen.stylesShortMemoryScreen.message_signal
LongMemoryScreenLongMemoryScreen.compose_content()LongMemoryScreen.on_memory_table_widget_memory_selected()LongMemoryScreen.refresh_data()LongMemoryScreen.can_focusLongMemoryScreen.can_focus_childrenLongMemoryScreen.screen_layout_refresh_signalLongMemoryScreen.bindings_updated_signalLongMemoryScreen.text_selection_started_signalLongMemoryScreen.highlight_styleLongMemoryScreen.absolute_offsetLongMemoryScreen.stylesLongMemoryScreen.message_signal
MemoryLogsScreenMemoryLogsScreen.compose_content()MemoryLogsScreen.on_memory_table_widget_memory_selected()MemoryLogsScreen.refresh_data()MemoryLogsScreen.can_focusMemoryLogsScreen.can_focus_childrenMemoryLogsScreen.screen_layout_refresh_signalMemoryLogsScreen.bindings_updated_signalMemoryLogsScreen.text_selection_started_signalMemoryLogsScreen.highlight_styleMemoryLogsScreen.absolute_offsetMemoryLogsScreen.stylesMemoryLogsScreen.message_signal
HealthScreenHealthScreen.compose_content()HealthScreen.refresh_data()HealthScreen.can_focusHealthScreen.can_focus_childrenHealthScreen.screen_layout_refresh_signalHealthScreen.bindings_updated_signalHealthScreen.text_selection_started_signalHealthScreen.highlight_styleHealthScreen.absolute_offsetHealthScreen.stylesHealthScreen.message_signal
- orka.tui.textual_widgets module
StatsWidgetMemoryTableWidgetMemoryTableWidget.MemorySelectedMemoryTableWidget.current_memoriesMemoryTableWidget.selected_memory_keyMemoryTableWidget.on_data_table_cell_selected()MemoryTableWidget.on_data_table_row_selected()MemoryTableWidget.update_data()MemoryTableWidget.can_focusMemoryTableWidget.can_focus_childrenMemoryTableWidget.columnsMemoryTableWidget.rowsMemoryTableWidget.highlight_styleMemoryTableWidget.absolute_offsetMemoryTableWidget.stylesMemoryTableWidget.message_signal
HealthWidgetLogsWidget