Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f2b0c2ea9b | ||
|
|
ea58bce19e |
Generated
+1
-1
@@ -45,7 +45,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "agent-browser-stealth"
|
name = "agent-browser-stealth"
|
||||||
version = "0.27.0-fork.21"
|
version = "0.27.0-fork.22"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes-gcm",
|
"aes-gcm",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "agent-browser-stealth"
|
name = "agent-browser-stealth"
|
||||||
version = "0.27.0-fork.21"
|
version = "0.27.0-fork.22"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Fast browser automation CLI for AI agents"
|
description = "Fast browser automation CLI for AI agents"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|||||||
+8
-1
@@ -658,8 +658,15 @@ fn main() {
|
|||||||
if clean.get(1).map(|s| s.as_str()) == Some("connect") {
|
if clean.get(1).map(|s| s.as_str()) == Some("connect") {
|
||||||
match connect::relay_url() {
|
match connect::relay_url() {
|
||||||
Some(url) => {
|
Some(url) => {
|
||||||
|
// The connect path reads `flags.cdp` (parsed from the original
|
||||||
|
// argv, which was `extension connect` → None), NOT `clean`.
|
||||||
|
// Without this the relay URL is dropped and we fall through to
|
||||||
|
// auto-connect, grabbing some other Chrome (stale :9222) or
|
||||||
|
// popping the remote-debug prompt. Point the daemon at the
|
||||||
|
// relay explicitly.
|
||||||
|
flags.cdp = Some(url.clone());
|
||||||
|
flags.auto_connect = false;
|
||||||
clean = vec!["connect".to_string(), url];
|
clean = vec!["connect".to_string(), url];
|
||||||
// fall through to the normal connect handling below
|
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "agent-browser-stealth",
|
"name": "agent-browser-stealth",
|
||||||
"version": "0.27.0-fork.21",
|
"version": "0.27.0-fork.22",
|
||||||
"description": "Browser automation CLI for AI agents \u2014 stealth fork with anti-detection",
|
"description": "Browser automation CLI for AI agents \u2014 stealth fork with anti-detection",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"packageManager": "pnpm@11.1.3",
|
"packageManager": "pnpm@11.1.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user