@letterstory/cli 0.177.59 → 0.177.61

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.59";
93
+ export const VERSION = "0.177.61";
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;
@@ -99,6 +99,8 @@ export const EXIT_PAYMENT_REQUIRED = 3;
99
99
  // can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
100
100
  // `negate` spelling) in a command's ARGS map must be listed; boolean-flags.test.ts enforces it.
101
101
  export const BOOLEAN_FLAGS = new Set([
102
+ // models list: say whether each trained model's server is up now.
103
+ "serving",
102
104
  // Models material: retain a request for attachments before preparing it.
103
105
  "stage-only",
104
106
  // visits export: only the people or companies who fit the ICP, or only those who don't.
@@ -2129,7 +2131,7 @@ Models (your own writing models, each trained on writing you give it so it write
2129
2131
  models [list] [--archived] Your models: where each stands, its links, its version
2130
2132
  models create "<name>" [--budget <usd>] [--description <d>] [--base <base-id>]
2131
2133
  Budget: the most one training run may cost (default $100)
2132
- Base: qwen2.5-14b-instruct (default), qwen3.5-27b or gemma-3-27b-it
2134
+ Base: qwen3.5-27b (default), qwen2.5-14b-instruct or gemma-3-27b-it
2133
2135
  models show <id> Its links, its training and what it cost
2134
2136
  models upload <id> <file-or-folder>… Import files, folders or ZIPs without training
2135
2137
  models material <id> "<material or request>" [--stage-only] [--request <id>] [--from-request <id>]
@@ -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>] [--base qwen2.5-14b-instruct|qwen3.5-27b|gemma-3-27b-it]
8
+ // letterstory models create "<name>" [--budget <usd>] [--description <d>] [--base qwen3.5-27b|qwen2.5-14b-instruct|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>…
@@ -41,7 +41,7 @@ export const ARGS = {
41
41
  budget_usd: { flag: "budget", type: "num" },
42
42
  base_model: "base",
43
43
  },
44
- list_writing_models: { archived: { flag: "archived", type: "bool" } },
44
+ list_writing_models: { archived: { flag: "archived", type: "bool" }, serving: { flag: "serving", type: "bool" } },
45
45
  get_writing_model: { model_id: modelId },
46
46
  update_writing_model: {
47
47
  model_id: modelId,
@@ -172,7 +172,7 @@ export async function cmdModels(ctx) {
172
172
  return r.models
173
173
  .map(
174
174
  (m) =>
175
- `${m.id} ${m.name.slice(0, 28).padEnd(28)} ${(STATE[m.state] ?? m.state).padEnd(17)} ${m.links.confirmed} links${m.version ? ` v${m.version.n}` : ""}${m.handle ? ` letter/${m.handle}` : ""}${m.on ? " on" : ""}`
175
+ `${m.id} ${m.name.slice(0, 28).padEnd(28)} ${(STATE[m.state] ?? m.state).padEnd(17)} ${m.links.confirmed} links${m.version ? ` v${m.version.n}` : ""}${m.handle ? ` letter/${m.handle}` : ""}${m.on ? " on" : ""}${m.serving ? ` ${m.serving}` : ""}`
176
176
  )
177
177
  .join("\n");
178
178
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.59",
3
+ "version": "0.177.61",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",