@moxt-ai/cli 0.8.0-beta.1 → 0.8.0-beta.3
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 +21 -0
- package/dist/index.cjs +7610 -16251
- package/dist/index.cjs.map +1 -1
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -14,6 +14,25 @@ npm install -g @moxt-ai/cli
|
|
|
14
14
|
moxt [command] [options]
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
## Upgrading
|
|
18
|
+
|
|
19
|
+
In an interactive terminal, Moxt CLI checks the npm registry at most once every 24 hours.
|
|
20
|
+
When a same-channel update is cached, the next eligible command offers **Update now**,
|
|
21
|
+
**Not now**, or **Skip this version**. The prompt and installer output use stderr, so
|
|
22
|
+
command stdout remains safe to pipe. Daemon, help, version, telemetry, CI, and
|
|
23
|
+
non-interactive invocations never prompt or install.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
moxt upgrade # Check, install, verify the PATH version
|
|
27
|
+
moxt upgrade --check # Refresh and report the current channel only
|
|
28
|
+
moxt upgrade --dry-run # Show the package-manager command without running it
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Stable releases follow npm's `latest` tag and beta releases follow `beta`. Moxt invokes
|
|
32
|
+
supported package managers with fixed arguments and never runs `sudo`. Set
|
|
33
|
+
`MOXT_NO_UPDATE_CHECK=1` (or the community-standard `NO_UPDATE_NOTIFIER`) to disable
|
|
34
|
+
background checks and prompts.
|
|
35
|
+
|
|
17
36
|
## Commands
|
|
18
37
|
|
|
19
38
|
### machine
|
|
@@ -289,6 +308,8 @@ Set the following environment variables:
|
|
|
289
308
|
|----------|-------------|
|
|
290
309
|
| `MOXT_API_KEY` | Your Moxt API key |
|
|
291
310
|
| `MOXT_HOST` | API hostname (default: `api.moxt.ai`) |
|
|
311
|
+
| `MOXT_NO_UPDATE_CHECK` | Set to `1` to disable update checks and prompts |
|
|
312
|
+
| `NO_UPDATE_NOTIFIER` | Disable update checks and prompts when present |
|
|
292
313
|
| `MOXT_TELEMETRY_DISABLED` | Set to `1` to disable anonymous usage telemetry |
|
|
293
314
|
| `DO_NOT_TRACK` | Set to `1` to disable anonymous usage telemetry (community standard) |
|
|
294
315
|
|