fix(cli): align stream error handling after output-mode merge

Follow up on #1740/#1741 by typing terminal SSE errors in the SDK,
classifying them as server.error in the CLI/MCP, marking Projector done
on error frames, attaching session_id to MCP stream failures, and
migrating the e2e chat step to the bounded JSON envelope.
This commit is contained in:
wizardchen
2026-07-03 00:27:48 +08:00
committed by lyingbug
parent 9437e1ac3c
commit 1109e85a57
19 changed files with 260 additions and 35 deletions
+3
View File
@@ -45,6 +45,9 @@ CLI history before v0.3 is recorded in the project root
per-event `done:true` markers as completion of the whole run.
- Reference `knowledge_base_id`, `parent_chunk_id`, and `sub_chunk_id` fields
now survive SDK unmarshal.
- E2E chat step parses the bounded JSON envelope; MCP stream errors include
`session_id` in `error.detail`; terminal SSE errors classify as
`server.error` instead of `network.error` or `local.sse_stream_aborted`.
## [0.9.0] - 2026-06-10