opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: resolve critical bugs causing crashes and silent errors

Open Sumit4codes opened this issue 1 month ago • 0 comments

  • Add error handling for JSON.parse in RPC system to prevent worker crashes
  • Fix array bounds checking in websearch/codesearch tools
  • Add proper server shutdown handling in TUI worker
  • Replace empty catch blocks with proper error logging
  • Add bounds checking before array access in edit tools
  • Fix parseInt radix usage in snapshot and storage modules

These fixes prevent application crashes from malformed input and improve error visibility.

Sumit4codes avatar Dec 13 '25 10:12 Sumit4codes