@camstack/addon-provider-gree 0.2.71 → 0.2.73

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
@@ -6448,6 +6448,21 @@ var CameraStreamSchema = object({
6448
6448
  */
6449
6449
  autoEligible: boolean().optional(),
6450
6450
  /**
6451
+ * The profile slot the PUBLISHER says this stream is: `low` for a stream
6452
+ * whose only sensible role is the low-bandwidth one, `high` for a main
6453
+ * stream. Consulted by the broker's automatic ranking
6454
+ * (`rankInitialAssignment`) BEFORE the pixel-count heuristic, and only there:
6455
+ * an operator's manual assignment still wins, and an absent hint is the
6456
+ * pixel-ranked default every camera had before this field existed.
6457
+ *
6458
+ * Why it exists: a camera with ONE stream ranked to `mid` — the slot no
6459
+ * storage class is written for on its own (`recordings` is high|mid,
6460
+ * `recordingsLow` is low) and the one profile scrub does not read. The robot
6461
+ * camera's single 720p relay is a `low` in every respect except the slot the
6462
+ * heuristic put it in.
6463
+ */
6464
+ profileHint: CamProfileSchema.optional(),
6465
+ /**
6451
6466
  * Transport-specific opaque metadata. The broker passes it through to
6452
6467
  * the source reader without inspecting it. Currently used by
6453
6468
  * `pull-rfc4571` streams to carry the upstream SDP (so the reader can
@@ -7897,7 +7912,22 @@ var RecordingTriggersSchema = object({
7897
7912
  * il livello: un contatto trovato già aperto al riavvio del runner non fa
7898
7913
  * registrare.
7899
7914
  */
7900
- sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
7915
+ sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional(),
7916
+ /**
7917
+ * La camera registra per tutta la durata del SEGNALE che lei stessa
7918
+ * pubblica — la cap `recording-signal` (`active: true` mentre il device è in
7919
+ * funzione: un robot che pulisce). È un LIVELLO, non un fronte: la finestra
7920
+ * resta aperta finché il segnale è alto e si chiude `postBufferSec` dopo la
7921
+ * caduta, così una pulizia di quaranta minuti è UNA clip.
7922
+ *
7923
+ * Non nomina un device: il segnale è della camera stessa, tenuto fresco dal
7924
+ * suo provider (D224); il recorder lo ascolta su `DeviceStateChanged` e lo
7925
+ * riconcilia leggendo la slice via RPC, con un tetto oltre il quale un
7926
+ * segnale mai abbassato (un evento perso) non può tenere aperta una
7927
+ * registrazione (D11). Vedi `recorder/addon/band-decision.ts`
7928
+ * (`holdTrigger` / `releaseTrigger`).
7929
+ */
7930
+ deviceSignal: boolean().optional()
7901
7931
  });
7902
7932
  /**
7903
7933
  * Mode of a single recording band — the recorder per-band vocabulary.
@@ -11361,6 +11391,8 @@ method(object({
11361
11391
  label: string().optional(),
11362
11392
  deviceFeatures: array(string()).optional(),
11363
11393
  autoEligible: boolean().optional(),
11394
+ /** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
11395
+ profileHint: CamProfileSchema.optional(),
11364
11396
  metadata: record(string(), unknown()).optional(),
11365
11397
  /** Required when kind === 'derived' — the source camStreamId the
11366
11398
  * derived broker reads its encoded plane from.
@@ -29886,6 +29918,77 @@ method(object({
29886
29918
  auth: "protected"
29887
29919
  });
29888
29920
  /**
29921
+ * A camera's own "record me NOW" LEVEL — a signal the device raises while
29922
+ * something it knows about is happening (a robot vacuum cleaning, a machine
29923
+ * running, a gate open) and lowers when it stops.
29924
+ *
29925
+ * It is a level, not an edge. The sensor triggers the recorder already listens
29926
+ * to (`SOURCE_CAP_ACTIVE_FIELD`) fire on a rising edge and record for a fixed
29927
+ * post-buffer; a cleaning lasts forty minutes, and forty minutes of "this is
29928
+ * still happening" cannot be expressed as an edge plus a post-buffer without
29929
+ * either re-triggering on a timer (polling — D224 forbids the consumer keeping
29930
+ * the fact fresh) or picking a post-buffer long enough to cover every job,
29931
+ * which records the dock for that long after every short one. So the recorder
29932
+ * reads the LEVEL: it records for as long as `active` is true, plus the band's
29933
+ * own post-buffer once it falls.
29934
+ *
29935
+ * Who owns the fact: the PROVIDER of the device, which already reads the state
29936
+ * the signal is derived from (the vacuum's lifecycle state, for Dreame). It
29937
+ * writes this slice on every change; consumers subscribe to the kernel's
29938
+ * `DeviceStateChanged` for it and read it back through
29939
+ * `deviceState.getCapSlice` to reconcile — never a second copy, never a poll
29940
+ * against the device (D224, D8/D11).
29941
+ *
29942
+ * Deliberately NOT a `binary` sensor on the camera: a binary sensor is exported
29943
+ * to Home Assistant, HomeKit and the sensor picker as a thing an operator can
29944
+ * bind, and "the camera wants to record" is not a room sensor. It is a fact
29945
+ * about the camera, on the camera.
29946
+ */
29947
+ var RecordingSignalStatusSchema = object({
29948
+ /** True while the device asks to be recorded. */
29949
+ active: boolean(),
29950
+ /**
29951
+ * Why, in the provider's own vocabulary (a vacuum's `cleaning` / `docked`,
29952
+ * …). Free text for the log line and the UI badge; the recorder never
29953
+ * branches on it.
29954
+ */
29955
+ reason: string(),
29956
+ /** Ms epoch of the last `active` transition. 0 if never observed. */
29957
+ lastChangedAt: number()
29958
+ });
29959
+ /** The runtime-state slice: the status plus the clock every slice carries. */
29960
+ var RecordingSignalRuntimeStateSchema = RecordingSignalStatusSchema.extend({ lastFetchedAt: number() });
29961
+ var recordingSignalCapability = {
29962
+ name: "recording-signal",
29963
+ scope: "device",
29964
+ deviceNative: true,
29965
+ mode: "singleton",
29966
+ deviceTypes: [DeviceType.Camera],
29967
+ methods: {
29968
+ /** The current level, straight from the slice the provider keeps fresh. */
29969
+ getStatus: method(object({ deviceId: number() }), RecordingSignalStatusSchema) },
29970
+ status: {
29971
+ schema: RecordingSignalStatusSchema,
29972
+ kind: "push",
29973
+ empty: {
29974
+ active: false,
29975
+ reason: "unknown",
29976
+ lastChangedAt: 0
29977
+ }
29978
+ },
29979
+ runtimeState: RecordingSignalRuntimeStateSchema,
29980
+ /**
29981
+ * Runtime-state durability: **session** — a restored `active: true` from
29982
+ * before a restart is exactly the stale level the recorder's reconcile bound
29983
+ * exists to end, and the provider re-derives the true level on activation
29984
+ * anyway. Nothing is lost by forgetting it; a lie is avoided.
29985
+ *
29986
+ * See `RuntimeStateDurability`. Enforced by
29987
+ * `scripts/check-runtime-state-durability.ts`.
29988
+ */
29989
+ durability: "session"
29990
+ };
29991
+ /**
29889
29992
  * scene-monitor — device-scoped reference-region state cap. An operator marks
29890
29993
  * a rect ROI on a camera frame and names one or more states; the engine
29891
29994
  * (pipeline-analytics, designated post-processing node) reports which state is
@@ -30383,6 +30486,8 @@ var CamStreamDescriptorSchema = object({
30383
30486
  deviceFeatures: array(string()).optional(),
30384
30487
  /** Eligible for automatic profile assignment. Absent = `true`. */
30385
30488
  autoEligible: boolean().optional(),
30489
+ /** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
30490
+ profileHint: CamProfileSchema.optional(),
30386
30491
  /** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
30387
30492
  metadata: record(string(), unknown()).optional()
30388
30493
  });
@@ -32522,6 +32627,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
32522
32627
  pressureSensor: pressureSensorCapability,
32523
32628
  privacyMask: privacyMaskCapability,
32524
32629
  ptzAutotrack: ptzAutotrackCapability,
32630
+ recordingSignal: recordingSignalCapability,
32525
32631
  sceneMonitor: sceneMonitorCapability,
32526
32632
  scriptRunner: scriptRunnerCapability,
32527
32633
  smoke: smokeCapability,
@@ -33365,6 +33471,53 @@ var BaseDeviceProvider = class extends BaseAddon {
33365
33471
  const ids = [...this._permanentRestoreFailures.keys()].join(", ");
33366
33472
  return `${this._permanentRestoreFailures.size} device(s) permanently failed restore (deviceIds: ${ids}) — restart the ${this.providerName} provider to retry`;
33367
33473
  }
33474
+ /**
33475
+ * A top-level persisted row with NO configuration is a leftover, not a
33476
+ * device — quarantine it instead of dialling it.
33477
+ *
33478
+ * Device 614 was deleted, resurrected as a config-less shell by a write
33479
+ * already in flight (D376), and then dialled at every single boot: eight
33480
+ * `Failed to restore device — bounded retry scheduled` lines in one day,
33481
+ * each one the same Zod refusal on `host` and `password`. The bound was
33482
+ * real, but it is a bound PER PROCESS, and the runner restarts — so nothing
33483
+ * about the row ever stopped costing attempts and log lines.
33484
+ *
33485
+ * No retry can add a configuration that is not there. The row is reported
33486
+ * once, with its `deviceId`, and set aside.
33487
+ *
33488
+ * Top-level only: an accessory child legitimately carries an empty blob (it
33489
+ * lives off its parent), and a hub-adopted child with an emptied blob is
33490
+ * repaired by `healSavedConfig` from its parent instead. Providers that
33491
+ * genuinely create configuration-free top-level devices turn this off.
33492
+ */
33493
+ quarantineConfiglessTopLevelRestores = true;
33494
+ isUnrestorableShell(saved) {
33495
+ if (!this.quarantineConfiglessTopLevelRestores) return false;
33496
+ if (saved.parentDeviceId !== null) return false;
33497
+ const config = saved.config;
33498
+ if (config === void 0) return false;
33499
+ return Object.keys(config).length === 0;
33500
+ }
33501
+ quarantineShell(saved) {
33502
+ this._permanentRestoreFailures.set(saved.id, {
33503
+ deviceId: saved.id,
33504
+ stableId: saved.stableId,
33505
+ type: saved.type,
33506
+ attempts: 0,
33507
+ lastError: "persisted row has no configuration",
33508
+ failedAt: Date.now()
33509
+ });
33510
+ this.ctx.logger.error("Persisted device row has NO configuration — quarantined: not restored, not retried. Remove it (deviceManager.removeDevice) or re-add the device.", {
33511
+ tags: {
33512
+ deviceId: saved.id,
33513
+ stableId: saved.stableId
33514
+ },
33515
+ meta: {
33516
+ type: saved.type,
33517
+ provider: this.providerName
33518
+ }
33519
+ });
33520
+ }
33368
33521
  cancelRestoreRetries() {
33369
33522
  this._restoreRetryScheduler?.cancel();
33370
33523
  this._restoreRetryScheduler = null;
@@ -33549,6 +33702,10 @@ var BaseDeviceProvider = class extends BaseAddon {
33549
33702
  });
33550
33703
  return;
33551
33704
  }
33705
+ if (this.isUnrestorableShell(saved)) {
33706
+ this.quarantineShell(saved);
33707
+ return;
33708
+ }
33552
33709
  try {
33553
33710
  await attemptRestore(saved);
33554
33711
  } catch (err) {
@@ -38269,6 +38426,12 @@ Object.freeze({
38269
38426
  addonId: null,
38270
38427
  access: "view"
38271
38428
  },
38429
+ "recordingSignal.getStatus": {
38430
+ capName: "recording-signal",
38431
+ capScope: "device",
38432
+ addonId: null,
38433
+ access: "view"
38434
+ },
38272
38435
  "sceneMonitor.captureReference": {
38273
38436
  capName: "scene-monitor",
38274
38437
  capScope: "device",
@@ -41261,6 +41424,11 @@ Object.freeze({
41261
41424
  form: "single",
41262
41425
  optional: true
41263
41426
  }],
41427
+ "recordingSignal.getStatus": [{
41428
+ name: "deviceId",
41429
+ form: "single",
41430
+ optional: false
41431
+ }],
41264
41432
  "sceneMonitor.captureReference": [{
41265
41433
  name: "deviceId",
41266
41434
  form: "single",
package/dist/addon.mjs CHANGED
@@ -6447,6 +6447,21 @@ var CameraStreamSchema = object({
6447
6447
  */
6448
6448
  autoEligible: boolean().optional(),
6449
6449
  /**
6450
+ * The profile slot the PUBLISHER says this stream is: `low` for a stream
6451
+ * whose only sensible role is the low-bandwidth one, `high` for a main
6452
+ * stream. Consulted by the broker's automatic ranking
6453
+ * (`rankInitialAssignment`) BEFORE the pixel-count heuristic, and only there:
6454
+ * an operator's manual assignment still wins, and an absent hint is the
6455
+ * pixel-ranked default every camera had before this field existed.
6456
+ *
6457
+ * Why it exists: a camera with ONE stream ranked to `mid` — the slot no
6458
+ * storage class is written for on its own (`recordings` is high|mid,
6459
+ * `recordingsLow` is low) and the one profile scrub does not read. The robot
6460
+ * camera's single 720p relay is a `low` in every respect except the slot the
6461
+ * heuristic put it in.
6462
+ */
6463
+ profileHint: CamProfileSchema.optional(),
6464
+ /**
6450
6465
  * Transport-specific opaque metadata. The broker passes it through to
6451
6466
  * the source reader without inspecting it. Currently used by
6452
6467
  * `pull-rfc4571` streams to carry the upstream SDP (so the reader can
@@ -7896,7 +7911,22 @@ var RecordingTriggersSchema = object({
7896
7911
  * il livello: un contatto trovato già aperto al riavvio del runner non fa
7897
7912
  * registrare.
7898
7913
  */
7899
- sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
7914
+ sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional(),
7915
+ /**
7916
+ * La camera registra per tutta la durata del SEGNALE che lei stessa
7917
+ * pubblica — la cap `recording-signal` (`active: true` mentre il device è in
7918
+ * funzione: un robot che pulisce). È un LIVELLO, non un fronte: la finestra
7919
+ * resta aperta finché il segnale è alto e si chiude `postBufferSec` dopo la
7920
+ * caduta, così una pulizia di quaranta minuti è UNA clip.
7921
+ *
7922
+ * Non nomina un device: il segnale è della camera stessa, tenuto fresco dal
7923
+ * suo provider (D224); il recorder lo ascolta su `DeviceStateChanged` e lo
7924
+ * riconcilia leggendo la slice via RPC, con un tetto oltre il quale un
7925
+ * segnale mai abbassato (un evento perso) non può tenere aperta una
7926
+ * registrazione (D11). Vedi `recorder/addon/band-decision.ts`
7927
+ * (`holdTrigger` / `releaseTrigger`).
7928
+ */
7929
+ deviceSignal: boolean().optional()
7900
7930
  });
7901
7931
  /**
7902
7932
  * Mode of a single recording band — the recorder per-band vocabulary.
@@ -11360,6 +11390,8 @@ method(object({
11360
11390
  label: string().optional(),
11361
11391
  deviceFeatures: array(string()).optional(),
11362
11392
  autoEligible: boolean().optional(),
11393
+ /** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
11394
+ profileHint: CamProfileSchema.optional(),
11363
11395
  metadata: record(string(), unknown()).optional(),
11364
11396
  /** Required when kind === 'derived' — the source camStreamId the
11365
11397
  * derived broker reads its encoded plane from.
@@ -29885,6 +29917,77 @@ method(object({
29885
29917
  auth: "protected"
29886
29918
  });
29887
29919
  /**
29920
+ * A camera's own "record me NOW" LEVEL — a signal the device raises while
29921
+ * something it knows about is happening (a robot vacuum cleaning, a machine
29922
+ * running, a gate open) and lowers when it stops.
29923
+ *
29924
+ * It is a level, not an edge. The sensor triggers the recorder already listens
29925
+ * to (`SOURCE_CAP_ACTIVE_FIELD`) fire on a rising edge and record for a fixed
29926
+ * post-buffer; a cleaning lasts forty minutes, and forty minutes of "this is
29927
+ * still happening" cannot be expressed as an edge plus a post-buffer without
29928
+ * either re-triggering on a timer (polling — D224 forbids the consumer keeping
29929
+ * the fact fresh) or picking a post-buffer long enough to cover every job,
29930
+ * which records the dock for that long after every short one. So the recorder
29931
+ * reads the LEVEL: it records for as long as `active` is true, plus the band's
29932
+ * own post-buffer once it falls.
29933
+ *
29934
+ * Who owns the fact: the PROVIDER of the device, which already reads the state
29935
+ * the signal is derived from (the vacuum's lifecycle state, for Dreame). It
29936
+ * writes this slice on every change; consumers subscribe to the kernel's
29937
+ * `DeviceStateChanged` for it and read it back through
29938
+ * `deviceState.getCapSlice` to reconcile — never a second copy, never a poll
29939
+ * against the device (D224, D8/D11).
29940
+ *
29941
+ * Deliberately NOT a `binary` sensor on the camera: a binary sensor is exported
29942
+ * to Home Assistant, HomeKit and the sensor picker as a thing an operator can
29943
+ * bind, and "the camera wants to record" is not a room sensor. It is a fact
29944
+ * about the camera, on the camera.
29945
+ */
29946
+ var RecordingSignalStatusSchema = object({
29947
+ /** True while the device asks to be recorded. */
29948
+ active: boolean(),
29949
+ /**
29950
+ * Why, in the provider's own vocabulary (a vacuum's `cleaning` / `docked`,
29951
+ * …). Free text for the log line and the UI badge; the recorder never
29952
+ * branches on it.
29953
+ */
29954
+ reason: string(),
29955
+ /** Ms epoch of the last `active` transition. 0 if never observed. */
29956
+ lastChangedAt: number()
29957
+ });
29958
+ /** The runtime-state slice: the status plus the clock every slice carries. */
29959
+ var RecordingSignalRuntimeStateSchema = RecordingSignalStatusSchema.extend({ lastFetchedAt: number() });
29960
+ var recordingSignalCapability = {
29961
+ name: "recording-signal",
29962
+ scope: "device",
29963
+ deviceNative: true,
29964
+ mode: "singleton",
29965
+ deviceTypes: [DeviceType.Camera],
29966
+ methods: {
29967
+ /** The current level, straight from the slice the provider keeps fresh. */
29968
+ getStatus: method(object({ deviceId: number() }), RecordingSignalStatusSchema) },
29969
+ status: {
29970
+ schema: RecordingSignalStatusSchema,
29971
+ kind: "push",
29972
+ empty: {
29973
+ active: false,
29974
+ reason: "unknown",
29975
+ lastChangedAt: 0
29976
+ }
29977
+ },
29978
+ runtimeState: RecordingSignalRuntimeStateSchema,
29979
+ /**
29980
+ * Runtime-state durability: **session** — a restored `active: true` from
29981
+ * before a restart is exactly the stale level the recorder's reconcile bound
29982
+ * exists to end, and the provider re-derives the true level on activation
29983
+ * anyway. Nothing is lost by forgetting it; a lie is avoided.
29984
+ *
29985
+ * See `RuntimeStateDurability`. Enforced by
29986
+ * `scripts/check-runtime-state-durability.ts`.
29987
+ */
29988
+ durability: "session"
29989
+ };
29990
+ /**
29888
29991
  * scene-monitor — device-scoped reference-region state cap. An operator marks
29889
29992
  * a rect ROI on a camera frame and names one or more states; the engine
29890
29993
  * (pipeline-analytics, designated post-processing node) reports which state is
@@ -30382,6 +30485,8 @@ var CamStreamDescriptorSchema = object({
30382
30485
  deviceFeatures: array(string()).optional(),
30383
30486
  /** Eligible for automatic profile assignment. Absent = `true`. */
30384
30487
  autoEligible: boolean().optional(),
30488
+ /** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
30489
+ profileHint: CamProfileSchema.optional(),
30385
30490
  /** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
30386
30491
  metadata: record(string(), unknown()).optional()
30387
30492
  });
@@ -32521,6 +32626,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
32521
32626
  pressureSensor: pressureSensorCapability,
32522
32627
  privacyMask: privacyMaskCapability,
32523
32628
  ptzAutotrack: ptzAutotrackCapability,
32629
+ recordingSignal: recordingSignalCapability,
32524
32630
  sceneMonitor: sceneMonitorCapability,
32525
32631
  scriptRunner: scriptRunnerCapability,
32526
32632
  smoke: smokeCapability,
@@ -33364,6 +33470,53 @@ var BaseDeviceProvider = class extends BaseAddon {
33364
33470
  const ids = [...this._permanentRestoreFailures.keys()].join(", ");
33365
33471
  return `${this._permanentRestoreFailures.size} device(s) permanently failed restore (deviceIds: ${ids}) — restart the ${this.providerName} provider to retry`;
33366
33472
  }
33473
+ /**
33474
+ * A top-level persisted row with NO configuration is a leftover, not a
33475
+ * device — quarantine it instead of dialling it.
33476
+ *
33477
+ * Device 614 was deleted, resurrected as a config-less shell by a write
33478
+ * already in flight (D376), and then dialled at every single boot: eight
33479
+ * `Failed to restore device — bounded retry scheduled` lines in one day,
33480
+ * each one the same Zod refusal on `host` and `password`. The bound was
33481
+ * real, but it is a bound PER PROCESS, and the runner restarts — so nothing
33482
+ * about the row ever stopped costing attempts and log lines.
33483
+ *
33484
+ * No retry can add a configuration that is not there. The row is reported
33485
+ * once, with its `deviceId`, and set aside.
33486
+ *
33487
+ * Top-level only: an accessory child legitimately carries an empty blob (it
33488
+ * lives off its parent), and a hub-adopted child with an emptied blob is
33489
+ * repaired by `healSavedConfig` from its parent instead. Providers that
33490
+ * genuinely create configuration-free top-level devices turn this off.
33491
+ */
33492
+ quarantineConfiglessTopLevelRestores = true;
33493
+ isUnrestorableShell(saved) {
33494
+ if (!this.quarantineConfiglessTopLevelRestores) return false;
33495
+ if (saved.parentDeviceId !== null) return false;
33496
+ const config = saved.config;
33497
+ if (config === void 0) return false;
33498
+ return Object.keys(config).length === 0;
33499
+ }
33500
+ quarantineShell(saved) {
33501
+ this._permanentRestoreFailures.set(saved.id, {
33502
+ deviceId: saved.id,
33503
+ stableId: saved.stableId,
33504
+ type: saved.type,
33505
+ attempts: 0,
33506
+ lastError: "persisted row has no configuration",
33507
+ failedAt: Date.now()
33508
+ });
33509
+ this.ctx.logger.error("Persisted device row has NO configuration — quarantined: not restored, not retried. Remove it (deviceManager.removeDevice) or re-add the device.", {
33510
+ tags: {
33511
+ deviceId: saved.id,
33512
+ stableId: saved.stableId
33513
+ },
33514
+ meta: {
33515
+ type: saved.type,
33516
+ provider: this.providerName
33517
+ }
33518
+ });
33519
+ }
33367
33520
  cancelRestoreRetries() {
33368
33521
  this._restoreRetryScheduler?.cancel();
33369
33522
  this._restoreRetryScheduler = null;
@@ -33548,6 +33701,10 @@ var BaseDeviceProvider = class extends BaseAddon {
33548
33701
  });
33549
33702
  return;
33550
33703
  }
33704
+ if (this.isUnrestorableShell(saved)) {
33705
+ this.quarantineShell(saved);
33706
+ return;
33707
+ }
33551
33708
  try {
33552
33709
  await attemptRestore(saved);
33553
33710
  } catch (err) {
@@ -38268,6 +38425,12 @@ Object.freeze({
38268
38425
  addonId: null,
38269
38426
  access: "view"
38270
38427
  },
38428
+ "recordingSignal.getStatus": {
38429
+ capName: "recording-signal",
38430
+ capScope: "device",
38431
+ addonId: null,
38432
+ access: "view"
38433
+ },
38271
38434
  "sceneMonitor.captureReference": {
38272
38435
  capName: "scene-monitor",
38273
38436
  capScope: "device",
@@ -41260,6 +41423,11 @@ Object.freeze({
41260
41423
  form: "single",
41261
41424
  optional: true
41262
41425
  }],
41426
+ "recordingSignal.getStatus": [{
41427
+ name: "deviceId",
41428
+ form: "single",
41429
+ optional: false
41430
+ }],
41263
41431
  "sceneMonitor.captureReference": [{
41264
41432
  name: "deviceId",
41265
41433
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-gree",
3
- "version": "0.2.71",
3
+ "version": "0.2.73",
4
4
  "description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
5
5
  "keywords": [
6
6
  "camstack",