Skip to content

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

refactor(modules-linked): drop unused module declarations

Steven Enamakelf66970196724
diff --git a/crates/openhuman-modules-linked/src/lib.rs b/crates/openhuman-modules-linked/src/lib.rs
index db0df14ba3..be780ee0fd 100644
--- a/crates/openhuman-modules-linked/src/lib.rs
+++ b/crates/openhuman-modules-linked/src/lib.rs
@@ -77,7 +77,7 @@ pub fn linked_modules() -> Vec<(&'static str, LinkedFactory)> {
#[cfg(feature = "tinyjuice")]
("tinyjuice", tinyjuice_module::linked_module),
#[cfg(feature = "tinymcp")]
- ("tinymcp", tinymcp_linked_module),
+ ("tinymcp", tinymcp::linked_module),
#[cfg(feature = "tinysearch")]
("tinysearch", tinysearch::linked_module),
#[cfg(feature = "tinyvoice")]
@@ -88,24 +88,6 @@ pub fn linked_modules() -> Vec<(&'static str, LinkedFactory)> {
modules
}
-/// tinymcp v0.18.1 exports the three ABI entry points under `static-link` but no
-/// `linked_module()` wrapper, so the factory is assembled from them here.
-#[cfg(feature = "tinymcp")]
-fn tinymcp_linked_module() -> tinybus::Result<tinybus::module::LinkedModule> {
- use tinymcp::tinybus_module::{
- tinybus_module_init_v1, tinybus_module_manifest_v1, TINYBUS_MODULE_ABI_V1,
- };
- // SAFETY: these are the module's own generated exports, which is exactly
- // what `module_export!`'s `linked_module()` passes.
- unsafe {
- tinybus::module::LinkedModule::from_exports(
- &TINYBUS_MODULE_ABI_V1,
- tinybus_module_manifest_v1,
- tinybus_module_init_v1,
- )
- }
-}
-
/// Register every enabled module with the core's linked-module seam.
///
/// Call once at boot, before the first module load. Idempotent: a repeat call