feat(core) Add login to shell_command tool (#6846)

## Summary
Adds the `login` parameter to the `shell_command` tool - optional,
defaults to true.

## Testing
- [x] Tested locally
This commit is contained in:
Dylan Hurd
2025-12-05 11:03:25 -08:00
committed by GitHub
parent d08efb1743
commit a8cbbdbc6e
8 changed files with 288 additions and 2 deletions

View File

@@ -369,3 +369,15 @@ macro_rules! skip_if_no_network {
}
}};
}
#[macro_export]
macro_rules! skip_if_windows {
($return_value:expr $(,)?) => {{
if cfg!(target_os = "windows") {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
);
return $return_value;
}
}};
}