@letterstory/cli 0.176.50 → 0.176.51
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 +3 -2
- package/lib/commands/build.mjs +3 -2
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
86
86
|
|
|
87
87
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
88
|
-
export const VERSION = "0.176.
|
|
88
|
+
export const VERSION = "0.176.51";
|
|
89
89
|
|
|
90
90
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
91
91
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -1741,7 +1741,8 @@ Build (a change to your site, or launching what isn't code; the Build box's own
|
|
|
1741
1741
|
build status <build-id> One build: each change's state, its preview and pull request
|
|
1742
1742
|
build follow <build-id> [--json] What its agents do, line by line, until nothing in it is at
|
|
1743
1743
|
work (as letterpress follows a build); --json: one line per event
|
|
1744
|
-
build conversations [--limit <n>]
|
|
1744
|
+
build conversations [--limit <n>] [--origin <door>] Your conversations with Build, most recently active first;
|
|
1745
|
+
--origin console: only the Build box's (letter_edit: ⌘L's)
|
|
1745
1746
|
build conversation <conversation-id> | --build <build-id>
|
|
1746
1747
|
Every message in one, oldest first
|
|
1747
1748
|
|
package/lib/commands/build.mjs
CHANGED
|
@@ -138,7 +138,8 @@ const ARGS = {
|
|
|
138
138
|
// --from-plan: only what the Plan started (a strategy's row, Auto-Plan's pick), as the Plan's Actions list shows it.
|
|
139
139
|
from_plan: { flag: "from-plan", type: "bool" },
|
|
140
140
|
},
|
|
141
|
-
|
|
141
|
+
// --origin console: only what the app's Build box started (letter_edit: ⌘L's, mcp: the terminal's or an agent's).
|
|
142
|
+
list_build_conversations: { limit: { flag: "limit", type: "num" }, origin: "origin" },
|
|
142
143
|
get_build_conversation: {
|
|
143
144
|
conversation_id: { positional: 0, label: "conversation-id" },
|
|
144
145
|
build_id: "build",
|
|
@@ -403,7 +404,7 @@ async function buildFollow(ctx) {
|
|
|
403
404
|
/** `build conversations`: the organization's conversations with Build, most recently active first. */
|
|
404
405
|
async function buildConversations(ctx) {
|
|
405
406
|
const { client, flags, io } = ctx;
|
|
406
|
-
refuseUnknownFlags(ctx, {}, ["limit"]);
|
|
407
|
+
refuseUnknownFlags(ctx, {}, ["limit", "origin"]);
|
|
407
408
|
const result = await client.callTool(
|
|
408
409
|
"list_build_conversations",
|
|
409
410
|
argsFromFlags(ARGS.list_build_conversations, flags)
|