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/desktop/accessibility/helper/swift_focus.rs,crates/op

Steven Enamakelb6ee8ecf7faf
diff --git a/crates/openhuman-core/src/desktop/accessibility/helper/swift_focus.rs b/crates/openhuman-core/src/desktop/accessibility/helper/swift_focus.rs
index e89eccab89..f09278ed46 100644
--- a/crates/openhuman-core/src/desktop/accessibility/helper/swift_focus.rs
+++ b/crates/openhuman-core/src/desktop/accessibility/helper/swift_focus.rs
@@ -1,7 +1,7 @@
//! Embedded Swift source fragment: imports, the thread-safe stdout writer, and
//! the accessibility focus-query logic (`queryFocusedElement` and its helpers).
#[cfg(target_os = "macos")]
-pub(super) const SWIFT_HEADER_AND_FOCUS: &str = r##" r##"import Cocoa
+pub(super) const SWIFT_HEADER_AND_FOCUS: &str = r##"import Cocoa
import Foundation
import ApplicationServices
diff --git a/crates/openhuman-core/src/integrations/composio/catalog.rs b/crates/openhuman-core/src/integrations/composio/catalog.rs
index f6c0060c97..c99c8feb85 100644
--- a/crates/openhuman-core/src/integrations/composio/catalog.rs
+++ b/crates/openhuman-core/src/integrations/composio/catalog.rs
@@ -27,6 +27,10 @@
//! for its primary array and its field names) is in
//! [`crate::json_schema`], owned by neither side.
+mod contract;
+mod lookups;
+mod probe;
+
#[cfg(test)]
#[path = "catalog_in_flight_tests_tests.rs"]
mod in_flight_tests;
@@ -34,5 +38,24 @@ mod in_flight_tests;
#[cfg(test)]
#[path = "catalog_tests.rs"]
mod tests;
-include!("catalog_part_01.rs");
-include!("catalog_part_02.rs");
+
+pub use contract::{
+ fetch_live_toolkit_catalog, seed_live_catalog_cache, seed_live_catalog_cache_expired,
+ ToolContract,
+};
+pub use lookups::{composio_required_args, composio_response_fields};
+pub use probe::{
+ apply_probe_override, probe_tool_output_sample, probed_output_sample, seed_probe_cache,
+ seed_probe_cache_expired, ProbedOutputSample, COMPOSIO_ENVELOPE_META_KEYS_AT_ROOT,
+};
+
+// Brought into this module's own namespace (private `use`, not `pub use`) so
+// `catalog_tests.rs` / `catalog_in_flight_tests_tests.rs` — declared as
+// direct child modules of `catalog` above — can still reach the
+// implementation details they exercise via a plain `use super::*;`, exactly
+// as when this was one un-split file. See each item's `pub(super)` in its
+// owning submodule.
+use contract::{compute_composio_array_path, live_catalog_fetch_lock, CacheEntry};
+use probe::{cache_probe_result, resolve_composio_action_scope};
+#[allow(unused_imports)]
+use contract::COMPOSIO_CATALOG_CACHE_TTL;