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
test(security): extract secret parser type alias in schemas tests
Steven Enamakel98cb39b8f2a5
diff --git a/crates/openhuman-core/src/security/encryption/schemas_tests.rs b/crates/openhuman-core/src/security/encryption/schemas_tests.rsindex 6878e65de4..670e89f453 100644--- a/crates/openhuman-core/src/security/encryption/schemas_tests.rs+++ b/crates/openhuman-core/src/security/encryption/schemas_tests.rs@@ -53,7 +53,8 @@ pub(super) fn parameter_contracts() -> Vec<ControllerParamContract> {fn secret_parsers_preserve_strings_and_required_value_errors() {use serde_json::json;- let parsers: [(&str, fn(Map<String, Value>) -> Result<String, String>); 2] = [+ type SecretParser = fn(Map<String, Value>) -> Result<String, String>;+ let parsers: [(&str, SecretParser); 2] = [("plaintext", parse_encrypt_secret),("ciphertext", parse_decrypt_secret),];