@letterstory/cli 0.177.210 → 0.177.211

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
@@ -93,7 +93,7 @@ import {
93
93
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
94
94
 
95
95
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
96
- export const VERSION = "0.177.210";
96
+ export const VERSION = "0.177.211";
97
97
 
98
98
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
99
99
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -17,7 +17,7 @@
17
17
  // site highlight <domain> [--off] → set_competitor_highlight
18
18
  // site prospect <url> → read_prospect_site (staff: any company's site, no account, nothing stored)
19
19
  // site suggest <host> --idea <id> | --draft-id <id>… | --pattern <folder> | --item <id> --path <p>
20
- // | --new-page <folder> --words "<what the page is>" [--auto-merge | --keep-open] → start_suggestion
20
+ // | --new-page <folder> --words "<what the page is>" [--merge once_ready|window|by_hand] → start_suggestion
21
21
 
22
22
  import { writeFileSync } from "node:fs";
23
23
 
@@ -229,7 +229,9 @@ const ARGS = {
229
229
  return folder ? { folder: String(folder), words: String(words ?? "") } : undefined;
230
230
  },
231
231
  },
232
- // --auto-merge / --keep-open: the Auto-merge box; left out, the organization's default.
232
+ // --merge once_ready | window | by_hand: Build's merge box; --auto-merge / --keep-open, its older two-way form.
233
+ // Left out, the organization's default.
234
+ merge: { flag: "merge", enum: ["once_ready", "window", "by_hand"] },
233
235
  auto_merge: { flag: "auto-merge", type: "bool", negate: "keep-open" },
234
236
  },
235
237
  fix_site_observations: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.210",
3
+ "version": "0.177.211",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",