@andrian.yablonskyy/thub-agent 1.1.10 → 1.1.13
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 +3 -3
- package/RELEASE.md +37 -0
- package/package.json +2 -2
- package/src/cli.js +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @andrian.yablonskyy/thub-agent
|
|
2
2
|
|
|
3
|
-
The Agent CLI (`thub`)
|
|
3
|
+
The Agent CLI (`thub`) is a self-hosted job network that lets CI/CD pipelines and individual developers run firmware tests on real hardware or emulators in a private lab. `thub` is the single entry point for both: it's stateless, everything it knows comes from the [Coordinator](https://github.com/andrianyablonskyy/thub-coordinator) API, and it runs identically on a GitHub-hosted runner and a developer laptop — a developer reproducing a CI failure runs exactly the same command the pipeline runs.
|
|
4
4
|
|
|
5
|
-
See the [
|
|
5
|
+
See how this fits with the [Coordinator](https://github.com/andrianyablonskyy/thub-coordinator) and the [Client](https://github.com/andrianyablonskyy/thub-client).
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -347,7 +347,7 @@ Report only, quietly, with the verdict as a commit status:
|
|
|
347
347
|
commit-status: true
|
|
348
348
|
```
|
|
349
349
|
|
|
350
|
-
Complete workflows, every input, and how the PR comment and test table work are in
|
|
350
|
+
Complete workflows, every input, and how the PR comment and test table work are in the [thub-action README](https://github.com/andrianyablonskyy/thub-action#readme) and the main README §11.1.
|
|
351
351
|
|
|
352
352
|
With the Agent directly:
|
|
353
353
|
|
package/RELEASE.md
CHANGED
|
@@ -2,6 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
What changed in each release, newest first. `## Unreleased` collects the changes since the version on npm; `bin/publish` turns that heading into the version and date it releases.
|
|
4
4
|
|
|
5
|
+
## 1.1.13 — 2026-10-09
|
|
6
|
+
|
|
7
|
+
Changes since 1.1.12.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **Back on npm.** Install with `npm i -g @andrian.yablonskyy/thub-agent`. `check-update`, `self-update` and dashboard-requested updates use npm again, and require thub-common from npm. The git-based updates in the versions released only as git tags (1.1.11–1.1.12) are gone. An install of one of those updates from git tags, which are still pushed with every release, so it keeps updating.
|
|
12
|
+
|
|
13
|
+
## 1.1.12 — 2026-10-08
|
|
14
|
+
|
|
15
|
+
Changes since 1.1.11.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **Updates come from the Agent's git repository.** `thub check-update` reads its newest release tag. `thub self-update` and an update requested on the dashboard install with `npm i -g --install-links git+https://github.com/andrianyablonskyy/thub-agent.git#vX.Y.Z`, retrying with sudo on a terminal.
|
|
20
|
+
- **Install:** `npm i -g --install-links git+https://github.com/andrianyablonskyy/thub-agent.git`, or in CI `npx -y --package='git+https://github.com/andrianyablonskyy/thub-agent.git#semver:*' thub …`.
|
|
21
|
+
|
|
22
|
+
### Upgrading from npm
|
|
23
|
+
|
|
24
|
+
- An Agent installed from npm (1.1.10 or older) can only update from npm, where nothing new comes: reinstall it once from git with the command above.
|
|
25
|
+
|
|
26
|
+
## 1.1.11 — 2026-10-08
|
|
27
|
+
|
|
28
|
+
Changes since 1.1.11.
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- **Not published to npm any more.** A release is its `vX.Y.Z` tag on GitHub. thub-common comes from its public repository by tag (`git+https://github.com/andrianyablonskyy/thub-common.git#semver:^…`), so installing needs `git` on the host. `package.json` has `"private": true`.
|
|
33
|
+
|
|
34
|
+
## 1.1.11 — 2026-10-08
|
|
35
|
+
|
|
36
|
+
Changes since 1.1.10.
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- When the Coordinator rejects an option this Agent sent (it's older), the hint says to update it with **Update app** on the dashboard or `thub-admin self-update` on its host. The Coordinator isn't on npm any more.
|
|
41
|
+
|
|
5
42
|
## 1.1.8 — 2026-10-08
|
|
6
43
|
|
|
7
44
|
Changes since 1.1.7.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andrian.yablonskyy/thub-agent",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "TestHub Agent CLI — the single entry point CI/CD and developers use to submit and follow test jobs",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Andrian Yablonskyy <andrian.yablonskyy@gmail.com>",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"lint:fix": "eslint . --fix"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@andrian.yablonskyy/thub-common": "^1.1.
|
|
18
|
+
"@andrian.yablonskyy/thub-common": "^1.1.12",
|
|
19
19
|
"commander": "^13.1.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
package/src/cli.js
CHANGED
|
@@ -126,7 +126,7 @@ function fail(err){
|
|
|
126
126
|
}
|
|
127
127
|
catch { /* keep the generic wording */ }
|
|
128
128
|
console.error(`Hint: the Coordinator at ${url} doesn't know an option ` +
|
|
129
|
-
`this Agent (v${version}) sent — update the Coordinator (dashboard → Update app, or
|
|
129
|
+
`this Agent (v${version}) sent — update the Coordinator (dashboard → Update app, or on its host: thub-admin self-update).`);
|
|
130
130
|
}
|
|
131
131
|
process.exit(err.status && Number.isInteger(err.status) && err.status < 100 ? err.status : EXIT_CODES.USAGE);
|
|
132
132
|
}
|