@camstack/addon-export-alexa 1.2.24 → 1.2.25

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.
@@ -19361,7 +19361,31 @@ DeviceType.Camera, method(object({
19361
19361
  lastCapturedAt: number().nullable(),
19362
19362
  cacheAgeMs: number().nullable(),
19363
19363
  etag: string().nullable()
19364
- }))), systemMethod(object({
19364
+ }))), systemMethod(object({ deviceId: number() }), object({
19365
+ /** The battery slice as read, or null when the device has none. */
19366
+ battery: object({
19367
+ sleeping: boolean(),
19368
+ lastUpdated: number(),
19369
+ lastContactAt: number().optional()
19370
+ }).nullable(),
19371
+ /** The resolved snapshot state (what the overlay decision used). */
19372
+ state: object({
19373
+ isBattery: boolean(),
19374
+ reason: _enum([
19375
+ "disabled",
19376
+ "sleeping",
19377
+ "unreachable",
19378
+ "waking"
19379
+ ]).nullable()
19380
+ }),
19381
+ /** The cached frame behind the next paint. */
19382
+ frame: object({
19383
+ capturedAt: number().nullable(),
19384
+ ageMs: number().nullable()
19385
+ }),
19386
+ /** A wake window is currently open (the Waking overlay's source). */
19387
+ waking: boolean()
19388
+ })), systemMethod(object({
19365
19389
  /** The tiles a surface is actually rendering. One entry per (device,
19366
19390
  * width) the caller will paint — the width is snapped to the server's
19367
19391
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30576,6 +30600,12 @@ Object.freeze({
30576
30600
  addonId: null,
30577
30601
  access: "view"
30578
30602
  },
30603
+ "snapshot.getDebugState": {
30604
+ capName: "snapshot",
30605
+ capScope: "device",
30606
+ addonId: null,
30607
+ access: "view"
30608
+ },
30579
30609
  "snapshot.getSnapshot": {
30580
30610
  capName: "snapshot",
30581
30611
  capScope: "device",
@@ -33173,6 +33203,11 @@ Object.freeze({
33173
33203
  form: "single",
33174
33204
  optional: false
33175
33205
  }],
33206
+ "snapshot.getDebugState": [{
33207
+ name: "deviceId",
33208
+ form: "single",
33209
+ optional: false
33210
+ }],
33176
33211
  "snapshot.getSnapshot": [{
33177
33212
  name: "deviceId",
33178
33213
  form: "single",
@@ -19334,7 +19334,31 @@ DeviceType.Camera, method(object({
19334
19334
  lastCapturedAt: number().nullable(),
19335
19335
  cacheAgeMs: number().nullable(),
19336
19336
  etag: string().nullable()
19337
- }))), systemMethod(object({
19337
+ }))), systemMethod(object({ deviceId: number() }), object({
19338
+ /** The battery slice as read, or null when the device has none. */
19339
+ battery: object({
19340
+ sleeping: boolean(),
19341
+ lastUpdated: number(),
19342
+ lastContactAt: number().optional()
19343
+ }).nullable(),
19344
+ /** The resolved snapshot state (what the overlay decision used). */
19345
+ state: object({
19346
+ isBattery: boolean(),
19347
+ reason: _enum([
19348
+ "disabled",
19349
+ "sleeping",
19350
+ "unreachable",
19351
+ "waking"
19352
+ ]).nullable()
19353
+ }),
19354
+ /** The cached frame behind the next paint. */
19355
+ frame: object({
19356
+ capturedAt: number().nullable(),
19357
+ ageMs: number().nullable()
19358
+ }),
19359
+ /** A wake window is currently open (the Waking overlay's source). */
19360
+ waking: boolean()
19361
+ })), systemMethod(object({
19338
19362
  /** The tiles a surface is actually rendering. One entry per (device,
19339
19363
  * width) the caller will paint — the width is snapped to the server's
19340
19364
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30549,6 +30573,12 @@ Object.freeze({
30549
30573
  addonId: null,
30550
30574
  access: "view"
30551
30575
  },
30576
+ "snapshot.getDebugState": {
30577
+ capName: "snapshot",
30578
+ capScope: "device",
30579
+ addonId: null,
30580
+ access: "view"
30581
+ },
30552
30582
  "snapshot.getSnapshot": {
30553
30583
  capName: "snapshot",
30554
30584
  capScope: "device",
@@ -33146,6 +33176,11 @@ Object.freeze({
33146
33176
  form: "single",
33147
33177
  optional: false
33148
33178
  }],
33179
+ "snapshot.getDebugState": [{
33180
+ name: "deviceId",
33181
+ form: "single",
33182
+ optional: false
33183
+ }],
33149
33184
  "snapshot.getSnapshot": [{
33150
33185
  name: "deviceId",
33151
33186
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.24",
3
+ "version": "1.2.25",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",