@andrian.yablonskyy/thub-common 1.0.17 → 1.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrian.yablonskyy/thub-common",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "Shared job-spec schema, state enums and a thin API client used by the Agent and Client",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -68,6 +68,8 @@ const jobSpecSchema = {
68
68
  },
69
69
  timeoutSec: { type: 'integer', minimum: 1, default: 1800 },
70
70
  priority: { type: 'integer', minimum: 0, maximum: 100, default: 50 },
71
+ // Set by the Coordinator from the agent token's kind; any value an
72
+ // (older) Agent sends is accepted but overwritten.
71
73
  source: { enum: ['ci', 'cli'] },
72
74
  // Free-text job owner (`thub run --user <name>`, §7.1) — purely a
73
75
  // label shown on the Client and dashboard to tell whose job is whose,