opencode/packages
Dax Raad 5184607bac 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
2025-11-03 23:35:15 -05:00
..
console release: v1.0.19 2025-11-04 04:01:22 +00:00
desktop release: v1.0.19 2025-11-04 04:01:22 +00:00
function release: v1.0.19 2025-11-04 04:01:22 +00:00
identity docs: identity 2025-08-05 19:36:10 -04:00
opencode fix: handle parsePatch errors in TUI to prevent crashes 2025-11-03 23:35:15 -05:00
plugin release: v1.0.19 2025-11-04 04:01:22 +00:00
script zen: wip 2025-11-03 15:44:06 -05:00
sdk release: v1.0.19 2025-11-04 04:01:22 +00:00
slack release: v1.0.19 2025-11-04 04:01:22 +00:00
ui release: v1.0.19 2025-11-04 04:01:22 +00:00
web release: v1.0.19 2025-11-04 04:01:22 +00:00