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

@@ -136,7 +136,7 @@ fn reserialize_shell_outputs(items: &mut [ResponseItem]) {
}
fn is_shell_tool_name(name: &str) -> bool {
matches!(name, "shell" | "container.exec")
matches!(name, "shell" | "container.exec" | "shell_command")
}
#[derive(Deserialize)]