44424fdeb1
- Added session-based shell execution with persistent shell instances and session management via sessionKey parameter. - Added support for shell snapshots to initialize bash sessions with saved state via snapshotPath parameter. - Added sessionEnv option to set environment variables once per session, separate from command-specific env variables. - Added process group management functions (process_group_id and kill_process_group) for better process lifecycle control on Linux, macOS, and Windows. - Changed env option to apply variables for the current command only, with session-level variables now managed via sessionEnv. - Refactored shell execution to use async output queuing with enqueueChunk for proper chunk sequencing and improved timeout handling with process group termination.