@letterstory/cli 0.176.42 → 0.176.43

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
@@ -83,7 +83,7 @@ import {
83
83
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
84
84
 
85
85
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
86
- export const VERSION = "0.176.42";
86
+ export const VERSION = "0.176.43";
87
87
 
88
88
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
89
89
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -566,10 +566,20 @@ async function repoInstallLetterprove(ctx) {
566
566
  return followRun(ctx, result.run);
567
567
  }
568
568
 
569
- /** `repo install-visitors [--site id] [--repo owner/name] [--branch b] [--wait]`: the Visitors script tag and server snippet → one PR. */
569
+ /** `repo install-visitors [--site id] [--repo owner/name] [--branch b] [--privacy-only] [--wait]`: the Visitors script tag and server snippet → one PR. */
570
570
  async function repoInstallVisitors(ctx) {
571
571
  const { client, flags, io } = ctx;
572
- refuseUnknownFlags(ctx, {}, ["site", "repo", "owner", "name", "gitlab", "branch", "action", "wait"]);
572
+ refuseUnknownFlags(ctx, {}, [
573
+ "site",
574
+ "repo",
575
+ "owner",
576
+ "name",
577
+ "gitlab",
578
+ "branch",
579
+ "action",
580
+ "privacy-only",
581
+ "wait",
582
+ ]);
573
583
  const result = await client.callTool(
574
584
  "visitors_open_install_pr",
575
585
  argsFromFlags(ARGS.visitors_open_install_pr, flags, ctx.positionals)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.176.42",
3
+ "version": "0.176.43",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",