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
use super::*;
use std::path::PathBuf;
#[test]
fn skips_only_files_named_after_a_disabled_library() {
let skip = vec!["libtinysearch".to_string(), "tinysearch".to_string()];
assert!(is_skipped(&PathBuf::from("/x/libtinysearch.so"), &skip));
assert!(is_skipped(&PathBuf::from("/x/tinysearch.dll"), &skip));
assert!(!is_skipped(&PathBuf::from("/x/libtinydocs.so"), &skip));
}
#[test]
fn recognizes_source_and_release_artifacts_for_configured_modules() {
let stems = configured_module_lib_stems();
for artifact in [
"/modules/libtinymcp.so",
"/modules/libtinymcp_module.so",
"/modules/tinymcp_module.dll",
] {
let path = PathBuf::from(artifact);
assert!(is_skipped(&path, &stems));
assert_eq!(module_id_for_artifact(&path), Some("tinymcp"));
}
for artifact in [
"/modules/libtinyeventqueues.so",
"/modules/libtinyeventqueues_module.so",
"/modules/tinyeventqueues_module.dll",
] {
let path = PathBuf::from(artifact);
assert!(is_skipped(&path, &stems));
assert_eq!(module_id_for_artifact(&path), Some("tinyeventqueues"));
}
}