@letterstory/cli 0.175.5 → 0.175.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/README.md +1 -0
- package/lib/cli.mjs +2 -1
- package/lib/commands/org.mjs +1 -1
- package/lib/commands/outbound.mjs +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -868,6 +868,7 @@ letterstory mailers launch acme-mail.com --mailer "hello:Hello Team" --forward-t
|
|
|
868
868
|
letterstory mailers domains # every domain: setup job, mailers, warmup
|
|
869
869
|
letterstory mailers list [--domain acme.com] # status + daily send limit
|
|
870
870
|
letterstory mailers domain <owned-domain-id> # provisioning stage, DNS, mailers on it
|
|
871
|
+
letterstory mailers retry <owned-domain-id> # resume a failed setup from the step it stopped at
|
|
871
872
|
letterstory mailers messages <mailer-id> [--folder inbox|sent|all] [--limit 25] # envelopes
|
|
872
873
|
letterstory mailers message <mailer-id> <uid> --folder inbox # one message, plain-text body
|
|
873
874
|
letterstory mailers forward <mailer-id> --to me@acme.com # or --clear
|
package/lib/cli.mjs
CHANGED
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
} from "./commands.mjs";
|
|
78
78
|
|
|
79
79
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
80
|
-
export const VERSION = "0.175.
|
|
80
|
+
export const VERSION = "0.175.7";
|
|
81
81
|
|
|
82
82
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
83
83
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -1506,6 +1506,7 @@ Mailers (the sending mailboxes):
|
|
|
1506
1506
|
admin (with this org's Vercel key unless --keep-vercel-key)
|
|
1507
1507
|
mailers list [--domain <apex>] Your mailers + status + daily send limit
|
|
1508
1508
|
mailers domain <owned-domain-id> Provisioning stage, DNS state, mailers on a domain
|
|
1509
|
+
mailers retry <owned-domain-id> Resume a domain's failed mail setup where it stopped
|
|
1509
1510
|
mailers messages <mailer-id> [--folder all|inbox|sent] [--limit <n>]
|
|
1510
1511
|
Recent mail (envelopes)
|
|
1511
1512
|
mailers message <mailer-id> <uid> --folder inbox|sent
|
package/lib/commands/org.mjs
CHANGED
|
@@ -274,7 +274,7 @@ function tokenRewardsText(r) {
|
|
|
274
274
|
return [
|
|
275
275
|
`Free tokens for actions: ${r.claimedTokens} earned, ${r.availableTokens} still to earn.`,
|
|
276
276
|
...lines,
|
|
277
|
-
"Slack, the CLI, GitHub, GitLab and Search Console are granted on their own once done.",
|
|
277
|
+
"Slack, the CLI, GitHub, GitLab and Search Console are granted on their own once done; the tours once their task is done (a Build answer, a goal's plan, a fix, a page read).",
|
|
278
278
|
"Claim the rest: letterstory org billing rewards claim <action>",
|
|
279
279
|
].join("\n");
|
|
280
280
|
}
|
|
@@ -342,6 +342,9 @@ export const ARGS = {
|
|
|
342
342
|
get_mailer_domain_status: {
|
|
343
343
|
owned_domain_id: { positional: 0, label: "owned-domain-id", required: true },
|
|
344
344
|
},
|
|
345
|
+
retry_mailer_setup: {
|
|
346
|
+
owned_domain_id: { positional: 0, label: "owned-domain-id", required: true },
|
|
347
|
+
},
|
|
345
348
|
list_mailer_messages: {
|
|
346
349
|
mailer_id: { positional: 0, label: "mailer-id", required: true },
|
|
347
350
|
folder: { flag: "folder", enum: ["all", ...MAILER_FOLDERS] },
|
|
@@ -703,7 +706,7 @@ async function prospectsColumns(ctx, sub) {
|
|
|
703
706
|
}
|
|
704
707
|
}
|
|
705
708
|
|
|
706
|
-
const MAILERS_USAGE = `Usage: mailers <list|domains|domain|quote|launch|move|messages|message|forward|forwards|warmup|limit|retire|suppressions>`;
|
|
709
|
+
const MAILERS_USAGE = `Usage: mailers <list|domains|domain|retry|quote|launch|move|messages|message|forward|forwards|warmup|limit|retire|suppressions>`;
|
|
707
710
|
|
|
708
711
|
export async function cmdMailers(ctx) {
|
|
709
712
|
const sub = ctx.positionals[0];
|
|
@@ -716,6 +719,8 @@ export async function cmdMailers(ctx) {
|
|
|
716
719
|
return run(rest, "list_mail_domains");
|
|
717
720
|
case "domain":
|
|
718
721
|
return run(rest, "get_mailer_domain_status");
|
|
722
|
+
case "retry":
|
|
723
|
+
return run(rest, "retry_mailer_setup");
|
|
719
724
|
case "quote":
|
|
720
725
|
return run(rest, "quote_mail_domain");
|
|
721
726
|
case "move": {
|