@wirecat/cli-base 0.131.0 → 0.132.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,21 @@ 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.132.0 — 23.11.2026
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **A tracker's write words in the vocabulary.** `--team <team>` sets the tracker team that owns an issue, and
|
|
16
|
+
`--assignee` also takes `<user>`, one tracker user by id, name or e-mail, beside `<person...>`, people by UID.
|
|
17
|
+
`comments` now include an issue's, and `--parent` an issue it sits under. cli-core's `issues create|update` and
|
|
18
|
+
`issues comments create` then pass `cli-dev lint` and the family audit with no baseline in linear-cli
|
|
19
|
+
(cli-core #3237).
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- **`--priority <n>` says what it takes.** Its meaning named only the old 0 urgent … 4 low; it is the family's
|
|
24
|
+
priority: low, medium, high, critical or none, a score from 0.0 to 1.0, or those old numbers.
|
|
25
|
+
|
|
11
26
|
## 0.131.0 — 23.11.2026
|
|
12
27
|
|
|
13
28
|
### Added
|
|
@@ -409,7 +409,7 @@ export const WHAT_FLAGS = [
|
|
|
409
409
|
type: "string",
|
|
410
410
|
meaning: "an organization: its id or organization:<id>",
|
|
411
411
|
},
|
|
412
|
-
{ name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder or
|
|
412
|
+
{ name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder, task or issue it sits under" },
|
|
413
413
|
{
|
|
414
414
|
name: "--participant-id",
|
|
415
415
|
value: "<id>",
|
|
@@ -687,7 +687,6 @@ export const WHAT_FLAGS = [
|
|
|
687
687
|
type: "choice",
|
|
688
688
|
meaning: "how it is closed: done, or dismissed when it needs no answer",
|
|
689
689
|
},
|
|
690
|
-
{ name: "--assignee", value: "<person...>", role: "value", type: "list", meaning: "who does it, by UID" },
|
|
691
690
|
{ name: "--at", value: "<hh:mm>", role: "value", type: "string", meaning: "every day at this local time" },
|
|
692
691
|
{ name: "--body", value: "<json>", role: "value", type: "string", meaning: "the request body, as JSON" },
|
|
693
692
|
{
|
|
@@ -845,7 +844,6 @@ export const WHAT_FLAGS = [
|
|
|
845
844
|
type: "id",
|
|
846
845
|
meaning: "pin this chat at the top of it; repeat it for more",
|
|
847
846
|
},
|
|
848
|
-
{ name: "--priority", value: "<n>", role: "value", type: "count", meaning: "0 urgent … 4 low" },
|
|
849
847
|
{ name: "--quiz", role: "value", type: "switch", meaning: "a quiz: one answer is right, and a vote is final" },
|
|
850
848
|
{
|
|
851
849
|
name: "--reason",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Work items: memo's tasks, and a tracker's issues. */
|
|
2
|
+
export const WORK_FLAGS = [
|
|
3
|
+
{
|
|
4
|
+
name: "--assignee",
|
|
5
|
+
value: "<person...>",
|
|
6
|
+
role: "value",
|
|
7
|
+
type: "list",
|
|
8
|
+
otherValues: ["user"],
|
|
9
|
+
meaning: "who does it: people by UID (<person...>), or one tracker user by id, name or e-mail (<user>)",
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
name: "--priority",
|
|
13
|
+
value: "<n>",
|
|
14
|
+
role: "value",
|
|
15
|
+
type: "string",
|
|
16
|
+
meaning: "how urgent: low, medium, high, critical or none, a score from 0.0 to 1.0, or the old 0 urgent … 4 low",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: "--team",
|
|
20
|
+
value: "<team>",
|
|
21
|
+
role: "value",
|
|
22
|
+
type: "string",
|
|
23
|
+
meaning: "the tracker team that owns an issue, by id, key or name",
|
|
24
|
+
},
|
|
25
|
+
];
|
|
@@ -11,6 +11,7 @@ import { PRIVACY_FLAGS } from "./flags-privacy.js";
|
|
|
11
11
|
import { SCHEDULE_FLAGS } from "./flags-schedule.js";
|
|
12
12
|
import { SEARCH_FLAGS } from "./flags-search.js";
|
|
13
13
|
import { WHAT_FLAGS } from "./flags-what.js";
|
|
14
|
+
import { WORK_FLAGS } from "./flags-work.js";
|
|
14
15
|
import { duplicates, parseRegistry, text, word } from "./registry.js";
|
|
15
16
|
export const FLAG_TYPES = [
|
|
16
17
|
"switch",
|
|
@@ -323,7 +324,7 @@ const collections = [
|
|
|
323
324
|
"files a mirror's sync found changed on both sides and could not merge, each waiting for a side or a final file",
|
|
324
325
|
],
|
|
325
326
|
["versions", "earlier contents of a file that a write replaced or deleted, kept on this computer to be put back"],
|
|
326
|
-
["comments", "comments people left on a thing in the source: a channel post or
|
|
327
|
+
["comments", "comments people left on a thing in the source: a channel post, a file or an issue"],
|
|
327
328
|
["meetings", "stored meetings, from Zoom or another provider"],
|
|
328
329
|
["calls", "phone calls a phone system recorded, stored as meetings with their transcripts"],
|
|
329
330
|
["calendars", "calendars of an account, each synced or not"],
|
|
@@ -470,5 +471,6 @@ export const VOCABULARY = defineVocabulary({
|
|
|
470
471
|
...CONTENT_FLAGS,
|
|
471
472
|
...SEARCH_FLAGS,
|
|
472
473
|
...MIRROR_FLAGS,
|
|
474
|
+
...WORK_FLAGS,
|
|
473
475
|
],
|
|
474
476
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.132.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",
|