Fix streaming and file IO edge cases

Repair streaming callback/error handling and make file/session handling safer so the core API behaves correctly under real usage.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-25 19:26:47 +08:00
parent c9fb924a1c
commit 16475ca3fe
7 changed files with 132 additions and 36 deletions

View File

@@ -9,4 +9,4 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_subdirectory(dstalk-core)
add_subdirectory(dstalk-cli)
# add_subdirectory(dstalk-gui) # 等 SDL3 Conan 包可用后启用
add_subdirectory(tests)
# add_subdirectory(tests) # TODO: 引入测试框架后启用