Skip to content

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

feat(meta): expose action collapse helpers

Steven Enamakel9a501e882c25
diff --git a/src/openhuman/tools/impl/meta/mod.rs b/src/openhuman/tools/impl/meta/mod.rs
index 2bc003d12d..b178a93cd2 100644
--- a/src/openhuman/tools/impl/meta/mod.rs
+++ b/src/openhuman/tools/impl/meta/mod.rs
@@ -1,12 +1,17 @@
//! Tools *about* the tool surface itself.
//!
-//! One member so far: [`tool_search`], the lookup half of
+//! Two members: [`tool_search`], the lookup half of
//! [`ToolExposure::Deferred`](crate::openhuman::tools::ToolExposure). It sits
//! in its own family rather than under `system/` because it is not a capability
//! the host offers the user — it is the model asking what it is able to do.
+pub mod collapse;
pub mod tool_search;
+pub use collapse::{
+ any_external_effect, args_without_action, merge_action_schemas, resolve,
+ strictest_permission, unknown_action_message, CollapsedAction,
+};
pub use tool_search::{
bind_tool_search_index, strip_deferred_from_visible, ToolSearchHandle, ToolSearchIndex,
ToolSearchTool,