Create and manage persistent interactive PTY sessions for long-running processes. Enables background execution, session persistence, and reconnection capabilities for continuous operations.

**!! CRITICAL WARNING: PERSISTENT BACKGROUND SESSIONS !!**

Key capabilities:
- Persistent session creation
- Background process management
- Session reconnection
- Multi-session support
- State preservation

Usage scenarios:
- Long-running services (web servers, databases)
- Continuous monitoring (log tailing, system monitoring)
- Interactive development environments
- Remote session management
- Daemon-like processes running persistently

Parameters:
- command (required): Initial command to run in session
- sessionName (optional): Unique identifier for session
- cols/rows (optional): Terminal dimensions
- autoClose (optional): Auto-close session when idle (default: false)

Session management features:
- Create persistent sessions that continue running
- Reconnect to existing sessions
- Monitor session status and output
- Manage multiple concurrent sessions
- Graceful session termination

**!! ABSOLUTELY CRITICAL RESOURCE MANAGEMENT !!**

**WARNING**: Sessions run PERSISTENTLY in background until EXPLICITLY terminated!

**MANDATORY CLEANUP PROCEDURES**:
1. **MUST use pty_manage** tool for ALL session cleanup operations
2. **UNUSED sessions CONTINUE consuming system resources indefinitely**
3. **Sessions do not automatically terminate** - they run indefinitely until explicitly closed
4. **REGULAR monitoring required**: pty_manage { "action": "list" }
5. **IMMEDIATE termination**: pty_manage { "action": "close", "sessionId": "id" }
6. **FAILURE to clean up WILL lead to SYSTEM RESOURCE EXHAUSTION**
7. **SECURITY RISK**: Uncleaned sessions provide persistent system access

**RESOURCE CONSUMPTION IMPACT**:
- CPU cycles for active processes
- Memory allocation for session buffers
- File descriptors for terminal I/O
- Network connections (if applicable)
- System limits may be reached causing crashes

Security: Requires authorization for session creation and management.
