@letterstory/cli 0.176.91 → 0.176.92
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 +1 -1
- package/lib/commands/admin.mjs +10 -3
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
87
87
|
|
|
88
88
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
89
|
-
export const VERSION = "0.176.
|
|
89
|
+
export const VERSION = "0.176.92";
|
|
90
90
|
|
|
91
91
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
92
92
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
package/lib/commands/admin.mjs
CHANGED
|
@@ -5172,6 +5172,8 @@ function recipeDetail(r) {
|
|
|
5172
5172
|
`${pad}recipe: ${v.recipe || "—"}`,
|
|
5173
5173
|
`${pad}when to use: ${v.when_to_use || "—"}`,
|
|
5174
5174
|
`${pad}when not to use: ${v.when_not_to_use || "—"}`,
|
|
5175
|
+
// The facts it cannot run without (the fit holds it back in code); unset is the legacy rule until reviewed.
|
|
5176
|
+
`${pad}required inputs: ${v.requires == null ? "not reviewed (the legacy rule)" : v.requires.join(", ") || "none"}`,
|
|
5175
5177
|
];
|
|
5176
5178
|
return [
|
|
5177
5179
|
`${r.name} weight ${r.weight}/10 ${r.id}`,
|
|
@@ -5186,8 +5188,13 @@ function recipeDetail(r) {
|
|
|
5186
5188
|
` its prompt: ${r.automation.prompt}`,
|
|
5187
5189
|
]
|
|
5188
5190
|
: []),
|
|
5189
|
-
...(r.
|
|
5190
|
-
|
|
5191
|
+
...(r.tool_access
|
|
5192
|
+
? [
|
|
5193
|
+
` letter's tools: its build needs ${r.tool_access.required?.join(", ") || "none named"}; may write ${r.tool_access.writes?.join(", ") || "nothing"} (tool_access)`,
|
|
5194
|
+
]
|
|
5195
|
+
: r.primitives_access
|
|
5196
|
+
? [" letter's tools: its build may read the account through them (primitives_access)"]
|
|
5197
|
+
: []),
|
|
5191
5198
|
...(variations.length > 1
|
|
5192
5199
|
? variations.flatMap((v, i) => [` variation ${i + 1}: ${v.name}`, ...fields(v, " ")])
|
|
5193
5200
|
: fields(r, " ")),
|
|
@@ -5240,7 +5247,7 @@ function recipeFromFlags(flags) {
|
|
|
5240
5247
|
// --primitives-access true hands a start's build Letter's own tools; false takes them away.
|
|
5241
5248
|
primitives_access:
|
|
5242
5249
|
flags["primitives-access"] === undefined ? undefined : String(flags["primitives-access"]) === "true",
|
|
5243
|
-
// --immediate
|
|
5250
|
+
// --immediate is accepted for old scripts and read by nothing: a quick row is one whose runs is empty.
|
|
5244
5251
|
immediate: flags.immediate === undefined ? undefined : String(flags.immediate) === "true",
|
|
5245
5252
|
// --reads llms_txt,github declares the facts its conditions rest on; --reads "" clears them.
|
|
5246
5253
|
reads: flagStr(flags.reads)
|