@letterstory/cli 0.176.46 → 0.176.48

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
@@ -84,7 +84,7 @@ import {
84
84
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
85
85
 
86
86
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
87
- export const VERSION = "0.176.46";
87
+ export const VERSION = "0.176.48";
88
88
 
89
89
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
90
90
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -1811,7 +1811,7 @@ Repo changes (Claude Code edits your repo in a sandbox; the Letter GitHub App op
1811
1811
  repo install-letterprove --repo <owner/name> [--gitlab] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--wait]
1812
1812
  One PR adding Letterprove's script and identify calls
1813
1813
  (pick the repo where users sign in)
1814
- repo install-visitors [--site <id>] [--repo <owner/name> [--gitlab]] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--privacy-only] [--wait]
1814
+ repo install-visitors [--site <id> | --host <domain>] [--repo <owner/name> [--gitlab]] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--privacy-only] [--wait]
1815
1815
  One PR adding the Visitors script tag and server snippet to the repo that
1816
1816
  builds the site (--repo: another repo)
1817
1817
  repo sites [--detect [--force]] Which website each repo builds, and the evidence
@@ -44,6 +44,9 @@ const ARGS = {
44
44
  harness: { flag: "harness", enum: ["letterpress-1", "claude-code", "codex"] },
45
45
  // --branch <name>: where its changes start and its pull requests go; omitted, the branch that builds the site.
46
46
  base_branch: "branch",
47
+ // --repo owner/name: which repo, when the site is built from more than one. --folder-repo: the one you work in.
48
+ repo: "repo",
49
+ folder_repo: "folder-repo",
47
50
  // --effort low|medium|high|xhigh: how hard the coding agent works on each change; omitted, its own default.
48
51
  effort: { flag: "effort", enum: ["low", "medium", "high", "xhigh"] },
49
52
  again: { flag: "again", type: "bool" },
@@ -175,6 +175,7 @@ const ARGS = {
175
175
  visitors_open_install_pr: {
176
176
  provider,
177
177
  site_id: "site",
178
+ host: "host",
178
179
  repo_owner: { value: (flags) => splitRepo(flags).owner },
179
180
  repo_name: { value: (flags) => splitRepo(flags).name },
180
181
  base_branch: "branch",
@@ -566,7 +567,7 @@ async function repoInstallLetterprove(ctx) {
566
567
  return followRun(ctx, result.run);
567
568
  }
568
569
 
569
- /** `repo install-visitors [--site id] [--repo owner/name] [--branch b] [--privacy-only] [--wait]`: the Visitors script tag and server snippet → one PR. */
570
+ /** `repo install-visitors [--site id | --host getstylie.com] [--repo owner/name] [--branch b] [--privacy-only] [--wait]`: the Visitors script tag and server snippet → one PR. */
570
571
  async function repoInstallVisitors(ctx) {
571
572
  const { client, flags, io } = ctx;
572
573
  refuseUnknownFlags(ctx, {}, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.176.46",
3
+ "version": "0.176.48",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",