@letterstory/cli 0.158.3 → 0.158.4

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
@@ -66,7 +66,7 @@ import {
66
66
 
67
67
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
68
68
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
69
- export const VERSION = "0.158.3";
69
+ export const VERSION = "0.158.4";
70
70
 
71
71
  // Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
72
72
  // can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
@@ -1448,6 +1448,7 @@ Build (a change to your site, or launching what isn't code; the Build box's own
1448
1448
  done by Build itself (a phantom site buys its own domain), and the
1449
1449
  build reads Done with no PR to merge. --again repeats an open build's ask
1450
1450
  build talk <words…> [--conversation <id>|--build <id>] [--site <host>] [--harness claude-code|letterpress-1]
1451
+ [--repo owner/name]
1451
1452
  One turn of a conversation with Build (questions, follow-ups on a build)
1452
1453
 
1453
1454
  The Site (one model of your whole marketing site, keyed by host and path):
@@ -34,6 +34,8 @@ const ARGS = {
34
34
  subjects: { flag: "subject", type: "list" },
35
35
  files: { value: (_flags, _positionals, extra) => (extra.files?.length ? extra.files : undefined) },
36
36
  harness: { flag: "harness", enum: ["claude-code", "letterpress-1"] },
37
+ // --repo owner/name: the repo you're working in, where a Proofs install goes.
38
+ repo: "repo",
37
39
  },
38
40
  };
39
41
 
@@ -83,7 +85,16 @@ async function buildStart(ctx) {
83
85
 
84
86
  async function buildTalk(ctx) {
85
87
  const { client, flags, io } = ctx;
86
- refuseUnknownFlags(ctx, {}, ["message", "conversation", "build", "site", "subject", "harness", ...FILE_FLAGS]);
88
+ refuseUnknownFlags(ctx, {}, [
89
+ "message",
90
+ "conversation",
91
+ "build",
92
+ "site",
93
+ "subject",
94
+ "harness",
95
+ "repo",
96
+ ...FILE_FLAGS,
97
+ ]);
87
98
  const files = await attachedFiles(ctx);
88
99
  const args = argsFromFlags(ARGS.send_build_message, flags, ctx.positionals, { files });
89
100
  if (!args.message) throw new CliError('Say something: letterstory build talk "make the hero darker"');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.158.3",
3
+ "version": "0.158.4",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",