@letterstory/cli 0.177.62 → 0.177.64
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 +2 -2
- package/lib/commands/models.mjs +7 -2
- package/package.json +1 -1
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.
|
|
93
|
+
export const VERSION = "0.177.64";
|
|
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;
|
|
@@ -2136,7 +2136,7 @@ Models (your own writing models, each trained on writing you give it so it write
|
|
|
2136
2136
|
models create "<name>" [--budget <usd>] [--description <d>] [--base <base-id>]
|
|
2137
2137
|
Budget: the most one training run may cost (default $100)
|
|
2138
2138
|
Base: qwen3.5-27b (default), qwen2.5-14b-instruct or gemma-3-27b-it
|
|
2139
|
-
models show <id>
|
|
2139
|
+
models show <id> [--serving] Its links, its training and what it cost (--serving: is its server up; wakes it)
|
|
2140
2140
|
models upload <id> <file-or-folder>… Import files, folders or ZIPs without training
|
|
2141
2141
|
models material <id> "<material or request>" [--stage-only] [--request <id>] [--from-request <id>]
|
|
2142
2142
|
Prepare material; --stage-only creates a request for uploads
|
package/lib/commands/models.mjs
CHANGED
|
@@ -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: {
|
|
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",
|