@letterstory/cli 0.177.56 → 0.177.58
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 +4 -2
- package/lib/commands/bench.mjs +2 -1
- package/lib/commands/models.mjs +1 -0
- 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.58";
|
|
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;
|
|
@@ -346,6 +346,7 @@ export const BOOLEAN_FLAGS = new Set([
|
|
|
346
346
|
"start-writing",
|
|
347
347
|
// `phantom-onboard primitives --retry [<domain>]` re-reads a domain whose read failed.
|
|
348
348
|
"retry",
|
|
349
|
+
"redeploy",
|
|
349
350
|
"posts-only",
|
|
350
351
|
"clear-topics",
|
|
351
352
|
"clear-stances",
|
|
@@ -472,6 +473,7 @@ export const BOOLEAN_FLAGS = new Set([
|
|
|
472
473
|
"train",
|
|
473
474
|
"keep-rest",
|
|
474
475
|
"no-train",
|
|
476
|
+
"baselines-only",
|
|
475
477
|
// usage case-study generate --named: name the companies (counts only without it).
|
|
476
478
|
"named",
|
|
477
479
|
]);
|
|
@@ -2160,7 +2162,7 @@ Bench (Benches: open-source benchmarks on their own domains, kept running; @lett
|
|
|
2160
2162
|
bench update <id> [--name <n>] [--slug <s>] [--repo-owner <o>] [--repo-name <r>] [--spec-file <path>] [--domain <d>] [--every <days>]
|
|
2161
2163
|
[--disclosure "<text>"|--disclosure-file <path>|--no-disclosure] The README's optional ## Disclosure
|
|
2162
2164
|
bench pause <id> | bench resume <id> | bench archive <id>
|
|
2163
|
-
bench advance <id> [--retry] [--skip <id>]… Move it on now; --retry once blocked_on is done
|
|
2165
|
+
bench advance <id> [--retry | --redeploy] [--skip <id>]… Move it on now; --retry once blocked_on is done
|
|
2164
2166
|
bench run <id> [--note "<what else to do>"] [--spec-changed] [--skip <id>]… Run the benchmark again
|
|
2165
2167
|
bench connect <id> <collection-id|none> A letterbase whose posts cite and link it
|
|
2166
2168
|
bench cite <id> The reference line a post cites
|
package/lib/commands/bench.mjs
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
// letterstory bench update <id> [--name <n>] [--slug <s>] [--repo-owner <o>] [--repo-name <r>] [--spec-file spec.json] [--domain <d>] [--every <days>]
|
|
15
15
|
// [--disclosure "<README disclosure text>" | --no-disclosure]
|
|
16
16
|
// letterstory bench pause <id> | resume <id> | archive <id>
|
|
17
|
-
// letterstory bench advance <id> [--retry] [--skip <contender-id>]…
|
|
17
|
+
// letterstory bench advance <id> [--retry] [--redeploy] [--skip <contender-id>]…
|
|
18
18
|
// letterstory bench run <id> [--note "add Qdrant as a contender"] [--spec-changed] [--skip <contender-id>]…
|
|
19
19
|
// letterstory bench connect <id> <collection-id|none>
|
|
20
20
|
// letterstory bench cite <id>
|
|
@@ -78,6 +78,7 @@ export const ARGS = {
|
|
|
78
78
|
approve_bench: { bench_id: benchId, skip_contenders: { flag: "skip", type: "list" } },
|
|
79
79
|
advance_bench: {
|
|
80
80
|
bench_id: benchId,
|
|
81
|
+
redeploy: { flag: "redeploy", type: "bool" },
|
|
81
82
|
retry: { flag: "retry", type: "bool" },
|
|
82
83
|
skip_contenders: { flag: "skip", type: "list" },
|
|
83
84
|
},
|
package/lib/commands/models.mjs
CHANGED
|
@@ -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,
|