# Interactive REPL Session

Start and manage interactive REPL sessions (Python, Node.js, Bash) with intelligent prompt detection.

## Usage
```
/repl [language] [session-name]
```

## Description
Launches REPL-aware interactive sessions with:
- Automatic prompt detection (>>>, >, $)
- Bidirectional stdin/stdout communication
- Smart state tracking (waiting/running/finished)
- Early exit optimization (~200ms startup)

## Parameters
- `language`: REPL type (python, node, bash, zsh) - default: python
- `session-name`: Unique session identifier - default: auto-generated

## Workflow
1. Start REPL process with `start_process`
2. Wait for prompt detection
3. Enable interactive command execution via `interact_with_process`
4. Provide session management commands (list, switch, terminate)

## Tools Used
- `start_process` - Launch REPL with prompt detection
- `interact_with_process` - Execute commands interactively
- `read_process_output` - Check session state
- `force_terminate` - Clean session termination
- `list_sessions` - Show active REPLs
