@camstack/addon-provider-petkit 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
@@ -61451,9 +61451,24 @@ var NpuInfoSchema = object({
61451
61451
  name: string().optional(),
61452
61452
  generation: _enum(["xdna1", "xdna2"]).optional()
61453
61453
  });
61454
+ var CoralBusSchema = _enum(["usb", "pci"]);
61454
61455
  var CoralInfoSchema = object({
61455
61456
  type: literal("coral-edgetpu"),
61456
- bus: string().optional()
61457
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61458
+ bus: string().optional(),
61459
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61460
+ count: number().int().nonnegative().optional(),
61461
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61462
+ units: array(object({
61463
+ bus: CoralBusSchema,
61464
+ count: number().int().nonnegative()
61465
+ })).readonly().optional(),
61466
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61467
+ unavailable: array(object({
61468
+ bus: CoralBusSchema,
61469
+ count: number().int().nonnegative(),
61470
+ reason: _enum(["driver-missing", "device-not-accessible"])
61471
+ })).readonly().optional()
61457
61472
  });
61458
61473
  var HardwareInfoSchema = object({
61459
61474
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -61450,9 +61450,24 @@ var NpuInfoSchema = object({
61450
61450
  name: string().optional(),
61451
61451
  generation: _enum(["xdna1", "xdna2"]).optional()
61452
61452
  });
61453
+ var CoralBusSchema = _enum(["usb", "pci"]);
61453
61454
  var CoralInfoSchema = object({
61454
61455
  type: literal("coral-edgetpu"),
61455
- bus: string().optional()
61456
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61457
+ bus: string().optional(),
61458
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61459
+ count: number().int().nonnegative().optional(),
61460
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61461
+ units: array(object({
61462
+ bus: CoralBusSchema,
61463
+ count: number().int().nonnegative()
61464
+ })).readonly().optional(),
61465
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61466
+ unavailable: array(object({
61467
+ bus: CoralBusSchema,
61468
+ count: number().int().nonnegative(),
61469
+ reason: _enum(["driver-missing", "device-not-accessible"])
61470
+ })).readonly().optional()
61456
61471
  });
61457
61472
  var HardwareInfoSchema = object({
61458
61473
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-petkit",
3
- "version": "0.2.132",
3
+ "version": "0.2.133",
4
4
  "description": "PetKit smart-feeder device-provider addon for CamStack — wraps the @apocaliss92/nodepetkit PetKit cloud client",
5
5
  "keywords": [
6
6
  "camstack",