feat: add energy-aware scheduling and daily insights

- Learn a per-device 7x24 energy profile from completed tasks\n- Constrain high-energy scheduling and expose energy peaks to AI\n- Add ghost-time overlays, daily review dialog, and proactive suggestions\n- Cover energy/insights logic and local OpenAI-compatible providers with tests\n- Update validation docs and screenshots
This commit is contained in:
Misaki
2026-10-26 19:08:09 +08:00
parent 555371a4e0
commit 9bafa71667
42 changed files with 1588 additions and 47 deletions
+5 -1
View File
@@ -26,6 +26,10 @@ add_executable(test_scheduler test_scheduler.cpp)
target_link_libraries(test_scheduler PRIVATE schedule_core Qt6::Test schedule_warnings)
add_test(NAME scheduler COMMAND test_scheduler)
add_executable(test_energy test_energy.cpp)
target_link_libraries(test_energy PRIVATE schedule_core Qt6::Test schedule_warnings)
add_test(NAME energy COMMAND test_energy)
add_executable(test_ai test_ai.cpp)
target_link_libraries(test_ai PRIVATE schedule_ai Qt6::Test schedule_warnings)
add_test(NAME ai COMMAND test_ai)
@@ -47,7 +51,7 @@ endif()
if(WIN32)
set_target_properties(
test_storage test_services test_grid test_mainwindow test_compactwindow
test_config test_scheduler test_ai test_openai_provider test_sync_integration
test_config test_scheduler test_energy test_ai test_openai_provider test_sync_integration
PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
)
endif()