Skip to content

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

fix: align host with pinned vendor APIs

Steven Enamakel0eddf92ac33c
diff --git a/Cargo.lock b/Cargo.lock
index eef6fe423e..1e66b2593e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7113,19 +7113,19 @@ dependencies = [
[[package]]
name = "tinymemory-api"
-version = "1.23.1"
+version = "1.23.4"
dependencies = [
"async-trait",
"chrono",
"serde",
"serde_json",
- "sha2 0.10.9",
+ "sha2 0.11.0",
"thiserror 2.0.20",
]
[[package]]
name = "tinymemory-integrations"
-version = "1.23.1"
+version = "1.23.4"
dependencies = [
"async-trait",
"chrono",
@@ -7137,7 +7137,7 @@ dependencies = [
"schemars",
"serde",
"serde_json",
- "sha2 0.10.9",
+ "sha2 0.11.0",
"thiserror 2.0.20",
"tinymemory-api",
"tinymemory-tools",
@@ -7148,7 +7148,7 @@ dependencies = [
[[package]]
name = "tinymemory-tools"
-version = "1.23.1"
+version = "1.23.4"
dependencies = [
"chrono",
"futures",
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lock
index 6307a5eaa2..ee745f1f86 100644
--- a/crates/openhuman-app/Cargo.lock
+++ b/crates/openhuman-app/Cargo.lock
@@ -7814,19 +7814,19 @@ dependencies = [
[[package]]
name = "tinymemory-api"
-version = "1.23.1"
+version = "1.23.4"
dependencies = [
"async-trait",
"chrono",
"serde",
"serde_json",
- "sha2 0.10.9",
+ "sha2 0.11.0",
"thiserror 2.0.20",
]
[[package]]
name = "tinymemory-integrations"
-version = "1.23.1"
+version = "1.23.4"
dependencies = [
"async-trait",
"chrono",
@@ -7838,7 +7838,7 @@ dependencies = [
"schemars 1.2.2",
"serde",
"serde_json",
- "sha2 0.10.9",
+ "sha2 0.11.0",
"thiserror 2.0.20",
"tinymemory-api",
"tinymemory-tools",
@@ -7849,7 +7849,7 @@ dependencies = [
[[package]]
name = "tinymemory-tools"
-version = "1.23.1"
+version = "1.23.4"
dependencies = [
"chrono",
"futures",
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rs
index aa503584ed..f3b3c570ad 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs
@@ -1,5 +1,4 @@
-//! `OpenHumanSessionHost::from_config` factory methods and the internal
-//! `build_session_agent_inner` constructor.
+//! `OpenHumanSessionHost::from_config` factory methods and internal `build_session_agent_inner` constructor.
use super::dispatcher::{resolve_dispatcher_kind, DispatcherKind};
use super::should_synthesize_delegation_tools;
@@ -29,9 +28,8 @@ impl OpenHumanSessionHost {
/// Constructs an `OpenHumanSessionHost` instance from a global system configuration.
///
- /// Thin wrapper around [`OpenHumanSessionHost::from_config_for_agent`] that always
- /// targets the orchestrator definition. This preserves the legacy
- /// "main agent = orchestrator" behaviour for CLI / REPL / any caller
+ /// Thin wrapper around [`OpenHumanSessionHost::from_config_for_agent`] targeting the
+ /// orchestrator for legacy CLI / REPL callers.
/// that does not participate in the #525 onboarding-routing flow.
///
/// Callers that need to select a different agent at session-build
diff --git a/crates/openhuman-core/src/agent/session_store/mod.rs b/crates/openhuman-core/src/agent/session_store/mod.rs
index 5a2f574f88..beea34f1f9 100644
--- a/crates/openhuman-core/src/agent/session_store/mod.rs
+++ b/crates/openhuman-core/src/agent/session_store/mod.rs
@@ -67,9 +67,7 @@ pub fn clear() -> bool {
/// by the caller. This keeps a runtime from removing a replacement installed
/// by another owner after the runtime itself has been dropped.
pub fn clear_if(expected: &Arc<dyn SessionStoreProvider>) -> bool {
- let mut installed = PROVIDER
- .write()
- .unwrap_or_else(PoisonError::into_inner);
+ let mut installed = PROVIDER.write().unwrap_or_else(PoisonError::into_inner);
if installed
.as_ref()
.is_some_and(|current| Arc::ptr_eq(current, expected))
diff --git a/crates/openhuman-core/src/config/schema/types/config_clone.rs b/crates/openhuman-core/src/config/schema/types/config_clone.rs
index e54ecffbae..891f1f76c1 100644
--- a/crates/openhuman-core/src/config/schema/types/config_clone.rs
+++ b/crates/openhuman-core/src/config/schema/types/config_clone.rs
@@ -94,6 +94,7 @@ impl Clone for Config {
voice_providers: self.voice_providers.clone(),
stt_provider: self.stt_provider.clone(),
tts_provider: self.tts_provider.clone(),
+ voice_live: self.voice_live.clone(),
integrations: self.integrations.clone(),
update: self.update.clone(),
dictation: self.dictation.clone(),
diff --git a/crates/openhuman-core/src/core/runtime/context.rs b/crates/openhuman-core/src/core/runtime/context.rs
index a8d8981fe2..2e0c5ad58a 100644
--- a/crates/openhuman-core/src/core/runtime/context.rs
+++ b/crates/openhuman-core/src/core/runtime/context.rs
@@ -228,7 +228,7 @@ impl CoreContext {
// 2. Load the master encryption key before any config/credential op that
// needs to decrypt secrets. No-op if already called (e.g. from
// run_core_from_args for the CLI).
- crate::security::keyring::init_master_key().map_err(anyhow::Error::msg)?;
+ crate::security::keyring::init_master_key();
// 4. Seed the per-process RPC bearer. `Fixed` seeds the in-memory value
// directly (never touches the env); `EnvOrFile` reads
diff --git a/crates/openhuman-core/src/memory/brain.rs b/crates/openhuman-core/src/memory/brain.rs
index 563113e10a..a89ebc1c71 100644
--- a/crates/openhuman-core/src/memory/brain.rs
+++ b/crates/openhuman-core/src/memory/brain.rs
@@ -248,7 +248,12 @@ pub async fn ingest(config: &Config, params: BrainIngestParams) -> MemoryResult<
let ingested = brain(config)?
.ingest_with(document, WriteOptions::accepted())
.await?;
- jobs::enqueue(config, layout(config).root(), vec![ingested.job]).await;
+ jobs::enqueue(
+ config,
+ layout(config).root(),
+ ingested.job.into_iter().collect(),
+ )
+ .await;
tracing::debug!(source = %filed, replayed = ingested.receipt.replayed, "[memory:brain] ingested");
Ok(BrainIngestView {
id: ingested.receipt.id.to_string(),
diff --git a/crates/openhuman-core/src/memory/engine.rs b/crates/openhuman-core/src/memory/engine.rs
index e0820c358a..79df2b72b7 100644
--- a/crates/openhuman-core/src/memory/engine.rs
+++ b/crates/openhuman-core/src/memory/engine.rs
@@ -254,6 +254,7 @@ fn resolve_tinyhumans(config: &Config) -> Binding {
EngineSettings {
endpoint: Some(endpoint),
headers,
+ consolidation: None,
},
fingerprint,
EngineCredential::Dynamic(source),
diff --git a/crates/openhuman-core/src/voice/live/persist_tests.rs b/crates/openhuman-core/src/voice/live/persist_tests.rs
index 74d6f85cb7..06a0cac7c5 100644
--- a/crates/openhuman-core/src/voice/live/persist_tests.rs
+++ b/crates/openhuman-core/src/voice/live/persist_tests.rs
@@ -34,6 +34,7 @@ async fn saves_into_the_thread_store() {
parent_thread_id: None,
labels: None,
personality_id: None,
+ working_dir: None,
},
)
.await
diff --git a/crates/openhuman-core/src/voice/live/session.rs b/crates/openhuman-core/src/voice/live/session.rs
index 2a65d6a838..c5551f8e34 100644
--- a/crates/openhuman-core/src/voice/live/session.rs
+++ b/crates/openhuman-core/src/voice/live/session.rs
@@ -109,6 +109,7 @@ async fn ensure_thread(
parent_thread_id: None,
labels: None,
personality_id: None,
+ working_dir: None,
},
)
.await
diff --git a/crates/openhuman-embed/src/runtime/mod.rs b/crates/openhuman-embed/src/runtime/mod.rs
index a9641696b2..44e9d192cf 100644
--- a/crates/openhuman-embed/src/runtime/mod.rs
+++ b/crates/openhuman-embed/src/runtime/mod.rs
@@ -372,8 +372,9 @@ impl Runtime {
core: Core,
workspace: ResolvedWorkspace,
session_store: Option<Arc<dyn openhuman_core::agent::session_store::SessionStoreProvider>>,
- previous_session_store:
- Option<Arc<dyn openhuman_core::agent::session_store::SessionStoreProvider>>,
+ previous_session_store: Option<
+ Arc<dyn openhuman_core::agent::session_store::SessionStoreProvider>,
+ >,
base_config: Config,
inherited: bool,
domains: DomainSet,
diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.json
index 4c0e88d070..59e45bceea 100644
--- a/scripts/ci/agent-runtime-boundary-baseline.json
+++ b/scripts/ci/agent-runtime-boundary-baseline.json
@@ -422,21 +422,21 @@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/session_host/builder/factory.rs",
- "line": 989,
+ "line": 987,
"text": "let root = crate::agent::turn_workspace::current()?;",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",
- "line": 265,
+ "line": 266,
"text": "crate::agent::turn_origin::current_is_user_authored().then(|| request.input.text());",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",
- "line": 686,
+ "line": 670,
"text": "workspace_descriptor: crate::agent::harness::current_parent()",
"occurrence": 1
},
@@ -716,14 +716,14 @@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/inference/host_runtime/ops/agent_chat.rs",
- "line": 359,
+ "line": 388,
"text": "if let Some(tx) = crate::agent::progress_sink::current_progress_sink() {",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/inference/host_runtime/ops/agent_chat.rs",
- "line": 382,
+ "line": 411,
"text": "let run = crate::agent::turn_origin::with_origin(",
"occurrence": 1
},
@@ -765,7 +765,7 @@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/inference/provider/openhuman_backend_model.rs",
- "line": 480,
+ "line": 497,
"text": "fn with_thread_id(request: ModelRequest, thread_id: Option<&str>) -> ModelRequest {",
"occurrence": 1
},
@@ -940,7 +940,7 @@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/voice/live/session.rs",
- "line": 193,
+ "line": 200,
"text": "Box::pin(with_origin(",
"occurrence": 1
},
@@ -1042,6 +1042,13 @@
"text": "pub use tinyagents_graph::orchestration::OrchestrationTaskStatus;",
"occurrence": 1
},
+ {
+ "rule": "openhuman-upstream-reexport",
+ "path": "crates/openhuman-core/src/agent/session_store/mod.rs",
+ "line": 19,
+ "text": "pub use tinyagents_session::port::{AgentStores, SessionStoreProvider};",
+ "occurrence": 1
+ },
{
"rule": "openhuman-upstream-reexport",
"path": "crates/openhuman-core/src/agent/todos/ops.rs",
@@ -1098,6 +1105,41 @@
"text": "pub use tinyinference_voice::cloud::{CloudTranscribeOptions, CloudTranscribeResult};",
"occurrence": 1
},
+ {
+ "rule": "openhuman-upstream-reexport",
+ "path": "crates/openhuman-embed/src/lib.rs",
+ "line": 121,
+ "text": "pub use tinyagents_session::port::{",
+ "occurrence": 1
+ },
+ {
+ "rule": "openhuman-upstream-reexport",
+ "path": "crates/openhuman-embed/src/lib.rs",
+ "line": 125,
+ "text": "pub use tinyagents_session::testkit::conformance::{",
+ "occurrence": 1
+ },
+ {
+ "rule": "openhuman-upstream-reexport",
+ "path": "crates/openhuman-embed/src/lib.rs",
+ "line": 129,
+ "text": "pub use tinyagents_session::transcript::{",
+ "occurrence": 1
+ },
+ {
+ "rule": "openhuman-upstream-reexport",
+ "path": "crates/openhuman-embed/src/lib.rs",
+ "line": 134,
+ "text": "pub use tinyagents_session::turn_state::{TurnLifecycle, TurnState};",
+ "occurrence": 1
+ },
+ {
+ "rule": "openhuman-upstream-reexport",
+ "path": "crates/openhuman-embed/src/lib.rs",
+ "line": 136,
+ "text": "pub use tinyagents_session::{Result as StoreResult, TinyAgentsError as StoreError};",
+ "occurrence": 1
+ },
{
"rule": "tinyagents-moved-symbol-alias",
"path": "vendor/tinyagents/crates/tinyagents-harness/src/tool/mod.rs",
@@ -1374,14 +1416,14 @@
{
"rule": "tinyagents-tool-calling-facade",
"path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/tools.rs",
- "line": 2223,
+ "line": 2350,
"text": "use tinytools_agent::repair::args;",
"occurrence": 1
},
{
"rule": "tinyagents-tool-calling-facade",
"path": "vendor/tinyagents/crates/tinyagents-harness/src/lib.rs",
- "line": 117,
+ "line": 118,
"text": "pub use tinytools_agent;",
"occurrence": 1
},
@@ -1437,50 +1479,15 @@
{
"rule": "tinyagents-upstream-reexport",
"path": "vendor/tinyagents/crates/tinyagents-session/src/lib.rs",
- "line": 97,
+ "line": 98,
"text": "pub use tinyagents_harness::error::{Result, TinyAgentsError};",
"occurrence": 1
},
{
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/session_host/builder/factory.rs",
- "line": 994,
- "text": "let root = crate::agent::turn_workspace::current()?;",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",
- "line": 265,
- "text": "crate::agent::turn_origin::current_is_user_authored().then(|| request.input.text());",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber.rs",
- "line": 9,
- "text": "use crate::agent::turn_origin::with_origin;",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber.rs",
- "line": 216,
- "text": "if let Err(e) = with_origin(origin, apply_decision(run, &envelope)).await {",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/memory/tools.rs",
- "line": 135,
- "text": ".or_else(crate::agent::turn_workspace::current)",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/memory/tools.rs",
- "line": 140,
- "text": "crate::agent::harness::fork_context::current_parent()",
+ "rule": "tinyagents-upstream-reexport",
+ "path": "vendor/tinyagents/crates/tinyagents-session/src/port/mod.rs",
+ "line": 49,
+ "text": "pub use tinyagents_harness::store::{AppendStore, Store};",
"occurrence": 1
}
]
diff --git a/vendor/tinyagents b/vendor/tinyagents
index efea56c31d..2eb9148eca 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit efea56c31de684c2b408e7395e0655f9e4935b44
+Subproject commit 2eb9148eca1ac635c4b155f607bcd67f1fd49a45