HF RL Explorer

fix(agent): allow heredoc commands in the bash tool on posix hosts

fix(agent): allow heredoc commands in the bash tool on posix hosts: a task in github-trending-environments-10k (Harbor dataset). Title: fix(agent): allow heredoc commands in the bash tool on posix hosts

The task

**Title:** fix(agent): allow heredoc commands in the bash tool on posix hosts

Part of scalingX/github-trending-environments-10k.