@camstack/types 1.2.597 → 1.2.598

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.2.598] - 2026-11-18
11
+
12
+ ### Changed
13
+
14
+ - pipelineExecutor.getInferenceDeviceHealth reports an optional absentReason, and the inference device exclusion reasons gain no-gpu-device
15
+
10
16
  ## [1.2.597] - 2026-11-18
11
17
 
12
18
  ### Added
@@ -53,9 +59,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
53
59
 
54
60
  - New device-state-refresh capability and state-refresh policy types: a provider declares how its devices are read, the hub decides when (D1062).
55
61
 
56
- ### Changed
57
-
58
-
59
62
  ## [1.2.592] - 2026-11-18
60
63
 
61
64
  ### Changed
@@ -302,8 +305,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
302
305
  - Notification history can show the title and body that were sent.
303
306
  - Email images travel as peerBytes tickets on smtp-provider.sendEmail.
304
307
  - A cluster update can name a server install that stalled or hit its time limit.
305
- ### Changed
306
-
307
308
  ## [1.2.562] - 2026-11-13
308
309
 
309
310
  ### Added
@@ -782,6 +782,9 @@ export declare const pipelineExecutorCapability: {
782
782
  since: z.ZodNumber;
783
783
  deaths: z.ZodNumber;
784
784
  lastError: z.ZodString;
785
+ absentReason: z.ZodOptional<z.ZodEnum<{
786
+ "no-gpu-device": "no-gpu-device";
787
+ }>>;
785
788
  }, z.core.$strip>>>;
786
789
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
787
790
  /**
@@ -586,11 +586,19 @@ declare const INFERENCE_DEVICE_EXCLUSION_REASONS: readonly [
586
586
  /** It is the CPU fallback and this node has a real accelerator serving (D215). */
587
587
  'accelerator-preferred',
588
588
  /** The camera root step is switched off on it: cluster, node or device (D1065). */
589
- 'root-switched-off'];
589
+ 'root-switched-off',
590
+ /**
591
+ * The runtime itself enumerates no such device: OpenVINO sees no supported GPU
592
+ * (the driver / compute runtime does not support this iGPU). Hardware that is
593
+ * present but cannot run — it does NOT count as an accelerator serving the
594
+ * node, so the CPU fallback is not held back for it.
595
+ */
596
+ 'no-gpu-device'];
590
597
  declare const InferenceDeviceExclusionReasonSchema: z.ZodEnum<{
591
598
  "accelerator-preferred": "accelerator-preferred";
592
599
  "cannot-host-camera-root": "cannot-host-camera-root";
593
600
  disabled: "disabled";
601
+ "no-gpu-device": "no-gpu-device";
594
602
  "root-switched-off": "root-switched-off";
595
603
  unavailable: "unavailable";
596
604
  }>;
@@ -626,6 +634,7 @@ declare const NodeInferenceDeviceSchema: z.ZodObject<{
626
634
  "accelerator-preferred": "accelerator-preferred";
627
635
  "cannot-host-camera-root": "cannot-host-camera-root";
628
636
  disabled: "disabled";
637
+ "no-gpu-device": "no-gpu-device";
629
638
  "root-switched-off": "root-switched-off";
630
639
  unavailable: "unavailable";
631
640
  }>>;
@@ -690,6 +699,7 @@ declare const NodeInferenceDevicesSchema: z.ZodObject<{
690
699
  "accelerator-preferred": "accelerator-preferred";
691
700
  "cannot-host-camera-root": "cannot-host-camera-root";
692
701
  disabled: "disabled";
702
+ "no-gpu-device": "no-gpu-device";
693
703
  "root-switched-off": "root-switched-off";
694
704
  unavailable: "unavailable";
695
705
  }>>;
@@ -1537,6 +1547,7 @@ export declare const pipelineOrchestratorCapability: {
1537
1547
  "accelerator-preferred": "accelerator-preferred";
1538
1548
  "cannot-host-camera-root": "cannot-host-camera-root";
1539
1549
  disabled: "disabled";
1550
+ "no-gpu-device": "no-gpu-device";
1540
1551
  "root-switched-off": "root-switched-off";
1541
1552
  unavailable: "unavailable";
1542
1553
  }>>;
package/dist/index.js CHANGED
@@ -76959,7 +76959,13 @@ var pipelineExecutorCapability = {
76959
76959
  /** Pool deaths inside the current window. */
76960
76960
  deaths: zod.z.number(),
76961
76961
  /** The last death's message. */
76962
- lastError: zod.z.string()
76962
+ lastError: zod.z.string(),
76963
+ /**
76964
+ * Present when the device is ABSENT rather than dead: the runtime
76965
+ * itself enumerates no such device (`no-gpu-device` — OpenVINO sees
76966
+ * no supported GPU; driver/runtime does not support this iGPU).
76967
+ */
76968
+ absentReason: zod.z.enum(["no-gpu-device"]).optional()
76963
76969
  })).readonly() })),
76964
76970
  /**
76965
76971
  * Re-arm a terminally `failed` inference device on `nodeId`: forget its
@@ -87584,7 +87590,8 @@ var INFERENCE_DEVICE_EXCLUSION_REASONS = [
87584
87590
  "unavailable",
87585
87591
  "cannot-host-camera-root",
87586
87592
  "accelerator-preferred",
87587
- "root-switched-off"
87593
+ "root-switched-off",
87594
+ "no-gpu-device"
87588
87595
  ];
87589
87596
  var InferenceDeviceExclusionReasonSchema = zod.z.enum(INFERENCE_DEVICE_EXCLUSION_REASONS);
87590
87597
  var NodeInferenceDeviceSchema = zod.z.object({
package/dist/index.mjs CHANGED
@@ -76958,7 +76958,13 @@ var pipelineExecutorCapability = {
76958
76958
  /** Pool deaths inside the current window. */
76959
76959
  deaths: z.number(),
76960
76960
  /** The last death's message. */
76961
- lastError: z.string()
76961
+ lastError: z.string(),
76962
+ /**
76963
+ * Present when the device is ABSENT rather than dead: the runtime
76964
+ * itself enumerates no such device (`no-gpu-device` — OpenVINO sees
76965
+ * no supported GPU; driver/runtime does not support this iGPU).
76966
+ */
76967
+ absentReason: z.enum(["no-gpu-device"]).optional()
76962
76968
  })).readonly() })),
76963
76969
  /**
76964
76970
  * Re-arm a terminally `failed` inference device on `nodeId`: forget its
@@ -87583,7 +87589,8 @@ var INFERENCE_DEVICE_EXCLUSION_REASONS = [
87583
87589
  "unavailable",
87584
87590
  "cannot-host-camera-root",
87585
87591
  "accelerator-preferred",
87586
- "root-switched-off"
87592
+ "root-switched-off",
87593
+ "no-gpu-device"
87587
87594
  ];
87588
87595
  var InferenceDeviceExclusionReasonSchema = z.enum(INFERENCE_DEVICE_EXCLUSION_REASONS);
87589
87596
  var NodeInferenceDeviceSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.597",
3
+ "version": "1.2.598",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",