@camstack/addon-mqtt-broker 1.2.131 → 1.2.132

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.
@@ -58329,9 +58329,24 @@ var NpuInfoSchema = object({
58329
58329
  name: string().optional(),
58330
58330
  generation: _enum(["xdna1", "xdna2"]).optional()
58331
58331
  });
58332
+ var CoralBusSchema = _enum(["usb", "pci"]);
58332
58333
  var CoralInfoSchema = object({
58333
58334
  type: literal("coral-edgetpu"),
58334
- bus: string().optional()
58335
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58336
+ bus: string().optional(),
58337
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58338
+ count: number().int().nonnegative().optional(),
58339
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58340
+ units: array(object({
58341
+ bus: CoralBusSchema,
58342
+ count: number().int().nonnegative()
58343
+ })).readonly().optional(),
58344
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58345
+ unavailable: array(object({
58346
+ bus: CoralBusSchema,
58347
+ count: number().int().nonnegative(),
58348
+ reason: _enum(["driver-missing", "device-not-accessible"])
58349
+ })).readonly().optional()
58335
58350
  });
58336
58351
  var HardwareInfoSchema = object({
58337
58352
  platform: HardwarePlatformSchema,
@@ -58322,9 +58322,24 @@ var NpuInfoSchema = object({
58322
58322
  name: string().optional(),
58323
58323
  generation: _enum(["xdna1", "xdna2"]).optional()
58324
58324
  });
58325
+ var CoralBusSchema = _enum(["usb", "pci"]);
58325
58326
  var CoralInfoSchema = object({
58326
58327
  type: literal("coral-edgetpu"),
58327
- bus: string().optional()
58328
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58329
+ bus: string().optional(),
58330
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58331
+ count: number().int().nonnegative().optional(),
58332
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58333
+ units: array(object({
58334
+ bus: CoralBusSchema,
58335
+ count: number().int().nonnegative()
58336
+ })).readonly().optional(),
58337
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58338
+ unavailable: array(object({
58339
+ bus: CoralBusSchema,
58340
+ count: number().int().nonnegative(),
58341
+ reason: _enum(["driver-missing", "device-not-accessible"])
58342
+ })).readonly().optional()
58328
58343
  });
58329
58344
  var HardwareInfoSchema = object({
58330
58345
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-mqtt-broker",
3
- "version": "1.2.131",
3
+ "version": "1.2.132",
4
4
  "description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
5
5
  "keywords": [
6
6
  "camstack",