Files
zmo-cli/packages/opencode
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
..
2025-07-03 21:36:09 -04:00
2025-08-05 12:01:48 -04:00
2025-10-31 15:07:36 -04:00
2025-11-04 04:01:22 +00:00
2025-10-31 15:07:36 -04:00
2025-05-30 20:48:36 -04:00
2025-09-29 14:17:53 -04:00
2025-10-14 18:30:32 -04:00

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.