@browserless.io/cli 0.0.1 → 0.0.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,72 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.2](https://github.com/browserless/browserless-cli/compare/v0.0.1...v0.0.2) (2026-05-27)
4
+
5
+
6
+ * set next release to 0.0.2 ([e755492](https://github.com/browserless/browserless-cli/commit/e7554922a8576286c5ffe37edc1bfd55f532f2bd))
7
+
8
+
9
+ ### Features
10
+
11
+ * --region sfo|lon|ams shortcut + region config key ([c921251](https://github.com/browserless/browserless-cli/commit/c921251664c89bb0e66c2549767d37ae2f011734))
12
+ * add browserless CLI for authenticated profile management ([d2ccbbe](https://github.com/browserless/browserless-cli/commit/d2ccbbe33204f74e188a1a4bb7a999e40a7034d7))
13
+ * add browserless CLI for authenticated profile management [do not merge] ([4194243](https://github.com/browserless/browserless-cli/commit/41942439b3ee3166fe15c90648bfe7de8da4a6fe))
14
+ * **capture:** live progress events, skip vendor NTP origins, cap loop on attempts, + --auto-fit/--keep-domain/--only-domain for artifact size mgmt ([f83c2a9](https://github.com/browserless/browserless-cli/commit/f83c2a99d086f9ab4c267f254a42c1154de7b9d4))
15
+ * **capture:** skip sensitive profile files from temp copy + CI smoke that catches future Chrome additions ([0ad3a97](https://github.com/browserless/browserless-cli/commit/0ad3a9731c6133dcd68356c33b4ce40b0d01c4d0))
16
+ * **ci:** cli-smoke integration test invokes every command on every OS via stub server ([c5fb558](https://github.com/browserless/browserless-cli/commit/c5fb5581bc4255b5b118e13cc543d4a115e5ebd5))
17
+ * **disclaimer:** include privacy-policy link in liability disclaimer text ([3be0c1c](https://github.com/browserless/browserless-cli/commit/3be0c1cf5c0c4c3d43b2ef70e37bbe2c533bb005))
18
+ * **registry:** discover Snap-installed Chromium on Linux + CI matrix axis for it ([645a2f0](https://github.com/browserless/browserless-cli/commit/645a2f0b2466b8da172e226b39a7188052124804))
19
+ * **scripts:** add npm run dev (build + npm link) for one-shot local-dev setup ([5374585](https://github.com/browserless/browserless-cli/commit/5374585462a9652b818ffabf4281a412a34df65c))
20
+ * **sources:** surface broken custom-browser registrations in sources list ([fb06afe](https://github.com/browserless/browserless-cli/commit/fb06afe7ee3982404fada378904f7ddd9fb0ee4a))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * address review findings — surface silent fallbacks, narrow types, add coverage (+57 tests) ([d3f5e7e](https://github.com/browserless/browserless-cli/commit/d3f5e7e2ed59e8482453cf562c803a6e6850f354))
26
+ * **api:** preserve path prefix on configured server URL (self-hosted-behind-/browserless/) ([710b011](https://github.com/browserless/browserless-cli/commit/710b01104cf7185ae90ba53cfbb629e2e1a6a177))
27
+ * **browsers:** swallow fs.readdir EACCES/EIO so one bad source doesn't abort discovery ([55df91b](https://github.com/browserless/browserless-cli/commit/55df91b3a5b209754cd5a04b5efcaee6254367e5))
28
+ * **browsers:** try every candidate user-data-dir so Snap chromium isn't masked by a stale ~/.config/chromium ([f98c8c2](https://github.com/browserless/browserless-cli/commit/f98c8c2737958c51051dd02e60ed81fac5e198f9))
29
+ * **capture:** apply --only-domain pre-navigation so the per-run origin cap isn't burned on non-matching origins ([8157a4d](https://github.com/browserless/browserless-cli/commit/8157a4df2618c3aa370fed431f66b4df256ad71e))
30
+ * **capture:** fail fast on all-invalid --only-domain so pre/post filters can't silently diverge ([393c813](https://github.com/browserless/browserless-cli/commit/393c8134bb9e30f0d940979dc89683e4f335de66))
31
+ * **capture:** fail-fast on consecutive transport-dead CDP errors + throw on all-origins-failed ([2de326e](https://github.com/browserless/browserless-cli/commit/2de326ed30813e07cf9022b13162e11508a0b80e))
32
+ * **capture:** filter Windows process sweep to chrome family binary — was killing PowerShell itself ([a968526](https://github.com/browserless/browserless-cli/commit/a96852623552246a8bc95009bb1c5b297dd18533))
33
+ * **capture:** per-origin 15 s timeout so a single hung CDP tab can't lock the whole capture ([53644e9](https://github.com/browserless/browserless-cli/commit/53644e91ff477fce02bf6a21b28c3ebfb5965ee9))
34
+ * **capture:** richer CDP-timeout diagnostics (pid/exit/args) + spec slop for CI ([7d2e9b4](https://github.com/browserless/browserless-cli/commit/7d2e9b41adf609d1ff4af02675399cce80f96486))
35
+ * **capture:** run Windows process sweep detached + fire-and-forget — synchronous PowerShell call was crashing the CLI ([0755b50](https://github.com/browserless/browserless-cli/commit/0755b50b54445cfa84d6ede21f227d815377dce0))
36
+ * **capture:** spawnSync taskkill on Windows + poll for orphan reap in test (Chrome tree teardown is slower on Windows) ([ab8faae](https://github.com/browserless/browserless-cli/commit/ab8faaecfc35ffc8a9f61363680c327221956088))
37
+ * **capture:** surface browser stderr in CDP-timeout error for diagnostics ([de047c7](https://github.com/browserless/browserless-cli/commit/de047c776588368c4e458a7789e0ff1ce7c9c300))
38
+ * **capture:** sweep Chrome processes by user-data-dir on Windows — renderers/utilities use CREATE_BREAKAWAY_FROM_JOB and survive taskkill /T ([8d30d38](https://github.com/browserless/browserless-cli/commit/8d30d38d5aff8a9a3ea27f8ecb46d58cb9769dfd))
39
+ * **capture:** tally origin drops from both pre-nav skip and post-capture filter so a future post-capture filter can't silently undercount ([ed28db0](https://github.com/browserless/browserless-cli/commit/ed28db0d8bf994c0ead7110645521468cd92e3ef))
40
+ * **capture:** unref child + close stdio after kill — unblock Node exit when browser doesn't reap fast; bypass .cmd shim on Windows when detached so CTRL_BREAK_EVENT targets the CLI ([87a0a9b](https://github.com/browserless/browserless-cli/commit/87a0a9b59ac951e625c4915209b5047285d6974e))
41
+ * **ci:** apt options go after apt-get, not after sudo ([bdcc69e](https://github.com/browserless/browserless-cli/commit/bdcc69e07566a2ed06e143cdbb276557eb9ecec0))
42
+ * **ci:** avoid $HOME override in capture smoke — add BROWSERLESS_CONFIG_DIR + custom browser source ([d59e289](https://github.com/browserless/browserless-cli/commit/d59e2897957528a06a6f4c1c24e508bc85420b5a))
43
+ * **ci:** BROWSERLESS_DISABLE_KEYCHAIN escape hatch + drop whitespace-arg test (Windows cmd trims it) ([0431920](https://github.com/browserless/browserless-cli/commit/0431920fb5747b3161352803bb0c4d1073f62042))
44
+ * **ci:** drop flaky windows-kill dep; use inline PowerShell P/Invoke for CTRL_BREAK_EVENT ([61f976d](https://github.com/browserless/browserless-cli/commit/61f976df8d2d511d7a9b7d5d88568a05fd2e3bc9))
45
+ * **ci:** make CDP-wait timeout configurable; bump to 60s in capture smoke (macOS cold-boot) ([dd9d146](https://github.com/browserless/browserless-cli/commit/dd9d1467f2f39d5bab6caae96e7cb1619fb8fffd))
46
+ * **ci:** restore apt-get update before gnome-keyring install — cached lists go stale ([a0c3845](https://github.com/browserless/browserless-cli/commit/a0c3845b6bbf014bbacb1558c08767620212718a))
47
+ * **ci:** same Chrome seed fix for linux smoke ([7955e33](https://github.com/browserless/browserless-cli/commit/7955e33bb8fb85a54e792748f5b0659490688e88))
48
+ * **ci:** seed Chrome user-data-dir directly instead of racing first-run boot ([fbdd633](https://github.com/browserless/browserless-cli/commit/fbdd633ce39e8123933a34735e1354f350521d6b))
49
+ * **ci:** spawn browserless.cmd directly on Windows — shell:true splits args with spaces ([d416399](https://github.com/browserless/browserless-cli/commit/d416399a132280eb635ed2699b270e418027a686))
50
+ * **ci:** split discovery smoke — chromium uses lookup-only mode (registry hit only); inspect mode kept for brave/edge (full capture) ([baa5433](https://github.com/browserless/browserless-cli/commit/baa54339f8e246bda210d6bea351114e77fc13d5))
51
+ * **ci:** Windows arg quoting — shell:true with manual cmd-metachar quoting ([efcdd7d](https://github.com/browserless/browserless-cli/commit/efcdd7d63d90ad56d82ae9a5df4201be8a1f7490))
52
+ * **commands:** add missing region?: string to upload/refresh Options interfaces ([dbd984e](https://github.com/browserless/browserless-cli/commit/dbd984e510d8ed18b0b331dd55dcf3cb079950f1))
53
+ * **discover:** don't apply which-fallback to user-data-dir lookup — would return a binary path as a directory and crash readdir ([eb00c03](https://github.com/browserless/browserless-cli/commit/eb00c035a6e09e5ef2afcef694583c3fb1f24285))
54
+ * **exclusion:** punycode-normalize bare hostnames so Unicode patterns match IDN cookie domains ([94ac479](https://github.com/browserless/browserless-cli/commit/94ac479497d0f9e5cb87a77af6b2aebbc2c65845))
55
+ * **lock:** check 'lockfile' on Windows, 'SingletonLock' on POSIX (Chrome uses different filenames) ([c122331](https://github.com/browserless/browserless-cli/commit/c12233125e32ab8e6dd14876fceddbb8c40c2cad))
56
+ * **lock:** Windows lockfile is an empty marker — presence = locked (no PID) ([0093d88](https://github.com/browserless/browserless-cli/commit/0093d88b108a481419acfb1d763374c8b1b6d562))
57
+ * **registry:** discover Brave at per-user install path on Windows (%LOCALAPPDATA%) — default for choco / non-admin installs ([c1ac1a5](https://github.com/browserless/browserless-cli/commit/c1ac1a54d91abb5019e9fc24b8a1fe3636353bdb))
58
+ * **sh:** drop duplicate Linux pattern in verify-chrome.sh case ([ea2ded6](https://github.com/browserless/browserless-cli/commit/ea2ded65dc24cc81c840fcec827d47bf7f43f820))
59
+ * **sources:** validate --path and --user-data-dir at sources add time ([9909bbb](https://github.com/browserless/browserless-cli/commit/9909bbb7bb41cb6dbdb0c94db733fd7fd38a735a))
60
+ * **test:** bound chrome.exe warmup to 30s so it can't hang CI ([899b3b6](https://github.com/browserless/browserless-cli/commit/899b3b61460916f9f745253e464505f66fa12db0))
61
+ * **test:** poll lstatSync for SingletonLock + skip Windows orphan-check (documented limitation) ([1a43a46](https://github.com/browserless/browserless-cli/commit/1a43a46659ce3f34ce97152919615a97bd452ec4))
62
+ * **test:** skip SIGTERM-trap killBrowser test on Windows (no real signals) ([c42dffd](https://github.com/browserless/browserless-cli/commit/c42dffd1f4f5e328632e7c5e6f9dc61f58ce26a8))
63
+ * **trim-state:** don't treat unparseable origins as protected by --keep-domain ([9eeb46f](https://github.com/browserless/browserless-cli/commit/9eeb46fbbb7a5550d321df687cf8fda9da1eca04))
64
+
65
+
66
+ ### Reverts
67
+
68
+ * drop Windows orphan-cleanup hacks — Chrome utility processes self-exit within ~30s; not worth the test/CLI complexity for an external-force-kill-only scenario ([caf828b](https://github.com/browserless/browserless-cli/commit/caf828b5020e36dbd2b4232a94bb7e7d5cccee9a))
69
+
70
+ ## Changelog
71
+
3
72
  All notable changes to `@browserless.io/cli` will be documented in this file.
package/build/version.js CHANGED
@@ -1 +1 @@
1
- const o="0.0.1";export{o as version};
1
+ const o="0.0.2";export{o as version};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browserless.io/cli",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Browserless CLI — manage authentication profiles, sessions, and other Browserless features from your terminal.",
5
5
  "license": "MIT",
6
6
  "type": "module",