feat: Integrate unified gRPC server for enhanced service management

- Added `UnifiedGRPCServer` class to host both ImGuiTestHarness and ROM service, allowing simultaneous access to GUI automation and ROM manipulation.
- Implemented necessary header and source files for the unified server, including initialization, start, and shutdown functionalities.
- Updated CMake configurations to include new source files and link required gRPC libraries for the unified server.
- Enhanced existing services with gRPC support, improving overall system capabilities and enabling real-time collaboration.
- Added integration tests for AI-controlled tile placement, validating command parsing and execution via gRPC.
This commit is contained in:
scawful
2025-10-04 23:14:09 -04:00
parent 398b878c26
commit 429506e503
7 changed files with 632 additions and 491 deletions

View File

@@ -147,4 +147,14 @@ if(YAZE_WITH_JSON)
endif()
endif()
# Add gRPC support for GUI automation
if(YAZE_WITH_GRPC)
target_link_libraries(yaze_agent PUBLIC
grpc++
grpc++_reflection
libprotobuf
)
message(STATUS "✓ gRPC GUI automation enabled for yaze_agent")
endif()
set_target_properties(yaze_agent PROPERTIES POSITION_INDEPENDENT_CODE ON)