Release binaries / Build macOS ARM64 (push) Has been cancelled
Release binaries / Build macOS x64 (push) Has been cancelled
Release binaries / Build Linux ARM64 (push) Has been cancelled
Release binaries / Build Linux musl ARM64 (push) Has been cancelled
Release binaries / Build Linux musl x64 (push) Has been cancelled
Release binaries / Build Linux x64 (push) Has been cancelled
Release binaries / Build Windows x64 (push) Has been cancelled
Release binaries / Attach binaries to GitHub Release (push) Has been cancelled
Make `site` trigger itself so an agent doesn't have to know adapters exist.
Auto-sync: the pack refreshes on first use and on a TTL (default 7d), both in
the `site` command path (blocking, fast) and as a non-blocking background task
on daemon startup — so ~/.chrome-use/sites/.index.json is always populated with
zero added latency. Tune via AGENT_BROWSER_SITES_TTL_DAYS; disable with
AGENT_BROWSER_SITES_NO_AUTO_UPDATE=1. `update` now writes .last_update + a
domain→adapters .index.json (read-only adapters ordered first).
Auto-suggest: `open`/`navigate`/`snapshot` onto a domain with adapters attaches
`siteAdapters: {domain, commands}` to the response; the CLI prints a
`💡 site adapters for <domain>` hint (stderr) and the field rides along in --json.
SKILL.md tells the agent to prefer the listed `site <name>/<cmd>` over scraping.
This keeps the 'never auto-disrupt user tabs' guarantee — it suggests, the agent
decides; nothing auto-runs on navigation.
site.rs: needs_refresh/adapters_for_domain/write_domain_index + timestamp/index
in update(). daemon.rs: background bootstrap. actions.rs: with_site_hint on
navigate + snapshot. output.rs: hint render. Verified live: open github.com →
hint leads with read-only github/issues; --json carries siteAdapters.
73 lines
1.9 KiB
TOML
73 lines
1.9 KiB
TOML
[package]
|
|
name = "chrome-use"
|
|
version = "1.5.20"
|
|
edition = "2021"
|
|
description = "Fast browser automation CLI for AI agents"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/leeguooooo/chrome-use"
|
|
homepage = "https://github.com/leeguooooo/chrome-use"
|
|
readme = "../README.md"
|
|
keywords = ["browser", "automation", "ai", "cdp", "chrome"]
|
|
categories = ["command-line-utilities", "web-programming"]
|
|
|
|
[[bin]]
|
|
name = "chrome-use"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
regex-lite = "0.1"
|
|
dirs = "5.0"
|
|
include_dir = "0.7"
|
|
base64 = "0.22"
|
|
getrandom = "0.2"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "io-util", "io-std", "time", "sync", "signal", "process"] }
|
|
tokio-tungstenite = { version = "0.24", features = ["rustls-tls-webpki-roots"] }
|
|
futures-util = "0.3"
|
|
url = "2"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
image = "0.25"
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-webpki-roots", "stream"] }
|
|
sha2 = "0.10"
|
|
aes-gcm = "0.10"
|
|
async-trait = "0.1"
|
|
socket2 = "0.6"
|
|
similar = "2"
|
|
zip = { version = "8.2.0", default-features = false, features = ["deflate"] }
|
|
time = { version = "0.3", features = ["formatting"] }
|
|
hmac = "0.12"
|
|
hex = "0.4"
|
|
aes = "0.8"
|
|
cbc = "0.1"
|
|
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
|
|
sha1 = "0.10"
|
|
chrono = "0.4"
|
|
urlencoding = "2"
|
|
rust-embed = "8"
|
|
serde_yaml = "0.9"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.52", features = ["Win32_System_Threading", "Win32_Foundation"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
[build-dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
|
|
[profile.ci]
|
|
inherits = "release"
|
|
lto = "thin"
|
|
codegen-units = 16
|