Files
zed/crates/acp_thread
Ben Brandt 557f85d25e acp_thread: Fix missing and stale agent tool output (#64708)
- Fix raw-only tool creation displaying no output and successive
raw-output updates leaving stale text visible.
- Keep structured content separate from the cached raw-output fallback,
with one `content()` accessor shared by rendering, search, visibility
checks, and Markdown export.
- Reuse the fallback's Markdown entity across raw snapshots while
preserving existing formatting, permission handling, and native replay
sequencing.

## Display rule

Nonempty structured content takes precedence. When structured content is
empty, display the latest retained raw output. Clearing structured
content restores that fallback without requiring the agent to resend its
raw output.

Release Notes:

- Fixed missing or outdated output in agent tool results.
2026-09-24 12:44:11 +00:00
..