Skip to content

fix(opencode): include partial bash output on abort#13810

Closed
jakvbs wants to merge 1 commit into
anomalyco:devfrom
jakvbs:fix/13809-bash-abort-partial-output
Closed

fix(opencode): include partial bash output on abort#13810
jakvbs wants to merge 1 commit into
anomalyco:devfrom
jakvbs:fix/13809-bash-abort-partial-output

Conversation

@jakvbs

@jakvbs jakvbs commented Feb 16, 2026

Copy link
Copy Markdown

Summary

  • Include bounded partial bash output in tool error text when execution is aborted, so the model can reason from already-produced logs.
  • Keep existing behavior unchanged for non-bash tools and non-abort errors.
  • Add tests for both normal partial output and whitespace-only partial output on abort.

Fixes #13809

Verification

  • bun test test/session/message-v2.test.ts
  • bun run typecheck

@github-actions

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Apr 18, 2026
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.

[FEATURE]: Preserve partial bash output for the model after abort

1 participant