HF RL Explorer

fix(command history): Lua crash + empty lines in picker

fix(command history): Lua crash + empty lines in picker: a task in github-trending-environments-10k (Harbor dataset). Title: fix(command history): Lua crash + empty lines in picker

The task

**Title:** fix(command_history): Lua crash + empty lines in picker

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