@letterstory/cli 0.109.0 → 0.110.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 +2 -2
- package/lib/commands/repo.mjs +9 -0
- package/package.json +1 -1
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.
|
|
63
|
+
export const VERSION = "0.110.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] [--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] [--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
|
package/lib/commands/repo.mjs
CHANGED
|
@@ -99,6 +99,13 @@ const ARGS = {
|
|
|
99
99
|
},
|
|
100
100
|
// --slack-reports off|as_found|daily
|
|
101
101
|
slack_reports: { flag: "slack-reports", enum: ["off", "as_found", "daily"] },
|
|
102
|
+
// --reports-channel C…|none, --autopilot-channel C…|none (none = the fix channel)
|
|
103
|
+
slack_reports_channel: {
|
|
104
|
+
value: (flags) => (flags["reports-channel"] === "none" ? null : flagStr(flags["reports-channel"])),
|
|
105
|
+
},
|
|
106
|
+
autopilot_channel: {
|
|
107
|
+
value: (flags) => (flags["autopilot-channel"] === "none" ? null : flagStr(flags["autopilot-channel"])),
|
|
108
|
+
},
|
|
102
109
|
// --autopilot on|off, --autopilot-weekly <1-20>, --autopilot-severity critical|warning
|
|
103
110
|
autopilot: {
|
|
104
111
|
value: (flags) =>
|
|
@@ -462,6 +469,8 @@ async function repoSettings(ctx) {
|
|
|
462
469
|
"slack-agent",
|
|
463
470
|
"slack-channel",
|
|
464
471
|
"slack-reports",
|
|
472
|
+
"reports-channel",
|
|
473
|
+
"autopilot-channel",
|
|
465
474
|
"autopilot",
|
|
466
475
|
"autopilot-weekly",
|
|
467
476
|
"autopilot-severity",
|