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
fix(skills): resolve run log path from log_path field
Steven Enamakel3673cd670252
diff --git a/crates/openhuman-core/src/skills/run_log.rs b/crates/openhuman-core/src/skills/run_log.rsindex 7f28fb818f..4eabfe8dc0 100644--- a/crates/openhuman-core/src/skills/run_log.rs+++ b/crates/openhuman-core/src/skills/run_log.rs@@ -98,7 +98,7 @@ pub fn find_run_log_path(workspace: &Path, run_id: &str) -> Option<PathBuf> {scan_runs(workspace, None, usize::MAX).into_iter().find(|run| run.run_id == run_id)- .map(|run| PathBuf::from(run.stream_id))+ .map(|run| PathBuf::from(run.log_path))}/// Read the full terminal outcome for a persisted run stream.@@ -165,7 +165,7 @@ pub fn read_run_log_slice(offset: u64,max_bytes: usize,) -> io::Result<RunLogSlice> {- let id = stream_id(path).map_err(io_error)?;+ let id = stream_id(path).map_err(io_error)?.to_owned();let store = run_log_store(workspace).map_err(io_error)?;crate::storage::block_on(async move {storediff --git a/crates/openhuman-core/src/skills/run_log_tests.rs b/crates/openhuman-core/src/skills/run_log_tests.rsindex 85fddb63d4..e912ff2c77 100644--- a/crates/openhuman-core/src/skills/run_log_tests.rs+++ b/crates/openhuman-core/src/skills/run_log_tests.rs@@ -100,6 +100,7 @@ async fn host_written_log_parses_like_legacy_layout() {let runs = scan_runs(tmp.path(), Some("triage-inbox"), 10);assert_eq!(runs.len(), 1);assert_eq!(runs[0].run_id, "run-abcdef123456");+ assert_eq!(find_run_log_path(tmp.path(), "run-abcdef123456"), Some(path.clone()));assert_eq!(runs[0].status, "DONE");assert_eq!(runs[0].duration_ms, Some(42));assert_eq!(