Skip to content

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

Merge remote-tracking branch 'upstream/main' into test-to-green-20261022

Steven Enamakel2fa9f1fa7476
diff --cc crates/openhuman-embed/src/host_internals.rs
index cf930a9569,fcafcba212..9ca05cd676
--- a/crates/openhuman-embed/src/host_internals.rs
+++ b/crates/openhuman-embed/src/host_internals.rs
@@@ -508,20 -508,11 +508,22 @@@ pub mod storage
};
/// The layout v1 -> v2 migration the host runs at boot when
- /// `[storage] auto_migrate_layout` is set.
+ /// `[storage] auto_migrate_layout` is set. The core builds it only with
+ /// `legacy-import`.
+ #[cfg(feature = "legacy-import")]
pub mod layout {
+ #[cfg(feature = "legacy-import")]
pub use openhuman_core::storage::layout::auto_migrate;
+
+ /// Return `false` when legacy layout import is not part of this build.
+ ///
+ /// The RPC session-store host calls this before resolving its storage
+ /// URL. In builds without `legacy-import`, there is no layout migration
+ /// to run and the configured workspace remains unchanged.
+ #[cfg(not(feature = "legacy-import"))]
+ pub async fn auto_migrate(_config: &openhuman_core::config::Config) -> bool {
+ false
+ }
}
}