figura-cli 0.18.1 → 0.20.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 +12 -10
- package/dist/index.js +202 -155
- package/dist/mcp.js +38 -35
- package/package.json +2 -1
- package/skills/fig/SKILL.md +58 -73
package/README.md
CHANGED
|
@@ -18,11 +18,12 @@ npx figura-cli --help
|
|
|
18
18
|
|
|
19
19
|
The binary is `figura`.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
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
|
|
26
|
+
figura upgrade # prints e.g. `pnpm add -g figura-cli@latest`
|
|
26
27
|
```
|
|
27
28
|
|
|
28
29
|
## Authentication
|
|
@@ -137,20 +138,21 @@ and stale skills. Check anytime with:
|
|
|
137
138
|
|
|
138
139
|
```bash
|
|
139
140
|
figura doctor # installed vs latest; flags a behind CLI or drifted skills
|
|
140
|
-
figura
|
|
141
|
+
figura upgrade # prints the manager-correct update command (never runs it)
|
|
141
142
|
```
|
|
142
143
|
|
|
143
|
-
To automate
|
|
144
|
-
for you):
|
|
144
|
+
To automate the check, install the Claude Code hook (`figura login --project`
|
|
145
|
+
does this for you):
|
|
145
146
|
|
|
146
147
|
```bash
|
|
147
148
|
figura hook install # add a SessionStart check to ~/.claude/settings.json
|
|
148
149
|
```
|
|
149
150
|
|
|
150
|
-
On each launch it
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
silent when everything is current. Remove it with
|
|
151
|
+
On each launch it — at most once a day, cached — reinstalls drifted skills in
|
|
152
|
+
place and, when the CLI is behind, prints a one-line notice to run
|
|
153
|
+
`figura upgrade`. It never self-executes an install, never blocks startup, and
|
|
154
|
+
stays silent when everything is current. Remove it with
|
|
155
|
+
`figura hook install --uninstall`.
|
|
154
156
|
|
|
155
157
|
## Status-bar badge
|
|
156
158
|
|