pub fn parse_shell_commands(script: &str) -> Result<Vec<Vec<String>>, String>
Parse a shell script into command/argument lists.
If tree-sitter parsing fails, falls back to simple tokenization.