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