Skip to content

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

feat(core): expose outcome and structured error modules

Steven Enamakel7951ae5cf2da
diff --git a/crates/openhuman-core/src/core/mod.rs b/crates/openhuman-core/src/core/mod.rs
index d6d9ee8ce9..921940abb8 100644
--- a/crates/openhuman-core/src/core/mod.rs
+++ b/crates/openhuman-core/src/core/mod.rs
@@ -28,16 +28,22 @@ pub mod log_redaction;
pub mod logging;
pub mod memory_cli;
pub mod observability;
+pub mod outcome;
+pub mod params;
pub mod rpc_log;
pub mod runtime;
#[cfg(feature = "crash-reporting")]
pub mod sentry_transport;
pub mod shutdown;
pub mod socketio;
+pub mod structured_error;
pub mod subsystem;
pub mod subsystems_cli;
pub mod types;
+pub use outcome::{apply_log_envelope, unwrap_rpc, Outcome};
+pub use structured_error::{StructuredRpcError, STRUCTURED_RPC_ERROR_SENTINEL};
+
/// Canonical function contract for domain controllers.
///
/// This shape is transport-agnostic and can be consumed by RPC and CLI layers