@camstack/addon-provider-rademacher 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
@@ -61422,9 +61422,24 @@ var NpuInfoSchema = object({
61422
61422
  name: string().optional(),
61423
61423
  generation: _enum(["xdna1", "xdna2"]).optional()
61424
61424
  });
61425
+ var CoralBusSchema = _enum(["usb", "pci"]);
61425
61426
  var CoralInfoSchema = object({
61426
61427
  type: literal("coral-edgetpu"),
61427
- bus: string().optional()
61428
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61429
+ bus: string().optional(),
61430
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61431
+ count: number().int().nonnegative().optional(),
61432
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61433
+ units: array(object({
61434
+ bus: CoralBusSchema,
61435
+ count: number().int().nonnegative()
61436
+ })).readonly().optional(),
61437
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61438
+ unavailable: array(object({
61439
+ bus: CoralBusSchema,
61440
+ count: number().int().nonnegative(),
61441
+ reason: _enum(["driver-missing", "device-not-accessible"])
61442
+ })).readonly().optional()
61428
61443
  });
61429
61444
  var HardwareInfoSchema = object({
61430
61445
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -61421,9 +61421,24 @@ var NpuInfoSchema = object({
61421
61421
  name: string().optional(),
61422
61422
  generation: _enum(["xdna1", "xdna2"]).optional()
61423
61423
  });
61424
+ var CoralBusSchema = _enum(["usb", "pci"]);
61424
61425
  var CoralInfoSchema = object({
61425
61426
  type: literal("coral-edgetpu"),
61426
- bus: string().optional()
61427
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61428
+ bus: string().optional(),
61429
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61430
+ count: number().int().nonnegative().optional(),
61431
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61432
+ units: array(object({
61433
+ bus: CoralBusSchema,
61434
+ count: number().int().nonnegative()
61435
+ })).readonly().optional(),
61436
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61437
+ unavailable: array(object({
61438
+ bus: CoralBusSchema,
61439
+ count: number().int().nonnegative(),
61440
+ reason: _enum(["driver-missing", "device-not-accessible"])
61441
+ })).readonly().optional()
61427
61442
  });
61428
61443
  var HardwareInfoSchema = object({
61429
61444
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.132",
3
+ "version": "0.2.133",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",