@letterstory/cli 0.110.0 → 0.111.0

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
@@ -60,7 +60,7 @@ import {
60
60
  } from "./commands.mjs";
61
61
 
62
62
  // Keep in sync with cli/package.json.
63
- export const VERSION = "0.110.0";
63
+ export const VERSION = "0.111.0";
64
64
 
65
65
  // Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
66
66
  // can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
@@ -1183,7 +1183,7 @@ Repo changes (Claude Code edits your repo in a sandbox; the Letterstory GitHub A
1183
1183
  repo prs [--repo owner/name] Every open PR (whoever opened it), longest-idle first
1184
1184
  repo suggestions Fixes found and not acted on yet, and how to start each
1185
1185
  repo settings [--action build|build_pr|slack] [--branch <name>|none] [--slack-agent <name|U…>|none]
1186
- [--slack-channel <C…>|none] [--slack-reports off|as_found|daily] [--reports-channel <C…>|none] [--autopilot-channel <C…>|none] [--autopilot on|off] [--autopilot-weekly <1-20>]
1186
+ [--slack-channel <C…>|none] [--slack-reports off|as_found|daily] [--reports-channel <C…>|none] [--autopilot-channel <C…>|none] [--listen <C…,C…>|none] [--autopilot on|off] [--autopilot-weekly <1-20>]
1187
1187
  [--autopilot-severity critical|warning]
1188
1188
  The org's defaults for every fix: build (preview first),
1189
1189
  build_pr, or slack (post it to --slack-channel for your
@@ -103,6 +103,18 @@ const ARGS = {
103
103
  slack_reports_channel: {
104
104
  value: (flags) => (flags["reports-channel"] === "none" ? null : flagStr(flags["reports-channel"])),
105
105
  },
106
+ // --listen C…,C… (the full list), or --listen none
107
+ slack_listening_channels: {
108
+ value: (flags) =>
109
+ flags.listen === undefined
110
+ ? undefined
111
+ : flags.listen === "none"
112
+ ? []
113
+ : String(flags.listen)
114
+ .split(",")
115
+ .map((c) => c.trim())
116
+ .filter(Boolean),
117
+ },
106
118
  autopilot_channel: {
107
119
  value: (flags) => (flags["autopilot-channel"] === "none" ? null : flagStr(flags["autopilot-channel"])),
108
120
  },
@@ -471,6 +483,7 @@ async function repoSettings(ctx) {
471
483
  "slack-reports",
472
484
  "reports-channel",
473
485
  "autopilot-channel",
486
+ "listen",
474
487
  "autopilot",
475
488
  "autopilot-weekly",
476
489
  "autopilot-severity",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.110.0",
3
+ "version": "0.111.0",
4
4
  "description": "Spin up and manage Letterstory phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",