Skip to content

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

Merge upstream/main into tinychannels-followup

Steven Enamakelc0b16564cffa
diff --cc tests/components_e2e.rs
index 6814a927c8,b405005105..42c980f4b1
--- a/tests/components_e2e.rs
+++ b/tests/components_e2e.rs
@@@ -57,7 -49,7 +49,8 @@@ fn disabled_component_answers_component
..Config::default()
};
config.components.mcp = false;
+ config.components.voice = false;
+ config.components.channels = false;
tinyhumans_boot::boot();
let _runtime = CoreBuilder::new(HostKind::Library)
.config(config)
@@@ -95,7 -96,7 +97,15 @@@
);
}
- // `modules.list` reports the same module as Disabled, and only it.
++ // The channels namespace answers the same typed error.
++ let channels = rpc(&base, "openhuman.channels_list").await;
++ assert_eq!(
++ channels.pointer("/error/message").and_then(Value::as_str),
++ Some("COMPONENT_DISABLED:channels"),
++ "{channels}"
++ );
++
+ // `modules.list` reports the same modules as Disabled, and only them.
let listed = rpc(&base, "openhuman.modules_list").await;
let modules = listed
.pointer("/result/modules")
@@@ -109,9 -110,7 +119,12 @@@
.and_then(|m| m.get("state").and_then(Value::as_str))
.map(str::to_owned)
};
- for (_, _, module_id) in DISABLED_CASES {
- assert_eq!(state_of(module_id).as_deref(), Some("disabled"), "{listed}");
- }
+ assert_eq!(state_of("tinymcp").as_deref(), Some("disabled"), "{listed}");
++ assert_eq!(
++ state_of("tinychannels").as_deref(),
++ Some("disabled"),
++ "{listed}"
++ );
assert_ne!(
state_of("tinydocs").as_deref(),
Some("disabled"),