refactor: Revamp CLI Structure and Command Handling

- Introduced a new CLI structure by creating cli.cc and cli.h files, enhancing command organization and modularity.
- Updated command handling to improve the setup and execution of various CLI commands, including AI agent interactions and ROM operations.
- Replaced the deprecated modern_cli.h with a more streamlined approach, ensuring better maintainability and clarity in command definitions.
- Adjusted CMake configuration to reflect the new file structure and included additional proto files for gRPC services, supporting enhanced functionality.
- Enhanced the TUI components for improved user experience, including better navigation and command execution flow.
This commit is contained in:
scawful
2025-10-05 23:44:14 -04:00
parent 13af75e924
commit ffddb208c6
10 changed files with 314 additions and 199 deletions

View File

@@ -157,7 +157,8 @@ endif()
if(YAZE_WITH_GRPC)
# Generate proto files for yaze_agent
target_add_protobuf(yaze_agent
${PROJECT_SOURCE_DIR}/src/app/core/proto/imgui_test_harness.proto)
${PROJECT_SOURCE_DIR}/src/protos/imgui_test_harness.proto
${PROJECT_SOURCE_DIR}/src/protos/canvas_automation.proto)
target_link_libraries(yaze_agent PUBLIC
grpc++