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(tinyagents): remove unused new_input_screened flag
Steven Enamakelaebe46be784b
diff --git a/crates/openhuman-core/src/agent/session_host/driver.rs b/crates/openhuman-core/src/agent/session_host/driver.rsindex 40d455d75a..26753c9b9a 100644--- a/crates/openhuman-core/src/agent/session_host/driver.rs+++ b/crates/openhuman-core/src/agent/session_host/driver.rs@@ -123,7 +123,6 @@ impl SessionDriver<OpenHumanRunContext> for OpenHumanSessionDriver {outcome: None,});}- context_mw.new_input_screened = screened_input;// The harness drops its `AgentRun` on an error. Snapshot the exact// request boundary before assembling the graph so the error path can// persist only provider-accepted rounds, plus a display-only failurediff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rsindex b42c798fb8..610d719b72 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs@@ -289,7 +289,6 @@ impl OpenHumanSessionHost {autocompact_enabled,compaction,transcript_snapshot: None,- new_input_screened: false,};let driver = Arc::new(OpenHumanSessionDriver::new(self.turn_model_source.clone(),diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/turn_context.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/turn_context.rsindex c32ab14232..6ecb42aa99 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/turn_context.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/turn_context.rs@@ -61,9 +61,6 @@ pub(crate) struct TurnContextMiddleware {/// partial transcript on `Err`). Set by the sub-agent path and by the/// top-level chat turn (#6281); `None` on the channel path.pub(crate) transcript_snapshot: Option<TranscriptSnapshotSink>,- /// The session driver screened the new input before its early-return- /// snapshot boundary.- pub(crate) new_input_screened: bool,}/// What a [`TranscriptSnapshotMiddleware`] has seen of a live run.@@ -366,7 +363,6 @@ impl TurnContextMiddleware {autocompact_enabled: true,compaction: Default::default(),transcript_snapshot: None,- new_input_screened: false,}}diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs b/crates/openhuman-core/src/agent/tinyagents/turn_exec.rsindex 61e66fc80e..7816f2646e 100644--- a/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs+++ b/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs@@ -306,7 +306,6 @@ async fn drive_turn(// steers from moving the boundary and truncating persisted history on both// the parent (`session/turn/core.rs`) and subagent (`subagent_host`) paths.let request_base_len = input.len();- let screened_input = context_mw.new_input_screened;// Build the run context: an event sink feeds the progress/cost bridge, the// journal and the cap pauser; the driver's steering handle carries@@ -646,11 +645,7 @@ async fn drive_turn(AgentTurnRequest::new(agent_id, parts.history),parts.run_context,)- .with_replayed_prefix(if screened_input {- request_base_len- } else {- request_base_len.saturating_sub(1)- }) // #6710: the new row was screened at the session persistence boundary+ .with_replayed_prefix(request_base_len.saturating_sub(1)).with_runtime(InvocationRuntime::new(parts.harness));let state = ();// Both surfaces return the harness's typed `HostedError`, so a timeout,