@letterstory/cli 0.176.15 → 0.176.16

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
@@ -80,7 +80,7 @@ import {
80
80
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
81
81
 
82
82
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
83
- export const VERSION = "0.176.15";
83
+ export const VERSION = "0.176.16";
84
84
 
85
85
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
86
86
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -1652,12 +1652,12 @@ Insights:
1652
1652
  Build (a change to your site, or launching what isn't code; the Build box's own door):
1653
1653
  build <words…> [--prompt <text>] [--site <host>] [--subject <host/path>]... [--action build|build_pr|build_merge|slack|linear]
1654
1654
  [--attach <path>]... [--attach-url <name>=<https url>]... [--attach-ref <path>]... [--attach-url-ref <name>=<https url>]...
1655
- [--harness claude-code|letterpress-1] [--notify-slack] [--again]
1655
+ [--harness letterpress-1|claude-code|codex] [--notify-slack] [--again]
1656
1656
  Build from your words: "add a pricing page" opens a preview or PR;
1657
1657
  "launch a phantom for us", "set up mailers" or "onboard my blog" is
1658
1658
  done by Build itself (a phantom site buys its own domain), and the
1659
1659
  build reads Done with no PR to merge. --again repeats an open build's ask
1660
- build talk <words…> [--conversation <id>|--build <id>] [--site <host>] [--harness claude-code|letterpress-1]
1660
+ build talk <words…> [--conversation <id>|--build <id>] [--site <host>] [--harness letterpress-1|claude-code|codex]
1661
1661
  [--repo owner/name] [--action build|build_pr|build_merge]
1662
1662
  One turn of a conversation with Build (questions, follow-ups on a build)
1663
1663
  build cancel <build-id> Stop a build before it merges: what's being built stops, its
@@ -1697,7 +1697,7 @@ The Site (one model of your whole marketing site, keyed by host and path):
1697
1697
  [--observation <id>]... Propose a registry tool call; input is validated now
1698
1698
  site decide <proposal-id> --decision accept|dismiss [--reason <why>]
1699
1699
  site fix <host> <observation-id>... [--action build|build_pr|build_merge|slack|linear|handoff] [--with-preview]
1700
- [--harness claude-code|letterpress-1]
1700
+ [--harness letterpress-1|claude-code|codex]
1701
1701
  One change for N observations; handoff prints the prompt, slack/linear need no repo
1702
1702
  site competitors [--since <iso> | --days <n>] [--limit <n>] Tracked competitors' sites: new and removed pages, by folder
1703
1703
  site watch-competitors [domain] [--limit <n>] Map competitors' sitemaps (the next few unmapped, or one now)
@@ -1728,7 +1728,7 @@ Repo changes (Claude Code edits your repo in a sandbox; the Letter GitHub App op
1728
1728
  [--branch <base>] [--attach <path>]... [--attach-url <name>=<https url>]...
1729
1729
  [--attach-ref <path>]... [--attach-url-ref <name>=<https url>]...
1730
1730
  [--action build|build_pr|build_merge|slack|linear] [--with-preview]
1731
- [--harness claude-code|letterpress-1] [--verifier|--no-verifier] [--wait]
1731
+ [--harness letterpress-1|claude-code|codex] [--verifier|--no-verifier] [--wait]
1732
1732
  Start a change (attached files go to the sandbox;
1733
1733
  -ref ones are context, never put in the repo);
1734
1734
  --with-preview keeps a preview up next to the PR;
@@ -30,7 +30,7 @@ const ARGS = {
30
30
  files: { value: (_flags, _positionals, extra) => (extra.files?.length ? extra.files : undefined) },
31
31
  delivery: { flag: "action", enum: ["build", "build_pr", "build_merge", "slack", "linear"] },
32
32
  notify_slack: { flag: "notify-slack", type: "bool" },
33
- harness: { flag: "harness", enum: ["claude-code", "letterpress-1"] },
33
+ harness: { flag: "harness", enum: ["letterpress-1", "claude-code", "codex"] },
34
34
  again: { flag: "again", type: "bool" },
35
35
  // --recipe <id>: the recipe the build carries out (a Plan row's), recorded on it.
36
36
  recipe: "recipe",
@@ -46,7 +46,7 @@ const ARGS = {
46
46
  // --recipe <id>: the recipe the words carry out (a Plan row's), recorded on the build it starts.
47
47
  recipe: "recipe",
48
48
  files: { value: (_flags, _positionals, extra) => (extra.files?.length ? extra.files : undefined) },
49
- harness: { flag: "harness", enum: ["claude-code", "letterpress-1"] },
49
+ harness: { flag: "harness", enum: ["letterpress-1", "claude-code", "codex"] },
50
50
  // --repo owner/name: the repo you're working in, where a Proofs install goes.
51
51
  repo: "repo",
52
52
  // --action build|build_pr|build_merge: how a build this message starts is delivered (Letter Edit's auto-merge sends build_merge).
@@ -87,8 +87,8 @@ const ARGS = {
87
87
  preview: { flag: "preview", type: "bool" },
88
88
  // --with-preview: the PR opens straight away and a preview of the change stays up next to it.
89
89
  with_preview: { flag: "with-preview", type: "bool" },
90
- // --harness claude-code|letterpress-1: the coding agent; omitted, the deployment's default.
91
- // codex (OpenAI's Codex CLI) runs only on a test organization, for the harness evals.
90
+ // --harness letterpress-1|claude-code|codex: the coding agent (codex is GPT, through OpenAI's Codex CLI);
91
+ // omitted, the organization's default.
92
92
  harness: { flag: "harness", enum: ["claude-code", "letterpress-1", "codex"] },
93
93
  // --again: start it even when an open change already asks for the same thing.
94
94
  again: { flag: "again", type: "bool" },
@@ -200,8 +200,8 @@ const ARGS = {
200
200
  action: { flag: "action", enum: ["build", "build_pr", "build_merge", "slack", "linear", "handoff"] },
201
201
  // --with-preview: the PR opens straight away and a preview of the fix stays up next to it.
202
202
  with_preview: { flag: "with-preview", type: "bool" },
203
- // --harness claude-code|letterpress-1: the coding agent; omitted, the deployment's default.
204
- harness: { flag: "harness", enum: ["claude-code", "letterpress-1"] },
203
+ // --harness letterpress-1|claude-code|codex: the coding agent (codex is GPT); omitted, the organization's default.
204
+ harness: { flag: "harness", enum: ["letterpress-1", "claude-code", "codex"] },
205
205
  },
206
206
  };
207
207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.176.15",
3
+ "version": "0.176.16",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",