@camstack/addon-export-hap 1.2.29 → 1.2.30

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.
@@ -19861,7 +19861,31 @@ DeviceType.Camera, method(object({
19861
19861
  lastCapturedAt: number().nullable(),
19862
19862
  cacheAgeMs: number().nullable(),
19863
19863
  etag: string().nullable()
19864
- }))), systemMethod(object({
19864
+ }))), systemMethod(object({ deviceId: number() }), object({
19865
+ /** The battery slice as read, or null when the device has none. */
19866
+ battery: object({
19867
+ sleeping: boolean(),
19868
+ lastUpdated: number(),
19869
+ lastContactAt: number().optional()
19870
+ }).nullable(),
19871
+ /** The resolved snapshot state (what the overlay decision used). */
19872
+ state: object({
19873
+ isBattery: boolean(),
19874
+ reason: _enum([
19875
+ "disabled",
19876
+ "sleeping",
19877
+ "unreachable",
19878
+ "waking"
19879
+ ]).nullable()
19880
+ }),
19881
+ /** The cached frame behind the next paint. */
19882
+ frame: object({
19883
+ capturedAt: number().nullable(),
19884
+ ageMs: number().nullable()
19885
+ }),
19886
+ /** A wake window is currently open (the Waking overlay's source). */
19887
+ waking: boolean()
19888
+ })), systemMethod(object({
19865
19889
  /** The tiles a surface is actually rendering. One entry per (device,
19866
19890
  * width) the caller will paint — the width is snapped to the server's
19867
19891
  * ladder and becomes part of the link's SIGNED identity. */
@@ -31149,6 +31173,12 @@ Object.freeze({
31149
31173
  addonId: null,
31150
31174
  access: "view"
31151
31175
  },
31176
+ "snapshot.getDebugState": {
31177
+ capName: "snapshot",
31178
+ capScope: "device",
31179
+ addonId: null,
31180
+ access: "view"
31181
+ },
31152
31182
  "snapshot.getSnapshot": {
31153
31183
  capName: "snapshot",
31154
31184
  capScope: "device",
@@ -33746,6 +33776,11 @@ Object.freeze({
33746
33776
  form: "single",
33747
33777
  optional: false
33748
33778
  }],
33779
+ "snapshot.getDebugState": [{
33780
+ name: "deviceId",
33781
+ form: "single",
33782
+ optional: false
33783
+ }],
33749
33784
  "snapshot.getSnapshot": [{
33750
33785
  name: "deviceId",
33751
33786
  form: "single",
@@ -19849,7 +19849,31 @@ DeviceType.Camera, method(object({
19849
19849
  lastCapturedAt: number().nullable(),
19850
19850
  cacheAgeMs: number().nullable(),
19851
19851
  etag: string().nullable()
19852
- }))), systemMethod(object({
19852
+ }))), systemMethod(object({ deviceId: number() }), object({
19853
+ /** The battery slice as read, or null when the device has none. */
19854
+ battery: object({
19855
+ sleeping: boolean(),
19856
+ lastUpdated: number(),
19857
+ lastContactAt: number().optional()
19858
+ }).nullable(),
19859
+ /** The resolved snapshot state (what the overlay decision used). */
19860
+ state: object({
19861
+ isBattery: boolean(),
19862
+ reason: _enum([
19863
+ "disabled",
19864
+ "sleeping",
19865
+ "unreachable",
19866
+ "waking"
19867
+ ]).nullable()
19868
+ }),
19869
+ /** The cached frame behind the next paint. */
19870
+ frame: object({
19871
+ capturedAt: number().nullable(),
19872
+ ageMs: number().nullable()
19873
+ }),
19874
+ /** A wake window is currently open (the Waking overlay's source). */
19875
+ waking: boolean()
19876
+ })), systemMethod(object({
19853
19877
  /** The tiles a surface is actually rendering. One entry per (device,
19854
19878
  * width) the caller will paint — the width is snapped to the server's
19855
19879
  * ladder and becomes part of the link's SIGNED identity. */
@@ -31137,6 +31161,12 @@ Object.freeze({
31137
31161
  addonId: null,
31138
31162
  access: "view"
31139
31163
  },
31164
+ "snapshot.getDebugState": {
31165
+ capName: "snapshot",
31166
+ capScope: "device",
31167
+ addonId: null,
31168
+ access: "view"
31169
+ },
31140
31170
  "snapshot.getSnapshot": {
31141
31171
  capName: "snapshot",
31142
31172
  capScope: "device",
@@ -33734,6 +33764,11 @@ Object.freeze({
33734
33764
  form: "single",
33735
33765
  optional: false
33736
33766
  }],
33767
+ "snapshot.getDebugState": [{
33768
+ name: "deviceId",
33769
+ form: "single",
33770
+ optional: false
33771
+ }],
33737
33772
  "snapshot.getSnapshot": [{
33738
33773
  name: "deviceId",
33739
33774
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-hap",
3
- "version": "1.2.29",
3
+ "version": "1.2.30",
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",