summaryrefslogtreecommitdiffhomepage
path: root/packages/console/function/package.json
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-11-03 23:35:15 -0500
committerDax Raad <[email protected]>2025-11-03 23:36:04 -0500
commitc103052f937362c6a01aee896c0e37e886f8f467 (patch)
treea91ca285a1107b1aed6906659bca297b23a8bbac /packages/console/function/package.json
parent68039d4c71934c75381fe4f7708760cad7d8b569 (diff)
downloadopencode-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 'packages/console/function/package.json')
0 files changed, 0 insertions, 0 deletions