@letterstory/cli 0.176.31 → 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 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.31";
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>]
@@ -643,7 +643,7 @@ async function kernelEval(ctx) {
643
643
 
644
644
  /**
645
645
  * `kernel update <kernel-id>` — name/description/voice on an org-owned kernel. Raw
646
- * prompt/config editing stays staff-only (the app's own developer console), same as always.
646
+ * prompt/config editing stays staff-only (Super Admin), same as always.
647
647
  */
648
648
  async function kernelUpdate(ctx) {
649
649
  const { client, positionals, flags, io } = ctx;
@@ -30,7 +30,7 @@ export async function cmdProbes(ctx) {
30
30
  }
31
31
 
32
32
  function formatProbeLine(p) {
33
- const state = p.lifecycle_state ? `[${p.lifecycle_state}]` : p.is_active ? "[active]" : "[paused]";
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) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.176.31",
3
+ "version": "0.176.33",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",