@letterstory/cli 0.177.35 → 0.177.36
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 +5 -2
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
89
89
|
|
|
90
90
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
91
|
-
export const VERSION = "0.177.
|
|
91
|
+
export const VERSION = "0.177.36";
|
|
92
92
|
|
|
93
93
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
94
94
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -2102,7 +2102,7 @@ Models (your own writing models, each trained on writing you give it so it write
|
|
|
2102
2102
|
models train <id> [--retry] Train the next version, or try a stopped one again
|
|
2103
2103
|
models stop <id> Stop what is training; what it spent is charged
|
|
2104
2104
|
models rewrite <id> "<source text>" Rewrite supplied prose in its trained voice
|
|
2105
|
-
models compare <id> "<source text>" Compare
|
|
2105
|
+
models compare <id> "<source text>" Compare your model, Astra and Claude + Skill
|
|
2106
2106
|
models write <id> "<what to write>" [--words <n>] Legacy ask-based generation
|
|
2107
2107
|
models update <id> [--name <n>] [--budget <usd>] [--description <d>]
|
|
2108
2108
|
models archive <id> | models restore <id>
|
package/lib/commands/models.mjs
CHANGED
|
@@ -246,8 +246,11 @@ export async function cmdModels(ctx) {
|
|
|
246
246
|
printResult(next.io, next.flags, result, (r) =>
|
|
247
247
|
sub === "rewrite"
|
|
248
248
|
? r.text
|
|
249
|
-
:
|
|
250
|
-
.map(
|
|
249
|
+
: ["custom", "astra", "claude"]
|
|
250
|
+
.map(
|
|
251
|
+
(name) =>
|
|
252
|
+
`${name}:\n${r.outputs[name]?.text ?? r.outputs[name]?.error ?? "Unavailable"}`
|
|
253
|
+
)
|
|
251
254
|
.join("\n\n")
|
|
252
255
|
);
|
|
253
256
|
return 0;
|