MonoCode version
0.1.45
Operating system
Windows
OS version
Windows 11
Provider CLI
Multiple / not sure
What happened
On Windows, closing a MonoCode window quits the app and kills any agent still mid-turn. Minimising keeps them alive but leaves the window sitting on the taskbar, so there's no way to put the app out of the way and let work carry on in the background.
I think closing should hide to the system tray instead, with a setting to turn it off for anyone who wants close to mean close. Windows only, macOS already reopens from the dock, and I can't test Linux.
Already have working code for this so I'll link a PR below. Totally fine if you'd rather it done differently, or just not have it at all.
Steps to reproduce
- On Windows, start a turn in any provider so an agent is running
- Close the window with the X
- The app exits and the agent is killed, the only way to keep it running is to leave the window open on the taskbar
MonoCode version
0.1.45
Operating system
Windows
OS version
Windows 11
Provider CLI
Multiple / not sure
What happened
On Windows, closing a MonoCode window quits the app and kills any agent still mid-turn. Minimising keeps them alive but leaves the window sitting on the taskbar, so there's no way to put the app out of the way and let work carry on in the background.
I think closing should hide to the system tray instead, with a setting to turn it off for anyone who wants close to mean close. Windows only, macOS already reopens from the dock, and I can't test Linux.
Already have working code for this so I'll link a PR below. Totally fine if you'd rather it done differently, or just not have it at all.
Steps to reproduce