Skip to content

Conversation

dedrisian-oai
Copy link
Collaborator

We can now see tool calls in the transcript as they stream in.

Flushes active cell, but it's probably the simplest fix for this situation.

@dedrisian-oai dedrisian-oai changed the base branch from main to daniel/fix-transcript-lines-tab-char October 8, 2025 03:48
Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

Comment on lines 823 to +863

pub(crate) fn handle_mcp_begin_now(&mut self, ev: McpToolCallBeginEvent) {
self.flush_answer_stream_with_separator();
if self.transcript_mode_active {
// In transcript mode, don't create an active cell; history will be
// emitted on the corresponding end event.
self.request_redraw();
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Running tool calls disappear after leaving transcript mode

While transcript_mode_active is true, handle_exec_begin_now (and the analogous MCP handler) returns before creating an active_cell. When the user closes the transcript overlay, close_transcript_overlay only flips the flag back to false; it never reconstructs an active cell for any command that began during transcript mode. As a result, if a tool call starts while the transcript overlay is open and the user exits the overlay before the call finishes, the main view has no active cell showing that the tool is still running (and thus no way to monitor or cancel it) until the end event finally inserts a completed history cell. Consider either continuing to track those calls in an active cell or recreating one when transcript mode is disabled so running work remains visible in the normal UI.

Useful? React with 👍 / 👎.

Base automatically changed from daniel/fix-transcript-lines-tab-char to main October 8, 2025 18:42
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