@camstack/addon-import-alexa 0.2.133 → 0.2.134

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
@@ -60915,9 +60915,24 @@ var NpuInfoSchema = object({
60915
60915
  name: string().optional(),
60916
60916
  generation: _enum(["xdna1", "xdna2"]).optional()
60917
60917
  });
60918
+ var CoralBusSchema = _enum(["usb", "pci"]);
60918
60919
  var CoralInfoSchema = object({
60919
60920
  type: literal("coral-edgetpu"),
60920
- bus: string().optional()
60921
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60922
+ bus: string().optional(),
60923
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60924
+ count: number().int().nonnegative().optional(),
60925
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60926
+ units: array(object({
60927
+ bus: CoralBusSchema,
60928
+ count: number().int().nonnegative()
60929
+ })).readonly().optional(),
60930
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60931
+ unavailable: array(object({
60932
+ bus: CoralBusSchema,
60933
+ count: number().int().nonnegative(),
60934
+ reason: _enum(["driver-missing", "device-not-accessible"])
60935
+ })).readonly().optional()
60921
60936
  });
60922
60937
  var HardwareInfoSchema = object({
60923
60938
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -60915,9 +60915,24 @@ var NpuInfoSchema = object({
60915
60915
  name: string().optional(),
60916
60916
  generation: _enum(["xdna1", "xdna2"]).optional()
60917
60917
  });
60918
+ var CoralBusSchema = _enum(["usb", "pci"]);
60918
60919
  var CoralInfoSchema = object({
60919
60920
  type: literal("coral-edgetpu"),
60920
- bus: string().optional()
60921
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60922
+ bus: string().optional(),
60923
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60924
+ count: number().int().nonnegative().optional(),
60925
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60926
+ units: array(object({
60927
+ bus: CoralBusSchema,
60928
+ count: number().int().nonnegative()
60929
+ })).readonly().optional(),
60930
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60931
+ unavailable: array(object({
60932
+ bus: CoralBusSchema,
60933
+ count: number().int().nonnegative(),
60934
+ reason: _enum(["driver-missing", "device-not-accessible"])
60935
+ })).readonly().optional()
60921
60936
  });
60922
60937
  var HardwareInfoSchema = object({
60923
60938
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.133",
3
+ "version": "0.2.134",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",