The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
style(security): reformat command executor match expression
Steven Enamakelee673b54684c
diff --git a/crates/openhuman-core/src/security/policy/command_checks.rs b/crates/openhuman-core/src/security/policy/command_checks.rsindex fa04ead045..60663023f1 100644--- a/crates/openhuman-core/src/security/policy/command_checks.rs+++ b/crates/openhuman-core/src/security/policy/command_checks.rs@@ -102,22 +102,23 @@ fn is_command_executor(command: &str) -> bool {.chars().all(|character| character.is_ascii_digit() || character == '.')});- python_executor || matches!(- command,- "sh" | "bash"- | "zsh"- | "fish"- | "python"- | "python2"- | "node"- | "ruby"- | "perl"- | "php"- | "lua"- | "awk"- | "xargs"- | "env"- )+ python_executor+ || matches!(+ command,+ "sh" | "bash"+ | "zsh"+ | "fish"+ | "python"+ | "python2"+ | "node"+ | "ruby"+ | "perl"+ | "php"+ | "lua"+ | "awk"+ | "xargs"+ | "env"+ )}impl SecurityPolicy {