@camstack/addon-provider-amcrest 0.2.143 → 0.2.144

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
@@ -61056,9 +61056,24 @@ var NpuInfoSchema = object({
61056
61056
  name: string().optional(),
61057
61057
  generation: _enum(["xdna1", "xdna2"]).optional()
61058
61058
  });
61059
+ var CoralBusSchema = _enum(["usb", "pci"]);
61059
61060
  var CoralInfoSchema = object({
61060
61061
  type: literal("coral-edgetpu"),
61061
- bus: string().optional()
61062
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61063
+ bus: string().optional(),
61064
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61065
+ count: number().int().nonnegative().optional(),
61066
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61067
+ units: array(object({
61068
+ bus: CoralBusSchema,
61069
+ count: number().int().nonnegative()
61070
+ })).readonly().optional(),
61071
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61072
+ unavailable: array(object({
61073
+ bus: CoralBusSchema,
61074
+ count: number().int().nonnegative(),
61075
+ reason: _enum(["driver-missing", "device-not-accessible"])
61076
+ })).readonly().optional()
61062
61077
  });
61063
61078
  var HardwareInfoSchema = object({
61064
61079
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -61035,9 +61035,24 @@ var NpuInfoSchema = object({
61035
61035
  name: string().optional(),
61036
61036
  generation: _enum(["xdna1", "xdna2"]).optional()
61037
61037
  });
61038
+ var CoralBusSchema = _enum(["usb", "pci"]);
61038
61039
  var CoralInfoSchema = object({
61039
61040
  type: literal("coral-edgetpu"),
61040
- bus: string().optional()
61041
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61042
+ bus: string().optional(),
61043
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61044
+ count: number().int().nonnegative().optional(),
61045
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61046
+ units: array(object({
61047
+ bus: CoralBusSchema,
61048
+ count: number().int().nonnegative()
61049
+ })).readonly().optional(),
61050
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61051
+ unavailable: array(object({
61052
+ bus: CoralBusSchema,
61053
+ count: number().int().nonnegative(),
61054
+ reason: _enum(["driver-missing", "device-not-accessible"])
61055
+ })).readonly().optional()
61041
61056
  });
61042
61057
  var HardwareInfoSchema = object({
61043
61058
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-amcrest",
3
- "version": "0.2.143",
3
+ "version": "0.2.144",
4
4
  "description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
5
5
  "keywords": [
6
6
  "camstack",