@camstack/addon-export-alexa 1.2.151 → 1.2.152

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.
@@ -58228,9 +58228,24 @@ var NpuInfoSchema = object({
58228
58228
  name: string().optional(),
58229
58229
  generation: _enum(["xdna1", "xdna2"]).optional()
58230
58230
  });
58231
+ var CoralBusSchema = _enum(["usb", "pci"]);
58231
58232
  var CoralInfoSchema = object({
58232
58233
  type: literal("coral-edgetpu"),
58233
- bus: string().optional()
58234
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58235
+ bus: string().optional(),
58236
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58237
+ count: number().int().nonnegative().optional(),
58238
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58239
+ units: array(object({
58240
+ bus: CoralBusSchema,
58241
+ count: number().int().nonnegative()
58242
+ })).readonly().optional(),
58243
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58244
+ unavailable: array(object({
58245
+ bus: CoralBusSchema,
58246
+ count: number().int().nonnegative(),
58247
+ reason: _enum(["driver-missing", "device-not-accessible"])
58248
+ })).readonly().optional()
58234
58249
  });
58235
58250
  var HardwareInfoSchema = object({
58236
58251
  platform: HardwarePlatformSchema,
@@ -58199,9 +58199,24 @@ var NpuInfoSchema = object({
58199
58199
  name: string().optional(),
58200
58200
  generation: _enum(["xdna1", "xdna2"]).optional()
58201
58201
  });
58202
+ var CoralBusSchema = _enum(["usb", "pci"]);
58202
58203
  var CoralInfoSchema = object({
58203
58204
  type: literal("coral-edgetpu"),
58204
- bus: string().optional()
58205
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58206
+ bus: string().optional(),
58207
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58208
+ count: number().int().nonnegative().optional(),
58209
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58210
+ units: array(object({
58211
+ bus: CoralBusSchema,
58212
+ count: number().int().nonnegative()
58213
+ })).readonly().optional(),
58214
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58215
+ unavailable: array(object({
58216
+ bus: CoralBusSchema,
58217
+ count: number().int().nonnegative(),
58218
+ reason: _enum(["driver-missing", "device-not-accessible"])
58219
+ })).readonly().optional()
58205
58220
  });
58206
58221
  var HardwareInfoSchema = object({
58207
58222
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.151",
3
+ "version": "1.2.152",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",