fix: prevent silent SSE stream hangs, add Bash alias, debug logging

- Actor: use lifecycle::cancel() instead of handle.cancel() on channel
  close and Abort, ensuring end-stream frame is always emitted
- Lifecycle: use match instead of ? on encode_error_end_stream with
  fallback end-stream frame to prevent silent hangs
- Dispatch: add Bash tool alias for Shell
- Context/Blob sync: increase timeouts from 15s to 60s
- Providers: add detailed debug logging to openai_chat and router
This commit is contained in:
joel01-dev committed 2026-08-28 00:47:53 -03:00
1 parent c4031d4074
commit 80604bdf97
8 files changed
+193 -192

No files matched your search

+2 -2
View File
@@ -58,14 +58,14 @@ impl CursorActor {
let command = match receiver.recv().await {
Some(command) => command,
None => {
handle.cancel();
lifecycle::cancel(&handle).ok();
break;
}
};
match command {
CursorCommand::Abort => {
handle.mark_conversation_cancelled();
handle.cancel();
lifecycle::cancel(&handle).ok();
}
CursorCommand::Finished => {
break;