Skip to content

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

feat(artifacts): add guarded roots to legacy ui bridge

Steven Enamakel0ab33d923714
diff --git a/crates/openhuman-core/src/artifacts/production.rs b/crates/openhuman-core/src/artifacts/production.rs
index 52904d8fc9..8eca4b4079 100644
--- a/crates/openhuman-core/src/artifacts/production.rs
+++ b/crates/openhuman-core/src/artifacts/production.rs
@@ -307,6 +307,7 @@ impl Production {
let bridge = super::tiny_store::LegacyUiBridge::new(
&self.workspace_dir,
self.files.clone(),
+ super::tiny_store::guarded_roots(self.files.trusted().to_vec()),
self.file_store.clone(),
self.chat.as_ref(),
&self.ctx,