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 PR 6770

Steven Enamakele4328102bba9
diff --cc crates/openhuman-core/src/tools/impl/browser/browser.rs
index 29111acec7,f36d402930..9f9b18acc3
--- a/crates/openhuman-core/src/tools/impl/browser/browser.rs
+++ b/crates/openhuman-core/src/tools/impl/browser/browser.rs
@@@ -526,81 -518,6 +518,7 @@@ impl BrowserTool
}
}
- fn required<'a>(args: &'a Value, key: &str) -> anyhow::Result<&'a str> {
- args.get(key)
- .and_then(Value::as_str)
- .filter(|s| !s.trim().is_empty())
- .ok_or_else(|| anyhow::anyhow!("Missing '{key}' parameter"))
- }
-
- fn parse_action(args: &Value) -> anyhow::Result<Action> {
- let target = || required(args, "selector").map(Target::parse);
- Ok(match required(args, "action")? {
- "click" => Action::Click {
- target: target()?,
- new_tab: false,
- },
- "fill" => Action::Fill {
- target: target()?,
- value: required(args, "value")?.into(),
- },
- "type" => Action::Type {
- target: args["selector"].as_str().map(Target::parse),
- text: required(args, "text")?.into(),
- delay_ms: None,
- },
- "get_text" => Action::GetText { target: target()? },
- "is_visible" => Action::IsVisible { target: target()? },
- "hover" => Action::Hover { target: target()? },
- "press" => Action::Press {
- key: required(args, "key")?.into(),
- },
- "scroll" => Action::Scroll {
- direction: match required(args, "direction")? {
- "up" => ScrollDirection::Up,
- "down" => ScrollDirection::Down,
- "left" => ScrollDirection::Left,
- "right" => ScrollDirection::Right,
- x => anyhow::bail!("Invalid direction: {x}"),
- },
- pixels: args["pixels"].as_u64().and_then(|v| u32::try_from(v).ok()),
- target: None,
- },
- "wait" => Action::WaitFor {
- target: args["selector"].as_str().map(Target::parse),
- text: args["text"].as_str().map(str::to_owned),
- state: WaitState::Visible,
- ms: args["ms"].as_u64(),
- timeout_ms: args["timeout_ms"].as_u64(),
- },
- "find" => {
- let by = match required(args, "by")? {
- "role" => LocateBy::Role,
- "text" => LocateBy::Text,
- "label" => LocateBy::Label,
- "placeholder" => LocateBy::Placeholder,
- "testid" => LocateBy::TestId,
- x => anyhow::bail!("Invalid locator: {x}"),
- };
- let target = Target::locator(Locator::new(by, required(args, "value")?));
- match required(args, "find_action")? {
- "click" => Action::Click {
- target,
- new_tab: false,
- },
- "fill" => Action::Fill {
- target,
- value: required(args, "fill_value")?.into(),
- },
- "text" => Action::GetText { target },
- "hover" => Action::Hover { target },
- x => anyhow::bail!("Invalid find action: {x}"),
- }
- }
- x => anyhow::bail!("Unsupported browser action: {x}"),
- })
- }
+
#[async_trait]
impl Tool for BrowserTool {
fn exposure(&self) -> tinytools::ToolExposure {
diff --cc scripts/kernel-floor.limits
index 2d61fd7ac9,62e21b6646..6d0c4c47bb
--- a/scripts/kernel-floor.limits
+++ b/scripts/kernel-floor.limits
@@@ -13,10 -13,13 +13,13 @@@
# Simulate with: scripts/dep-sim.py --cut <crates>
#
# History
+ # 303/282/2 2026-09-29 Merge the JSON-RPC split: removes openhuman-rpc
+ # from the core flows graph; the resolved profile is
+ # measured after the upstream TinyMCP v0.3.5 update.
-# 304/283/2 2026-09-29 Measured after advancing tinymcp to v0.3.5.
-# The required MCP server APIs resolve three fewer
-# packages and names in the `flows` profile than the
-# previous ratchet. Native builds remain unchanged.
+# 304/283/2 2026-09-29 The TinyMCP 0.3.5 dependency refresh lowers
+# the measured flows profile by three resolved package
+# versions and three unique crate names; native builds
+# remain unchanged. Ratchet to the new floor.
# 307/286/2 2026-09-27 The multi-provider search config directly uses the
# required TinySearch bus contract in always-on settings
# and policy code. This adds one resolved crate/name and