@camstack/addon-export-hap 1.2.164 → 1.2.165

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.
@@ -59053,9 +59053,24 @@ var NpuInfoSchema = object({
59053
59053
  name: string().optional(),
59054
59054
  generation: _enum(["xdna1", "xdna2"]).optional()
59055
59055
  });
59056
+ var CoralBusSchema = _enum(["usb", "pci"]);
59056
59057
  var CoralInfoSchema = object({
59057
59058
  type: literal("coral-edgetpu"),
59058
- bus: string().optional()
59059
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
59060
+ bus: string().optional(),
59061
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
59062
+ count: number().int().nonnegative().optional(),
59063
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
59064
+ units: array(object({
59065
+ bus: CoralBusSchema,
59066
+ count: number().int().nonnegative()
59067
+ })).readonly().optional(),
59068
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
59069
+ unavailable: array(object({
59070
+ bus: CoralBusSchema,
59071
+ count: number().int().nonnegative(),
59072
+ reason: _enum(["driver-missing", "device-not-accessible"])
59073
+ })).readonly().optional()
59059
59074
  });
59060
59075
  var HardwareInfoSchema = object({
59061
59076
  platform: HardwarePlatformSchema,
@@ -59043,9 +59043,24 @@ var NpuInfoSchema = object({
59043
59043
  name: string().optional(),
59044
59044
  generation: _enum(["xdna1", "xdna2"]).optional()
59045
59045
  });
59046
+ var CoralBusSchema = _enum(["usb", "pci"]);
59046
59047
  var CoralInfoSchema = object({
59047
59048
  type: literal("coral-edgetpu"),
59048
- bus: string().optional()
59049
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
59050
+ bus: string().optional(),
59051
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
59052
+ count: number().int().nonnegative().optional(),
59053
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
59054
+ units: array(object({
59055
+ bus: CoralBusSchema,
59056
+ count: number().int().nonnegative()
59057
+ })).readonly().optional(),
59058
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
59059
+ unavailable: array(object({
59060
+ bus: CoralBusSchema,
59061
+ count: number().int().nonnegative(),
59062
+ reason: _enum(["driver-missing", "device-not-accessible"])
59063
+ })).readonly().optional()
59049
59064
  });
59050
59065
  var HardwareInfoSchema = object({
59051
59066
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-hap",
3
- "version": "1.2.164",
3
+ "version": "1.2.165",
4
4
  "description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
5
5
  "keywords": [
6
6
  "camstack",