Found this bug while testing an Agent thread search patch for #39338.
Reproduction steps
- In a new Agent thread, send "Run
ls -al using the terminal tool."
- Restart Zed
- Find the thread started above
- Notice the
ls output is gone
Current vs. Expected behavior
Current: tool output is not rendered at all. Tool blocks don't have the expand/collapse controls.
Expected: since tool output is persisted in threads.db, and is output via agent::open active thread as markdown, tool blocks could be restored.
Zed version
Zed Dev 1.4.0
Commit: 2a00db0
Version: 1.4.0+dev.2a00db06ce6d01089bfafd207b6348078e980df9
Found this bug while testing an Agent thread search patch for #39338.
Reproduction steps
ls -alusing the terminal tool."lsoutput is goneCurrent vs. Expected behavior
Current: tool output is not rendered at all. Tool blocks don't have the expand/collapse controls.
Expected: since tool output is persisted in
threads.db, and is output viaagent::open active thread as markdown, tool blocks could be restored.Zed version
Zed Dev 1.4.0
Commit: 2a00db0
Version: 1.4.0+dev.2a00db06ce6d01089bfafd207b6348078e980df9