feat: add cleanup for orphaned MCP server processes on startup
- Implemented a new method `cleanupOrphanedProcesses` to identify and terminate orphaned `uvx` processes from previous sessions. - Integrated the cleanup method into the `start` process of the WorkerService to ensure a clean environment at startup. - Added logging for process cleanup actions and handled potential errors gracefully without failing the service startup.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user