@camstack/addon-provider-velux 0.2.132 → 0.2.133

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
@@ -60451,9 +60451,24 @@ var NpuInfoSchema = object({
60451
60451
  name: string().optional(),
60452
60452
  generation: _enum(["xdna1", "xdna2"]).optional()
60453
60453
  });
60454
+ var CoralBusSchema = _enum(["usb", "pci"]);
60454
60455
  var CoralInfoSchema = object({
60455
60456
  type: literal("coral-edgetpu"),
60456
- bus: string().optional()
60457
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60458
+ bus: string().optional(),
60459
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60460
+ count: number().int().nonnegative().optional(),
60461
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60462
+ units: array(object({
60463
+ bus: CoralBusSchema,
60464
+ count: number().int().nonnegative()
60465
+ })).readonly().optional(),
60466
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60467
+ unavailable: array(object({
60468
+ bus: CoralBusSchema,
60469
+ count: number().int().nonnegative(),
60470
+ reason: _enum(["driver-missing", "device-not-accessible"])
60471
+ })).readonly().optional()
60457
60472
  });
60458
60473
  var HardwareInfoSchema = object({
60459
60474
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -60450,9 +60450,24 @@ var NpuInfoSchema = object({
60450
60450
  name: string().optional(),
60451
60451
  generation: _enum(["xdna1", "xdna2"]).optional()
60452
60452
  });
60453
+ var CoralBusSchema = _enum(["usb", "pci"]);
60453
60454
  var CoralInfoSchema = object({
60454
60455
  type: literal("coral-edgetpu"),
60455
- bus: string().optional()
60456
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60457
+ bus: string().optional(),
60458
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60459
+ count: number().int().nonnegative().optional(),
60460
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60461
+ units: array(object({
60462
+ bus: CoralBusSchema,
60463
+ count: number().int().nonnegative()
60464
+ })).readonly().optional(),
60465
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60466
+ unavailable: array(object({
60467
+ bus: CoralBusSchema,
60468
+ count: number().int().nonnegative(),
60469
+ reason: _enum(["driver-missing", "device-not-accessible"])
60470
+ })).readonly().optional()
60456
60471
  });
60457
60472
  var HardwareInfoSchema = object({
60458
60473
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-velux",
3
- "version": "0.2.132",
3
+ "version": "0.2.133",
4
4
  "description": "Velux KLF-200 device-provider addon for CamStack — local-gateway window + shutter covers (positional, no tilt)",
5
5
  "keywords": [
6
6
  "camstack",