Summary
When tool output is truncated, write the full content to a retained file the model can later read.
Acceptance criteria
- Truncated outputs write to ~/.deepseek/tool_outputs/.txt.
- Metadata field exposes path.
- 7-day prune on startup.
Files
new crates/tui/src/tools/truncate.rs
Size
S
Source
Source tag: OPENCODE. Add exact upstream/opencode source links during implementation if they are not already known. Do not copy external code blindly; port the behavior into this repo's architecture.
Filed from 2026-05-02 v0.8.8 intake.
Summary
When tool output is truncated, write the full content to a retained file the model can later read.
Acceptance criteria
Files
new crates/tui/src/tools/truncate.rs
Size
S
Source
Source tag: OPENCODE. Add exact upstream/opencode source links during implementation if they are not already known. Do not copy external code blindly; port the behavior into this repo's architecture.
Filed from 2026-05-02 v0.8.8 intake.