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