Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27dff19105 | ||
|
|
21d591ee65 |
Generated
+1
-1
@@ -45,7 +45,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "agent-browser-stealth"
|
name = "agent-browser-stealth"
|
||||||
version = "0.27.0-fork.10"
|
version = "0.27.0-fork.11"
|
||||||
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.10"
|
version = "0.27.0-fork.11"
|
||||||
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"
|
||||||
|
|||||||
@@ -2318,6 +2318,11 @@ async fn handle_launch(cmd: &Value, state: &mut DaemonState) -> Result<Value, St
|
|||||||
load_storage_state_or_rollback(state, &storage_state_owned).await?;
|
load_storage_state_or_rollback(state, &storage_state_owned).await?;
|
||||||
|
|
||||||
apply_launch_init_scripts(state).await;
|
apply_launch_init_scripts(state).await;
|
||||||
|
// Apply stealth patches (the 32 JS patches + HeadlessChrome UA strip in
|
||||||
|
// FullLaunch mode). The fresh-launch path was missing this — only the launch
|
||||||
|
// FLAGS (e.g. --disable-blink-features) were applied, so the JS patches never
|
||||||
|
// ran and navigator.userAgent kept the HeadlessChrome marker.
|
||||||
|
apply_stealth_to_browser(state).await;
|
||||||
|
|
||||||
Ok(json!({ "launched": true }))
|
Ok(json!({ "launched": true }))
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "agent-browser-stealth",
|
"name": "agent-browser-stealth",
|
||||||
"version": "0.27.0-fork.10",
|
"version": "0.27.0-fork.11",
|
||||||
"description": "Browser automation CLI for AI agents — stealth fork with anti-detection",
|
"description": "Browser automation CLI for AI agents — 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