@letterstory/cli 0.176.32 → 0.176.33
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/probes.mjs +2 -1
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
84
84
|
|
|
85
85
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
86
|
-
export const VERSION = "0.176.
|
|
86
|
+
export const VERSION = "0.176.33";
|
|
87
87
|
|
|
88
88
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
89
89
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -773,7 +773,7 @@ Offerings (context layered org → offering → collection; a layer sets only wh
|
|
|
773
773
|
What it may promote; the primary is what it publishes as
|
|
774
774
|
offerings topic <topic-id> --offering <offering-id|none>
|
|
775
775
|
Override which offering one planner topic promotes
|
|
776
|
-
probes list [--collection <uuid>] [--active-only] [--kind mention|citation|page]
|
|
776
|
+
probes list [--collection <uuid>] [--active-only] [--kind mention|citation|page] [--days 30]
|
|
777
777
|
probes keep | pause | resume <probe_id> Keep = protect an AI probe from rotation (no pause)
|
|
778
778
|
probes edit <probe_id> <new question text> Fix/sharpen a generated probe
|
|
779
779
|
probes add <question> [--kind mention|citation] [--scope site|company|<blogId>] [--cluster <id>]
|
package/lib/commands/probes.mjs
CHANGED
|
@@ -30,7 +30,7 @@ export async function cmdProbes(ctx) {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
function formatProbeLine(p) {
|
|
33
|
-
const state = p.
|
|
33
|
+
const state = p.lifecycle?.state ? `[${p.lifecycle.state}]` : p.is_active ? "[active]" : "[paused]";
|
|
34
34
|
return `${p.id} ${state} (${p.probe_kind}/${p.scope}, source=${p.source ?? "?"}) ${p.text}`;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -42,6 +42,7 @@ async function probesList(ctx) {
|
|
|
42
42
|
collection_id: flagStr(flags.collection),
|
|
43
43
|
active_only: flagBool(flags["active-only"]),
|
|
44
44
|
probe_kind: flagStr(flags.kind),
|
|
45
|
+
days: flagNum(flags.days),
|
|
45
46
|
})
|
|
46
47
|
);
|
|
47
48
|
printResult(io, flags, result, (r) => {
|