@letterstory/cli 0.177.45 → 0.177.46

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 CHANGED
@@ -88,7 +88,7 @@ import {
88
88
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
89
89
 
90
90
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
91
- export const VERSION = "0.177.45";
91
+ export const VERSION = "0.177.46";
92
92
 
93
93
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
94
94
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -1973,9 +1973,10 @@ Repo changes (Claude Code edits your repo in a sandbox; the Letter GitHub App op
1973
1973
  repo fix-audit --issue <issue-type>... [--audit <id>] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--wait]
1974
1974
  One PR fixing site-audit issues (repeat --issue to bundle) on every affected page,
1975
1975
  in the repo verified to build the site
1976
- repo install-letterprove --repo <owner/name> [--gitlab] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--wait]
1977
- One PR adding Letterprove's script and identify calls
1978
- (pick the repo where users sign in)
1976
+ repo install-letterprove --repo <owner/name> [--gitlab] [--host <domain>] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--wait]
1977
+ One PR adding Proofs to your product: Letter's script on signed-in
1978
+ pages (identification off) and the identify call
1979
+ (pick the repo where users sign in; --host: where they do)
1979
1980
  repo install-visitors [--site <id> | --host <domain>] [--repo <owner/name> [--gitlab]] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--wait]
1980
1981
  One PR adding the Visitors script tag and server snippet to the repo that
1981
1982
  builds the site (--repo: another repo)
@@ -181,6 +181,7 @@ const ARGS = {
181
181
  },
182
182
  letterprove_open_install_pr: {
183
183
  provider,
184
+ host: "host",
184
185
  repo_owner: { value: (flags) => splitRepo(flags).owner },
185
186
  repo_name: { value: (flags) => splitRepo(flags).name },
186
187
  base_branch: "branch",
@@ -579,10 +580,10 @@ async function repoFixAudit(ctx) {
579
580
  return followRun(ctx, result.run);
580
581
  }
581
582
 
582
- /** `repo install-letterprove --repo owner/name [--branch b] [--wait]`: Letterprove's script + identify calls → one PR. */
583
+ /** `repo install-letterprove --repo owner/name [--host h] [--branch b] [--wait]`: the Visitors script on the product + identify → one PR. */
583
584
  async function repoInstallLetterprove(ctx) {
584
585
  const { client, flags, io } = ctx;
585
- refuseUnknownFlags(ctx, {}, ["repo", "owner", "name", "gitlab", "branch", "action", "wait"]);
586
+ refuseUnknownFlags(ctx, {}, ["repo", "owner", "name", "gitlab", "host", "branch", "action", "wait"]);
586
587
  const result = await client.callTool(
587
588
  "letterprove_open_install_pr",
588
589
  argsFromFlags(ARGS.letterprove_open_install_pr, flags, ctx.positionals)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.45",
3
+ "version": "0.177.46",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",