@wirecat/cli-base 0.120.0 → 0.122.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/CHANGELOG.md +16 -0
- package/dist/standards/flags-how.js +3 -7
- package/dist/standards/vocabulary.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,22 @@ Versions before 0.8.0 are in the [git tags](https://github.com/WireCatLabs/cli-b
|
|
|
8
8
|
Every entry says what changed as a caller sees it, why, and what to watch for — the rules are
|
|
9
9
|
[`docs/dev/CONVENTIONS.md`](docs/dev/CONVENTIONS.md#the-changelog).
|
|
10
10
|
|
|
11
|
+
## 0.122.0 — 19.11.2026
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **`scheduled` is a resource too, not only a view.** cli-core adds `messages scheduled cancel`, `edit` and `send`
|
|
16
|
+
under the scheduled list, and `cli-dev lint` refused a group named with a view (`unknown-resource`). A CLI that
|
|
17
|
+
names its own `scheduled` group now passes.
|
|
18
|
+
|
|
19
|
+
## 0.121.0 — 19.11.2026
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- **`--site` and `--login` have their role in the option vocabulary.** cli-core's `tokenSessionCommand` adds them to
|
|
24
|
+
`session start` for a service on the owner's own site (WordPress), and `cli-dev lint` refused both as options
|
|
25
|
+
without a role (`option-role`), so a WordPress CLI made from cli-template failed its lint.
|
|
26
|
+
|
|
11
27
|
## 0.120.0 — 19.11.2026
|
|
12
28
|
|
|
13
29
|
### Added
|
|
@@ -378,13 +378,7 @@ export const HOW_FLAGS = [
|
|
|
378
378
|
type: "string",
|
|
379
379
|
meaning: "a person whose reply counts as an answer; repeat it for more",
|
|
380
380
|
},
|
|
381
|
-
{
|
|
382
|
-
name: "--browser",
|
|
383
|
-
value: "<program>",
|
|
384
|
-
role: "mode",
|
|
385
|
-
type: "string",
|
|
386
|
-
meaning: "the browser program to open for sign-in",
|
|
387
|
-
},
|
|
381
|
+
{ name: "--browser", value: "<program>", role: "mode", type: "string", meaning: "the browser to open for sign-in" },
|
|
388
382
|
{
|
|
389
383
|
name: "--credential-storage",
|
|
390
384
|
value: "<storage>",
|
|
@@ -393,6 +387,8 @@ export const HOW_FLAGS = [
|
|
|
393
387
|
meaning: "where a sign-in is kept: keyring, which falls back to a private file by itself, or file (WC-SECR-4)",
|
|
394
388
|
},
|
|
395
389
|
{ name: "--checkpoint", value: "<file>", role: "mode", type: "path", meaning: "keep resume progress in this file" },
|
|
390
|
+
{ name: "--site", value: "<address>", role: "mode", type: "string", meaning: "the owner's site a sign-in is for" },
|
|
391
|
+
{ name: "--login", value: "<name>", role: "mode", type: "string", meaning: "the user name a password is for" },
|
|
396
392
|
{
|
|
397
393
|
name: "--expected-event-id",
|
|
398
394
|
value: "<id>",
|
|
@@ -361,6 +361,10 @@ const singulars = [
|
|
|
361
361
|
["privacy", "who may find, see, call or add the account"],
|
|
362
362
|
["metadata", "a profile's cached source attributes"],
|
|
363
363
|
["auth", "the credentials a bot profile uses: its token and the secrets beside it"],
|
|
364
|
+
[
|
|
365
|
+
"scheduled",
|
|
366
|
+
"a chat's messages the messenger will send later; their ids are their own, never the ids of sent messages",
|
|
367
|
+
],
|
|
364
368
|
[
|
|
365
369
|
"schedule",
|
|
366
370
|
"a profile's timers the owner saved, each running a command of this tool or an agent; the tool's own background work is jobs",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.122.0",
|
|
4
4
|
"description": "The parts every command line tool needs: output modes, terminal rendering, error model, exit codes, credentials, clocks",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Viacheslav Ptsarev",
|