@letterstory/cli 0.177.55 → 0.177.57

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.55";
93
+ export const VERSION = "0.177.57";
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;
@@ -472,6 +472,7 @@ export const BOOLEAN_FLAGS = new Set([
472
472
  "train",
473
473
  "keep-rest",
474
474
  "no-train",
475
+ "baselines-only",
475
476
  // usage case-study generate --named: name the companies (counts only without it).
476
477
  "named",
477
478
  ]);
@@ -2139,7 +2140,7 @@ Models (your own writing models, each trained on writing you give it so it write
2139
2140
  models confirm <id> [<link-id>…] [--keep-rest] [--no-train]
2140
2141
  Confirm what was found (all, or the ids) and train on it
2141
2142
  models remove <id> <link-id>… Take links out of the next version
2142
- models train <id> [--retry] [--recipe <id>] Train the next version, or try a stopped one again
2143
+ models train <id> [--retry] [--recipe <id>] Train the next version (rewrite_v1 by default), or try a stopped one again
2143
2144
  models test <id> [--version <n>] [--units <n>] Test a version on held-out writing against Claude with examples
2144
2145
  models activate <id> <version> Make a ready version live (a first version is live when it trains)
2145
2146
  models stop <id> Stop what is training; what it spent is charged
@@ -14,7 +14,7 @@
14
14
  // letterstory models find <id> "<the writing to find>" [--max <n>]
15
15
  // letterstory models confirm <id> [<link-id>…] [--keep-rest] [--no-train] no link ids: all of them
16
16
  // letterstory models remove <id> <link-id>…
17
- // letterstory models train <id> [--retry] [--recipe rewrite_v1|content_brief_v2]
17
+ // letterstory models train <id> [--retry] [--recipe rewrite_v1|content_brief_v3]
18
18
  // letterstory models activate <id> <version> make a ready version live
19
19
  // letterstory models test <id> [--version <n>] [--units <8-24>] test a version on held-out writing
20
20
  // letterstory models stop <id> stop what is training
@@ -124,6 +124,7 @@ export const ARGS = {
124
124
  model_id: modelId,
125
125
  text: { value: (flags, positionals) => positionals.slice(1).join(" ").trim() || undefined },
126
126
  version: { flag: "version", type: "num" },
127
+ baselines_only: { flag: "baselines-only", type: "bool" },
127
128
  },
128
129
  write_with_writing_model: {
129
130
  model_id: modelId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.55",
3
+ "version": "0.177.57",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",