Skip to content

The headless browser for AI agents and web scraping

docs: correct --stealth flag scope in AGENTS.md

SGavrlae3fca3366ef
diff --git a/AGENTS.md b/AGENTS.md
index 7ea9f4be..def1d045 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -65,7 +65,7 @@ edit instead.
## Architecture
-- **obscura-cli** — CLI: `fetch` (`--dump assets|html|text|links|markdown|original`, `--eval <JS>`), `serve` (CDP server), `scrape`, `mcp`. `--proxy`, `--stealth`, `--allow-private-network` are global flags.
+- **obscura-cli** — CLI: `fetch` (`--dump assets|html|text|links|markdown|original`, `--eval <JS>`), `serve` (CDP server), `scrape`, `mcp`. `--proxy` and `--allow-private-network` are global flags (valid before or after the subcommand); `--stealth` is a per-subcommand flag, available on `fetch`, `serve`, and `mcp` but not `scrape`.
- **obscura-cdp** — Chrome DevTools Protocol server (WebSocket). Sessions are `"{targetId}-session"`.
- **obscura-js** — V8/`deno_core` runtime. `js/bootstrap.js` is the DOM/browser shim; `src/ops.rs` bridges JS to Rust DOM ops; `src/runtime.rs` owns the isolate and the per-page `ObscuraState`.
- **obscura-dom** — DOM tree (`src/tree.rs`).