@andrian.yablonskyy/thub-agent 1.0.9 → 1.0.11
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 +5 -0
- package/config.json +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,8 +34,13 @@ thub cancel <jobId> Cancel a job
|
|
|
34
34
|
thub resources List resources and their status
|
|
35
35
|
thub jobs [--mine] [--state <s>] List recent jobs
|
|
36
36
|
thub config set <key> <value> Save coordinator URL / token / default group / default user locally
|
|
37
|
+
thub check-update Compare this Agent with the latest published version
|
|
38
|
+
thub self-update [--to <x.y.z>] Update this Agent with npm i -g
|
|
39
|
+
thub --version
|
|
37
40
|
```
|
|
38
41
|
|
|
42
|
+
**Self-update.** An admin can request an update for this agent (or all agents) on the Coordinator's Agents page. The next command that talks to the Coordinator then installs it with `npm i -g` (retrying through `sudo` on an interactive terminal) and re-runs itself on the new version. If the install fails — e.g. no permission in CI — it prints the manual command and carries on with the current version; a run never fails because of an update. Set `THUB_NO_SELF_UPDATE=1` to opt out.
|
|
43
|
+
|
|
39
44
|
Key options for `thub run`:
|
|
40
45
|
|
|
41
46
|
| Option | Description |
|
package/config.json
CHANGED
package/package.json
CHANGED