@letterstory/cli 0.177.6 → 0.177.7
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 +1 -1
- package/lib/commands/build.mjs +3 -0
- package/lib/commands/vary.mjs +3 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
88
88
|
|
|
89
89
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
90
|
-
export const VERSION = "0.177.
|
|
90
|
+
export const VERSION = "0.177.7";
|
|
91
91
|
|
|
92
92
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
93
93
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
package/lib/commands/build.mjs
CHANGED
|
@@ -71,6 +71,8 @@ const ARGS = {
|
|
|
71
71
|
recipe: "recipe",
|
|
72
72
|
// Preserve the account-specific task selected by the Plan.
|
|
73
73
|
fit_run: "fit-run",
|
|
74
|
+
// --plan-action <id>: a Plan row's account action started as an Idea (blog:post, outbound:campaign, …).
|
|
75
|
+
action: "plan-action",
|
|
74
76
|
// --accepted-quote '<json>': the price the Ideas row showed, echoed to accept what it buys.
|
|
75
77
|
accepted_quote: {
|
|
76
78
|
value: (flags) => {
|
|
@@ -256,6 +258,7 @@ async function buildStart(ctx) {
|
|
|
256
258
|
"subject",
|
|
257
259
|
"recipe",
|
|
258
260
|
"fit-run",
|
|
261
|
+
"plan-action",
|
|
259
262
|
"accepted-quote",
|
|
260
263
|
"action",
|
|
261
264
|
"notify-slack",
|
package/lib/commands/vary.mjs
CHANGED
|
@@ -78,6 +78,9 @@ export const ARGS = {
|
|
|
78
78
|
},
|
|
79
79
|
launch_variational_test: {
|
|
80
80
|
brief: "brief",
|
|
81
|
+
// --block "<its words>" --after "<the challenger's>": test exactly these, with no model choosing.
|
|
82
|
+
block: "block",
|
|
83
|
+
after: "after",
|
|
81
84
|
page_url: "page",
|
|
82
85
|
site_id: "site",
|
|
83
86
|
name: "name",
|