@letterstory/cli 0.177.147 → 0.177.148

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.147";
96
+ export const VERSION = "0.177.148";
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;
@@ -135,6 +135,8 @@ export const BOOLEAN_FLAGS = new Set([
135
135
  "check",
136
136
  // admin invariants: press every startable row as a check too.
137
137
  "presses",
138
+ // admin lost-posts: held posts back to the rework with the draft unchanged.
139
+ "rework",
138
140
  // admin targets check: check every target again, checked or not.
139
141
  "recheck",
140
142
  // build list: also move the builds' open changes along while polling.
@@ -1213,7 +1215,7 @@ Admin (STAFF key — --staff-key / LETTERSTORY_STAFF_API_KEY; acts before an org
1213
1215
  what they hold, grouped with ids. Exits 1 on any.
1214
1216
  admin dropoff [crossing] [--days 30] Where new accounts stopped in an onboarding crossing
1215
1217
  (default letter): the count per step and who. Read only.
1216
- admin lost-posts [--code lost_guard,lost_provider] [--days 7] [--org <id>] [--limit 200] [--apply]
1218
+ admin lost-posts [--code lost_guard,lost_provider|held_guard] [--rework] [--days 7] [--org <id>] [--limit 200] [--apply]
1217
1219
  Letterbase posts lost on our side (a publish guard dropped
1218
1220
  the finished post, a provider outage failed the slot) and
1219
1221
  never published. Lists what it would requeue; --apply puts
@@ -24,7 +24,7 @@
24
24
  // admin letterpress endings [--days N] [--write-cases] (how turns and repo changes ended when not done, by owner)
25
25
  // admin letterpress settings|flip|set … (recipes:read / recipes:write)
26
26
  // admin invariants [--org <id>,…] [--limit N] [--presses] (staff)
27
- // admin lost-posts [--code lost_guard,lost_provider|held_guard] [--days N] [--org <id>] [--limit N] [--apply] (staff)
27
+ // admin lost-posts [--code lost_guard,lost_provider|held_guard] [--rework] [--days N] [--org <id>] [--limit N] [--apply] (staff)
28
28
  // admin demo guide|list|show|set|reset|check|ideas … (demo:read / demo:write)
29
29
  // admin deployments [--health down|failing|blocked|setting_up|live|paused|archived] [--org <id>] [--q <text>] [--archived] [--test] [--no-host] (fleet:read)
30
30
  // admin deployments move <app-id> --to <org-id> (--dry-run | --yes) (fleet:onboard)
@@ -74,6 +74,7 @@ export const ARGS = {
74
74
  requeue_lost_posts: {
75
75
  dry_run: { value: (flags) => !flagBool(flags.apply) },
76
76
  codes: { value: (flags) => (flags.code ? flagCsv(flags.code) : undefined) },
77
+ rework: { flag: "rework", type: "bool" },
77
78
  days: { flag: "days", type: "num" },
78
79
  org_id: { flag: "org" },
79
80
  limit: { flag: "limit", type: "num" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.147",
3
+ "version": "0.177.148",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",