@kinotic-ai/system-api 5.0.0-beta.5 → 5.0.0-beta.7

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/dist/index.cjs CHANGED
@@ -96,9 +96,9 @@ class VmNode {
96
96
  totalCpus = 0;
97
97
  totalMemoryMb = 0;
98
98
  totalDiskMb = 0;
99
- allocatedCpus = 0;
100
- allocatedMemoryMb = 0;
101
- allocatedDiskMb = 0;
99
+ availableCpus = 0;
100
+ availableMemoryMb = 0;
101
+ availableDiskMb = 0;
102
102
  lastSeen = null;
103
103
  workloadDataDir = null;
104
104
  constructor(id, name, hostname) {
@@ -339,5 +339,7 @@ class KinoticNodeInfo {
339
339
  nodeId = "";
340
340
  order = 0;
341
341
  local = false;
342
+ addresses = [];
343
+ hostNames = [];
342
344
  version = "";
343
345
  }
package/dist/index.d.cts CHANGED
@@ -63,17 +63,18 @@ declare class VmNode implements Identifiable<string> {
63
63
  */
64
64
  totalDiskMb: number;
65
65
  /**
66
- * Number of vCPUs currently allocated to workloads.
66
+ * Number of vCPUs not allocated to any workload. What is allocated is
67
+ * totalCpus - availableCpus.
67
68
  */
68
- allocatedCpus: number;
69
+ availableCpus: number;
69
70
  /**
70
- * Memory currently allocated to workloads in megabytes.
71
+ * Memory not allocated to any workload, in megabytes.
71
72
  */
72
- allocatedMemoryMb: number;
73
+ availableMemoryMb: number;
73
74
  /**
74
- * Disk space currently allocated to workloads in megabytes.
75
+ * Disk space not allocated to any workload, in megabytes.
75
76
  */
76
- allocatedDiskMb: number;
77
+ availableDiskMb: number;
77
78
  /**
78
79
  * The date and time the node was last seen/heartbeat.
79
80
  */
@@ -330,6 +331,8 @@ declare class KinoticNodeInfo {
330
331
  nodeId: string;
331
332
  order: number;
332
333
  local: boolean;
334
+ addresses: string[];
335
+ hostNames: string[];
333
336
  version: string;
334
337
  }
335
338
  /**
package/dist/index.d.ts CHANGED
@@ -63,17 +63,18 @@ declare class VmNode implements Identifiable<string> {
63
63
  */
64
64
  totalDiskMb: number;
65
65
  /**
66
- * Number of vCPUs currently allocated to workloads.
66
+ * Number of vCPUs not allocated to any workload. What is allocated is
67
+ * totalCpus - availableCpus.
67
68
  */
68
- allocatedCpus: number;
69
+ availableCpus: number;
69
70
  /**
70
- * Memory currently allocated to workloads in megabytes.
71
+ * Memory not allocated to any workload, in megabytes.
71
72
  */
72
- allocatedMemoryMb: number;
73
+ availableMemoryMb: number;
73
74
  /**
74
- * Disk space currently allocated to workloads in megabytes.
75
+ * Disk space not allocated to any workload, in megabytes.
75
76
  */
76
- allocatedDiskMb: number;
77
+ availableDiskMb: number;
77
78
  /**
78
79
  * The date and time the node was last seen/heartbeat.
79
80
  */
@@ -330,6 +331,8 @@ declare class KinoticNodeInfo {
330
331
  nodeId: string;
331
332
  order: number;
332
333
  local: boolean;
334
+ addresses: string[];
335
+ hostNames: string[];
333
336
  version: string;
334
337
  }
335
338
  /**
package/dist/index.js CHANGED
@@ -32,9 +32,9 @@ class VmNode {
32
32
  totalCpus = 0;
33
33
  totalMemoryMb = 0;
34
34
  totalDiskMb = 0;
35
- allocatedCpus = 0;
36
- allocatedMemoryMb = 0;
37
- allocatedDiskMb = 0;
35
+ availableCpus = 0;
36
+ availableMemoryMb = 0;
37
+ availableDiskMb = 0;
38
38
  lastSeen = null;
39
39
  workloadDataDir = null;
40
40
  constructor(id, name, hostname) {
@@ -277,6 +277,8 @@ class KinoticNodeInfo {
277
277
  nodeId = "";
278
278
  order = 0;
279
279
  local = false;
280
+ addresses = [];
281
+ hostNames = [];
280
282
  version = "";
281
283
  }
282
284
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinotic-ai/system-api",
3
- "version": "5.0.0-beta.5",
3
+ "version": "5.0.0-beta.7",
4
4
  "type": "module",
5
5
  "description": "Client API for the Kinotic platform's system plane: the workload and node orchestration services platform machines and operators use.",
6
6
  "files": [
@@ -38,13 +38,13 @@
38
38
  "coverage": "bun test --coverage --pass-with-no-tests"
39
39
  },
40
40
  "dependencies": {
41
- "@kinotic-ai/management-api": "5.0.0-beta.23"
41
+ "@kinotic-ai/management-api": "5.0.0-beta.24"
42
42
  },
43
43
  "peerDependencies": {
44
- "@kinotic-ai/core": ">=5.0.0-beta.8"
44
+ "@kinotic-ai/core": ">=5.0.0-beta.9"
45
45
  },
46
46
  "devDependencies": {
47
- "@kinotic-ai/core": "5.0.0-beta.8",
47
+ "@kinotic-ai/core": "5.0.0-beta.9",
48
48
  "@types/bun": "^1.3.9",
49
49
  "typescript": "^5.9.3"
50
50
  }