@modelstatus/cli 0.1.74 → 0.1.75
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 +28 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,16 +8,19 @@ The free CLI + TUI for [LLM Status](https://llmstatus.ai) — scans your repo fo
|
|
|
8
8
|
npx @modelstatus/cli status
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
That's it. No sign-in, no account,
|
|
11
|
+
That's it. No sign-in, no account, and the scan runs entirely on your machine — you get a snapshot of every model in your repo plus health badges and replacement suggestions. (The CLI sends anonymous usage analytics — event names + counts only, never code, model names, or paths; a one-time notice says so and `MM_NO_ANALYTICS=1` turns it off.)
|
|
12
12
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
15
15
|
Pick whichever fits your stack:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
# Self-contained binary, no Node required:
|
|
18
|
+
# Self-contained binary, no Node required (sha256 + signature verified by the installer):
|
|
19
19
|
curl -fsSL https://llmstatus.ai/install.sh | bash
|
|
20
20
|
|
|
21
|
+
# Homebrew (macOS + Linux):
|
|
22
|
+
brew install randomartifact/tap/modelstatus-cli
|
|
23
|
+
|
|
21
24
|
# Via npm (needs Node ≥18):
|
|
22
25
|
npm i -g @modelstatus/cli
|
|
23
26
|
```
|
|
@@ -49,6 +52,19 @@ Models in use:
|
|
|
49
52
|
|
|
50
53
|
Works **fully offline** after the first run (cached snapshot at `~/.config/llmstatus/registry-cache.json`).
|
|
51
54
|
|
|
55
|
+
### Free: fix the dying ones
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
mm fix [dir] --dry-run # preview the rewrites
|
|
59
|
+
mm fix [dir] # apply (asks first)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Rewrites deprecated/retiring model ids to their current registry replacement, in
|
|
63
|
+
place. Boundary-safe (`gpt-4` never rewrites inside `gpt-4o`), style-preserving
|
|
64
|
+
(prefixed stays prefixed), and chain-aware — if the replacement is itself dying,
|
|
65
|
+
it follows the chain to the first live model. In the TUI, press `f` for a
|
|
66
|
+
red/green diff preview; nothing is written until you confirm.
|
|
67
|
+
|
|
52
68
|
### Sign in for cloud features
|
|
53
69
|
|
|
54
70
|
```bash
|
|
@@ -65,7 +81,9 @@ You get two binaries — `mm` (short) and `llmstatus` (descriptive). Same binary
|
|
|
65
81
|
| Command | What it does |
|
|
66
82
|
|---|---|
|
|
67
83
|
| `mm status [dir]` | Free offline model-health check — no account |
|
|
68
|
-
| `mm` |
|
|
84
|
+
| `mm fix [dir]` | Rewrite dying model ids to their replacement (`--dry-run` to preview) |
|
|
85
|
+
| `mm [dir]` | Launch the TUI on a folder (defaults to the current one) — runs locally |
|
|
86
|
+
| `mm update` | Update the binary in place (Homebrew installs: `brew upgrade`) |
|
|
69
87
|
| `mm login [api_key]` | Browser sign-in with polling (or paste a key) |
|
|
70
88
|
| `mm signup` | Create an account in the browser |
|
|
71
89
|
| `mm scan [dir]` | Scan for model usage; interactive TUI, or `--ci`/`--json` for pipelines |
|
|
@@ -96,7 +114,9 @@ Secret sources shell out to your already-authenticated CLIs, run **read-only**,
|
|
|
96
114
|
| Signed registry snapshot, offline cache | ✓ | ✓ |
|
|
97
115
|
| Resolve + health locally, on-device | ✓ | ✓ |
|
|
98
116
|
| Secret-source aware (`env`, `aws-secrets`, `k8s`, `helm`, `sql`) | ✓ | ✓ |
|
|
117
|
+
| `mm fix` — rewrite dying ids to replacements | ✓ | ✓ |
|
|
99
118
|
| Cloud inventory across projects/teams | — | ✓ |
|
|
119
|
+
| GitHub App: PR checks + one-click fix PRs | — | ✓ |
|
|
100
120
|
| Alerts on deprecations/retirements (email/Slack/SMS) | — | ✓ |
|
|
101
121
|
| CI integrations + web dashboard | — | ✓ |
|
|
102
122
|
|
|
@@ -113,6 +133,11 @@ pinned root key (in the CLI binary)
|
|
|
113
133
|
|
|
114
134
|
The CLI verifies every byte before trusting the snapshot, refuses any rollback to an older version, and falls back to its local cache when the network's down. The signing key can be rotated without shipping a new CLI release.
|
|
115
135
|
|
|
136
|
+
The binaries get the same treatment: macOS builds are Developer ID signed and
|
|
137
|
+
Apple-notarized, every release manifest is Ed25519-signed and verified — against
|
|
138
|
+
a public key embedded in the installer and the self-updater, not fetched from the
|
|
139
|
+
CDN — and both refuse to proceed if any check fails.
|
|
140
|
+
|
|
116
141
|
## Links
|
|
117
142
|
|
|
118
143
|
- Website: [llmstatus.ai](https://llmstatus.ai)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modelstatus/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.75",
|
|
4
4
|
"description": "Track which AI models you use, where, and never get surprised by a retirement. Free offline model-health for any repo (mm status), browser sign-in for cloud inventory + alerts.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"llm",
|