@letterstory/cli 0.108.2 → 0.108.4

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
@@ -60,7 +60,7 @@ import {
60
60
  } from "./commands.mjs";
61
61
 
62
62
  // Keep in sync with cli/package.json.
63
- export const VERSION = "0.108.2";
63
+ export const VERSION = "0.108.4";
64
64
 
65
65
  // Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
66
66
  // can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
@@ -623,7 +623,8 @@ Propose lane (the Fleet wizard's Plan and Name screens; persists nothing, spends
623
623
  What does this org still need? (the router — reads only, decides nothing):
624
624
  ${bin === "phantom" ? "onboard" : "phantom-onboard"} primitives [<domain>] [--retry] The primitives that fit a domain (default:
625
625
  yours), each with the exact call that sets
626
- it up — the plan Instances shows
626
+ it up — the plan Instances shows;
627
+ --primitives kernel,phantom keeps only those
627
628
  ${bin === "phantom" ? "onboard" : "phantom-onboard"} plan Every onboarding step (context, main blog,
628
629
  Planner, CMS, phantom) with its status:
629
630
  done / running / ready / blocked, and what
@@ -1160,7 +1161,7 @@ The Site (one model of your whole marketing site, keyed by host and path):
1160
1161
  site refresh <host> [--force-map] [--force-audit] [--skip-observe]
1161
1162
  Run the daily loop now: re-map, re-audit, signals, Jev
1162
1163
  site unmap <host> Remove a host and everything hanging off it
1163
- site tree <host> [path] [--depth <n>] [--unfold] [--since <iso>]
1164
+ site tree <host> [path] [--depth <n>] [--unfold] [--since <iso>] [--focus-size <n|all>]
1164
1165
  The tree one folder at a time; --since adds +N/-N per folder
1165
1166
  site page <host> <path> One page: facts, bindings, raw URLs, open items
1166
1167
  site observations <host> [path] [--state open|dismissed|resolved] [--tone risk|warn|info] [--key <k>] [--since <iso>] [--min-reach <0..1>]
@@ -179,6 +179,8 @@ export const ARGS = {
179
179
  propose_primitive_plan: {
180
180
  domain: { positional: 0, label: "domain" },
181
181
  retry: { flag: "retry", type: "bool" },
182
+ // Only these primitives, as a plan recipe allows: kernel,phantom,mailer,sequence.
183
+ primitives: { flag: "primitives", type: "list" },
182
184
  },
183
185
  propose_phantom_plan: {
184
186
  client_domain: { positional: 0, label: "client-domain" },
@@ -58,6 +58,14 @@ const ARGS = {
58
58
  unfold: { flag: "unfold", type: "bool" },
59
59
  subtree: { flag: "subtree", type: "bool" },
60
60
  since: { flag: "since" },
61
+ // The ranking's top n, or "all", instead of the attention policy's short list.
62
+ focus_size: {
63
+ value: (flags) => {
64
+ const raw = flags["focus-size"];
65
+ if (raw === undefined || raw === true) return undefined;
66
+ return raw === "all" ? "all" : Number(raw);
67
+ },
68
+ },
61
69
  },
62
70
  list_competitor_sites: {
63
71
  since: { flag: "since" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.108.2",
3
+ "version": "0.108.4",
4
4
  "description": "Spin up and manage Letterstory phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",