@letterstory/cli 0.177.195 → 0.177.197

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.195";
96
+ export const VERSION = "0.177.197";
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;
@@ -304,6 +304,8 @@ const ARGS = {
304
304
  run_id: { positional: 0, required: true, label: "run-id" },
305
305
  instructions: { value: (flags) => readTextInput(flags, "instructions", "instructions-file") },
306
306
  copy_edits: { value: (flags) => copyEdits(flags) },
307
+ // --ask: the person's own words as typed, when --instructions were written from them.
308
+ ask: "ask",
307
309
  // --letter-writes: the follow-up also writes in Letter (a review issue the last run had no access for).
308
310
  letter_writes: { flag: "letter-writes", type: "bool" },
309
311
  // --review-issues: fix what the review left open; Letter reads the open issues itself.
@@ -114,12 +114,13 @@ export const ARGS = {
114
114
  get_usage_payments: { host: { flag: "host" } },
115
115
  refresh_usage_payments: { host: { flag: "host" } },
116
116
  discover_usage_payment_scope: { host: { flag: "host" }, connection_version: { flag: "connection-version" } },
117
- list_usage_payment_catalog: { after: { flag: "after" } },
117
+ list_usage_payment_catalog: { after: { flag: "after" }, host: { flag: "host" } },
118
118
  get_usage_payment_evidence: {
119
119
  host: { flag: "host" },
120
120
  run_id: { flag: "run" },
121
121
  after: { flag: "after" },
122
122
  limit: { flag: "limit", type: "num" },
123
+ decision: { flag: "decision" },
123
124
  },
124
125
  review_usage_payments: { host: { flag: "host" } },
125
126
  set_usage_payment_scope: paymentScopeArgs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.195",
3
+ "version": "0.177.197",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",