@camstack/addon-provider-unraid 0.2.18 → 0.2.19

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
@@ -19402,7 +19402,31 @@ DeviceType.Camera, method(object({
19402
19402
  lastCapturedAt: number().nullable(),
19403
19403
  cacheAgeMs: number().nullable(),
19404
19404
  etag: string().nullable()
19405
- }))), systemMethod(object({
19405
+ }))), systemMethod(object({ deviceId: number() }), object({
19406
+ /** The battery slice as read, or null when the device has none. */
19407
+ battery: object({
19408
+ sleeping: boolean(),
19409
+ lastUpdated: number(),
19410
+ lastContactAt: number().optional()
19411
+ }).nullable(),
19412
+ /** The resolved snapshot state (what the overlay decision used). */
19413
+ state: object({
19414
+ isBattery: boolean(),
19415
+ reason: _enum([
19416
+ "disabled",
19417
+ "sleeping",
19418
+ "unreachable",
19419
+ "waking"
19420
+ ]).nullable()
19421
+ }),
19422
+ /** The cached frame behind the next paint. */
19423
+ frame: object({
19424
+ capturedAt: number().nullable(),
19425
+ ageMs: number().nullable()
19426
+ }),
19427
+ /** A wake window is currently open (the Waking overlay's source). */
19428
+ waking: boolean()
19429
+ })), systemMethod(object({
19406
19430
  /** The tiles a surface is actually rendering. One entry per (device,
19407
19431
  * width) the caller will paint — the width is snapped to the server's
19408
19432
  * ladder and becomes part of the link's SIGNED identity. */
@@ -34007,6 +34031,12 @@ Object.freeze({
34007
34031
  addonId: null,
34008
34032
  access: "view"
34009
34033
  },
34034
+ "snapshot.getDebugState": {
34035
+ capName: "snapshot",
34036
+ capScope: "device",
34037
+ addonId: null,
34038
+ access: "view"
34039
+ },
34010
34040
  "snapshot.getSnapshot": {
34011
34041
  capName: "snapshot",
34012
34042
  capScope: "device",
@@ -36604,6 +36634,11 @@ Object.freeze({
36604
36634
  form: "single",
36605
36635
  optional: false
36606
36636
  }],
36637
+ "snapshot.getDebugState": [{
36638
+ name: "deviceId",
36639
+ form: "single",
36640
+ optional: false
36641
+ }],
36607
36642
  "snapshot.getSnapshot": [{
36608
36643
  name: "deviceId",
36609
36644
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19401,7 +19401,31 @@ DeviceType.Camera, method(object({
19401
19401
  lastCapturedAt: number().nullable(),
19402
19402
  cacheAgeMs: number().nullable(),
19403
19403
  etag: string().nullable()
19404
- }))), systemMethod(object({
19404
+ }))), systemMethod(object({ deviceId: number() }), object({
19405
+ /** The battery slice as read, or null when the device has none. */
19406
+ battery: object({
19407
+ sleeping: boolean(),
19408
+ lastUpdated: number(),
19409
+ lastContactAt: number().optional()
19410
+ }).nullable(),
19411
+ /** The resolved snapshot state (what the overlay decision used). */
19412
+ state: object({
19413
+ isBattery: boolean(),
19414
+ reason: _enum([
19415
+ "disabled",
19416
+ "sleeping",
19417
+ "unreachable",
19418
+ "waking"
19419
+ ]).nullable()
19420
+ }),
19421
+ /** The cached frame behind the next paint. */
19422
+ frame: object({
19423
+ capturedAt: number().nullable(),
19424
+ ageMs: number().nullable()
19425
+ }),
19426
+ /** A wake window is currently open (the Waking overlay's source). */
19427
+ waking: boolean()
19428
+ })), systemMethod(object({
19405
19429
  /** The tiles a surface is actually rendering. One entry per (device,
19406
19430
  * width) the caller will paint — the width is snapped to the server's
19407
19431
  * ladder and becomes part of the link's SIGNED identity. */
@@ -34006,6 +34030,12 @@ Object.freeze({
34006
34030
  addonId: null,
34007
34031
  access: "view"
34008
34032
  },
34033
+ "snapshot.getDebugState": {
34034
+ capName: "snapshot",
34035
+ capScope: "device",
34036
+ addonId: null,
34037
+ access: "view"
34038
+ },
34009
34039
  "snapshot.getSnapshot": {
34010
34040
  capName: "snapshot",
34011
34041
  capScope: "device",
@@ -36603,6 +36633,11 @@ Object.freeze({
36603
36633
  form: "single",
36604
36634
  optional: false
36605
36635
  }],
36636
+ "snapshot.getDebugState": [{
36637
+ name: "deviceId",
36638
+ form: "single",
36639
+ optional: false
36640
+ }],
36606
36641
  "snapshot.getSnapshot": [{
36607
36642
  name: "deviceId",
36608
36643
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-unraid",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "Unraid device-provider addon for CamStack — one Container per Unraid instance fanning out array, disk, docker and notification entities",
5
5
  "keywords": [
6
6
  "camstack",