Skip to content

fix(acp): populate formatted_output for transcript viewer#378

Merged
CSRessel merged 2 commits intomainfrom
fix/acp-transcript-formatted-output
Mar 7, 2026
Merged

fix(acp): populate formatted_output for transcript viewer#378
CSRessel merged 2 commits intomainfrom
fix/acp-transcript-formatted-output

Conversation

@CSRessel
Copy link
Copy Markdown
Collaborator

@CSRessel CSRessel commented Mar 6, 2026

Summary

🤖 Generated with Nori

  • ACP tool call events were setting formatted_output to an empty string in ExecCommandEndEvent, causing tool outputs to appear blank in the transcript viewer (which reads formatted_output at tui/src/exec_cell/render.rs:222)
  • Set formatted_output = aggregated_output.clone() so the transcript viewer displays the same output shown inline
  • Added regression test assertions to verify formatted_output matches aggregated_output for ACP tool calls

Test Plan

  • cargo test -p codex-acp — all 16 tests pass
  • just fix -p codex-acp — clippy clean
  • Verify transcript viewer shows ACP tool outputs in the TUI

Share Nori with your team: https://www.npmjs.com/package/nori-ai

CSRessel and others added 2 commits March 6, 2026 17:54
ACP tool call events were setting formatted_output to an empty string
in ExecCommandEndEvent, causing tool outputs to appear blank in the
transcript viewer which reads from that field.
🤖 Generated with [Nori](https://usenori.ai)

Co-Authored-By: Nori <contact@tilework.tech>
@CSRessel CSRessel merged commit 216322a into main Mar 7, 2026
3 checks passed
@CSRessel CSRessel deleted the fix/acp-transcript-formatted-output branch March 7, 2026 06:25
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