@letterstory/cli 0.176.69 → 0.176.71

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
@@ -85,7 +85,7 @@ import {
85
85
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
86
86
 
87
87
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
88
- export const VERSION = "0.176.69";
88
+ export const VERSION = "0.176.71";
89
89
 
90
90
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
91
91
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -357,7 +357,6 @@ export const BOOLEAN_FLAGS = new Set([
357
357
  "now",
358
358
  "opt-out-footer",
359
359
  "postal-address-footer",
360
- "privacy-only",
361
360
  "redesign",
362
361
  "release-mailbox",
363
362
  "rival",
@@ -1840,7 +1839,7 @@ Repo changes (Claude Code edits your repo in a sandbox; the Letter GitHub App op
1840
1839
  repo install-letterprove --repo <owner/name> [--gitlab] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--wait]
1841
1840
  One PR adding Letterprove's script and identify calls
1842
1841
  (pick the repo where users sign in)
1843
- repo install-visitors [--site <id> | --host <domain>] [--repo <owner/name> [--gitlab]] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--privacy-only] [--wait]
1842
+ repo install-visitors [--site <id> | --host <domain>] [--repo <owner/name> [--gitlab]] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--wait]
1844
1843
  One PR adding the Visitors script tag and server snippet to the repo that
1845
1844
  builds the site (--repo: another repo)
1846
1845
  repo sites [--detect [--force]] Which website each repo builds, and the evidence
@@ -1,7 +1,9 @@
1
1
  // `automate` — Letterpress → Automations (docs/architecture/event-automations.md): an event, read
2
2
  // against your filter (--instruction), then done by Letterpress as your prompt (--prompt) says.
3
3
  // options / list / show / add / set / try / runs / approve / reject / send / remove, through the
4
- // same tools the app uses. (A letterbase's writing automations are `automations`.)
4
+ // same tools the app uses. (A letterbase's writing automations are `automations`.) `list` also shows the jobs
5
+ // Letter runs for the account (source "letter": internal links, the blog's sync, the site's re-audit, Fix
6
+ // autopilot, add-your-name suggestions, Auto-Plan), each with its scope; `set <id> --on|--off` turns one on or off.
5
7
  // Same flag/positional/io conventions as posts.mjs — no commander, no color.
6
8
 
7
9
  import { CliError } from "../client.mjs";
@@ -180,7 +180,6 @@ const ARGS = {
180
180
  repo_name: { value: (flags) => splitRepo(flags).name },
181
181
  base_branch: "branch",
182
182
  action: { flag: "action", enum: ["build", "build_pr", "build_merge", "slack", "linear"] },
183
- privacy_only: { flag: "privacy-only", type: "bool" },
184
183
  },
185
184
  get_repo_change_settings: {},
186
185
  list_suggested_fixes: {},
@@ -567,20 +566,10 @@ async function repoInstallLetterprove(ctx) {
567
566
  return followRun(ctx, result.run);
568
567
  }
569
568
 
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. */
569
+ /** `repo install-visitors [--site id | --host getstylie.com] [--repo owner/name] [--branch b] [--wait]`: the Visitors script tag and server snippet → one PR. */
571
570
  async function repoInstallVisitors(ctx) {
572
571
  const { client, flags, io } = ctx;
573
- refuseUnknownFlags(ctx, {}, [
574
- "site",
575
- "repo",
576
- "owner",
577
- "name",
578
- "gitlab",
579
- "branch",
580
- "action",
581
- "privacy-only",
582
- "wait",
583
- ]);
572
+ refuseUnknownFlags(ctx, {}, ["site", "repo", "owner", "name", "gitlab", "branch", "action", "wait"]);
584
573
  const result = await client.callTool(
585
574
  "visitors_open_install_pr",
586
575
  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.69",
3
+ "version": "0.176.71",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",