bash_actions

Function bash_actions 

Source
pub fn bash_actions(turn: &Value) -> Vec<String>
Expand description

2026-09-26: Normalized bash executables from a turn’s tool calls (upstream _bash_actions): only function.name == "bash" calls count; arguments may be an object or a JSON string (malformed JSON skips that call); command is preferred over cmd with Python truthiness (an empty command falls through). Per command: quoted spans stripped, split on || / | / && / ; / newline, leading env assignments and shell wrappers dropped, executable basenamed, lowercased, version-suffix-stripped and mapped through the alias table.