cloudaxe-opencode/packages/opencode/src
Dax Raad c103052f93 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:36:04 -05:00
..
acp make /init a default slash command on server side (#3677) 2025-11-01 01:14:09 -05:00
agent chore: cleanup versioned zod imports (#3460) 2025-10-26 14:50:41 -05:00
auth chore: delete unused file 2025-10-27 15:44:12 -05:00
bun OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
bus chore: cleanup versioned zod imports (#3460) 2025-10-26 14:50:41 -05:00
cli fix: handle parsePatch errors in TUI to prevent crashes 2025-11-03 23:36:04 -05:00
command make /init a default slash command on server side (#3677) 2025-11-01 01:14:09 -05:00
config add back child session cycle 2025-11-02 18:26:38 -05:00
file tui: add copy last assistant message to session menu 2025-11-03 16:47:18 -05:00
flag add OPENCODE_CONFIG_DIR to allow loading a custom config directory (#3504) 2025-10-28 11:50:09 -05:00
format Add formatter status display to TUI status dialog (#3701) 2025-11-01 11:14:39 -04:00
global OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
id chore: cleanup versioned zod imports (#3460) 2025-10-26 14:50:41 -05:00
ide chore: cleanup versioned zod imports (#3460) 2025-10-26 14:50:41 -05:00
installation autoupgrade latest major only 2025-10-29 11:53:25 -04:00
lsp OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
mcp fix: better mcp sanitization (#3842) 2025-11-03 15:19:49 -06:00
patch core: make patch tool more reliable and consistent with other editing tools 2025-10-01 06:45:43 -04:00
permission OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
plugin OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
project fix duplicate plugin subscriptions 2025-11-02 13:22:58 -05:00
provider tweak: filter out deprecated models 2025-10-31 10:48:51 -05:00
server fix dirs query param 2025-11-03 16:35:55 -05:00
session fix modified files being empty 2025-11-01 11:48:47 -04:00
share ci: test 2025-10-14 14:56:21 -04:00
snapshot chore: cleanup versioned zod imports (#3460) 2025-10-26 14:50:41 -05:00
storage fix failing migration 2025-10-24 09:20:15 -04:00
tool fix: Provide OPENCODE & AGENT env vars (#3843) 2025-11-04 04:01:22 +00:00
util core: prevent TypeError when error handling encounters non-object errors 2025-11-02 23:38:56 -06:00
index.ts fix: Provide OPENCODE & AGENT env vars (#3843) 2025-11-04 04:01:22 +00:00