@camstack/addon-provider-dreame 0.2.139 → 0.2.140

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
@@ -60585,9 +60585,24 @@ var NpuInfoSchema = object({
60585
60585
  name: string().optional(),
60586
60586
  generation: _enum(["xdna1", "xdna2"]).optional()
60587
60587
  });
60588
+ var CoralBusSchema = _enum(["usb", "pci"]);
60588
60589
  var CoralInfoSchema = object({
60589
60590
  type: literal("coral-edgetpu"),
60590
- bus: string().optional()
60591
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60592
+ bus: string().optional(),
60593
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60594
+ count: number().int().nonnegative().optional(),
60595
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60596
+ units: array(object({
60597
+ bus: CoralBusSchema,
60598
+ count: number().int().nonnegative()
60599
+ })).readonly().optional(),
60600
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60601
+ unavailable: array(object({
60602
+ bus: CoralBusSchema,
60603
+ count: number().int().nonnegative(),
60604
+ reason: _enum(["driver-missing", "device-not-accessible"])
60605
+ })).readonly().optional()
60591
60606
  });
60592
60607
  var HardwareInfoSchema = object({
60593
60608
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -60582,9 +60582,24 @@ var NpuInfoSchema = object({
60582
60582
  name: string().optional(),
60583
60583
  generation: _enum(["xdna1", "xdna2"]).optional()
60584
60584
  });
60585
+ var CoralBusSchema = _enum(["usb", "pci"]);
60585
60586
  var CoralInfoSchema = object({
60586
60587
  type: literal("coral-edgetpu"),
60587
- bus: string().optional()
60588
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60589
+ bus: string().optional(),
60590
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60591
+ count: number().int().nonnegative().optional(),
60592
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60593
+ units: array(object({
60594
+ bus: CoralBusSchema,
60595
+ count: number().int().nonnegative()
60596
+ })).readonly().optional(),
60597
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60598
+ unavailable: array(object({
60599
+ bus: CoralBusSchema,
60600
+ count: number().int().nonnegative(),
60601
+ reason: _enum(["driver-missing", "device-not-accessible"])
60602
+ })).readonly().optional()
60588
60603
  });
60589
60604
  var HardwareInfoSchema = object({
60590
60605
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.139",
3
+ "version": "0.2.140",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",