Skip to content

Improve Copilot chat terminal, queue, and attachment handling#329

Closed
hendrikmennen wants to merge 3 commits into
mainfrom
fix/chat-terminal-queue-cancellation
Closed

Improve Copilot chat terminal, queue, and attachment handling#329
hendrikmennen wants to merge 3 commits into
mainfrom
fix/chat-terminal-queue-cancellation

Conversation

@hendrikmennen

@hendrikmennen hendrikmennen commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • recover missed AI terminal completion markers after the PTY reports that the shell is foreground
  • allow cancellation to interrupt or terminate stuck AI terminal commands without exposing stack traces
  • allow removal of the most recently queued chat message
  • clear queued messages before aborting and preserve retry controls when queue clearing fails
  • suppress late canceled queue activations from restarting the chat turn
  • attach clipboard images to Copilot chat through platform paste gestures while preserving text paste
  • retain transient image files until Copilot consumes queued messages, then clean them up

Testing

  • dotnet build studio/OneWare.Studio.Desktop/OneWare.Studio.Desktop.csproj -v minimal

hendrikmennen and others added 2 commits July 23, 2026 16:25
Prevent completed AI terminal commands from hanging when their invocation marker is missed. Add queued-message removal and clear pending messages before aborting a chat turn.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Convert clipboard bitmaps into transient PNG attachments while preserving normal platform text paste behavior and queued-message lifetimes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@hendrikmennen hendrikmennen changed the title Fix chat terminal and queue cancellation Improve Copilot chat terminal, queue, and attachment handling Jul 23, 2026
Probe the completion marker again after Unix reports the shell owns the PTY foreground and output has settled. Display canceled tools without an exception stack trace.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant