@vitrinka/cli 3.5.0 → 3.7.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 (3) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +12 -14
  3. package/package.json +8 -9
package/CHANGELOG.md CHANGED
@@ -3,6 +3,67 @@
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
+ ## 3.7.0
7
+
8
+ One version, everywhere: the `vitrinka` agent plugin (Claude Code / Codex
9
+ marketplace `vitrinka@kit`) now carries the CLI's version, so `vitrinka
10
+ update` always brings the skills and the MCP vocabulary that match this
11
+ binary. The plugin jumps from 1.11.0 to 3.7.0 in one step.
12
+
13
+ ### Added
14
+ - **File a task from a board card.** Right-click any card → *File a task
15
+ from this card*: the task lands in the project with the card as its
16
+ evidence, and (when you may accept intake) is projected straight back
17
+ onto the board as a task card. Cards wear a quiet `REN-12 · done ↗` link
18
+ to the tasks filed from them.
19
+ - **Pin a task on a board** from the task panel's menu; task cards link
20
+ back to their task.
21
+ - **`docs {family: element|board|artifact}`** narrows the docs index to one
22
+ layer (about a third of the tokens).
23
+
24
+ ### Changed
25
+ - `scrape_board` and `list_sections` take `board` like every other board
26
+ tool (`slug` still works).
27
+ - `list_tasks` answers compact rows — label names, no bodies, no actor
28
+ objects, no timestamps; `get_task` has the full record.
29
+ - The docs index shows one sentence per topic.
30
+
31
+ ## 3.6.0
32
+
33
+ ### Added
34
+ - **`vitrinka docs [topic]`** — the connected deploy's artifact component
35
+ reference, in the terminal. No topic prints the compact index; a topic
36
+ prints that page (props, example, gotchas). It reads the docs off the
37
+ server you're signed into, so what prints always matches the kit that will
38
+ actually render your artifact — even one newer than this CLI.
39
+ - **`push` preflight autofixes doc.json.** Mechanical mistakes — typos,
40
+ HTML entities, small JSON damage — are repaired before validation and
41
+ reported as `fixed:` lines; `--no-fix` skips the repair. Validation
42
+ failures and server rejections now come back as structured diagnostics
43
+ naming the exact spot (carried in the `--json` envelope too) instead of a
44
+ bare error.
45
+ - **Artifact pushes come back with a screenshot.** After publishing, the
46
+ server smoke-renders the artifact and the CLI downloads `render.png`
47
+ beside it, so you see what shipped without opening a browser.
48
+ `--no-render` skips the wait and the download.
49
+ - **Your repo's `DESIGN.md` rides along.** Artifact pushes discover the
50
+ repo's DESIGN.md and send it so renders follow your design language;
51
+ `--no-design` opts out. `artifact init` quotes the style brief into new
52
+ scaffolds.
53
+
54
+ ### Changed
55
+ - **`artifact init` emits ONE scaffold** — an editable index.html composing
56
+ kit components, ready to rework directly. The `--custom` full-HTML escape
57
+ hatch is retired; the command points you at composing kit components
58
+ instead (see `vitrinka docs`).
59
+ - **The project slug follows the repo binding from any subdirectory** — a
60
+ nested working directory now honors the nearest ancestor
61
+ `.vitrinka/project.json` instead of resolving as if the repo were unbound.
62
+
63
+ ### Fixed
64
+ - An oversized or garbage server response now fails loudly, naming what was
65
+ wrong with it, instead of being silently truncated into confusing output.
66
+
6
67
  ## 3.5.0
7
68
 
8
69
  ### Added
package/README.md CHANGED
@@ -37,32 +37,30 @@ failing as "command not found".
37
37
 
38
38
  ## MCP
39
39
 
40
- The MCP server is **remote** — it runs inside the vitrinka server, so there is
41
- nothing to install and nothing to keep up to date. Register it once:
40
+ The MCP surface is served by the vitrinka server at `/mcp`; the registration
41
+ every client runs is the CLI's own stdio forwarder, `vitrinka mcp`. It resolves
42
+ the deployment origin, the token (OS keyring) and the operator at runtime, so
43
+ the registration itself carries no URL, no token, no headers — it is identical
44
+ on every machine and safe to commit. `vitrinka install` registers it for you;
45
+ manually:
42
46
 
43
47
  ```bash
44
- claude mcp add --scope user --transport http vitrinka https://app.vitrinka.ai/mcp \
45
- --header "Authorization: Bearer $(vitrinka token)"
48
+ claude mcp add --scope user --transport stdio vitrinka -- vitrinka mcp
46
49
  ```
47
50
 
48
- For Claude Desktop or any other MCP client, add the equivalent HTTP entry:
51
+ For Claude Desktop or any other MCP client, add the equivalent stdio entry:
49
52
 
50
53
  ```json
51
54
  {
52
55
  "mcpServers": {
53
- "vitrinka": {
54
- "type": "http",
55
- "url": "https://app.vitrinka.ai/mcp",
56
- "headers": { "Authorization": "Bearer …" }
57
- }
56
+ "vitrinka": { "command": "vitrinka", "args": ["mcp"] }
58
57
  }
59
58
  }
60
59
  ```
61
60
 
62
- > The stdio `vitrinka-mcp` bin was **removed in 3.0.0**. If you have a
63
- > registration pointing at `npx -y --package=@vitrinka/cli vitrinka-mcp`
64
- > (or at a `mcp/server.ts` repo shim), replace it with the HTTP form above —
65
- > `vitrinka install` and `vitrinka doctor --fix` will do it for you.
61
+ > The old **HTTP + `Authorization: Bearer …` registration is retired** — it
62
+ > baked a credential into client config. `vitrinka doctor` flags it and
63
+ > rewrites it to the stdio form above; `vitrinka install` does the same.
66
64
 
67
65
  vitrinka is reachable over the WireGuard mesh — bring the VPN up (or point
68
66
  `VITRINKA_BASE_URL` at any reachable host) before use.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrinka/cli",
3
- "version": "3.5.0",
3
+ "version": "3.7.0",
4
4
  "description": "vitrinka CLI \u2014 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"
@@ -14,23 +14,22 @@
14
14
  "node": ">=18"
15
15
  },
16
16
  "optionalDependencies": {
17
- "@vitrinka/cli-darwin-arm64": "3.5.0",
18
- "@vitrinka/cli-darwin-x64": "3.5.0",
19
- "@vitrinka/cli-linux-arm64": "3.5.0",
20
- "@vitrinka/cli-linux-x64": "3.5.0",
21
- "@vitrinka/cli-win32-arm64": "3.5.0",
22
- "@vitrinka/cli-win32-x64": "3.5.0"
17
+ "@vitrinka/cli-darwin-arm64": "3.7.0",
18
+ "@vitrinka/cli-darwin-x64": "3.7.0",
19
+ "@vitrinka/cli-linux-arm64": "3.7.0",
20
+ "@vitrinka/cli-linux-x64": "3.7.0",
21
+ "@vitrinka/cli-win32-arm64": "3.7.0",
22
+ "@vitrinka/cli-win32-x64": "3.7.0"
23
23
  },
24
24
  "keywords": [
25
25
  "vitrinka",
26
- "lovinka",
27
26
  "cli",
28
27
  "mcp",
29
28
  "model-context-protocol",
30
29
  "screenshots",
31
30
  "ai"
32
31
  ],
33
- "author": "Lovinka",
32
+ "author": "FixIt Technologies",
34
33
  "license": "MIT",
35
34
  "repository": {
36
35
  "type": "git",