@camstack/addon-notifiers 1.2.606 → 1.2.607

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
@@ -58376,9 +58376,24 @@ var NpuInfoSchema = object({
58376
58376
  name: string().optional(),
58377
58377
  generation: _enum(["xdna1", "xdna2"]).optional()
58378
58378
  });
58379
+ var CoralBusSchema = _enum(["usb", "pci"]);
58379
58380
  var CoralInfoSchema = object({
58380
58381
  type: literal("coral-edgetpu"),
58381
- bus: string().optional()
58382
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58383
+ bus: string().optional(),
58384
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58385
+ count: number().int().nonnegative().optional(),
58386
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58387
+ units: array(object({
58388
+ bus: CoralBusSchema,
58389
+ count: number().int().nonnegative()
58390
+ })).readonly().optional(),
58391
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58392
+ unavailable: array(object({
58393
+ bus: CoralBusSchema,
58394
+ count: number().int().nonnegative(),
58395
+ reason: _enum(["driver-missing", "device-not-accessible"])
58396
+ })).readonly().optional()
58382
58397
  });
58383
58398
  var HardwareInfoSchema = object({
58384
58399
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -58349,9 +58349,24 @@ var NpuInfoSchema = object({
58349
58349
  name: string().optional(),
58350
58350
  generation: _enum(["xdna1", "xdna2"]).optional()
58351
58351
  });
58352
+ var CoralBusSchema = _enum(["usb", "pci"]);
58352
58353
  var CoralInfoSchema = object({
58353
58354
  type: literal("coral-edgetpu"),
58354
- bus: string().optional()
58355
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58356
+ bus: string().optional(),
58357
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58358
+ count: number().int().nonnegative().optional(),
58359
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58360
+ units: array(object({
58361
+ bus: CoralBusSchema,
58362
+ count: number().int().nonnegative()
58363
+ })).readonly().optional(),
58364
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58365
+ unavailable: array(object({
58366
+ bus: CoralBusSchema,
58367
+ count: number().int().nonnegative(),
58368
+ reason: _enum(["driver-missing", "device-not-accessible"])
58369
+ })).readonly().optional()
58355
58370
  });
58356
58371
  var HardwareInfoSchema = object({
58357
58372
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-notifiers",
3
- "version": "1.2.606",
3
+ "version": "1.2.607",
4
4
  "description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
5
5
  "keywords": [
6
6
  "camstack",