The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(tools): report browser tool availability in status
Steven Enamakel0db446a22499
diff --git a/crates/openhuman-core/src/tools/impl/browser/browser.rs b/crates/openhuman-core/src/tools/impl/browser/browser.rsindex 31ee3f4b9a..ab68e1186a 100644--- a/crates/openhuman-core/src/tools/impl/browser/browser.rs+++ b/crates/openhuman-core/src/tools/impl/browser/browser.rs@@ -572,3 +572,7 @@ mod tests;#[cfg(test)]#[path = "browser_schema_tests.rs"]mod schema_tests;++#[cfg(test)]+#[path = "browser_task_outcome_tests.rs"]+mod task_outcome_tests;diff --git a/crates/openhuman-core/src/tools/status/mod.rs b/crates/openhuman-core/src/tools/status/mod.rsindex 76bc7a363e..3d8665eadd 100644--- a/crates/openhuman-core/src/tools/status/mod.rs+++ b/crates/openhuman-core/src/tools/status/mod.rs@@ -19,5 +19,5 @@ mod types;pub use ops::{classify, describe, tool_execution_error};pub use types::{ClassifiedFailure, FailureCategory, ToolFailureClass, ToolLifecycleState, MODULE_FAULT_MARKER,- NOT_FOUND_MARKER, UNSUPPORTED_MARKER,+ NOT_FOUND_MARKER, TASK_FAILED_MARKER, UNSUPPORTED_MARKER,};diff --git a/crates/openhuman-core/src/tools/status/types.rs b/crates/openhuman-core/src/tools/status/types.rsindex 9bf02d5bf0..3fde1abdc1 100644--- a/crates/openhuman-core/src/tools/status/types.rs+++ b/crates/openhuman-core/src/tools/status/types.rs@@ -101,6 +101,13 @@ pub const UNSUPPORTED_MARKER: &str = "[unsupported]";/// matches the producer's wording instead of a copy of it.pub const MODULE_FAULT_MARKER: &str = "This is terminal for the running process";+/// Marker prefixing a delegated task (a TinyComputer browser task) that ended+/// without finishing: it failed, or was cancelled under the caller. The task+/// reports what it did and what to change, so the recovery policy gives the+/// model one changed attempt rather than reading the task's own prose (a+/// page's `403`, a planner's `timed out`) as the tool call's verdict.+pub const TASK_FAILED_MARKER: &str = "[task-failed]";+/// The three top-level states the UI separates, per the #4254 acceptance/// criterion "clear separation between recoverable failure, blocked-by-policy,/// and action-needs-user-confirmation states".