@wirecat/cli-base 0.101.0 → 0.102.1
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 +17 -0
- package/dist/result-fields.js +2 -1
- package/dist/standards/flags-calendar.js +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,23 @@ 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.102.1 — 15.11.2026
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **`projectFields` keeps each object's `untrusted` list.** `--json id,title` dropped it, so a CLI that projects an
|
|
16
|
+
answer before cli-core's `renderAnswer` (zoom-cli does) printed other people's text unmarked in a scheduled agent's
|
|
17
|
+
run, and a JSON caller lost the list of fields that came from outside. The list is kept whole, also when some of
|
|
18
|
+
the fields it names were not selected.
|
|
19
|
+
|
|
20
|
+
## 0.102.0 — 14.11.2026
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- **The flag vocabulary has `--conference <service>`** (role `value`, string): the video meeting service that gives a
|
|
25
|
+
calendar event a new meeting link, such as `google-meet`. cli-core's shared `events create|update` take it where the
|
|
26
|
+
calendar writer can make links; without the word, a CLI that mounts them fails its `option-role` lint.
|
|
27
|
+
|
|
11
28
|
## 0.101.0 — 14.11.2026
|
|
12
29
|
|
|
13
30
|
### Added
|
package/dist/result-fields.js
CHANGED
|
@@ -14,7 +14,8 @@ export const fieldsOf = (value) => {
|
|
|
14
14
|
return [...new Set(paths)];
|
|
15
15
|
};
|
|
16
16
|
const object = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
17
|
-
|
|
17
|
+
// `untrusted` stays so a selected field from other people is still marked when the answer is rendered (WC-SECR-11).
|
|
18
|
+
const retained = new Set(["operation_id", "page", "next", "missing", "meta", "coverage", "untrusted"]);
|
|
18
19
|
const itemPaths = (paths) => paths.map((path) => (path.startsWith("items.") ? path.slice(6) : path));
|
|
19
20
|
const onePaths = (paths) => paths.map((path) => (path.startsWith("item.") ? path.slice(5) : path));
|
|
20
21
|
const select = (value, paths) => {
|
|
@@ -29,6 +29,13 @@ export const CALENDAR_FLAGS = [
|
|
|
29
29
|
type: "string",
|
|
30
30
|
meaning: "one of the service's own settings, such as a meeting's waiting room; repeat it for more",
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
name: "--conference",
|
|
34
|
+
value: "<service>",
|
|
35
|
+
role: "value",
|
|
36
|
+
type: "string",
|
|
37
|
+
meaning: "the video meeting service that gives the event a new meeting link, such as google-meet",
|
|
38
|
+
},
|
|
32
39
|
{
|
|
33
40
|
name: "--id",
|
|
34
41
|
value: "<id>",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.102.1",
|
|
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",
|