@lovinka/vitrinka 1.1.1 → 1.5.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/README.md CHANGED
@@ -21,10 +21,38 @@ becomes one HTTPS request against the deployed vitrinka Go server.
21
21
  # both bins on PATH
22
22
  npm i -g @lovinka/vitrinka
23
23
 
24
+ # one-command machine setup: Claude skills bundle (vitrinka + listen, screenshot,
25
+ # artifact, brainstorming) + the /vitrinka:listen command stub + PATH shim +
26
+ # shell completion + Claude Code UI wiring ([Y/n]-gated) — no repo checkout needed.
27
+ # (npm install itself has NO side effects; skills land only via this command,
28
+ # `vitrinka install-skills`, or the repo's install.sh.)
29
+ vitrinka install
30
+
24
31
  # register the MCP server (Claude Code, user scope) — no global install needed
25
32
  claude mcp add --scope user vitrinka -- npx -y --package=@lovinka/vitrinka vitrinka-mcp
26
33
  ```
27
34
 
35
+ `vitrinka install` also offers (interactive `[Y/n]`, or `--claude`/`--no-claude`)
36
+ to wire the **Claude Code UI** — re-runnable standalone as `vitrinka install-claude`:
37
+
38
+ - **Footer badge** — a `footerLinksRegexes` entry in `~/.claude/settings.json`
39
+ renders a clickable **🧷 board** badge in Claude Code's footer whenever a
40
+ `/boards/` URL appears in the conversation (clickable in every terminal;
41
+ needs Claude Code ≥ 2.1.176).
42
+ - **Statusline segment** — `~/.claude/vitrinka-statusline.sh` wraps your existing
43
+ statusline command (recorded on its `VITRINKA_ORIG=` line) and appends a
44
+ `🧷 <board-url>` segment when the session's `.screenshots/.vitrinka` descriptor
45
+ exists (plain-text URL — Claude Code strips OSC 8 from statusline output, and
46
+ terminals cmd+click-linkify visible URLs themselves); with no statusline configured it renders a minimal
47
+ `dir │ branch │ 🧷 board │ model` line itself. Needs `jq`; degrades to
48
+ pass-through without it, and never double-renders a board segment your own
49
+ statusline already prints.
50
+
51
+ Both steps are idempotent — re-runs detect the wiring and no-op. To remove:
52
+ delete `~/.claude/vitrinka-statusline.sh`, restore `statusLine.command` in
53
+ `~/.claude/settings.json` to the `VITRINKA_ORIG` value (or drop the key), and
54
+ remove the `footerLinksRegexes` entry whose pattern contains `/boards/`.
55
+
28
56
  For Claude Desktop or any other MCP client, add the equivalent entry by hand:
29
57
 
30
58
  ```json