@vitrinka/cli 5.30.0 → 5.32.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 +122 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -3,6 +3,128 @@
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.32.0
7
+
8
+ **Update to keep `vitrinka task mine` working.** The server now answers My
9
+ work in a new shape that an older CLI cannot read, so `task mine` fails
10
+ until you update; against an older self-hosted server it fails until that
11
+ server is upgraded. It prints the three lists of the Mine screen: what waits
12
+ on you (its verb and the ask), what you hold (`· late` past its due date),
13
+ and what you issued, with who holds each one, or "waiting for review" or
14
+ "nobody yet" while nobody does. `--project <slug>` narrows it to one
15
+ project.
16
+
17
+ **Breaking for scripts: `task mine --json` has a new shape.** It answers
18
+ `waiting`, `assigned` and `issued`, each an object with `total` and `rows`;
19
+ the `created`, `mentioned` and `overdue` lists are gone, and an overdue task
20
+ is `late` on its assigned row. `--json=id,title,url` no longer matches: read
21
+ `.data.assigned.rows`.
22
+
23
+ **Deliveries.** A delivery records what you handed over: a task of type
24
+ `delivery` tied to its tasks and sprints, with a composed document.
25
+ `vitrinka task delivery new --title <t> --item <id> --sprint <id>` files one
26
+ and composes its document (`--for public|technical|internal`, `--lang`);
27
+ `compose <id>` composes it again and keeps every edit a person made;
28
+ `deliver <id>` marks it done, delivered today; `list` shows the project's
29
+ deliveries and the shelf of closed work none covers yet (`--since`,
30
+ `--sprint`); `show <id>` reads one with the PRs and commits of its work.
31
+ `vitrinka task link <delivery> <task> --rel delivers` ties more work later.
32
+
33
+ **Share one document, cut for its reader.**
34
+ `vitrinka board share <board> --card <id> --document` mints a link that
35
+ opens that doc card and nothing else of the board;
36
+ `--audience public|technical|internal` serves only the blocks written for
37
+ that audience. Without `--document` a link still shares the whole board.
38
+
39
+ **Delete a sprint that never started.** `vitrinka sprint delete <id>` shows
40
+ what deleting it would do and writes nothing; `--apply` deletes it once you
41
+ type the sprint's name at a terminal (`--yes` does not answer for it). Only
42
+ a sprint that never started and holds no task can go, and there is no
43
+ restore. An agent only previews it and hands you the command.
44
+
45
+ **Assignees are checked.** `--assignee` on `vitrinka task create` and
46
+ `task update` takes a member's name or address, `me`, a name already on
47
+ tasks or an agent. Anything else is refused with the closest people and the
48
+ call to send instead; add `--assignee-new` when the name is new on purpose.
49
+ A display name two members share is refused too: send the member's address.
50
+ The MCP task doors check the same (`assigneeNew: true`, or a candidate's
51
+ `assigneeId`).
52
+
53
+ **Find what a transfer renumbered.** A project transfer gives every task
54
+ and board a fresh id in the workspace it moves into.
55
+ `vitrinka project transfer-map`, run in that workspace, prints each old id
56
+ beside its new one, for rewriting what a repository still cites.
57
+ `--from <workspace>` names the source (optional when only one workspace
58
+ transferred the project in), `--ids <old,old>` narrows to the ids you cite
59
+ and lists the ones no transfer renumbered, and `--of board` maps boards.
60
+ Agents read the same with `get {kind:"transfer_map", project, from}`
61
+ (`ids` narrows; without it a page holds 500 pairs and names the next).
62
+ `vitrinka project migrate-refs --from <workspace>` does that rewriting for
63
+ the ids the map holds: the project's task and board links, a bare
64
+ `vt-<id>` only on lines older than the transfer, and the `origins` value
65
+ of `vitrinka.config.json` that names the old workspace. A link into
66
+ another project, or an id the map lacks, stays as it is. It works on a new
67
+ branch in its own worktree, commits once, pushes and opens a draft PR
68
+ (through `gh`) whose body is the summary table; your checkout is never
69
+ touched. `--dry-run` fetches from `origin`, prints the table and changes
70
+ no file or branch; `--exclude <path>` leaves a path alone.
71
+
72
+ **Agents learn the new doors.** The skills cover people
73
+ (`list {kind:"person"}` reads members, names on tasks and agents;
74
+ `update {kind:"person"}` links a name on tasks to a member or unlinks it,
75
+ for admins), deliveries (`compose_delivery`, `list` and
76
+ `get {kind:"delivery"}`), the sprint delete preview
77
+ (`delete {kind:"sprint"}`, which an agent never applies), document share
78
+ links (`share_board` with `scope` and `audience`) and a comment on a quoted
79
+ passage of a doc or page card (`annotate` with `selector: {quote}`).
80
+ `my_work` now answers `waiting`, `assigned` and `issued` (the first 8 rows
81
+ of each, with `total`) in place of `gates`, `assigned`, `created`,
82
+ `mentioned`, `overdue` and `watching`, and takes `project`.
83
+ `get {kind:"work_time", taskId}` needs no dates: it reads the task's own
84
+ window, and time logged by hand for days before a task was filed now counts
85
+ there and in its Time tab. An edit to a doc card block a person is typing
86
+ in is refused with `block_held`, and a QA plan in an epic's children or a
87
+ compact list shows its real verdict, not `untested`. Agents now ask their
88
+ questions only once no agent or run of theirs is in flight, and keep
89
+ working in the session when a fresh one cannot launch.
90
+
91
+ **Smaller fixes.** `vitrinka me time log` and `vitrinka task ask` take their
92
+ arguments in either order, so the order the help prints works. `task ask`
93
+ on a deployment without Eve says so and names the command that reads the
94
+ same without Eve. A local time a clock change skipped or repeated
95
+ (`me time stop --at`, `me time edit --start` or `--end`) is refused with
96
+ both instants it could mean. `vitrinka project transfer` moves a project
97
+ whose text mentions an uploads folder. A QA run lands on a journey of its
98
+ key still waiting in intake instead of filing a second one.
99
+
100
+ ## 5.31.0
101
+
102
+ **Hour-long tokens for a host that must never hold your sign-in.**
103
+ `vitrinka auth connect` opens the browser consent for an Agent OS seat's
104
+ connection and prints its id (`--json`: `{"v":1,"grant":"oag_…"}`); the
105
+ connection holds no token and nothing is stored on this machine.
106
+ `vitrinka auth mint --grant <id>` then mints a token on it that lapses within
107
+ the hour, renews never and creates nothing that outlives it (no share links
108
+ or snapshots, no changelog link, no project fold or transfer, no SQL query).
109
+ It reads your sign-in only from `$VITRINKA_TOKEN`; `--json` prints exactly
110
+ `{"v":1,"token":"…","expiresAt":"…"}`, and a failure prints nothing on stdout.
111
+ A sign-in holds at most 4 live minted tokens. Revoking the connection under
112
+ Settings → Connected apps, or signing out, ends every token minted from it.
113
+
114
+ **Ask for a project from the terminal.** `vitrinka project create <project>`
115
+ files the request; a person approves it in the browser, then the project
116
+ exists (`--no-wait` files it and returns, `--claim <code>` waits for the
117
+ decision later). A write naming a project that does not exist is refused with
118
+ the projects that do.
119
+
120
+ **A sprint in time.** `vitrinka sprint spans <id>` shows each open task's
121
+ stretches in progress and in review and why it waits, in lanes by person,
122
+ epic or initiative (`--by`).
123
+
124
+ **Smaller fixes.** `vitrinka board dump --keep <n>` keeps the n newest boards
125
+ of its label and archives the rest. A set descriptor naming a retired
126
+ vitrinka host now pushes to the app host and says so.
127
+
6
128
  ## 5.30.0
7
129
 
8
130
  **Log your time by hand, and run a timer.** `vitrinka me time log [<task>]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrinka/cli",
3
- "version": "5.30.0",
3
+ "version": "5.32.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.30.0",
19
- "@vitrinka/cli-darwin-x64": "5.30.0",
20
- "@vitrinka/cli-linux-arm64": "5.30.0",
21
- "@vitrinka/cli-linux-x64": "5.30.0",
22
- "@vitrinka/cli-win32-arm64": "5.30.0",
23
- "@vitrinka/cli-win32-x64": "5.30.0"
18
+ "@vitrinka/cli-darwin-arm64": "5.32.0",
19
+ "@vitrinka/cli-darwin-x64": "5.32.0",
20
+ "@vitrinka/cli-linux-arm64": "5.32.0",
21
+ "@vitrinka/cli-linux-x64": "5.32.0",
22
+ "@vitrinka/cli-win32-arm64": "5.32.0",
23
+ "@vitrinka/cli-win32-x64": "5.32.0"
24
24
  },
25
25
  "keywords": [
26
26
  "vitrinka",