fix: add error handling and address review feedback

- Validate cwd is non-empty in shell:open-in-editor IPC handler
- Check shell.openPath() return value and throw on error
- Attach spawn error listener to prevent crashes from missing CLI
- Validate localStorage lastEditor against known EDITORS list
- Only call preventDefault() for Cmd+O when action will run

Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
84b71e0a01Cursor Agent committed on 2/9/2026, 5:23:09 AMparentc8f33b8
2 files changedLine totals unavailable