fix(core) serialize shell_command (#6744)

## Summary
Ensures we're serializing calls to `shell_command`

## Testing
- [x] Added unit test
This commit is contained in:
Dylan Hurd
2025-11-16 23:16:51 -08:00
committed by GitHub
parent 5860481bc4
commit 497fb4a19c
3 changed files with 55 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ impl ToolCallRuntime {
fn abort_message(call: &ToolCall, secs: f32) -> String {
match call.tool_name.as_str() {
"shell" | "container.exec" | "local_shell" | "unified_exec" => {
"shell" | "container.exec" | "local_shell" | "shell_command" | "unified_exec" => {
format!("Wall time: {secs:.1} seconds\naborted by user")
}
_ => format!("aborted by user after {secs:.1}s"),