@letterstory/cli 0.177.130 → 0.177.131
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 -1
- package/lib/commands/targets.mjs +2 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
94
94
|
|
|
95
95
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
96
|
-
export const VERSION = "0.177.
|
|
96
|
+
export const VERSION = "0.177.131";
|
|
97
97
|
|
|
98
98
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
99
99
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -953,6 +953,7 @@ Offerings (context layered org → offering → collection; a layer sets only wh
|
|
|
953
953
|
Ranking targets (what the org wants to be THE answer for — company-wide or on one offering):
|
|
954
954
|
targets list [--offering <offering-id|company>] Targets grouped by scope, each with its active cap and usage
|
|
955
955
|
targets add <phrase> [--framing <f>] [--offering <offering-id|company>] [--priority high|normal|low]
|
|
956
|
+
[--keyword <keyword-id>] Made from a Keyword tracking keyword: its AI answers read as that keyword's
|
|
956
957
|
Lands active while its scope has room, inactive after —
|
|
957
958
|
adding never fails on the cap
|
|
958
959
|
targets update <target-id> [--phrase <p>] [--framing <f> | --clear-framing] [--offering <offering-id|company>]
|
package/lib/commands/targets.mjs
CHANGED
|
@@ -59,6 +59,8 @@ export const ARGS = {
|
|
|
59
59
|
priority,
|
|
60
60
|
// `--stance <text>`, repeatable: one point of view per flag.
|
|
61
61
|
stances: { flag: "stance", type: "list" },
|
|
62
|
+
// `--keyword <keyword-id>`: the Keyword tracking keyword it is made from (insights keywords lists ids).
|
|
63
|
+
keyword_id: "keyword",
|
|
62
64
|
},
|
|
63
65
|
update_ranking_target: {
|
|
64
66
|
target_id: { positional: 0, label: "target-id", required: true },
|