1#ifndef YAZE_SRC_CLI_TUI_CHAT_TUI_H_
2#define YAZE_SRC_CLI_TUI_CHAT_TUI_H_
18#include "ftxui/component/component.hpp"
19#include "ftxui/component/screen_interactive.hpp"
36 void OnSubmit(
const std::string& message);
51 ftxui::ScreenInteractive
screen_ = ftxui::ScreenInteractive::Fullscreen();
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Manages TODO lists for z3ed agent task execution.
void InitializeAutocomplete()
ChatTUI(Rom *rom_context=nullptr)
void LaunchAgentPrompt(const std::string &prompt)
ftxui::Component todo_popup_component_
bool shortcut_palette_visible_
std::atomic< bool > agent_busy_
ftxui::Component shortcut_palette_component_
ftxui::ScreenInteractive screen_
agent::ConversationalAgentService agent_service_
std::chrono::steady_clock::time_point last_send_time_
std::vector< double > latency_history_
void OnSubmit(const std::string &message)
ftxui::Component CreateTodoPopup()
std::thread spinner_thread_
std::vector< std::future< void > > worker_futures_
AutocompleteEngine autocomplete_engine_
std::vector< std::string > quick_actions_
void SetRomContext(Rom *rom_context)
std::atomic< bool > spinner_running_
void ToggleShortcutPalette()
agent::TodoManager todo_manager_
std::optional< std::string > last_error_
agent::ChatMessage::SessionMetrics CurrentMetrics() const
double last_response_seconds_
std::atomic< int > spinner_index_
ftxui::Component BuildShortcutPalette()