@crouton-kit/capture 1.4.18 → 1.4.20

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Crouton Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,4 +1,12 @@
1
- # capture
1
+ # capture — a browser automation command line for agents, built on the Chrome DevTools Protocol
2
+
3
+ ![capture](https://raw.githubusercontent.com/crouton-labs/capture/main/assets/banner.svg)
4
+
5
+ <p align="center">
6
+ <a href="https://github.com/crouton-labs/capture/actions/workflows/freshness.yml"><img alt="ci" src="https://img.shields.io/github/actions/workflow/status/crouton-labs/capture/freshness.yml?branch=main&label=ci"></a>
7
+ <a href="https://www.npmjs.com/package/@crouton-kit/capture"><img alt="npm" src="https://img.shields.io/npm/v/@crouton-kit/capture?label=npm"></a>
8
+ <a href="LICENSE"><img alt="license" src="https://img.shields.io/badge/license-MIT-blue"></a>
9
+ </p>
2
10
 
3
11
  **Browser automation that measures instead of guessing.** A CDP command line built for agents.
4
12
 
@@ -209,3 +217,5 @@ The CLI is designed to be read by a model: errors are structured, every error ca
209
217
  ## License
210
218
 
211
219
  MIT
220
+
221
+ See [CONTRIBUTING.md](CONTRIBUTING.md) to contribute.
package/bin/capture CHANGED
@@ -10559,7 +10559,7 @@ function validateHarAppendBatch(value, source) {
10559
10559
  return { entries, incompleteLifecycles };
10560
10560
  }
10561
10561
  function captureVersion() {
10562
- const version = "1.4.18";
10562
+ const version = "1.4.20";
10563
10563
  return typeof version === "string" && version.length > 0 ? version : "development";
10564
10564
  }
10565
10565
  function token() {
@@ -12661,7 +12661,7 @@ function wallTime(value) {
12661
12661
  }
12662
12662
  }
12663
12663
  function captureVersion2() {
12664
- const version = "1.4.18";
12664
+ const version = "1.4.20";
12665
12665
  return typeof version === "string" && version.length > 0 ? version : "development";
12666
12666
  }
12667
12667
  function deepFreeze(value) {
@@ -267362,7 +267362,7 @@ I/O contract: flags and positionals on input; one rendered prose block on stdout
267362
267362
  A CDP-enabled browser must be running; \`capture tab list\` is the probe, and \`capture tab launch\` starts one capture owns and reaps when nothing is (never hand-roll a detached browser \u2014 nothing reaps that). Capture never signals a browser it did not start, so attaching to your own with --port is unchanged. CDP_PORT / CDP_TARGET pin the browser + tab for target-selecting commands \u2014 precedence: explicit flag > active session > env. \`session start\` adopts only an explicit --target.`;
267363
267363
  }
267364
267364
  function printVersion() {
267365
- const declared = "1.4.18";
267365
+ const declared = "1.4.20";
267366
267366
  if (declared) {
267367
267367
  console.log(declared);
267368
267368
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crouton-kit/capture",
3
- "version": "1.4.18",
3
+ "version": "1.4.20",
4
4
  "description": "Browser automation and UI validation via CDP — session-based screenshots, HAR, a11y, click/type, and JS exec",
5
5
  "bin": {
6
6
  "capture": "./bin/capture"