@letterstory/cli 0.177.161 → 0.177.163
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 +5 -2
- package/lib/commands/repo.mjs +3 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
94
94
|
|
|
95
95
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
96
|
-
export const VERSION = "0.177.
|
|
96
|
+
export const VERSION = "0.177.163";
|
|
97
97
|
|
|
98
98
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
99
99
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -103,6 +103,9 @@ export const EXIT_PAYMENT_REQUIRED = 3;
|
|
|
103
103
|
// `negate` spelling) in a command's ARGS map must be listed; boolean-flags.test.ts enforces it.
|
|
104
104
|
export const BOOLEAN_FLAGS = new Set([
|
|
105
105
|
"update",
|
|
106
|
+
// repo list: open changes past --limit are listed unless --newest-only.
|
|
107
|
+
"include-open",
|
|
108
|
+
"newest-only",
|
|
106
109
|
"include-tests",
|
|
107
110
|
"as-test",
|
|
108
111
|
"discover",
|
|
@@ -2102,7 +2105,7 @@ Repo changes (Claude Code edits your repo in a sandbox; the Letter GitHub App op
|
|
|
2102
2105
|
repo activity <run-id> [--follow] [--since <iso>] What the sandbox is doing, line by line (--follow: until it stops)
|
|
2103
2106
|
repo say <run-id> <message…> Tell a running build something; it carries on with it
|
|
2104
2107
|
repo list [--status running|succeeded|no_changes|failed|cancelled] [--limit n] [--audit <id>]
|
|
2105
|
-
[--source site_audit_issue|site_quick_check|letterprove_install|visitors_install|visitors_privacy]
|
|
2108
|
+
[--source site_audit_issue|site_quick_check|site_observations|letterprove_install|visitors_install|visitors_privacy]
|
|
2106
2109
|
[--detail full] one row per run by default; full: every field
|
|
2107
2110
|
repo publish <run-id> Make PR on a preview in review
|
|
2108
2111
|
repo merge <run-id> Merge its open PR (a squash; the repo's branch rules decide)
|
package/lib/commands/repo.mjs
CHANGED
|
@@ -320,6 +320,7 @@ const ARGS = {
|
|
|
320
320
|
enum: [
|
|
321
321
|
"site_audit_issue",
|
|
322
322
|
"site_quick_check",
|
|
323
|
+
"site_observations",
|
|
323
324
|
"letterprove_install",
|
|
324
325
|
"visitors_install",
|
|
325
326
|
"visitors_privacy",
|
|
@@ -327,6 +328,8 @@ const ARGS = {
|
|
|
327
328
|
],
|
|
328
329
|
},
|
|
329
330
|
site_host: "site",
|
|
331
|
+
// Open changes past --limit are listed by default; --newest-only lists the newest --limit alone.
|
|
332
|
+
include_open: { flag: "include-open", type: "bool", negate: "newest-only" },
|
|
330
333
|
detail: { flag: "detail", enum: ["brief", "full"] },
|
|
331
334
|
},
|
|
332
335
|
list_github_app_repos: {},
|