mirror of
https://github.com/stablyai/orca.git
synced 2026-10-12 16:03:03 +00:00
When macOS re-activates the app after all windows are closed, `createWindow()` is called again but IPC handlers from the previous window were still registered, causing duplicate handler errors and crashes. This fix removes stale handlers before re-registering them in pty, repos, and worktrees modules, and ensures repo/worktree handlers + auto-updater are also set up on activate. Includes minor lint/style cleanups across the codebase. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>