@camstack/addon-provider-reolink 1.2.193 → 1.2.194

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/addon.js CHANGED
@@ -61720,9 +61720,24 @@ var NpuInfoSchema = object({
61720
61720
  name: string().optional(),
61721
61721
  generation: _enum(["xdna1", "xdna2"]).optional()
61722
61722
  });
61723
+ var CoralBusSchema = _enum(["usb", "pci"]);
61723
61724
  var CoralInfoSchema = object({
61724
61725
  type: literal("coral-edgetpu"),
61725
- bus: string().optional()
61726
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61727
+ bus: string().optional(),
61728
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61729
+ count: number().int().nonnegative().optional(),
61730
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61731
+ units: array(object({
61732
+ bus: CoralBusSchema,
61733
+ count: number().int().nonnegative()
61734
+ })).readonly().optional(),
61735
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61736
+ unavailable: array(object({
61737
+ bus: CoralBusSchema,
61738
+ count: number().int().nonnegative(),
61739
+ reason: _enum(["driver-missing", "device-not-accessible"])
61740
+ })).readonly().optional()
61726
61741
  });
61727
61742
  var HardwareInfoSchema = object({
61728
61743
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -61712,9 +61712,24 @@ var NpuInfoSchema = object({
61712
61712
  name: string().optional(),
61713
61713
  generation: _enum(["xdna1", "xdna2"]).optional()
61714
61714
  });
61715
+ var CoralBusSchema = _enum(["usb", "pci"]);
61715
61716
  var CoralInfoSchema = object({
61716
61717
  type: literal("coral-edgetpu"),
61717
- bus: string().optional()
61718
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61719
+ bus: string().optional(),
61720
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61721
+ count: number().int().nonnegative().optional(),
61722
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61723
+ units: array(object({
61724
+ bus: CoralBusSchema,
61725
+ count: number().int().nonnegative()
61726
+ })).readonly().optional(),
61727
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61728
+ unavailable: array(object({
61729
+ bus: CoralBusSchema,
61730
+ count: number().int().nonnegative(),
61731
+ reason: _enum(["driver-missing", "device-not-accessible"])
61732
+ })).readonly().optional()
61718
61733
  });
61719
61734
  var HardwareInfoSchema = object({
61720
61735
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.193",
3
+ "version": "1.2.194",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",