将 --delay <ms> 从输入文本中剥离并写入 delay 字段,避免搜索词混入参数。 同时支持使用 -- 终止参数解析以输入字面量 --delay 文本,并补充回归测试与帮助文档。
33 lines
683 B
TOML
33 lines
683 B
TOML
[package]
|
|
name = "agent-browser-stealth"
|
|
version = "0.14.0-fork.3"
|
|
edition = "2021"
|
|
description = "Stealth browser automation CLI for AI agents with anti-bot evasions"
|
|
license = "Apache-2.0"
|
|
|
|
[[bin]]
|
|
name = "agent-browser"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "agent-browser-stealth"
|
|
path = "src/main_stealth.rs"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
dirs = "5.0"
|
|
base64 = "0.22"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.52", features = ["Win32_System_Threading", "Win32_Foundation"] }
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|