@vitrinka/cli 5.31.0 → 5.33.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +160 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -3,6 +3,166 @@
3
3
  `vitrinka update` prints the sections newer than your previous version
4
4
  after updating — keep entries short and user-facing.
5
5
 
6
+ ## 5.33.0
7
+
8
+ **Brief a pull request onto a board.** `vitrinka pr push <number> --board
9
+ <slug>` builds the PR's snapshot from your checkout's git alone (offline,
10
+ any forge) and lands it as one PR card: the guide, verdict, priority and
11
+ linked tasks from `--briefing <file.json>` or flags, the guide's focus files
12
+ open to their hunks, the rest one press away, and a full diff reader behind
13
+ it. A second push of the same PR updates its card and moves its pin.
14
+
15
+ **Update to start a sprint that has no end date.** The server now starts a
16
+ sprint only when it has a last day. `vitrinka sprint start <id> --ends
17
+ <YYYY-MM-DD>` gives an undated sprint its end as it starts (an RFC 3339
18
+ instant works too), and an empty start date becomes today. A sprint that
19
+ already has its end starts as before. A refused start prints the command
20
+ that goes through: `--ends` when the end is missing or has passed,
21
+ `sprint update` when the sprint keeps its own end or is already running. An
22
+ older CLI prints the server's refusal instead, which names calls it does
23
+ not take.
24
+
25
+ **Download a task's attachments.** `vitrinka task download <task> <ref>`
26
+ saves one original attachment under its own filename (`--out <file>` names
27
+ another, `--version <n>` reads an earlier version);
28
+ `vitrinka task download <task> --all` saves every current upload as one
29
+ ZIP.
30
+
31
+ **A task says when work you cannot see blocks it.** When an open task you
32
+ may not read blocks a task, `vitrinka task get <id> --include links` and
33
+ `vitrinka me todo show <id>` print "blocked by work you cannot see", and
34
+ `--json` carries `unseenBlockers: true` beside `links`. Blockers you may
35
+ read are listed as before; unseen work is never counted or named.
36
+ `me todo show` now fails when the task's relations cannot be read, instead
37
+ of printing a task with no blockers.
38
+
39
+ **Designate the workspace's portfolio project.** `vitrinka workspace
40
+ portfolio <project>` makes it the one project whose initiatives may parent
41
+ epics and tasks of every other project; `vitrinka workspace portfolio` prints
42
+ which project it is (`--json` answers `portfolio`). Designating needs
43
+ `project.fold`, which the Owner holds, and designating it again changes
44
+ nothing. A refused designation prints the command that goes through: a
45
+ private project first needs to be visible to the workspace, and the
46
+ designation moves off a project only once its initiatives parent no work in
47
+ other projects. Work in a private project that only your browser session
48
+ can read counts too, though the CLI cannot see it: the refusal says how
49
+ many such tasks there are and that you detach them in the browser.
50
+ `vitrinka project merge` and `vitrinka project transfer
51
+ --archive-source` refused for the portfolio project print the command that
52
+ goes through too; a transfer no longer calls that refusal a slug collision.
53
+
54
+ **A QA plan's verdict is computed.** A plan's verdict and coverage come
55
+ from its journeys. Setting either with `vitrinka task field set` is
56
+ refused, and the refusal prints the `vitrinka qa run publish` command that
57
+ moves them.
58
+
59
+ **Review plans name their workspace.** `vitrinka review plan` reads a board
60
+ as `<workspace>/<board>`, like every other board verb. The boards of one
61
+ plan name one workspace.
62
+
63
+ **Fixes to `project migrate-refs`.** The commands it hands back keep every
64
+ `--exclude` and quote every value, and it finds the draft pull request it
65
+ opened when `gh` prints hints after the URL or no URL at all.
66
+
67
+ **Agents learn the new doors.** The tasks skill covers `sprint_start`'s
68
+ `endsAt`, `read_task_ref {download: true}` for original attachments, and
69
+ `portfolio: true` on `update {kind: "project_settings"}`, which designates
70
+ the portfolio project.
71
+
72
+ ## 5.32.0
73
+
74
+ **Update to keep `vitrinka task mine` working.** The server now answers My
75
+ work in a new shape that an older CLI cannot read, so `task mine` fails
76
+ until you update; against an older self-hosted server it fails until that
77
+ server is upgraded. It prints the three lists of the Mine screen: what waits
78
+ on you (its verb and the ask), what you hold (`· late` past its due date),
79
+ and what you issued, with who holds each one, or "waiting for review" or
80
+ "nobody yet" while nobody does. `--project <slug>` narrows it to one
81
+ project.
82
+
83
+ **Breaking for scripts: `task mine --json` has a new shape.** It answers
84
+ `waiting`, `assigned` and `issued`, each an object with `total` and `rows`;
85
+ the `created`, `mentioned` and `overdue` lists are gone, and an overdue task
86
+ is `late` on its assigned row. `--json=id,title,url` no longer matches: read
87
+ `.data.assigned.rows`.
88
+
89
+ **Deliveries.** A delivery records what you handed over: a task of type
90
+ `delivery` tied to its tasks and sprints, with a composed document.
91
+ `vitrinka task delivery new --title <t> --item <id> --sprint <id>` files one
92
+ and composes its document (`--for public|technical|internal`, `--lang`);
93
+ `compose <id>` composes it again and keeps every edit a person made;
94
+ `deliver <id>` marks it done, delivered today; `list` shows the project's
95
+ deliveries and the shelf of closed work none covers yet (`--since`,
96
+ `--sprint`); `show <id>` reads one with the PRs and commits of its work.
97
+ `vitrinka task link <delivery> <task> --rel delivers` ties more work later.
98
+
99
+ **Share one document, cut for its reader.**
100
+ `vitrinka board share <board> --card <id> --document` mints a link that
101
+ opens that doc card and nothing else of the board;
102
+ `--audience public|technical|internal` serves only the blocks written for
103
+ that audience. Without `--document` a link still shares the whole board.
104
+
105
+ **Delete a sprint that never started.** `vitrinka sprint delete <id>` shows
106
+ what deleting it would do and writes nothing; `--apply` deletes it once you
107
+ type the sprint's name at a terminal (`--yes` does not answer for it). Only
108
+ a sprint that never started and holds no task can go, and there is no
109
+ restore. An agent only previews it and hands you the command.
110
+
111
+ **Assignees are checked.** `--assignee` on `vitrinka task create` and
112
+ `task update` takes a member's name or address, `me`, a name already on
113
+ tasks or an agent. Anything else is refused with the closest people and the
114
+ call to send instead; add `--assignee-new` when the name is new on purpose.
115
+ A display name two members share is refused too: send the member's address.
116
+ The MCP task doors check the same (`assigneeNew: true`, or a candidate's
117
+ `assigneeId`).
118
+
119
+ **Find what a transfer renumbered.** A project transfer gives every task
120
+ and board a fresh id in the workspace it moves into.
121
+ `vitrinka project transfer-map`, run in that workspace, prints each old id
122
+ beside its new one, for rewriting what a repository still cites.
123
+ `--from <workspace>` names the source (optional when only one workspace
124
+ transferred the project in), `--ids <old,old>` narrows to the ids you cite
125
+ and lists the ones no transfer renumbered, and `--of board` maps boards.
126
+ Agents read the same with `get {kind:"transfer_map", project, from}`
127
+ (`ids` narrows; without it a page holds 500 pairs and names the next).
128
+ `vitrinka project migrate-refs --from <workspace>` does that rewriting for
129
+ the ids the map holds: the project's task and board links, a bare
130
+ `vt-<id>` only on lines older than the transfer, and the `origins` value
131
+ of `vitrinka.config.json` that names the old workspace. A link into
132
+ another project, or an id the map lacks, stays as it is. It works on a new
133
+ branch in its own worktree, commits once, pushes and opens a draft PR
134
+ (through `gh`) whose body is the summary table; your checkout is never
135
+ touched. `--dry-run` fetches from `origin`, prints the table and changes
136
+ no file or branch; `--exclude <path>` leaves a path alone.
137
+
138
+ **Agents learn the new doors.** The skills cover people
139
+ (`list {kind:"person"}` reads members, names on tasks and agents;
140
+ `update {kind:"person"}` links a name on tasks to a member or unlinks it,
141
+ for admins), deliveries (`compose_delivery`, `list` and
142
+ `get {kind:"delivery"}`), the sprint delete preview
143
+ (`delete {kind:"sprint"}`, which an agent never applies), document share
144
+ links (`share_board` with `scope` and `audience`) and a comment on a quoted
145
+ passage of a doc or page card (`annotate` with `selector: {quote}`).
146
+ `my_work` now answers `waiting`, `assigned` and `issued` (the first 8 rows
147
+ of each, with `total`) in place of `gates`, `assigned`, `created`,
148
+ `mentioned`, `overdue` and `watching`, and takes `project`.
149
+ `get {kind:"work_time", taskId}` needs no dates: it reads the task's own
150
+ window, and time logged by hand for days before a task was filed now counts
151
+ there and in its Time tab. An edit to a doc card block a person is typing
152
+ in is refused with `block_held`, and a QA plan in an epic's children or a
153
+ compact list shows its real verdict, not `untested`. Agents now ask their
154
+ questions only once no agent or run of theirs is in flight, and keep
155
+ working in the session when a fresh one cannot launch.
156
+
157
+ **Smaller fixes.** `vitrinka me time log` and `vitrinka task ask` take their
158
+ arguments in either order, so the order the help prints works. `task ask`
159
+ on a deployment without Eve says so and names the command that reads the
160
+ same without Eve. A local time a clock change skipped or repeated
161
+ (`me time stop --at`, `me time edit --start` or `--end`) is refused with
162
+ both instants it could mean. `vitrinka project transfer` moves a project
163
+ whose text mentions an uploads folder. A QA run lands on a journey of its
164
+ key still waiting in intake instead of filing a second one.
165
+
6
166
  ## 5.31.0
7
167
 
8
168
  **Hour-long tokens for a host that must never hold your sign-in.**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrinka/cli",
3
- "version": "5.31.0",
3
+ "version": "5.33.0",
4
4
  "description": "vitrinka CLI — capture and publish artifact sets, drive the annotation-board work queue. Thin npm launcher for the single-binary Go CLI.",
5
5
  "bin": {
6
6
  "vitrinka": "bin/vitrinka.js"
@@ -15,12 +15,12 @@
15
15
  "node": ">=18"
16
16
  },
17
17
  "optionalDependencies": {
18
- "@vitrinka/cli-darwin-arm64": "5.31.0",
19
- "@vitrinka/cli-darwin-x64": "5.31.0",
20
- "@vitrinka/cli-linux-arm64": "5.31.0",
21
- "@vitrinka/cli-linux-x64": "5.31.0",
22
- "@vitrinka/cli-win32-arm64": "5.31.0",
23
- "@vitrinka/cli-win32-x64": "5.31.0"
18
+ "@vitrinka/cli-darwin-arm64": "5.33.0",
19
+ "@vitrinka/cli-darwin-x64": "5.33.0",
20
+ "@vitrinka/cli-linux-arm64": "5.33.0",
21
+ "@vitrinka/cli-linux-x64": "5.33.0",
22
+ "@vitrinka/cli-win32-arm64": "5.33.0",
23
+ "@vitrinka/cli-win32-x64": "5.33.0"
24
24
  },
25
25
  "keywords": [
26
26
  "vitrinka",