@camstack/addon-provider-wyze 0.2.144 → 0.2.145

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
@@ -60519,9 +60519,24 @@ var NpuInfoSchema = object({
60519
60519
  name: string().optional(),
60520
60520
  generation: _enum(["xdna1", "xdna2"]).optional()
60521
60521
  });
60522
+ var CoralBusSchema = _enum(["usb", "pci"]);
60522
60523
  var CoralInfoSchema = object({
60523
60524
  type: literal("coral-edgetpu"),
60524
- bus: string().optional()
60525
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60526
+ bus: string().optional(),
60527
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60528
+ count: number().int().nonnegative().optional(),
60529
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60530
+ units: array(object({
60531
+ bus: CoralBusSchema,
60532
+ count: number().int().nonnegative()
60533
+ })).readonly().optional(),
60534
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60535
+ unavailable: array(object({
60536
+ bus: CoralBusSchema,
60537
+ count: number().int().nonnegative(),
60538
+ reason: _enum(["driver-missing", "device-not-accessible"])
60539
+ })).readonly().optional()
60525
60540
  });
60526
60541
  var HardwareInfoSchema = object({
60527
60542
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -60498,9 +60498,24 @@ var NpuInfoSchema = object({
60498
60498
  name: string().optional(),
60499
60499
  generation: _enum(["xdna1", "xdna2"]).optional()
60500
60500
  });
60501
+ var CoralBusSchema = _enum(["usb", "pci"]);
60501
60502
  var CoralInfoSchema = object({
60502
60503
  type: literal("coral-edgetpu"),
60503
- bus: string().optional()
60504
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60505
+ bus: string().optional(),
60506
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60507
+ count: number().int().nonnegative().optional(),
60508
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60509
+ units: array(object({
60510
+ bus: CoralBusSchema,
60511
+ count: number().int().nonnegative()
60512
+ })).readonly().optional(),
60513
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60514
+ unavailable: array(object({
60515
+ bus: CoralBusSchema,
60516
+ count: number().int().nonnegative(),
60517
+ reason: _enum(["driver-missing", "device-not-accessible"])
60518
+ })).readonly().optional()
60504
60519
  });
60505
60520
  var HardwareInfoSchema = object({
60506
60521
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.2.144",
3
+ "version": "0.2.145",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",