@letterstory/cli 0.176.10 → 0.176.11

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 CHANGED
@@ -80,7 +80,7 @@ import {
80
80
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
81
81
 
82
82
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
83
- export const VERSION = "0.176.10";
83
+ export const VERSION = "0.176.11";
84
84
 
85
85
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
86
86
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -1708,7 +1708,7 @@ Repo changes (Claude Code edits your repo in a sandbox; the Letter GitHub App op
1708
1708
  automate add --template … --slack-channel <C…>
1709
1709
  repo slack-targets Slack channels and people Send to Slack can use, with ids
1710
1710
  repo slack-test Post a test into the Send to Slack channel
1711
- repo start --repo <owner/name> [--gitlab] --instructions <text>|--instructions-file <path|->
1711
+ repo start --repo <owner/name> [--gitlab] --instructions <text>|--instructions-file <path|-> [--page <path>]...
1712
1712
  [--branch <base>] [--attach <path>]... [--attach-url <name>=<https url>]...
1713
1713
  [--attach-ref <path>]... [--attach-url-ref <name>=<https url>]...
1714
1714
  [--action build|build_pr|build_merge|slack|linear] [--with-preview]
@@ -92,6 +92,17 @@ const ARGS = {
92
92
  harness: { flag: "harness", enum: ["claude-code", "letterpress-1", "codex"] },
93
93
  // --again: start it even when an open change already asks for the same thing.
94
94
  again: { flag: "again", type: "bool" },
95
+ // --page <path>, repeatable or comma-separated: the pages the change is about ("/pricing"), so another change
96
+ // about the same pages is noticed before a sandbox starts.
97
+ pages: {
98
+ value: (flags) => {
99
+ const pages = flagList(flags.page)
100
+ .flatMap((v) => v.split(","))
101
+ .map((v) => v.trim())
102
+ .filter(Boolean);
103
+ return pages.length ? pages : undefined;
104
+ },
105
+ },
95
106
  // --verifier / --no-verifier: review the change before it goes out; omitted, the deployment's choice.
96
107
  verifier: { value: (flags) => (flags["no-verifier"] ? false : flags.verifier ? true : undefined) },
97
108
  },
@@ -438,6 +449,7 @@ async function repoStart(ctx) {
438
449
  "harness",
439
450
  "verifier",
440
451
  "no-verifier",
452
+ "page",
441
453
  "wait",
442
454
  ]);
443
455
  // One upload for every file (names must be unique across both), then the references marked.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.176.10",
3
+ "version": "0.176.11",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",