@generativereality/browser-automation 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "browser-automation",
3
3
  "description": "Daemonless, per-tab-isolated browser automation for Claude Code via the `browser-automation` CLI. Drives one shared headed Chrome (persistent profile + extensions) over per-target CDP — many parallel sessions, no focus stealing, nothing long-lived to crash.",
4
- "version": "0.7.1",
4
+ "version": "0.7.2",
5
5
  "author": {
6
6
  "name": "generativereality"
7
7
  },
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import consola, { consola as consola$1 } from "consola";
11
11
  import { fileURLToPath } from "node:url";
12
12
  //#region package.json
13
13
  var name = "@generativereality/browser-automation";
14
- var version = "0.7.1";
14
+ var version = "0.7.2";
15
15
  var description = "Let many Claude Code sessions use your own signed-in Chrome at once, each in its own tab, without stealing your screen. Daemonless CLI over per-target CDP: persistent profile and extensions, no MCP server, nothing long-lived to crash.";
16
16
  var package_default = {
17
17
  name,
@@ -1549,10 +1549,22 @@ function servedSocket(dir) {
1549
1549
  return null;
1550
1550
  }
1551
1551
  }
1552
+ /**
1553
+ * Chrome marks itself automated (navigator.webdriver = true, the
1554
+ * AutomationControlled Blink feature) whenever it is started with
1555
+ * --remote-debugging-pipe, as it does for --enable-automation and headless; the
1556
+ * port never did. Cloudflare's Turnstile refuses a browser with that mark however
1557
+ * often the person ticks the box, so from the move to the pipe (#34, 2026-10-27)
1558
+ * claude.ai and dash.cloudflare.com stopped passing in a Chrome that had passed
1559
+ * them for months. This is the person's own headed, signed-in browser, not a
1560
+ * test harness: switch the mark off and keep the pipe.
1561
+ */
1562
+ const NO_AUTOMATION_MARK = "--disable-blink-features=AutomationControlled";
1552
1563
  /** The flags Chrome is started with. The profile flag is also how `ps` finds it. */
1553
1564
  function chromeArgs(profile, extra = []) {
1554
1565
  return [
1555
1566
  "--remote-debugging-pipe",
1567
+ NO_AUTOMATION_MARK,
1556
1568
  `--user-data-dir=${profile}`,
1557
1569
  "--no-first-run",
1558
1570
  "--no-default-browser-check",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@generativereality/browser-automation",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Let many Claude Code sessions use your own signed-in Chrome at once, each in its own tab, without stealing your screen. Daemonless CLI over per-target CDP: persistent profile and extensions, no MCP server, nothing long-lived to crash.",
5
5
  "type": "module",
6
6
  "bin": {