@letterstory/cli 0.177.63 → 0.177.65

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
@@ -90,7 +90,7 @@ import {
90
90
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
91
91
 
92
92
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
93
- export const VERSION = "0.177.63";
93
+ export const VERSION = "0.177.65";
94
94
 
95
95
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
96
96
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -1382,12 +1382,12 @@ Admin (STAFF key — --staff-key / LETTERSTORY_STAFF_API_KEY; acts before an org
1382
1382
  bounced, marked as spam or failed). Read only.
1383
1383
  Needs spend:read.
1384
1384
  admin billing lago catalog [--apply] [--include-drafts]
1385
- | provision <org-id> --plan starter|growth|scale [--ratio 1|2|4|8 (8 needs --why "…")] [--complimentary N] [--stripe-customer cus_…] [--start ISO] [--review D]
1385
+ | provision <org-id> --plan base|starter|growth|scale|enterprise [--ratio 1|2|4|8 (8 needs --why "…")] [--complimentary N] [--stripe-customer cus_…] [--start ISO] [--review D]
1386
1386
  | reconcile [--org <org-id>] | forward
1387
1387
  | payments [--org <org-id>] [--open] | payments retry <lago-invoice-id> | payments run [--dry]
1388
1388
  | signups [--status open|card_saved|provisioned|paid|abandoned|canceled]
1389
1389
  | cap <org-id> <dollars|off> [--why "…"] | cancel <org-id> --why "…" --yes
1390
- | move <org-id> --plan starter|growth|scale [--ratio N [--why "…"]] [--reason "…"] [--stripe-subscription sub_…] [--now] [--dry]
1390
+ | move <org-id> --plan base|starter|growth|scale|enterprise [--ratio N [--why "…"]] [--reason "…"] [--stripe-subscription sub_…] [--now] [--dry]
1391
1391
  | changes [--org <org-id>] | changes cancel <org-id>
1392
1392
  Usage billing on Lago: the plan catalog, an org's
1393
1393
  plan and gifted ratio, Lago's tokens against ours,
@@ -6,7 +6,7 @@
6
6
  //
7
7
  // letterstory models [list] [--archived]
8
8
  // letterstory models create "<name>" [--budget <usd>] [--description <d>] [--base qwen3.5-27b|qwen2.5-14b-instruct|gemma-3-27b-it]
9
- // letterstory models show <id>
9
+ // letterstory models show <id> [--serving] [--sources proposed|confirmed] [--offset <n>]
10
10
  // letterstory models add <id> <url>… [--train]
11
11
  // letterstory models upload <id> <file-or-folder>…
12
12
  // letterstory models material <id> "<material or request>"
@@ -42,7 +42,12 @@ export const ARGS = {
42
42
  base_model: "base",
43
43
  },
44
44
  list_writing_models: { archived: { flag: "archived", type: "bool" }, serving: { flag: "serving", type: "bool" } },
45
- get_writing_model: { model_id: modelId, serving: { flag: "serving", type: "bool" } },
45
+ get_writing_model: {
46
+ model_id: modelId,
47
+ serving: { flag: "serving", type: "bool" },
48
+ sources: "sources",
49
+ offset: { flag: "offset", type: "num" },
50
+ },
46
51
  update_writing_model: {
47
52
  model_id: modelId,
48
53
  name: "name",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.63",
3
+ "version": "0.177.65",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",