@letterstory/cli 0.177.30 → 0.177.31
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/lib/cli.mjs +2 -2
- package/lib/commands/replicate.mjs +2 -1
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
89
89
|
|
|
90
90
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
91
|
-
export const VERSION = "0.177.
|
|
91
|
+
export const VERSION = "0.177.31";
|
|
92
92
|
|
|
93
93
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
94
94
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -2123,7 +2123,7 @@ Bench (Benches: open-source benchmarks on their own domains, kept running; @lett
|
|
|
2123
2123
|
bench replicate <id> REPLICATE.md: how an agent reproduces the results
|
|
2124
2124
|
|
|
2125
2125
|
Replicate (the Replicator: a website rebuilt as a native Next.js repo, page for page; free, within fair-use limits):
|
|
2126
|
-
replicate <https://site> [--max-pages <n>] [--path <p>]… [--sample-banner] [--refine-budget <usd>] [--repo-name <r>] [--repo-owner <o>]
|
|
2126
|
+
replicate <https://site> [--max-pages <n>] [--path <p>]… [--sample-banner] [--cookies "<name=value; …>"] [--refine-budget <usd>] [--repo-name <r>] [--repo-owner <o>]
|
|
2127
2127
|
Capture every page, rebuild it, compare it pixel by pixel
|
|
2128
2128
|
replicate [list] Your replications: stage, how closely each matches, preview link;
|
|
2129
2129
|
the limits (in progress, pages this month, preview days)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// attach_replication_repo, advance_replication, archive_replication, list_form_submissions), the
|
|
7
7
|
// same lib functions the app calls.
|
|
8
8
|
//
|
|
9
|
-
// letterstory replicate https://example.com [--max-pages 300] [--path /pricing --path /about] [--refine-budget 25] [--repo-name example-site] [--repo-owner <account>]
|
|
9
|
+
// letterstory replicate https://example.com [--max-pages 300] [--path /pricing --path /about] [--cookies "country=US; locale=en"] [--refine-budget 25] [--repo-name example-site] [--repo-owner <account>]
|
|
10
10
|
// letterstory replicate list
|
|
11
11
|
// letterstory replicate show <id> [--failing]
|
|
12
12
|
// letterstory replicate attach <id> <repo-name> [--repo-owner <account>]
|
|
@@ -26,6 +26,7 @@ export const ARGS = {
|
|
|
26
26
|
max_pages: { flag: "max-pages", type: "num" },
|
|
27
27
|
paths: { flag: "path", type: "list" },
|
|
28
28
|
sample_banner: { flag: "sample-banner", type: "bool" },
|
|
29
|
+
capture_cookies: "cookies",
|
|
29
30
|
refine_budget_usd: { flag: "refine-budget", type: "num" },
|
|
30
31
|
repo_name: "repo-name",
|
|
31
32
|
repo_owner: "repo-owner",
|