backend-infra-engineer: Release v0.3.3 snapshot

This commit is contained in:
scawful
2025-11-21 21:35:50 -05:00
parent 3d71417f62
commit 476dd1cd1c
818 changed files with 65706 additions and 35514 deletions

View File

@@ -57,7 +57,7 @@ set(
app/editor/ui/workspace_manager.cc
)
if(YAZE_WITH_GRPC)
if(YAZE_BUILD_AGENT_UI)
list(APPEND YAZE_APP_EDITOR_SRC
app/editor/agent/agent_editor.cc
app/editor/agent/agent_chat_widget.cc
@@ -95,9 +95,9 @@ target_precompile_headers(yaze_editor PRIVATE
target_include_directories(yaze_editor PUBLIC
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/lib
${CMAKE_SOURCE_DIR}/src/lib/imgui
${CMAKE_SOURCE_DIR}/src/lib/imgui_test_engine
${CMAKE_SOURCE_DIR}/ext
${CMAKE_SOURCE_DIR}/ext/imgui
${CMAKE_SOURCE_DIR}/ext/imgui_test_engine
${CMAKE_SOURCE_DIR}/incl
${SDL2_INCLUDE_DIR}
${PROJECT_BINARY_DIR}
@@ -114,11 +114,13 @@ target_link_libraries(yaze_editor PUBLIC
ImGui
)
# Link agent library for AI features (always available when not in minimal build)
if(NOT YAZE_MINIMAL_BUILD)
# Link agent runtime only when agent UI panels are enabled
if(YAZE_BUILD_AGENT_UI AND NOT YAZE_MINIMAL_BUILD)
if(TARGET yaze_agent)
target_link_libraries(yaze_editor PUBLIC yaze_agent)
message(STATUS "✓ yaze_editor linked to yaze_agent")
message(STATUS "✓ yaze_editor linked to yaze_agent (UI panels)")
else()
message(WARNING "Agent UI requested but yaze_agent target not found")
endif()
endif()
@@ -126,7 +128,7 @@ endif()
if(YAZE_WITH_JSON)
target_include_directories(yaze_editor PUBLIC
${CMAKE_SOURCE_DIR}/third_party/json/include)
${CMAKE_SOURCE_DIR}/ext/json/include)
if(TARGET nlohmann_json::nlohmann_json)
target_link_libraries(yaze_editor PUBLIC nlohmann_json::nlohmann_json)
@@ -144,25 +146,26 @@ if(YAZE_BUILD_TESTS)
endif()
if(TARGET yaze_test_support)
target_link_libraries(yaze_editor PUBLIC yaze_test_support)
# Use whole-archive on Unix to ensure test symbols are included
# This is needed because editor_manager.cc calls test functions conditionally
if(APPLE)
target_link_options(yaze_editor PUBLIC
"LINKER:-force_load,$<TARGET_FILE:yaze_test_support>")
target_link_libraries(yaze_editor PUBLIC yaze_test_support)
elseif(UNIX)
target_link_libraries(yaze_editor PUBLIC
-Wl,--whole-archive yaze_test_support -Wl,--no-whole-archive)
else()
# Windows: Normal linking (no whole-archive needed, symbols resolve correctly)
target_link_libraries(yaze_editor PUBLIC yaze_test_support)
endif()
message(STATUS "✓ yaze_editor linked to yaze_test_support")
endif()
endif()
# Conditionally link gRPC if enabled
if(YAZE_WITH_GRPC)
target_link_libraries(yaze_editor PRIVATE
grpc++
grpc++_reflection
)
if(YAZE_PROTOBUF_TARGETS)
target_link_libraries(yaze_editor PRIVATE ${YAZE_PROTOBUF_TARGETS})
if(MSVC AND YAZE_PROTOBUF_WHOLEARCHIVE_TARGETS)
foreach(_yaze_proto_target IN LISTS YAZE_PROTOBUF_WHOLEARCHIVE_TARGETS)
target_link_options(yaze_editor PRIVATE /WHOLEARCHIVE:$<TARGET_FILE:${_yaze_proto_target}>)
endforeach()
endif()
endif()
target_link_libraries(yaze_editor PUBLIC yaze_grpc_support)
endif()
set_target_properties(yaze_editor PROPERTIES