@maind-dev/cli 0.132.2 → 0.133.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 +17 -0
- package/build/index.js +304 -293
- package/build/meta.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -21,6 +21,23 @@ checks npm at most once a day and says on stderr when it is behind: once per
|
|
|
21
21
|
release, and every time before `feature promote` and `feature ship`. It stays
|
|
22
22
|
silent in CI and when `MAIND_NO_UPDATE_NOTICE` is set; a failed check is silent too.
|
|
23
23
|
|
|
24
|
+
### Heavy runtimes install on first use
|
|
25
|
+
|
|
26
|
+
The CLI itself installs about 64 MB. Two commands need more, and fetch it the
|
|
27
|
+
first time they run:
|
|
28
|
+
|
|
29
|
+
| Runtime | Package | Size | Needed by |
|
|
30
|
+
|---|---|---|---|
|
|
31
|
+
| `embeddings` | `@huggingface/transformers` (with onnxruntime) | ~390 MB | `maind index --embed`, `maind index-semantic` |
|
|
32
|
+
| `agent-sdk` | `@anthropic-ai/claude-agent-sdk` | ~250 MB | `maind run` |
|
|
33
|
+
|
|
34
|
+
They go to `~/.cache/maind/runtime` (or `$XDG_CACHE_HOME/maind/runtime`, or
|
|
35
|
+
`MAIND_RUNTIME_DIR`) and are shared by every CLI version, so a new release does
|
|
36
|
+
not download them again. `maind runtime list` shows what is there;
|
|
37
|
+
`maind runtime install <embeddings|agent-sdk|all>` fetches it ahead of time, for
|
|
38
|
+
example into a cached CI directory. With `MAIND_RUNTIME_NO_INSTALL=1` a command
|
|
39
|
+
that needs a missing runtime stops and names that install command instead.
|
|
40
|
+
|
|
24
41
|
## Auth
|
|
25
42
|
|
|
26
43
|
Set `MAIND_API_KEY` to a **read-scoped CI key** from <https://maind.dev/keys>.
|