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
refactor(artifacts): adjust path imports in artifact wiring
Steven Enamakel7c0c30b02268
diff --git a/crates/openhuman-core/src/artifacts/artifact_wiring.rs b/crates/openhuman-core/src/artifacts/artifact_wiring.rsindex e03dc479ef..4c5fac7299 100644--- a/crates/openhuman-core/src/artifacts/artifact_wiring.rs+++ b/crates/openhuman-core/src/artifacts/artifact_wiring.rs@@ -11,10 +11,10 @@//! `<workspace>/artifacts/tool-results` on read; that directory is a cache the//! sweep below keeps bounded.-use std::path::Path;use crate::agent::harness::tool_result_artifacts::{new_tool_result_store, HostArtifactStore};use crate::security::policy::tool_result_artifacts_dir;use crate::storage::sessions::artifact_blobs_for;+use std::path::Path;/// How long a tool-result artifact survives: the blob lifetime handed to/// drivers with blob TTL, and the age past which another session'sdiff --git a/crates/openhuman-core/src/artifacts/artifact_wiring_tests.rs b/crates/openhuman-core/src/artifacts/artifact_wiring_tests.rsindex 874bce1c15..16869c3b64 100644--- a/crates/openhuman-core/src/artifacts/artifact_wiring_tests.rs+++ b/crates/openhuman-core/src/artifacts/artifact_wiring_tests.rs@@ -63,7 +63,8 @@ async fn the_store_materialises_in_the_workspace_not_the_action_dir() {async fn a_stored_result_survives_a_session_reload() {let tmp = tempfile::tempdir().unwrap();let workspace = tmp.path().join("workspace");- let first = build_artifact_store(&workspace, "thread-1").expect("workspace backend is available");+ let first =+ build_artifact_store(&workspace, "thread-1").expect("workspace backend is available");let raw = "z".repeat(4096);let (out, outcome) =apply_per_result_persistence(raw, None, Some(&first), "shell", Some("call-1"), 1024).await;@@ -74,7 +75,8 @@ async fn a_stored_result_survives_a_session_reload() {"{key}");- let reloaded = build_artifact_store(&workspace, "thread-1").expect("workspace backend is available");+ let reloaded =+ build_artifact_store(&workspace, "thread-1").expect("workspace backend is available");let mut args = json!({"path": key});reloaded.resolve_read(