@nocoo/bat 3.1.2 → 3.3.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 +13 -0
- package/dist/bat.js +3589 -2840
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,19 @@ retention setting; workstation probes do not collect process lists or create ser
|
|
|
27
27
|
The two profiles never share credential files or tokens. They use separately configured API origins;
|
|
28
28
|
a workstation login does not overwrite the assets profile.
|
|
29
29
|
|
|
30
|
+
## Self-check and upgrade
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
bat doctor [--offline] [--json] # runtime, profiles, token, schedule, recent report
|
|
34
|
+
bat update [--check] # upgrade from npm, falling back to the Tencent mirror
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
`doctor` is read-only. A failing check exits non-zero; a warning (optional
|
|
38
|
+
profile, unknown version, stale log, held probe lock) does not. `--offline`
|
|
39
|
+
skips the registry, token and reachability probes instead of guessing.
|
|
40
|
+
`update` resolves the newest published version from npmjs first and the mirror
|
|
41
|
+
second, and attempts the install in that same order.
|
|
42
|
+
|
|
30
43
|
## Asset commands
|
|
31
44
|
|
|
32
45
|
```bash
|