Skip to content

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

fix(tinyagents): isolate detached run context session sidecar

Steven Enamakeldfe1e003f8dd
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs
index 2a0285b989..908312e7e3 100644
--- a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs
@@ -645,6 +645,9 @@ impl OpenHumanRunContext {
child.dispatch = None;
child.subagent_usage = Arc::new(Mutex::new(Vec::new()));
child.parent_subagent_usage = None;
+ // Detached work has its own terminal boundary; its typed refusal must
+ // never be mistaken for the interactive parent's failure.
+ child.session_sidecar = Arc::new(Mutex::new(SessionTurnSidecar::default()));
child.cancellation = tinyagents_harness::cancel::CancellationToken::new();
child
}
diff --git a/vendor/tinyagents b/vendor/tinyagents
index 4e9bf677a1..b0521a694f 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit 4e9bf677a18e459ea4c259585ddd7f4b9f621f70
+Subproject commit b0521a694ff77f398b1dcc09be369d76baf6039e