diff options
| author | Dax Raad <[email protected]> | 2025-11-03 23:35:15 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-11-03 23:36:04 -0500 |
| commit | c103052f937362c6a01aee896c0e37e886f8f467 (patch) | |
| tree | a91ca285a1107b1aed6906659bca297b23a8bbac /github/package.json | |
| parent | 68039d4c71934c75381fe4f7708760cad7d8b569 (diff) | |
| download | opencode-c103052f937362c6a01aee896c0e37e886f8f467.tar.gz opencode-c103052f937362c6a01aee896c0e37e886f8f467.zip | |
fix: handle parsePatch errors in TUI to prevent crashes
Wrap parsePatch calls in try-catch blocks to gracefully handle malformed
diffs that can occur when undoing after tool_use/tool_result errors or
cancelled prompts. Prevents TUI from crashing with 'Added line count did not
match for hunk' error.
Fixes #3700
Diffstat (limited to 'github/package.json')
0 files changed, 0 insertions, 0 deletions
