Summary
Clicking the window close button (X) immediately terminates the desktop app without a confirmation prompt. If an agent run is active, the app exits immediately and aborts the ongoing work.
Problem
Accidental clicks on the close button kill running agent sessions in Codex and other providers. This causes the agent to stop the work and requires starting it again.
Proposed solution
Show a confirmation dialog before closing the window when an agent task is active:
- Warn that an active agent run will be stopped.
- Provide options to cancel or proceed with closing.
- Optionally add a setting to toggle close confirmation behavior.
Environment
- OS: Windows 11
- App: T3 Code Nightly (v0.0.41-nightly.20260908.1387)
Summary
Clicking the window close button (
X) immediately terminates the desktop app without a confirmation prompt. If an agent run is active, the app exits immediately and aborts the ongoing work.Problem
Accidental clicks on the close button kill running agent sessions in Codex and other providers. This causes the agent to stop the work and requires starting it again.
Proposed solution
Show a confirmation dialog before closing the window when an agent task is active:
Environment