@camstack/addon-provider-dreo 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 +16 -1
- package/dist/addon.mjs +16 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -60385,9 +60385,24 @@ var NpuInfoSchema = object({
|
|
|
60385
60385
|
name: string().optional(),
|
|
60386
60386
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
60387
60387
|
});
|
|
60388
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
60388
60389
|
var CoralInfoSchema = object({
|
|
60389
60390
|
type: literal("coral-edgetpu"),
|
|
60390
|
-
bus
|
|
60391
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
60392
|
+
bus: string().optional(),
|
|
60393
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
60394
|
+
count: number().int().nonnegative().optional(),
|
|
60395
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
60396
|
+
units: array(object({
|
|
60397
|
+
bus: CoralBusSchema,
|
|
60398
|
+
count: number().int().nonnegative()
|
|
60399
|
+
})).readonly().optional(),
|
|
60400
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
60401
|
+
unavailable: array(object({
|
|
60402
|
+
bus: CoralBusSchema,
|
|
60403
|
+
count: number().int().nonnegative(),
|
|
60404
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
60405
|
+
})).readonly().optional()
|
|
60391
60406
|
});
|
|
60392
60407
|
var HardwareInfoSchema = object({
|
|
60393
60408
|
platform: HardwarePlatformSchema,
|
package/dist/addon.mjs
CHANGED
|
@@ -60386,9 +60386,24 @@ var NpuInfoSchema = object({
|
|
|
60386
60386
|
name: string().optional(),
|
|
60387
60387
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
60388
60388
|
});
|
|
60389
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
60389
60390
|
var CoralInfoSchema = object({
|
|
60390
60391
|
type: literal("coral-edgetpu"),
|
|
60391
|
-
bus
|
|
60392
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
60393
|
+
bus: string().optional(),
|
|
60394
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
60395
|
+
count: number().int().nonnegative().optional(),
|
|
60396
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
60397
|
+
units: array(object({
|
|
60398
|
+
bus: CoralBusSchema,
|
|
60399
|
+
count: number().int().nonnegative()
|
|
60400
|
+
})).readonly().optional(),
|
|
60401
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
60402
|
+
unavailable: array(object({
|
|
60403
|
+
bus: CoralBusSchema,
|
|
60404
|
+
count: number().int().nonnegative(),
|
|
60405
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
60406
|
+
})).readonly().optional()
|
|
60392
60407
|
});
|
|
60393
60408
|
var HardwareInfoSchema = object({
|
|
60394
60409
|
platform: HardwarePlatformSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.133",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|