@letterstory/cli 0.30.0 → 0.30.1
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 +4 -1
- package/lib/commands/lede.mjs +2 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./commands.mjs";
|
|
45
45
|
|
|
46
46
|
// Keep in sync with cli/package.json.
|
|
47
|
-
export const VERSION = "0.30.
|
|
47
|
+
export const VERSION = "0.30.1";
|
|
48
48
|
|
|
49
49
|
// Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
|
|
50
50
|
// can't accidentally swallow the id as --json's value.
|
|
@@ -560,12 +560,15 @@ Ledes (opening lines for cold email, chosen per prospect from a hand-approved li
|
|
|
560
560
|
[--company <c>] [--company-url <url>] [--school <s>] [--city <c>] [--country <c>]
|
|
561
561
|
[--years <n>] [--linkedin <url>] [--notes <text>]
|
|
562
562
|
[--candidates <1..10>] [--tone warm|direct|playful|formal] [--no-enrich]
|
|
563
|
+
[--deadline-ms <2000..120000>]
|
|
563
564
|
Synchronous: prints the candidate lines with the
|
|
564
565
|
top choice flagged. Needs at least one of
|
|
565
566
|
--first-name, --name, --email, --company or
|
|
566
567
|
--company-url. Only a match consumes a lede;
|
|
567
568
|
no_match is free. --no-enrich skips the company
|
|
568
569
|
lookup when latency matters more than fit.
|
|
570
|
+
--deadline-ms leaves out evidence that cannot
|
|
571
|
+
arrive in time (fewer lines may qualify).
|
|
569
572
|
lede runs [--endpoint <id>] [--limit <n>] Recent lede calls (telemetry), newest first
|
|
570
573
|
lede history [<domain>] [--days <n>] [--limit <n>] Openers already sent to an account
|
|
571
574
|
lede balance Ledes left on this org
|
package/lib/commands/lede.mjs
CHANGED
|
@@ -57,6 +57,8 @@ export const ARGS = {
|
|
|
57
57
|
default_lede: { flag: "default-lede" },
|
|
58
58
|
// Enrichment is ON by default server-side; `--no-enrich` skips it for latency.
|
|
59
59
|
enrich: { value: (flags) => (flags["no-enrich"] === true ? false : undefined) },
|
|
60
|
+
// A latency budget: optional evidence that cannot arrive in time is left out.
|
|
61
|
+
deadline_ms: { flag: "deadline-ms", type: "num" },
|
|
60
62
|
},
|
|
61
63
|
list_lede_runs: {
|
|
62
64
|
endpoint_id: "endpoint",
|