@letterstory/cli 0.132.0 → 0.133.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 +5 -2
- package/lib/commands/repo.mjs +3 -0
- package/lib/commands/site.mjs +2 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
} from "./commands.mjs";
|
|
63
63
|
|
|
64
64
|
// Keep in sync with cli/package.json.
|
|
65
|
-
export const VERSION = "0.
|
|
65
|
+
export const VERSION = "0.133.0";
|
|
66
66
|
|
|
67
67
|
// Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
|
|
68
68
|
// can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
|
|
@@ -1343,6 +1343,7 @@ The Site (one model of your whole marketing site, keyed by host and path):
|
|
|
1343
1343
|
[--observation <id>]... Propose a registry tool call; input is validated now
|
|
1344
1344
|
site decide <proposal-id> --decision accept|dismiss [--reason <why>]
|
|
1345
1345
|
site fix <host> <observation-id>... [--action build|build_pr|build_merge|slack|linear|handoff] [--with-preview]
|
|
1346
|
+
[--harness claude-code|letterpress-1]
|
|
1346
1347
|
One change for N observations; handoff prints the prompt, slack/linear need no repo
|
|
1347
1348
|
site competitors [--since <iso> | --days <n>] [--limit <n>] Tracked competitors' sites: new and removed pages, by folder
|
|
1348
1349
|
site watch-competitors [domain] [--limit <n>] Map competitors' sitemaps (the next few unmapped, or one now)
|
|
@@ -1365,10 +1366,12 @@ Repo changes (Claude Code edits your repo in a sandbox; the Letterstory GitHub A
|
|
|
1365
1366
|
repo start --repo <owner/name> --instructions <text>|--instructions-file <path|->
|
|
1366
1367
|
[--branch <base>] [--attach <path>]... [--attach-url <name>=<https url>]...
|
|
1367
1368
|
[--attach-ref <path>]... [--attach-url-ref <name>=<https url>]...
|
|
1368
|
-
[--action build|build_pr|build_merge|slack|linear] [--with-preview]
|
|
1369
|
+
[--action build|build_pr|build_merge|slack|linear] [--with-preview]
|
|
1370
|
+
[--harness claude-code|letterpress-1] [--wait]
|
|
1369
1371
|
Start a change (attached files go to the sandbox;
|
|
1370
1372
|
-ref ones are context, never put in the repo);
|
|
1371
1373
|
--with-preview keeps a preview up next to the PR;
|
|
1374
|
+
--harness picks the coding agent (default: the deployment's);
|
|
1372
1375
|
--wait follows it to the PR
|
|
1373
1376
|
repo fix-audit --issue <issue-type>... [--audit <id>] [--branch <base>] [--action build|build_pr|build_merge|slack|linear] [--wait]
|
|
1374
1377
|
One PR fixing site-audit issues (repeat --issue to bundle) on every affected page,
|
package/lib/commands/repo.mjs
CHANGED
|
@@ -66,6 +66,8 @@ const ARGS = {
|
|
|
66
66
|
preview: { flag: "preview", type: "bool" },
|
|
67
67
|
// --with-preview: the PR opens straight away and a preview of the change stays up next to it.
|
|
68
68
|
with_preview: { flag: "with-preview", type: "bool" },
|
|
69
|
+
// --harness claude-code|letterpress-1: the coding agent; omitted, the deployment's default.
|
|
70
|
+
harness: { flag: "harness", enum: ["claude-code", "letterpress-1"] },
|
|
69
71
|
},
|
|
70
72
|
create_repo_change_upload: { file_names: { internal: "the basenames of the --attach files" } },
|
|
71
73
|
list_repo_sites: {},
|
|
@@ -338,6 +340,7 @@ async function repoStart(ctx) {
|
|
|
338
340
|
"action",
|
|
339
341
|
"preview",
|
|
340
342
|
"with-preview",
|
|
343
|
+
"harness",
|
|
341
344
|
"wait",
|
|
342
345
|
]);
|
|
343
346
|
// One upload for every file (names must be unique across both), then the references marked.
|
package/lib/commands/site.mjs
CHANGED
|
@@ -180,6 +180,8 @@ const ARGS = {
|
|
|
180
180
|
action: { flag: "action", enum: ["build", "build_pr", "build_merge", "slack", "linear", "handoff"] },
|
|
181
181
|
// --with-preview: the PR opens straight away and a preview of the fix stays up next to it.
|
|
182
182
|
with_preview: { flag: "with-preview", type: "bool" },
|
|
183
|
+
// --harness claude-code|letterpress-1: the coding agent; omitted, the deployment's default.
|
|
184
|
+
harness: { flag: "harness", enum: ["claude-code", "letterpress-1"] },
|
|
183
185
|
},
|
|
184
186
|
};
|
|
185
187
|
|