@letterstory/cli 0.106.1 → 0.107.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 +3 -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.107.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
|
|
@@ -1179,7 +1179,7 @@ Repo changes (Claude Code edits your repo in a sandbox; the Letterstory GitHub A
|
|
|
1179
1179
|
repo prs [--repo owner/name] Every open PR (whoever opened it), longest-idle first
|
|
1180
1180
|
repo suggestions Fixes found and not acted on yet, and how to start each
|
|
1181
1181
|
repo settings [--action build|build_pr|slack] [--branch <name>|none] [--slack-agent <name|U…>|none]
|
|
1182
|
-
[--slack-channel <C…>|none] [--autopilot on|off] [--autopilot-weekly <1-20>]
|
|
1182
|
+
[--slack-channel <C…>|none] [--slack-reports off|as_found|daily] [--autopilot on|off] [--autopilot-weekly <1-20>]
|
|
1183
1183
|
[--autopilot-severity critical|warning]
|
|
1184
1184
|
The org's defaults for every fix: build (preview first),
|
|
1185
1185
|
build_pr, or slack (post it to --slack-channel for your
|
package/lib/commands/repo.mjs
CHANGED
|
@@ -95,6 +95,8 @@ const ARGS = {
|
|
|
95
95
|
slack_channel: {
|
|
96
96
|
value: (flags) => (flags["slack-channel"] === "none" ? null : flagStr(flags["slack-channel"])),
|
|
97
97
|
},
|
|
98
|
+
// --slack-reports off|as_found|daily
|
|
99
|
+
slack_reports: { flag: "slack-reports", enum: ["off", "as_found", "daily"] },
|
|
98
100
|
// --autopilot on|off, --autopilot-weekly <1-20>, --autopilot-severity critical|warning
|
|
99
101
|
autopilot: {
|
|
100
102
|
value: (flags) =>
|
|
@@ -457,6 +459,7 @@ async function repoSettings(ctx) {
|
|
|
457
459
|
"branch",
|
|
458
460
|
"slack-agent",
|
|
459
461
|
"slack-channel",
|
|
462
|
+
"slack-reports",
|
|
460
463
|
"autopilot",
|
|
461
464
|
"autopilot-weekly",
|
|
462
465
|
"autopilot-severity",
|