@camstack/addon-matter-broker 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
@@ -60754,9 +60754,24 @@ var NpuInfoSchema = object({
60754
60754
  name: string$2().optional(),
60755
60755
  generation: _enum(["xdna1", "xdna2"]).optional()
60756
60756
  });
60757
+ var CoralBusSchema = _enum(["usb", "pci"]);
60757
60758
  var CoralInfoSchema = object({
60758
60759
  type: literal("coral-edgetpu"),
60759
- bus: string$2().optional()
60760
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60761
+ bus: string$2().optional(),
60762
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60763
+ count: number().int().nonnegative().optional(),
60764
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60765
+ units: array(object({
60766
+ bus: CoralBusSchema,
60767
+ count: number().int().nonnegative()
60768
+ })).readonly().optional(),
60769
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60770
+ unavailable: array(object({
60771
+ bus: CoralBusSchema,
60772
+ count: number().int().nonnegative(),
60773
+ reason: _enum(["driver-missing", "device-not-accessible"])
60774
+ })).readonly().optional()
60760
60775
  });
60761
60776
  var HardwareInfoSchema = object({
60762
60777
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -60752,9 +60752,24 @@ var NpuInfoSchema = object({
60752
60752
  name: string$2().optional(),
60753
60753
  generation: _enum(["xdna1", "xdna2"]).optional()
60754
60754
  });
60755
+ var CoralBusSchema = _enum(["usb", "pci"]);
60755
60756
  var CoralInfoSchema = object({
60756
60757
  type: literal("coral-edgetpu"),
60757
- bus: string$2().optional()
60758
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60759
+ bus: string$2().optional(),
60760
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60761
+ count: number().int().nonnegative().optional(),
60762
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60763
+ units: array(object({
60764
+ bus: CoralBusSchema,
60765
+ count: number().int().nonnegative()
60766
+ })).readonly().optional(),
60767
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60768
+ unavailable: array(object({
60769
+ bus: CoralBusSchema,
60770
+ count: number().int().nonnegative(),
60771
+ reason: _enum(["driver-missing", "device-not-accessible"])
60772
+ })).readonly().optional()
60758
60773
  });
60759
60774
  var HardwareInfoSchema = object({
60760
60775
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.133",
3
+ "version": "0.2.134",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",