Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

build(deps): update harness tools features

Steven Enamakel3e5d801fdb22
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.toml
index 6b525fef22..3e39e46eff 100644
--- a/crates/openhuman-core/Cargo.toml
+++ b/crates/openhuman-core/Cargo.toml
@@ -142,7 +142,7 @@ tinyflows-import = { path = "../../vendor/tinyflows/crates/tinyflows-import", de
# below as its own path dependency for the same "one checkout, one type
# identity" reason `tinytools` is.
tinyagents-hooks = { workspace = true, features = ["goals"] }
-tinyagents-harness-tools = { workspace = true, features = ["goals", "todos"] }
+tinyagents-harness-tools = { workspace = true, features = ["goals", "todos", "skills", "subagents"] }
tinyagents-harness = { path = "../../vendor/tinyagents/crates/tinyagents-harness", features = [
"sqlite",
"multimodal",
diff --git a/crates/openhuman-core/src/artifacts/tiny_store_tests.rs b/crates/openhuman-core/src/artifacts/tiny_store_tests.rs
index 720712395a..56b165b1b8 100644
--- a/crates/openhuman-core/src/artifacts/tiny_store_tests.rs
+++ b/crates/openhuman-core/src/artifacts/tiny_store_tests.rs
@@ -65,6 +65,25 @@ async fn legacy_path_refs_are_guarded_and_imported_as_opaque_file_keys() {
assert_eq!(file.key, "artifacts/files/a-legacy/v1.txt");
assert_ne!(file.key, source.display().to_string());
assert_eq!(blobs.read(&file.key).await.unwrap(), b"legacy bytes");
+
+ let outside = dir.path().join("outside.txt");
+ std::fs::write(&outside, "must stay outside").unwrap();
+ let mut blocked_version = ArtifactVersion::new(
+ 1,
+ outside.display().to_string(),
+ ArtifactAuthor::Agent,
+ "agent",
+ 1,
+ );
+ blocked_version.file = Some(FileRef {
+ key: outside.display().to_string(),
+ size_bytes: 17,
+ media_type: None,
+ });
+ let mut blocked = ArtifactRecord::pending("a-outside", "Outside", ArtifactKind::File, 1);
+ blocked.versions.push(blocked_version);
+ records.upsert(&blocked).await.unwrap();
+ assert!(importing.get("a-outside").await.is_err());
}
#[tokio::test]