Skip to content

Conversation

@shantur
Copy link
Contributor

@shantur shantur commented Dec 23, 2025

This allows model to access the complete output without retrying the commands. The files are cleared automatically after 7 days

…t exceeds the limit.

This allows model to access the complete output without retrying the commands. The files are cleaned after 7 days

export const log = Log.create({ service: "bash-tool" })

const outputDir = () => path.join(Instance.directory, ".opencode", "bashOutputs")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's ugly to have potentially large tempfiles live in $HOME.

I did this in a different way in #8953 which also has other features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants