Skip to content

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

style: wrap long line and update layout allowance

Steven Enamakel15ccea4648e6
diff --git a/crates/openhuman-core/src/core/runtime/context.rs b/crates/openhuman-core/src/core/runtime/context.rs
index 8d9dd61b62..f7d269bd11 100644
--- a/crates/openhuman-core/src/core/runtime/context.rs
+++ b/crates/openhuman-core/src/core/runtime/context.rs
@@ -577,7 +577,9 @@ impl CoreContext {
/// Test-only: given `[components]` switches.
#[cfg(test)]
pub(crate) fn for_test_with_components(c: crate::core::runtime::ComponentSet) -> Arc<Self> {
- let mut ctx = Arc::try_unwrap(Self::for_test(super::DomainSet::full(), None)).ok().unwrap();
+ let mut ctx = Arc::try_unwrap(Self::for_test(super::DomainSet::full(), None))
+ .ok()
+ .unwrap();
ctx.components = c;
Arc::new(ctx)
}
diff --git a/scripts/ci/check-openhuman-rust-layout.mjs b/scripts/ci/check-openhuman-rust-layout.mjs
index 2a9cc9bc13..79bd68fbf2 100644
--- a/scripts/ci/check-openhuman-rust-layout.mjs
+++ b/scripts/ci/check-openhuman-rust-layout.mjs
@@ -40,7 +40,9 @@ const LEGACY_LIMIT_ENTRIES = [
// under the general 750 limit, so it needs no exception at all.
// The session-todo integration added transcript metadata construction to
// this already-exempt composition seam. Keep its allowance exact.
- ["crates/openhuman-core/src/agent/session_host/runtime_session.rs", 1173],
+ ["crates/openhuman-core/src/agent/session_host/runtime_session.rs", 1176],
+ // `[components] juice` test constructor (tokenjuice gate tests).
+ ["crates/openhuman-core/src/core/runtime/context.rs", 753],
// Session-host factory still assembles the product's deliberately coupled
// provider, security, memory, tool and prompt policy. Generic session
// state moved to tinyagents-runtime; this remaining composition is split in