Feature hasn't been suggested before
Describe the enhancement you want to request
Current behavior: Clicking the close button (X) in the Desktop app immediately terminates the application with no confirmation prompt. This means:
- Accidental clicks cause immediate session loss
- Long-running Agent tasks are interrupted without warning
- No way to keep opencode running in the background while switching to other applications
Suggested improvements:
Option A — Close confirmation dialog:
Add a confirmation prompt before closing (e.g., a dialog asking the user to confirm closure). This prevents accidental closure.
Option B — Minimize to system tray:
When the user clicks close, minimize the application to the system tray instead of terminating it. This would allow:
- Long-running Agent tasks to continue in the background
- Users to quickly restore the window via the tray icon
- A common pattern used by many desktop applications (Slack, Discord, VS Code, etc.)
Both options could coexist as a configurable preference in settings.
Environment:
- OS: Windows 11 (Build 26200, 25H2)
- opencode Desktop: v1.14.50
Feature hasn't been suggested before
Describe the enhancement you want to request
Current behavior: Clicking the close button (X) in the Desktop app immediately terminates the application with no confirmation prompt. This means:
Suggested improvements:
Option A — Close confirmation dialog:
Add a confirmation prompt before closing (e.g., a dialog asking the user to confirm closure). This prevents accidental closure.
Option B — Minimize to system tray:
When the user clicks close, minimize the application to the system tray instead of terminating it. This would allow:
Both options could coexist as a configurable preference in settings.
Environment: