You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fa9b486
Browse filesBrowse the repository at this point in the historyBrowse files
return"Control the browser using direct actions. Check action='status' first; run setup only if not ready. Browser handoff is disabled for this process. Complete browser tasks with direct actions in the requested tab.";
27
27
}
28
-
"Control the browser. Check action='status' first; run setup only if not ready. Use action='handoff' by default for browser tasks with goal, tab_id, and optional trusted context. Jev handles the entire task until complete or genuinely blocked; navigation alone is not completion. Direct actions are for setup, tab discovery/creation, or blocked handoffs. list_tabs includes signed-in tabs across windows. On requested_help=script/text, supply exact executable script candidates or exact text_values and resume. On requested_help=user_login, ask the user to sign in/finish 2FA in that tab, wait, then resume the handoff."
28
+
"Control the browser. Check action='status' first; run setup only if not ready. Use action='handoff' by default for browser tasks with goal, tab_id, and optional trusted context. Jev handles the entire task until complete or genuinely blocked; navigation alone is not completion. Direct actions are for setup, tab discovery/creation, or blocked handoffs. list_tabs includes signed-in tabs across windows. On requested_help=script/text, supply exact executable script candidates or exact text_values and resume. On requested_help=user_login, ask the user to complete the CAPTCHA in that tab, wait, then resume the handoff."
29
29
}
30
30
31
31
/// Opt-in process-local control for direct-only benchmark arms. Normal sessions
@@ -268,7 +268,7 @@ impl Tool for BrowserTool {
268
268
),
269
269
(
270
270
"text_values",
271
-
json!({"type":"array","maxItems":16,"items":{"type":"string","maxLength":2000},"description":"Exact non-sensitive text to type. Never passwords, OTPs, or payment credentials."}),
271
+
json!({"type":"array","maxItems":16,"items":{"type":"string","maxLength":2000},"description":"Exact text to type. Never payment credentials."}),
// than aborting the whole task or reusing them on another page.
642
643
used_exact.extend(0..input.candidates.len());
643
644
}
645
+
if observation["credentials_redacted"]==true{
646
+
requested_help=Some("direct_actions");
647
+
returnOk(("hand_back","Page credentials were redacted before reaching the browser decision service. Continue with direct browser actions using the same tab_id.".into()));
648
+
}
644
649
if observation["sensitive"]==true{
645
-
// Login, 2FA and CAPTCHA screens are the user's to complete in
646
-
// their own browser. Say so explicitly so the main agent asks the
647
-
// user, waits, and re-runs the same handoff on the same tab.
650
+
// CAPTCHA challenges need the user in the same browser tab.
648
651
requested_help=Some("user_login");
649
-
returnOk(("hand_back","The page needs the user: sign-in, one-time code, CAPTCHA, or account recovery. Ask the user to complete it in this browser tab (their saved session and password manager apply), wait for them to confirm, then re-run this same handoff with the same tab_id to continue. Never type credentials. Never reset passwords.".into()));
652
+
returnOk(("hand_back","The page needs the user to complete a CAPTCHA. Ask the user to complete it in this browser tab, wait for them to confirm, then re-run this same handoff with the same tab_id to continue.".into()));
650
653
}
651
654
if stale>=3{returnOk(("hand_back","Browser stalled: repeated unchanged observations".into()));}
652
655
if trace.len()==budget {returnOk(("hand_back","Action step budget exhausted; final action has been observed".into()));}
#[ignore = "requires Jcode subscription or Jev BYOK credentials, an existing BROWSER_SESSION, and a disposable local fixture with visible password/verification controls"]
206
+
#[ignore = "requires Jcode subscription or Jev BYOK credentials, an existing BROWSER_SESSION, and a disposable local fixture with a visible CAPTCHA"]
0 commit comments