@letterstory/cli 0.121.6 → 0.121.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/admin.mjs +2 -2
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
} from "./commands.mjs";
|
|
62
62
|
|
|
63
63
|
// Keep in sync with cli/package.json.
|
|
64
|
-
export const VERSION = "0.121.
|
|
64
|
+
export const VERSION = "0.121.7";
|
|
65
65
|
|
|
66
66
|
// Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
|
|
67
67
|
// can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
|
package/lib/commands/admin.mjs
CHANGED
|
@@ -3543,7 +3543,7 @@ async function cmdAdminCrm(ctx) {
|
|
|
3543
3543
|
c
|
|
3544
3544
|
? `\n like ${c.name} (${c.kind} ${c.on}${c.primaryReason ? `, ${c.primaryReason}` : ""}): ${c.matched}/5 matched — ${c.features
|
|
3545
3545
|
.filter((f) => f.matched)
|
|
3546
|
-
.map((f) => `${f.feature} ${f.now}`)
|
|
3546
|
+
.map((f) => `${f.label ?? f.feature}: ${f.nowLabel ?? f.now}`)
|
|
3547
3547
|
.join(", ")}`
|
|
3548
3548
|
: "\n no past case matches 3 of 5";
|
|
3549
3549
|
return out(await staffRequest(ctx, "GET", `${CRM}/at-risk`), (r) =>
|
|
@@ -3564,7 +3564,7 @@ async function cmdAdminCrm(ctx) {
|
|
|
3564
3564
|
? r.signals
|
|
3565
3565
|
.map(
|
|
3566
3566
|
(x) =>
|
|
3567
|
-
`${x.score.toFixed(2)} ${x.name} → ${x.product} (${x.rule}) ${x.reasons.join("; ")} ${x.accountId}${x.beforePastExpansions.length ? `\n before past expansions: ${x.beforePastExpansions.map((p) => `${p.name} ${p.on}`).join(", ")}` : ""}`
|
|
3567
|
+
`${x.score.toFixed(2)} ${x.name} → ${x.product} (${x.ruleLabel ?? x.rule}) ${x.reasons.join("; ")} ${x.accountId}${x.beforePastExpansions.length ? `\n before past expansions: ${x.beforePastExpansions.map((p) => `${p.name} ${p.on}`).join(", ")}` : ""}`
|
|
3568
3568
|
)
|
|
3569
3569
|
.join("\n")
|
|
3570
3570
|
: "(no next-product verdicts)"
|