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
chore(core): move tinybox-core to dev-dependencies
Steven Enamakel6126e2ba7a3c
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.tomlindex 442b4a488c..034649f17c 100644--- a/crates/openhuman-core/Cargo.toml+++ b/crates/openhuman-core/Cargo.toml@@ -141,9 +141,6 @@ tinybox-jail = { path = "../../vendor/tinybox/crates/tinybox-jail" }# One-shot `docker run --rm` execution for the Docker sandbox; OpenHuman keeps# only the policy mapping (`sandbox::docker`).tinybox-docker = { path = "../../vendor/tinybox/crates/tinybox-docker" }-# Quote-aware shell command-string scanners (`tinybox_core::shell::scan`); the-# classification policy built on them stays in `security::policy`.-tinybox-core = { path = "../../vendor/tinybox/crates/tinybox-core" }tinybox-bus = { path = "../../vendor/tinybox/crates/tinybox-bus", optional = true }tinyagents-definition = { path = "../../vendor/tinyagents/crates/tinyagents-definition" }# Live (realtime voice) agent sessions: `tinyagents-live` runs a@@ -557,6 +554,7 @@ windows-sys = { version = "0.61", features = [tokio-tungstenite = { version = "0.29", default-features = false, features = ["connect", "handshake", "rustls-tls-webpki-roots"] }[dev-dependencies]+tinybox-core = { path = "../../vendor/tinybox/crates/tinybox-core" }# The TinyMemory reference engine (an in-memory `MemoryEngine`) and the# behavioural suite every engine must pass. Memory unit tests bind it as the# engine instead of talking to CortexDB.diff --git a/crates/openhuman-core/src/security/policy/command_checks.rs b/crates/openhuman-core/src/security/policy/command_checks.rsindex 770f92d061..467b51ba70 100644--- a/crates/openhuman-core/src/security/policy/command_checks.rs+++ b/crates/openhuman-core/src/security/policy/command_checks.rs@@ -1,13 +1,19 @@-use crate::util::floor_char_boundary;use std::path::{Path, PathBuf};use super::types::{- AutonomyLevel, CommandClass, CommandRiskLevel, GateDecision, SecurityPolicy,- POLICY_BLOCKED_MARKER,+ AutonomyLevel, CommandClass, GateDecision, SecurityPolicy, POLICY_BLOCKED_MARKER,};+#[cfg(test)]+use crate::util::floor_char_boundary;+#[cfg(test)]+use super::types::CommandRiskLevel;+#[cfg(test)]use tinybox_core::shell::classify::{classify_segment, has_hidden_execution};+#[cfg(test)]use tinybox_core::shell::env_guard::has_dangerous_env_prefix;+#[cfg(test)]use tinybox_core::shell::executor::is_command_executor;+#[cfg(test)]use tinybox_core::shell::scan::{command_basename, contains_unquoted_char, contains_unquoted_single_ampersand,has_leading_env_assignment, normalized_command_name, skip_env_assignments,