@letterstory/cli 0.33.9 → 0.33.10
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/README.md +2 -1
- package/lib/cli.mjs +1 -1
- package/lib/commands/kernel.mjs +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,7 +80,8 @@ refresh automatically. Run `letterstory logout` to revoke the session and forget
|
|
|
80
80
|
**Or use a static API key** (for CI/automation, or when you want scoped-down access):
|
|
81
81
|
|
|
82
82
|
You need a Letterstory API key (starts with `ls_`; legacy `lb_` keys still work) with the `phantom:read` and
|
|
83
|
-
`phantom:write` capabilities — mint one in the app under **Settings → API keys
|
|
83
|
+
`phantom:write` capabilities — mint one in the app under **Settings → API keys**
|
|
84
|
+
(<https://app.letterstory.com/settings?tab=api-keys>).
|
|
84
85
|
Add `phantom:domain` too if you plan to buy custom domains.
|
|
85
86
|
|
|
86
87
|
```bash
|
package/lib/cli.mjs
CHANGED
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./commands.mjs";
|
|
46
46
|
|
|
47
47
|
// Keep in sync with cli/package.json.
|
|
48
|
-
export const VERSION = "0.33.
|
|
48
|
+
export const VERSION = "0.33.10";
|
|
49
49
|
|
|
50
50
|
// Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
|
|
51
51
|
// can't accidentally swallow the id as --json's value.
|
package/lib/commands/kernel.mjs
CHANGED
|
@@ -110,6 +110,10 @@ export const ARGS = {
|
|
|
110
110
|
kernel_id: "kernel",
|
|
111
111
|
target_word_count: { flag: "words", type: "num" },
|
|
112
112
|
target_word_tolerance: { flag: "words-tolerance", type: "num" },
|
|
113
|
+
// Write into an article instead of handing the text back (2026-09-27): the one call that
|
|
114
|
+
// replaces `kernel submit`. With `--article` and no input, the article's own content is
|
|
115
|
+
// the input.
|
|
116
|
+
article_id: { flag: "article" },
|
|
113
117
|
label: "label",
|
|
114
118
|
// The flag is --read-as, which is what shipped; an earlier draft called it --brief-mode.
|
|
115
119
|
content_kind: {
|