plano/crates/brightstaff
Spherrrical 3c58185389 fix(claude-cli): correct streaming SSE for non-MessageStart first events
- The synthetic message_start path only fired when the very first
  observed event was a Result. If the CLI ever emitted (say) a bare
  ContentBlockStart first, we'd ship malformed Anthropic SSE without a
  preceding message_start. Trigger the synthesis on any first
  stream-advancing event that isn't a MessageStart.
- Make every send-to-client branch consistent: break out of the loop
  when the receiver has gone away (mpsc send returned Err), so we don't
  keep generating events for a vanished client.
- Replace serde_json::to_string(...).unwrap() in the streaming error
  path with the same fallback json_response already uses ("{}" on
  serialize failure). No more panic surface in the streaming worker.
- Drop the dead `_touch_stream_module` placeholder and its unused
  `use futures::stream` import.
2026-05-04 13:35:48 -07:00
..
src fix(claude-cli): correct streaming SSE for non-MessageStart first events 2026-05-04 13:35:48 -07:00
tests feat(claude-cli): add local Claude Code CLI provider bridge 2026-05-04 12:57:53 -07:00
Cargo.toml refactor(claude-cli): make session bookkeeping sync, drop lock-across-await 2026-05-04 13:35:11 -07:00