@wirecat/cli-base 0.128.0 → 0.130.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 CHANGED
@@ -8,6 +8,30 @@ 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.130.0 — 23.11.2026
12
+
13
+ ### Added
14
+
15
+ - **`summary` and `people` as views.** cli-core's shared `meetings summary <meeting>` and `meetings people <query>`
16
+ then pass `cli-dev lint` with no override in every CLI that mounts the meetings commands. notion-cli, which adds
17
+ Notion AI meeting notes, was the first to hit the finding with cli-base 0.129.0.
18
+
19
+ ## 0.129.0 — 23.11.2026
20
+
21
+ ### Added
22
+
23
+ - **A change log's words in the vocabulary.** The view `changes` (what a sync changed in the local copy since a time),
24
+ and the flags `--since <time>` (from this time on, a time or a duration ago) and `--event <events>` (only these kinds
25
+ of event). cli-core's shared `changes` command, which every documents CLI mounts with `documents history`, then
26
+ passes `cli-dev lint` with no override.
27
+
28
+ ### Fixed
29
+
30
+ - **The standards say what the family audit does: a new cross-CLI difference fails the pull request.** commands.md,
31
+ output.md and accounts.md said `same-flag-meaning`, `required-root` and `same-path-contract` run weekly and do not
32
+ block. `cli-dev audit` has failed a pull request on a new one since it was added (#112, `AUDIT_BLOCKS`), unless the
33
+ CLI's `--differences` file names it with a reason.
34
+
11
35
  ## 0.128.0 — 23.11.2026
12
36
 
13
37
  ### Added
@@ -55,4 +55,18 @@ export const KNOWLEDGE_FLAGS = [
55
55
  type: "string",
56
56
  meaning: "every stored thing a search with this query finds, in its query language; the command acts on each",
57
57
  },
58
+ {
59
+ name: "--since",
60
+ value: "<time>",
61
+ role: "target",
62
+ type: "time",
63
+ meaning: "from this time on: a time, or a duration ago such as 1d",
64
+ },
65
+ {
66
+ name: "--event",
67
+ value: "<events>",
68
+ role: "target",
69
+ type: "list",
70
+ meaning: "only these kinds of event, comma separated; the command lists them",
71
+ },
58
72
  ];
@@ -391,6 +391,7 @@ const views = [
391
391
  ["stats", "a thing's own numbers, such as a post's views, as read at each sync"],
392
392
  ["logs", "the log of a running process"],
393
393
  ["events", "what happened in a thing over time"],
394
+ ["changes", "what a sync changed in the local copy since a time: added, changed, deleted or no longer visible"],
394
395
  ["scheduled", "what is scheduled to happen"],
395
396
  ["context", "what surrounds one thing"],
396
397
  ["path", "where a thing is on this machine"],
@@ -401,6 +402,8 @@ const views = [
401
402
  ["transcript", "the text of speech: a voice message or a meeting recording"],
402
403
  ["evidence", "the stored messages or lines a result or a reference rests on"],
403
404
  ["passage", "a cited transcript line with bounded surrounding lines from the same revision"],
405
+ ["summary", "the summary a service wrote of a meeting, with its sections and next steps"],
406
+ ["people", "the people found across stored meetings by name or email, with the meetings they were in"],
404
407
  ["invitation", "the text that invites people to a meeting: how to join it and when"],
405
408
  ["agenda", "what needs a look today"],
406
409
  ["busy", "when calendars or people are taken, without what takes them"],
@@ -132,7 +132,7 @@ the config allows.
132
132
  - **Why:** an agent that learned a flag in one CLI must not be surprised by it in another.
133
133
  - **Enforced by:** `flag-two-meanings` · `flag-synonym` · `option-role` · `same-flag-meaning`.
134
134
  - **Example:** `memo search messages "invoice" --source telegram,max`.
135
- - **Exceptions:** `same-flag-meaning` runs weekly and does not block a pull request.
135
+ - **Exceptions:** none.
136
136
  - **Applies to:** all CLIs. **Since:** cli-base 0.41.0. **Rulings:** none.
137
137
 
138
138
  ### WC-ACCT-9 · A read across accounts covers all of them and says which it read
@@ -73,7 +73,8 @@ per profile, and only `defaults` is filled.
73
73
  ### WC-CMD-5 · Give every CLI the required root commands
74
74
 
75
75
  - **Why:** agents and the cross-CLI audit start from the same entry points in every CLI.
76
- - **Enforced by:** `required-root` (weekly audit; it does not block a pull request yet).
76
+ - **Enforced by:** `required-root` (the family audit: a new difference fails the pull request unless the CLI's
77
+ differences file names it).
77
78
  - **Example:** `commands`, `doctor`, `skill show`, `skill install`, `mcp`, `upgrade`.
78
79
  - **Exceptions:** none.
79
80
  - **Applies to:** all CLIs. **Since:** cli-base 0.41.0. **Rulings:** none.
@@ -124,8 +125,8 @@ per profile, and only `defaults` is filled.
124
125
  ### WC-CMD-10 · Use a vocabulary flag for its meaning, and give one flag one kind of value everywhere
125
126
 
126
127
  - **Why:** `--limit` must mean "how many items" in every command of every CLI.
127
- - **Enforced by:** `flag-synonym` · `flag-two-meanings` · `same-flag-meaning` (weekly audit; it does not block a pull
128
- request yet).
128
+ - **Enforced by:** `flag-synonym` · `flag-two-meanings` · `same-flag-meaning`
129
+ (the family audit: a new difference fails the pull request unless the CLI's differences file names it).
129
130
  - **Example:** `--limit <n>`, never `--max`, `--take` or `--count`. `--cursor <cursor>`, never `--offset`. How big
130
131
  the answer is: `--limit`, `--page` and `--page-size`; a count of pages is never a paging option. How much work a
131
132
  command may do is a `budget` option: `--max-pages <pages>` caps the pages a sync reads from the source, and
@@ -308,7 +309,8 @@ store or files without reading the service first (`remote: "none"`, `local: "wri
308
309
  ### WC-CMD-25 · Give a shared command and a shared option the same sentence in every CLI of its group
309
310
 
310
311
  - **Why:** they are one command, so they read as one.
311
- - **Enforced by:** `same-path-contract` (weekly audit; it does not block a pull request yet).
312
+ - **Enforced by:** `same-path-contract` (the family audit: a new difference fails the pull request unless the CLI's
313
+ differences file names it).
312
314
  - **Example:** the shared factory in cli-core writes the description. A CLI changes it only to name its messenger.
313
315
  - **Exceptions:** a sentence may differ where it names something the messenger's own way. The option catalogue in
314
316
  cli-core says why.
@@ -141,8 +141,8 @@ JSON Schema 2020-12.
141
141
  ### WC-OUT-11 · Give a shared command the same answer shape in every CLI of its group
142
142
 
143
143
  - **Why:** an agent that reads one CLI's answer can read the other's.
144
- - **Enforced by:** `same-path-contract` (weekly audit; it does not block a pull request yet) · `same-entity-schema`
145
- (the family audit, which reads every CLI's schemas).
144
+ - **Enforced by:** `same-path-contract` · `same-entity-schema` (the family audit, which reads
145
+ every CLI's schemas; a new difference fails the pull request unless the CLI's differences file names it).
146
146
  - **Example:** what only one messenger knows goes under `provider_metadata`, never as a top-level field one CLI has and
147
147
  the other lacks.
148
148
  - **Exceptions:** none.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-base",
3
- "version": "0.128.0",
3
+ "version": "0.130.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",