@letterstory/cli 0.177.141 → 0.177.142
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/goals.mjs +1 -3
- 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.142";
|
|
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;
|
|
@@ -1917,7 +1917,7 @@ Insights:
|
|
|
1917
1917
|
plan strategies [--site host] [--archived] The goals typed on Ideas, each a strategy
|
|
1918
1918
|
plan strategy add "<words…>" [--site host] Keep a goal in your words as a strategy
|
|
1919
1919
|
plan strategy archive <strategy-id> [--restore] Put one away (its card leaves the Plan), or bring it back
|
|
1920
|
-
goals list|save
|
|
1920
|
+
goals list|save [goal] --host <host> Set up goals and save them to Memory
|
|
1921
1921
|
rail [list] | rail set <key>… | rail reset Your organization's Letterpress sidebar pins
|
|
1922
1922
|
memory ingest [--text|--text-file <path|->] [--link <url>]… [--include-website] [--mcp-url <url>] Push context to Memory: a reviewable proposal
|
|
1923
1923
|
memory apply <ingestion-id> --changes <id>,<id> Save the proposed changes you accept
|
package/lib/commands/goals.mjs
CHANGED
|
@@ -17,15 +17,13 @@ export const ARGS = {
|
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
|
-
commit_goal_setup: { host: { flag: "host", required: true }, goal: { positional: 0, required: true } },
|
|
21
20
|
};
|
|
22
21
|
export async function cmdGoals(ctx) {
|
|
23
22
|
const tool = {
|
|
24
23
|
list: "get_goal_setups",
|
|
25
24
|
save: "save_goal_setup",
|
|
26
|
-
commit: "commit_goal_setup",
|
|
27
25
|
}[ctx.positionals[0]];
|
|
28
|
-
if (!tool) throw new CliError("Usage: goals list|save
|
|
26
|
+
if (!tool) throw new CliError("Usage: goals list|save [goal] --host <host> [--answers-file <path>]");
|
|
29
27
|
refuseUnknownFlags(ctx, ARGS[tool], tool === "save_goal_setup" ? ["answers", "answers-file"] : []);
|
|
30
28
|
const args = argsFromFlags(ARGS[tool], ctx.flags, ctx.positionals.slice(1));
|
|
31
29
|
printResult(ctx.io, ctx.flags, await ctx.client.callTool(tool, args), (r) => JSON.stringify(r, null, 2));
|