check_command_safety
- command (str): The command string to check
- allowed_commands (Optional[Set[str]]): Set of allowed commands (whitelist mode)
sanitize_command
- command (str): The command to sanitize
- use_docker_backend (bool): Whether using Docker backend
- safe_mode (bool): Whether to apply security checks
- working_dir (Optional[str]): Working directory for path validation
- allowed_commands (Optional[Set[str]]): Set of allowed commands
is_uv_environment
ensure_uv_available
- update_callback: Optional callback function to receive status updates
setup_initial_env_with_uv
setup_initial_env_with_venv
clone_current_environment
- env_path: Path where the new environment will be created.
- working_dir: Working directory for subprocess commands.
- update_callback: Optional callback for status updates.