From 45e669ce7ac5130207db423729f6d2ed6037fba6 Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 12 Oct 2025 02:04:56 -0400 Subject: [PATCH] feat(cli): enhance agent with FTXUI components for improved UI - Added FTXUI components (screen, dom, component) to the agent's CMake configuration, enabling advanced UI capabilities. - Removed unnecessary include statement from general_commands.cc to streamline the code. Benefits: - Improved modularity and extensibility of the agent's UI features, facilitating future enhancements. --- src/cli/agent.cmake | 3 +++ src/cli/handlers/agent/general_commands.cc | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cli/agent.cmake b/src/cli/agent.cmake index 8804470e..3d122bb0 100644 --- a/src/cli/agent.cmake +++ b/src/cli/agent.cmake @@ -82,6 +82,9 @@ set(_yaze_agent_link_targets yaze_emulator ${ABSL_TARGETS} yaml-cpp + ftxui::screen + ftxui::dom + ftxui::component ) target_link_libraries(yaze_agent PUBLIC ${_yaze_agent_link_targets}) diff --git a/src/cli/handlers/agent/general_commands.cc b/src/cli/handlers/agent/general_commands.cc index cfa8872d..5fcf9103 100644 --- a/src/cli/handlers/agent/general_commands.cc +++ b/src/cli/handlers/agent/general_commands.cc @@ -1,5 +1,3 @@ -#include "cli/handlers/commands.h" - #include #include #include