figura-cli 0.19.0 → 0.21.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
@@ -18,11 +18,12 @@ npx figura-cli --help
18
18
 
19
19
  The binary is `figura`.
20
20
 
21
- Update later with one command — it bumps the CLI (and the bundled `figura mcp`
22
- server) to the latest and reinstalls the skills to match:
21
+ Check what to run to update — it prints the one correct command for your package
22
+ manager (npm / pnpm / yarn / bun) to bump the CLI and the bundled `figura mcp`
23
+ server. It never self-executes an install:
23
24
 
24
25
  ```bash
25
- figura update # detects bun vs npm; add --dry-run to preview
26
+ figura upgrade # prints e.g. `pnpm add -g figura-cli@latest`
26
27
  ```
27
28
 
28
29
  ## Authentication
@@ -81,6 +82,23 @@ Omitted fields keep their saved value — a name-only `brand set` won't wipe you
81
82
  tokens. Best of all, let Claude Code build the whole profile from your codebase —
82
83
  see the **figura-brand** skill below ("introduce my repo to Figura").
83
84
 
85
+ ## Claude Code integration — one command
86
+
87
+ `figura install` sets up the **full** Claude Code integration in one shot — the
88
+ skills, the update hook, and the status-bar badge:
89
+
90
+ ```bash
91
+ figura install # skills → ~/.claude/skills, hook + badge → global
92
+ figura install --project # skills → ./.claude/skills (this repo); hook + badge global
93
+ figura install --uninstall # reverse all three
94
+ ```
95
+
96
+ It composes the three commands below, so it's idempotent — re-run it to repair a
97
+ partial setup (e.g. you have the skill but no hook). `figura login --project` runs
98
+ this same path, so a fresh `link` already wires up everything. The individual
99
+ `figura skill install`, `figura hook install`, and `figura statusline install`
100
+ commands still work on their own.
101
+
84
102
  ## Claude Code skills
85
103
 
86
104
  Install the bundled skills so Claude Code can work with Figura from any project:
@@ -137,20 +155,21 @@ and stale skills. Check anytime with:
137
155
 
138
156
  ```bash
139
157
  figura doctor # installed vs latest; flags a behind CLI or drifted skills
140
- figura update # update the CLI + reinstall the skills
158
+ figura upgrade # prints the manager-correct update command (never runs it)
141
159
  ```
142
160
 
143
- To automate it, install the Claude Code hook (`figura login --project` does this
144
- for you):
161
+ To automate the check, install the Claude Code hook (`figura login --project`
162
+ does this for you):
145
163
 
146
164
  ```bash
147
165
  figura hook install # add a SessionStart check to ~/.claude/settings.json
148
166
  ```
149
167
 
150
- On each launch it checks — at most once a day, cached, and always in the
151
- background whether anything is behind, reinstalls drifted skills in place, and
152
- kicks off `figura update` if the CLI is stale. It never blocks startup and stays
153
- silent when everything is current. Remove it with `figura hook install --uninstall`.
168
+ On each launch it — at most once a day, cached reinstalls drifted skills in
169
+ place and, when the CLI is behind, prints a one-line notice to run
170
+ `figura upgrade`. It never self-executes an install, never blocks startup, and
171
+ stays silent when everything is current. Remove it with
172
+ `figura hook install --uninstall`.
154
173
 
155
174
  ## Status-bar badge
156
175