Skip to content

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

chore: files changed crates/openhuman-core/src/agent/session_host/prelude_integrations.rs,crates/ope

Steven Enamakel59784ef4eef7
diff --git a/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs b/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs
index ee1de3e39b..bf318f6e12 100644
--- a/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs
+++ b/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs
@@ -456,7 +456,12 @@ impl OpenHumanTurnPrelude {
}
// Event-driven metadata refresh keeps the steady-state hot path free
// of the old per-turn filesystem scan.
- let latest = crate::skills::load_workflow_metadata(&self.workspace_dir);
+ let latest = config
+ .as_deref()
+ .map(|config| {
+ crate::skills::load_workflow_metadata_for(&self.dispatch_ctx(), config)
+ })
+ .unwrap_or_default();
let id = |workflow: &tinyskills::Skill| {
if workflow.dir_name.is_empty() {
workflow.name.clone()
diff --git a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs b/crates/openhuman-core/src/security/credentials/ops/gated_services.rs
index 8d71d235bf..647637c382 100644
--- a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs
+++ b/crates/openhuman-core/src/security/credentials/ops/gated_services.rs
@@ -47,6 +47,9 @@ pub async fn start_credential_gated_services(
ctx: &crate::core::runtime::DispatchCtx,
config: &Config,
) {
+ // Optional TinyFlows resources warm in the background and must never hold
+ // credential activation or ordinary chat startup on module availability.
+ crate::skills::bundled::schedule_flow_authoring_prewarm(ctx, config, None);
// These login-gated services are mutually independent — the ONLY ordering
// constraint is voice-server → standalone-dictation-listener (they contend
// for the single rdev global listener on macOS). Previously each was
@@ -79,17 +82,6 @@ pub async fn start_credential_gated_services(
return;
}
- // An embedder's task-local user-root policy does not cross spawn_blocking;
- // its first agent build warms the correctly scoped cache instead.
- if !is_embedder_host() {
- let skills_workspace = config.workspace_dir.clone();
- // Detached on purpose: the warm-up must not delay startup.
- tokio::task::spawn_blocking(move || {
- let count = crate::skills::load_workflow_metadata(&skills_workspace).len();
- log::debug!("[services] skill metadata cache warmed entries={count}");
- });
- }
-
spawn_integrations_cache_warm(config);
let started = std::time::Instant::now();