Skip to content

OPENCODE: Tool-output spillover file with retention #422

@Hmbown

Description

@Hmbown

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv0.8.8Targeting v0.8.8

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions