mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-01 21:10:37 +01:00
557f85d25e
- 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.