@vitrinka/cli 3.11.0 → 4.1.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 +69 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,75 @@
|
|
|
3
3
|
`vitrinka update` prints the sections newer than your previous version after
|
|
4
4
|
updating — keep entries short and user-facing.
|
|
5
5
|
|
|
6
|
+
## 4.1.0
|
|
7
|
+
|
|
8
|
+
The brainstorm hands itself off: a feature brief the next session reads
|
|
9
|
+
instead of the whole board, one worktree per feature, and a machine ledger
|
|
10
|
+
`doctor` can repair.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **`vitrinka task brief <epic> [--out <file>]`** composes the brainstorm
|
|
14
|
+
board's `Plan` chapter (chosen takes only) and prints the brief skeleton;
|
|
15
|
+
the skill fills the prose and re-uploads it as the next version.
|
|
16
|
+
- **`vitrinka task upload <id> <files…> --kind <kind> --hint <text> --version-of <refId>`**
|
|
17
|
+
attaches typed, hinted files, optionally as the next version of an
|
|
18
|
+
existing lineage.
|
|
19
|
+
- **`vitrinka task pickup` honours `meta.load`** on refs: `first` leads the
|
|
20
|
+
READ rail, `on-demand` prints as a `read on demand:` line, `never` hides.
|
|
21
|
+
- **Brainstorming skill**: `deep` level (same flow, bigger budget), spike /
|
|
22
|
+
bounded / architectural classification before the first question, the
|
|
23
|
+
feature worktree created at step 1, a vocabulary challenge, and every
|
|
24
|
+
brainstorm closes with "in which style to implement".
|
|
25
|
+
- **`project setup` picks the project** from the workspace's projects and
|
|
26
|
+
their declared repositories; **`project link` / `project unlink`** manage
|
|
27
|
+
a checkout's binding.
|
|
28
|
+
- **`vitrinka doctor` reads the machine ledger** (`projects.<name>.repos[]`
|
|
29
|
+
in the config) and **`doctor --fix`** repairs machine, server and per-repo
|
|
30
|
+
drift after one confirm.
|
|
31
|
+
- **`vitrinka dev` seeds a personal workspace** beside the team one.
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
- `project setup` appends the origin to a non-empty declared repository
|
|
35
|
+
list instead of leaving it alone.
|
|
36
|
+
- The repo-side `docs` guide gains a `brief` topic (`vitrinka docs brief`).
|
|
37
|
+
|
|
38
|
+
## 4.0.0
|
|
39
|
+
|
|
40
|
+
One `--json` shape for ordinary commands, including help, version and doctor.
|
|
41
|
+
An agent reads `ok`, then `data` or `diagnostics`, then `next`.
|
|
42
|
+
|
|
43
|
+
### Changed (breaking)
|
|
44
|
+
- **`--json` is an envelope**: ordinary commands print
|
|
45
|
+
`{v: 1, ok, verb, data, diagnostics, next}` on stdout, success and failure
|
|
46
|
+
alike. What a command printed before is now its `data`; a failure carries
|
|
47
|
+
one or more `diagnostics` (`code` · `severity` · `detail` · `why` · `fix`
|
|
48
|
+
· `http_status`) plus `exit_code`, and `next` lists `{do, cmd}` steps.
|
|
49
|
+
Scripts reading a top-level field (`.url`, `.slug`, `.error`) read
|
|
50
|
+
`.data.url` / `.diagnostics[0].detail` now.
|
|
51
|
+
- **Misuse is a coded diagnostic, exit 2** — an unknown command, a wrong
|
|
52
|
+
argument count or a bad flag value answers `unknown_command` /
|
|
53
|
+
`bad_argument` with the corrected invocation in `fix`. An unknown
|
|
54
|
+
subcommand no longer prints the group's help page and exits 0.
|
|
55
|
+
- **Every failure carries a `code`** from one closed vocabulary shared with
|
|
56
|
+
the server (`not_signed_in`, `unreachable`, `not_found`,
|
|
57
|
+
`gateway_unavailable`, …); an error with no better class is `failed`.
|
|
58
|
+
A raw library error never reaches you as styled prose under `--json`.
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
- A bare group under `--json` (`vitrinka task --json`) lists its commands
|
|
62
|
+
as `data.commands` instead of printing help.
|
|
63
|
+
- The server's own error `code`, `detail` and `fix` are read into the
|
|
64
|
+
diagnostic when the reply carries them.
|
|
65
|
+
- REST errors, including authentication and routing failures, carry a code
|
|
66
|
+
and recovery instructions. MCP exposes the same object in `structuredContent`.
|
|
67
|
+
- `doctor --json` emits one failure with check results. Permission failures
|
|
68
|
+
do not suggest repeated login; malformed JSON bodies cannot silently mutate data.
|
|
69
|
+
- Protocol/stream exceptions retain their output: MCP, extension host,
|
|
70
|
+
child commands via `run`, `listen`, continuous `work watch`, raw `auth token`,
|
|
71
|
+
completion scripts and interactive UI.
|
|
72
|
+
- Go source builds use module `github.com/henderson-tech/vitrinka`; update
|
|
73
|
+
custom import paths and `-ldflags -X` references when building from source.
|
|
74
|
+
|
|
6
75
|
## 3.11.0
|
|
7
76
|
|
|
8
77
|
The task is the handoff: a session picks a task up from one bounded view,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitrinka/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.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": "
|
|
19
|
-
"@vitrinka/cli-darwin-x64": "
|
|
20
|
-
"@vitrinka/cli-linux-arm64": "
|
|
21
|
-
"@vitrinka/cli-linux-x64": "
|
|
22
|
-
"@vitrinka/cli-win32-arm64": "
|
|
23
|
-
"@vitrinka/cli-win32-x64": "
|
|
18
|
+
"@vitrinka/cli-darwin-arm64": "4.1.0",
|
|
19
|
+
"@vitrinka/cli-darwin-x64": "4.1.0",
|
|
20
|
+
"@vitrinka/cli-linux-arm64": "4.1.0",
|
|
21
|
+
"@vitrinka/cli-linux-x64": "4.1.0",
|
|
22
|
+
"@vitrinka/cli-win32-arm64": "4.1.0",
|
|
23
|
+
"@vitrinka/cli-win32-x64": "4.1.0"
|
|
24
24
|
},
|
|
25
25
|
"keywords": [
|
|
26
26
|
"vitrinka",
|