rebrand: agent-browser-stealth → chrome-use, de-fork, reset to v1.0.0
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

Standalone product rename across the whole repo (issue: project identity):

- Binary/package/repo/skill/docs: agent-browser[-stealth] → chrome-use
  (single binary name `chrome-use`; old aliases agent-browser/abs dropped).
- Version: 0.27.0-fork.51 → 1.0.0 (drop the upstream-fork counter).
- Native-messaging host: com.agent_browser.connect → com.leeguoo.chrome_use
  (CLI + ab-connect extension in lockstep — this is a breaking handshake change,
  extension bumped 0.4.2 → 0.5.0, needs a Web Store republish).
- Config dir: ~/.agent-browser → ~/.chrome-use.
- README/zh: reframed from "stealth fork of agent-browser" to a standalone
  product with a small `originally based on vercel-labs/agent-browser` credit.
- Kept AGENT_BROWSER_* env vars working (63 vars across the codebase; renaming
  them would break every existing script/skill for no user-facing gain).

Build green, 802 unit tests pass, fmt + clippy clean. Upstream attribution to
vercel-labs/agent-browser preserved.
This commit is contained in:
leeguooooo
2026-06-12 12:56:21 +09:00
parent b4c1707a01
commit 61060486f4
89 changed files with 1897 additions and 1926 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ pub(super) fn check(checks: &mut Vec<Check>) {
Status::Fail,
"No Chrome binary found",
)
.with_fix("agent-browser install"),
.with_fix("chrome-use install"),
),
}
+4 -4
View File
@@ -1,5 +1,5 @@
//! Check user config files: `~/.agent-browser/config.json`,
//! `./agent-browser.json`, and any file referenced by
//! Check user config files: `~/.chrome-use/config.json`,
//! `./chrome-use.json`, and any file referenced by
//! `AGENT_BROWSER_CONFIG`.
use std::env;
@@ -11,7 +11,7 @@ use super::{Check, Status};
pub(super) fn check(checks: &mut Vec<Check>) {
let category = "Config";
let user_path = dirs::home_dir().map(|d| d.join(".agent-browser").join("config.json"));
let user_path = dirs::home_dir().map(|d| d.join(".chrome-use").join("config.json"));
if let Some(p) = user_path {
if p.exists() {
match parse_json_file(&p) {
@@ -34,7 +34,7 @@ pub(super) fn check(checks: &mut Vec<Check>) {
}
}
let project_path = PathBuf::from("agent-browser.json");
let project_path = PathBuf::from("chrome-use.json");
if project_path.exists() {
match parse_json_file(&project_path) {
Ok(_) => checks.push(Check::new(
+1 -1
View File
@@ -51,7 +51,7 @@ pub(super) fn check(checks: &mut Vec<Check>) {
format!("Session {} (pid {}){}", session.name, session.pid, suffix),
);
if !version_match {
check = check.with_fix(format!("agent-browser --session {} close", session.name));
check = check.with_fix(format!("chrome-use --session {} close", session.name));
}
checks.push(check);
}
+1 -1
View File
@@ -39,7 +39,7 @@ pub(super) fn check(checks: &mut Vec<Check>) {
let socket_dir = get_socket_dir();
// Under the default setup, state and socket dirs are the same
// (~/.agent-browser). Collapse to a single line when they match;
// (~/.chrome-use). Collapse to a single line when they match;
// split when XDG_RUNTIME_DIR or AGENT_BROWSER_SOCKET_DIR diverts
// sockets elsewhere.
if state_dir == socket_dir {
+2 -2
View File
@@ -240,8 +240,8 @@ mod tests {
"fixed summary should mention the key generation"
);
assert!(
tmp.path().join(".agent-browser/.encryption-key").exists(),
"key file should exist at ~/.agent-browser/.encryption-key"
tmp.path().join(".chrome-use/.encryption-key").exists(),
"key file should exist at ~/.chrome-use/.encryption-key"
);
}
}
+1 -1
View File
@@ -143,7 +143,7 @@ mod tests {
};
assert!(which_exists(probe));
assert!(!which_exists(
"agent-browser-this-does-not-exist-please-dont-install-it"
"chrome-use-this-does-not-exist-please-dont-install-it"
));
}
+1 -1
View File
@@ -114,7 +114,7 @@ pub(super) fn check(checks: &mut Vec<Check>) {
Status::Fail,
format!("Browser launch failed: {}", e),
)
.with_fix("agent-browser install # or check --debug output"),
.with_fix("chrome-use install # or check --debug output"),
);
return;
}
+2 -2
View File
@@ -1,4 +1,4 @@
//! Diagnose an agent-browser installation.
//! Diagnose an chrome-use installation.
//!
//! Runs a battery of checks across environment, Chrome install, daemon
//! state, config files, encryption, providers, network reachability, and
@@ -151,7 +151,7 @@ fn summarize(checks: &[Check]) -> Summary {
}
fn print_text(checks: &[Check], summary: &Summary, fixed: &[String], fix_ran: bool) {
println!("{}", color::bold("agent-browser doctor"));
println!("{}", color::bold("chrome-use doctor"));
let mut current_category = "";
for c in checks {
+1 -1
View File
@@ -27,7 +27,7 @@ pub(super) fn check(checks: &mut Vec<Check>) {
};
let client = match reqwest::Client::builder()
.user_agent(format!("agent-browser/{}", env!("CARGO_PKG_VERSION")))
.user_agent(format!("chrome-use/{}", env!("CARGO_PKG_VERSION")))
.timeout(Duration::from_secs(3))
.connect_timeout(Duration::from_secs(3))
.build()
+1 -1
View File
@@ -115,7 +115,7 @@ pub(super) fn check(checks: &mut Vec<Check>) {
),
)
.with_fix(format!(
"agent-browser state clean --older-than {}",
"chrome-use state clean --older-than {}",
expire_days
)),
);