Skip to content

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

chore: 姫

Steven Enamakelfe2e717ea43d
diff --git a/crates/openhuman-modules-linked/Cargo.toml b/crates/openhuman-modules-linked/Cargo.toml
index 439a84cab9..25974a9634 100644
--- a/crates/openhuman-modules-linked/Cargo.toml
+++ b/crates/openhuman-modules-linked/Cargo.toml
@@ -11,13 +11,14 @@
# product feature set (`scripts/ci/check-feature-forwarding.mjs`). CI and
# shipped builds load pinned, digest-checked releases.
#
-# One feature per module, named for its registry id, plus `all`. At the current
-# vendor pins a module can be linked only when its crate exposes `static-link`
-# with an exported `linked_module` AND resolves against the workspace `tinybus`
-# (0.1.3). These WAIT for the upstream E0.3 work and a re-pin; they have no
-# feature here yet (reasons in `src/lib.rs`):
-# tinychannels (v0.1.29 pins tinybus =0.1.4, tinydocs-module pins =0.1.3), tinybox, tinyconnectors, tinyvoice, tinymcp, tinycomputer, tinyjuice,
-# tinysearch, tinywallet, tinyhosts.
+# One feature per registry module id, plus `all`. Every module crate is built
+# with its `static-link` feature, which swaps the C ABI exports for a Rust
+# `linked_module()` so several can share one executable without duplicate
+# `TINYBUS_MODULE_ABI_V1` symbols. They all resolve against the single
+# `vendor/tinybus` through the root `[patch]` tables: every module repo
+# requires `tinybus >=0.1.3, <0.2` and patches its nested copy for standalone
+# builds only. `cargo build -p openhuman-modules-linked --features all` is the
+# proof (and `lib_tests.rs` admits each factory's module).
[package]
name = "openhuman-modules-linked"
@@ -30,15 +31,48 @@ publish = false
[features]
default = []
-all = ["tinydocs"]
+all = [
+ "tinybox",
+ "tinychannels",
+ "tinycomputer",
+ "tinyconnectors",
+ "tinydocs",
+ "tinyhosts",
+ "tinyjuice",
+ "tinymcp",
+ "tinysearch",
+ "tinyvoice",
+ "tinywallet",
+]
+tinybox = ["dep:tinybox-module"]
+tinychannels = ["dep:tinychannels-module"]
+tinycomputer = ["dep:tinycomputer"]
+tinyconnectors = ["dep:tinyconnectors"]
tinydocs = ["dep:tinydocs-module"]
+tinyhosts = ["dep:tinyhosts"]
+tinyjuice = ["dep:tinyjuice-module"]
+tinymcp = ["dep:tinymcp"]
+tinysearch = ["dep:tinysearch"]
+tinyvoice = ["dep:tinyvoice-module"]
+tinywallet = ["dep:tinywallet-module"]
[dependencies]
# The host reaches the core only through the rpc facade (crate chain).
openhuman-rpc = { path = "../openhuman-rpc", default-features = false, features = ["modules"] }
log = "0.4"
+tinybus = { path = "../../vendor/tinybus/crates/tinybus", default-features = false, features = ["modules"] }
+tinybox-module = { path = "../../vendor/tinybox/crates/tinybox-module", features = ["static-link"], optional = true }
+tinychannels-module = { path = "../../vendor/tinychannels/crates/tinychannels-module", features = ["static-link"], optional = true }
+tinycomputer = { path = "../../vendor/tinycomputer/crates/tinycomputer", features = ["static-link"], optional = true }
+tinyconnectors = { path = "../../vendor/tinyconnectors/crates/tinyconnectors", features = ["static-link"], optional = true }
tinydocs-module = { path = "../../vendor/tinydocs/crates/tinydocs-module", features = ["static-link"], optional = true }
+tinyhosts = { path = "../../vendor/tinyhosts", features = ["static-link"], optional = true }
+tinyjuice-module = { path = "../../vendor/tinyjuice/crates/tinyjuice-module", features = ["static-link"], optional = true }
+tinymcp = { path = "../../vendor/tinymcp/crates/tinymcp", features = ["static-link"], optional = true }
+tinysearch = { path = "../../vendor/tinysearch/crates/tinysearch", features = ["static-link"], optional = true }
+tinyvoice-module = { path = "../../vendor/tinyvoice/crates/tinyvoice-module", features = ["static-link"], optional = true }
+tinywallet-module = { path = "../../vendor/tinywallet/crates/tinywallet-module", features = ["static-link"], optional = true }
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)'] }