@letterstory/cli 0.177.52 → 0.177.53

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.52";
93
+ export const VERSION = "0.177.53";
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;
@@ -2121,8 +2121,9 @@ Usage data (what signed-in people do in your own app):
2121
2121
 
2122
2122
  Models (your own writing models, each trained on writing you give it so it writes in your voice):
2123
2123
  models [list] [--archived] Your models: where each stands, its links, its version
2124
- models create "<name>" [--budget <usd>] [--description <d>]
2124
+ models create "<name>" [--budget <usd>] [--description <d>] [--base <base-id>]
2125
2125
  Budget: the most one training run may cost (default $100)
2126
+ Base: qwen2.5-14b-instruct (default), qwen3.5-27b or gemma-3-27b-it
2126
2127
  models show <id> Its links, its training and what it cost
2127
2128
  models upload <id> <file-or-folder>… Import files, folders or ZIPs without training
2128
2129
  models material <id> "<material or request>" [--stage-only] [--request <id>] [--from-request <id>]
@@ -2142,7 +2143,7 @@ Models (your own writing models, each trained on writing you give it so it write
2142
2143
  models rewrite <id> "<source text>" Rewrite supplied prose in its trained voice
2143
2144
  models compare <id> "<source text>" Compare your model, Astra and Claude + Skill
2144
2145
  models write <id> "<what to write>" [--words <n>] Legacy ask-based generation
2145
- models update <id> [--name <n>] [--budget <usd>] [--description <d>]
2146
+ models update <id> [--name <n>] [--budget <usd>] [--description <d>] [--base <base-id>]
2146
2147
  models archive <id> | models restore <id>
2147
2148
 
2148
2149
  Bench (Benches: open-source benchmarks on their own domains, kept running; @letterstory.com only):
@@ -5,7 +5,7 @@
5
5
  // write_with_writing_model), the same lib functions the app calls.
6
6
  //
7
7
  // letterstory models [list] [--archived]
8
- // letterstory models create "<name>" [--budget <usd>] [--description <d>]
8
+ // letterstory models create "<name>" [--budget <usd>] [--description <d>] [--base qwen2.5-14b-instruct|qwen3.5-27b|gemma-3-27b-it]
9
9
  // letterstory models show <id>
10
10
  // letterstory models add <id> <url>… [--train]
11
11
  // letterstory models upload <id> <file-or-folder>…
@@ -16,7 +16,7 @@
16
16
  // letterstory models train <id> [--retry]
17
17
  // letterstory models stop <id> stop what is training
18
18
  // letterstory models write <id> "<what to write>" [--words <n>]
19
- // letterstory models update <id> [--name <n>] [--budget <usd>] [--description <d>]
19
+ // letterstory models update <id> [--name <n>] [--budget <usd>] [--description <d>] [--base <base-id>]
20
20
  // letterstory models archive <id> | models restore <id>
21
21
 
22
22
  import { readFileSync, readdirSync, statSync } from "node:fs";
@@ -35,6 +35,7 @@ export const ARGS = {
35
35
  name: { value: (flags, positionals) => flagStr(flags.name) ?? (positionals.join(" ").trim() || undefined) },
36
36
  description: "description",
37
37
  budget_usd: { flag: "budget", type: "num" },
38
+ base_model: "base",
38
39
  },
39
40
  list_writing_models: { archived: { flag: "archived", type: "bool" } },
40
41
  get_writing_model: { model_id: modelId },
@@ -43,6 +44,7 @@ export const ARGS = {
43
44
  name: "name",
44
45
  description: "description",
45
46
  budget_usd: { flag: "budget", type: "num" },
47
+ base_model: "base",
46
48
  archived: { internal: "models archive / models restore" },
47
49
  },
48
50
  add_writing_model_links: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.52",
3
+ "version": "0.177.53",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",