@camstack/addon-provider-hikvision 1.2.80 → 1.2.82

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
@@ -6452,6 +6452,21 @@ var CameraStreamSchema = object({
6452
6452
  */
6453
6453
  autoEligible: boolean().optional(),
6454
6454
  /**
6455
+ * The profile slot the PUBLISHER says this stream is: `low` for a stream
6456
+ * whose only sensible role is the low-bandwidth one, `high` for a main
6457
+ * stream. Consulted by the broker's automatic ranking
6458
+ * (`rankInitialAssignment`) BEFORE the pixel-count heuristic, and only there:
6459
+ * an operator's manual assignment still wins, and an absent hint is the
6460
+ * pixel-ranked default every camera had before this field existed.
6461
+ *
6462
+ * Why it exists: a camera with ONE stream ranked to `mid` — the slot no
6463
+ * storage class is written for on its own (`recordings` is high|mid,
6464
+ * `recordingsLow` is low) and the one profile scrub does not read. The robot
6465
+ * camera's single 720p relay is a `low` in every respect except the slot the
6466
+ * heuristic put it in.
6467
+ */
6468
+ profileHint: CamProfileSchema.optional(),
6469
+ /**
6455
6470
  * Transport-specific opaque metadata. The broker passes it through to
6456
6471
  * the source reader without inspecting it. Currently used by
6457
6472
  * `pull-rfc4571` streams to carry the upstream SDP (so the reader can
@@ -7889,7 +7904,22 @@ var RecordingTriggersSchema = object({
7889
7904
  * il livello: un contatto trovato già aperto al riavvio del runner non fa
7890
7905
  * registrare.
7891
7906
  */
7892
- sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
7907
+ sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional(),
7908
+ /**
7909
+ * La camera registra per tutta la durata del SEGNALE che lei stessa
7910
+ * pubblica — la cap `recording-signal` (`active: true` mentre il device è in
7911
+ * funzione: un robot che pulisce). È un LIVELLO, non un fronte: la finestra
7912
+ * resta aperta finché il segnale è alto e si chiude `postBufferSec` dopo la
7913
+ * caduta, così una pulizia di quaranta minuti è UNA clip.
7914
+ *
7915
+ * Non nomina un device: il segnale è della camera stessa, tenuto fresco dal
7916
+ * suo provider (D224); il recorder lo ascolta su `DeviceStateChanged` e lo
7917
+ * riconcilia leggendo la slice via RPC, con un tetto oltre il quale un
7918
+ * segnale mai abbassato (un evento perso) non può tenere aperta una
7919
+ * registrazione (D11). Vedi `recorder/addon/band-decision.ts`
7920
+ * (`holdTrigger` / `releaseTrigger`).
7921
+ */
7922
+ deviceSignal: boolean().optional()
7893
7923
  });
7894
7924
  /**
7895
7925
  * Mode of a single recording band — the recorder per-band vocabulary.
@@ -11634,6 +11664,8 @@ method(object({
11634
11664
  label: string().optional(),
11635
11665
  deviceFeatures: array(string()).optional(),
11636
11666
  autoEligible: boolean().optional(),
11667
+ /** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
11668
+ profileHint: CamProfileSchema.optional(),
11637
11669
  metadata: record(string(), unknown()).optional(),
11638
11670
  /** Required when kind === 'derived' — the source camStreamId the
11639
11671
  * derived broker reads its encoded plane from.
@@ -30427,6 +30459,77 @@ method(object({
30427
30459
  auth: "protected"
30428
30460
  });
30429
30461
  /**
30462
+ * A camera's own "record me NOW" LEVEL — a signal the device raises while
30463
+ * something it knows about is happening (a robot vacuum cleaning, a machine
30464
+ * running, a gate open) and lowers when it stops.
30465
+ *
30466
+ * It is a level, not an edge. The sensor triggers the recorder already listens
30467
+ * to (`SOURCE_CAP_ACTIVE_FIELD`) fire on a rising edge and record for a fixed
30468
+ * post-buffer; a cleaning lasts forty minutes, and forty minutes of "this is
30469
+ * still happening" cannot be expressed as an edge plus a post-buffer without
30470
+ * either re-triggering on a timer (polling — D224 forbids the consumer keeping
30471
+ * the fact fresh) or picking a post-buffer long enough to cover every job,
30472
+ * which records the dock for that long after every short one. So the recorder
30473
+ * reads the LEVEL: it records for as long as `active` is true, plus the band's
30474
+ * own post-buffer once it falls.
30475
+ *
30476
+ * Who owns the fact: the PROVIDER of the device, which already reads the state
30477
+ * the signal is derived from (the vacuum's lifecycle state, for Dreame). It
30478
+ * writes this slice on every change; consumers subscribe to the kernel's
30479
+ * `DeviceStateChanged` for it and read it back through
30480
+ * `deviceState.getCapSlice` to reconcile — never a second copy, never a poll
30481
+ * against the device (D224, D8/D11).
30482
+ *
30483
+ * Deliberately NOT a `binary` sensor on the camera: a binary sensor is exported
30484
+ * to Home Assistant, HomeKit and the sensor picker as a thing an operator can
30485
+ * bind, and "the camera wants to record" is not a room sensor. It is a fact
30486
+ * about the camera, on the camera.
30487
+ */
30488
+ var RecordingSignalStatusSchema = object({
30489
+ /** True while the device asks to be recorded. */
30490
+ active: boolean(),
30491
+ /**
30492
+ * Why, in the provider's own vocabulary (a vacuum's `cleaning` / `docked`,
30493
+ * …). Free text for the log line and the UI badge; the recorder never
30494
+ * branches on it.
30495
+ */
30496
+ reason: string(),
30497
+ /** Ms epoch of the last `active` transition. 0 if never observed. */
30498
+ lastChangedAt: number()
30499
+ });
30500
+ /** The runtime-state slice: the status plus the clock every slice carries. */
30501
+ var RecordingSignalRuntimeStateSchema = RecordingSignalStatusSchema.extend({ lastFetchedAt: number() });
30502
+ var recordingSignalCapability = {
30503
+ name: "recording-signal",
30504
+ scope: "device",
30505
+ deviceNative: true,
30506
+ mode: "singleton",
30507
+ deviceTypes: [DeviceType.Camera],
30508
+ methods: {
30509
+ /** The current level, straight from the slice the provider keeps fresh. */
30510
+ getStatus: method(object({ deviceId: number() }), RecordingSignalStatusSchema) },
30511
+ status: {
30512
+ schema: RecordingSignalStatusSchema,
30513
+ kind: "push",
30514
+ empty: {
30515
+ active: false,
30516
+ reason: "unknown",
30517
+ lastChangedAt: 0
30518
+ }
30519
+ },
30520
+ runtimeState: RecordingSignalRuntimeStateSchema,
30521
+ /**
30522
+ * Runtime-state durability: **session** — a restored `active: true` from
30523
+ * before a restart is exactly the stale level the recorder's reconcile bound
30524
+ * exists to end, and the provider re-derives the true level on activation
30525
+ * anyway. Nothing is lost by forgetting it; a lie is avoided.
30526
+ *
30527
+ * See `RuntimeStateDurability`. Enforced by
30528
+ * `scripts/check-runtime-state-durability.ts`.
30529
+ */
30530
+ durability: "session"
30531
+ };
30532
+ /**
30430
30533
  * scene-monitor — device-scoped reference-region state cap. An operator marks
30431
30534
  * a rect ROI on a camera frame and names one or more states; the engine
30432
30535
  * (pipeline-analytics, designated post-processing node) reports which state is
@@ -30924,6 +31027,8 @@ var CamStreamDescriptorSchema = object({
30924
31027
  deviceFeatures: array(string()).optional(),
30925
31028
  /** Eligible for automatic profile assignment. Absent = `true`. */
30926
31029
  autoEligible: boolean().optional(),
31030
+ /** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
31031
+ profileHint: CamProfileSchema.optional(),
30927
31032
  /** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
30928
31033
  metadata: record(string(), unknown()).optional()
30929
31034
  });
@@ -33276,6 +33381,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
33276
33381
  pressureSensor: pressureSensorCapability,
33277
33382
  privacyMask: privacyMaskCapability,
33278
33383
  ptzAutotrack: ptzAutotrackCapability,
33384
+ recordingSignal: recordingSignalCapability,
33279
33385
  sceneMonitor: sceneMonitorCapability,
33280
33386
  scriptRunner: scriptRunnerCapability,
33281
33387
  smoke: smokeCapability,
@@ -34119,6 +34225,53 @@ var BaseDeviceProvider = class extends BaseAddon {
34119
34225
  const ids = [...this._permanentRestoreFailures.keys()].join(", ");
34120
34226
  return `${this._permanentRestoreFailures.size} device(s) permanently failed restore (deviceIds: ${ids}) — restart the ${this.providerName} provider to retry`;
34121
34227
  }
34228
+ /**
34229
+ * A top-level persisted row with NO configuration is a leftover, not a
34230
+ * device — quarantine it instead of dialling it.
34231
+ *
34232
+ * Device 614 was deleted, resurrected as a config-less shell by a write
34233
+ * already in flight (D376), and then dialled at every single boot: eight
34234
+ * `Failed to restore device — bounded retry scheduled` lines in one day,
34235
+ * each one the same Zod refusal on `host` and `password`. The bound was
34236
+ * real, but it is a bound PER PROCESS, and the runner restarts — so nothing
34237
+ * about the row ever stopped costing attempts and log lines.
34238
+ *
34239
+ * No retry can add a configuration that is not there. The row is reported
34240
+ * once, with its `deviceId`, and set aside.
34241
+ *
34242
+ * Top-level only: an accessory child legitimately carries an empty blob (it
34243
+ * lives off its parent), and a hub-adopted child with an emptied blob is
34244
+ * repaired by `healSavedConfig` from its parent instead. Providers that
34245
+ * genuinely create configuration-free top-level devices turn this off.
34246
+ */
34247
+ quarantineConfiglessTopLevelRestores = true;
34248
+ isUnrestorableShell(saved) {
34249
+ if (!this.quarantineConfiglessTopLevelRestores) return false;
34250
+ if (saved.parentDeviceId !== null) return false;
34251
+ const config = saved.config;
34252
+ if (config === void 0) return false;
34253
+ return Object.keys(config).length === 0;
34254
+ }
34255
+ quarantineShell(saved) {
34256
+ this._permanentRestoreFailures.set(saved.id, {
34257
+ deviceId: saved.id,
34258
+ stableId: saved.stableId,
34259
+ type: saved.type,
34260
+ attempts: 0,
34261
+ lastError: "persisted row has no configuration",
34262
+ failedAt: Date.now()
34263
+ });
34264
+ this.ctx.logger.error("Persisted device row has NO configuration — quarantined: not restored, not retried. Remove it (deviceManager.removeDevice) or re-add the device.", {
34265
+ tags: {
34266
+ deviceId: saved.id,
34267
+ stableId: saved.stableId
34268
+ },
34269
+ meta: {
34270
+ type: saved.type,
34271
+ provider: this.providerName
34272
+ }
34273
+ });
34274
+ }
34122
34275
  cancelRestoreRetries() {
34123
34276
  this._restoreRetryScheduler?.cancel();
34124
34277
  this._restoreRetryScheduler = null;
@@ -34303,6 +34456,10 @@ var BaseDeviceProvider = class extends BaseAddon {
34303
34456
  });
34304
34457
  return;
34305
34458
  }
34459
+ if (this.isUnrestorableShell(saved)) {
34460
+ this.quarantineShell(saved);
34461
+ return;
34462
+ }
34306
34463
  try {
34307
34464
  await attemptRestore(saved);
34308
34465
  } catch (err) {
@@ -39241,6 +39398,12 @@ Object.freeze({
39241
39398
  addonId: null,
39242
39399
  access: "view"
39243
39400
  },
39401
+ "recordingSignal.getStatus": {
39402
+ capName: "recording-signal",
39403
+ capScope: "device",
39404
+ addonId: null,
39405
+ access: "view"
39406
+ },
39244
39407
  "sceneMonitor.captureReference": {
39245
39408
  capName: "scene-monitor",
39246
39409
  capScope: "device",
@@ -42233,6 +42396,11 @@ Object.freeze({
42233
42396
  form: "single",
42234
42397
  optional: true
42235
42398
  }],
42399
+ "recordingSignal.getStatus": [{
42400
+ name: "deviceId",
42401
+ form: "single",
42402
+ optional: false
42403
+ }],
42236
42404
  "sceneMonitor.captureReference": [{
42237
42405
  name: "deviceId",
42238
42406
  form: "single",
package/dist/addon.mjs CHANGED
@@ -6453,6 +6453,21 @@ var CameraStreamSchema = object({
6453
6453
  */
6454
6454
  autoEligible: boolean().optional(),
6455
6455
  /**
6456
+ * The profile slot the PUBLISHER says this stream is: `low` for a stream
6457
+ * whose only sensible role is the low-bandwidth one, `high` for a main
6458
+ * stream. Consulted by the broker's automatic ranking
6459
+ * (`rankInitialAssignment`) BEFORE the pixel-count heuristic, and only there:
6460
+ * an operator's manual assignment still wins, and an absent hint is the
6461
+ * pixel-ranked default every camera had before this field existed.
6462
+ *
6463
+ * Why it exists: a camera with ONE stream ranked to `mid` — the slot no
6464
+ * storage class is written for on its own (`recordings` is high|mid,
6465
+ * `recordingsLow` is low) and the one profile scrub does not read. The robot
6466
+ * camera's single 720p relay is a `low` in every respect except the slot the
6467
+ * heuristic put it in.
6468
+ */
6469
+ profileHint: CamProfileSchema.optional(),
6470
+ /**
6456
6471
  * Transport-specific opaque metadata. The broker passes it through to
6457
6472
  * the source reader without inspecting it. Currently used by
6458
6473
  * `pull-rfc4571` streams to carry the upstream SDP (so the reader can
@@ -7890,7 +7905,22 @@ var RecordingTriggersSchema = object({
7890
7905
  * il livello: un contatto trovato già aperto al riavvio del runner non fa
7891
7906
  * registrare.
7892
7907
  */
7893
- sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
7908
+ sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional(),
7909
+ /**
7910
+ * La camera registra per tutta la durata del SEGNALE che lei stessa
7911
+ * pubblica — la cap `recording-signal` (`active: true` mentre il device è in
7912
+ * funzione: un robot che pulisce). È un LIVELLO, non un fronte: la finestra
7913
+ * resta aperta finché il segnale è alto e si chiude `postBufferSec` dopo la
7914
+ * caduta, così una pulizia di quaranta minuti è UNA clip.
7915
+ *
7916
+ * Non nomina un device: il segnale è della camera stessa, tenuto fresco dal
7917
+ * suo provider (D224); il recorder lo ascolta su `DeviceStateChanged` e lo
7918
+ * riconcilia leggendo la slice via RPC, con un tetto oltre il quale un
7919
+ * segnale mai abbassato (un evento perso) non può tenere aperta una
7920
+ * registrazione (D11). Vedi `recorder/addon/band-decision.ts`
7921
+ * (`holdTrigger` / `releaseTrigger`).
7922
+ */
7923
+ deviceSignal: boolean().optional()
7894
7924
  });
7895
7925
  /**
7896
7926
  * Mode of a single recording band — the recorder per-band vocabulary.
@@ -11635,6 +11665,8 @@ method(object({
11635
11665
  label: string().optional(),
11636
11666
  deviceFeatures: array(string()).optional(),
11637
11667
  autoEligible: boolean().optional(),
11668
+ /** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
11669
+ profileHint: CamProfileSchema.optional(),
11638
11670
  metadata: record(string(), unknown()).optional(),
11639
11671
  /** Required when kind === 'derived' — the source camStreamId the
11640
11672
  * derived broker reads its encoded plane from.
@@ -30428,6 +30460,77 @@ method(object({
30428
30460
  auth: "protected"
30429
30461
  });
30430
30462
  /**
30463
+ * A camera's own "record me NOW" LEVEL — a signal the device raises while
30464
+ * something it knows about is happening (a robot vacuum cleaning, a machine
30465
+ * running, a gate open) and lowers when it stops.
30466
+ *
30467
+ * It is a level, not an edge. The sensor triggers the recorder already listens
30468
+ * to (`SOURCE_CAP_ACTIVE_FIELD`) fire on a rising edge and record for a fixed
30469
+ * post-buffer; a cleaning lasts forty minutes, and forty minutes of "this is
30470
+ * still happening" cannot be expressed as an edge plus a post-buffer without
30471
+ * either re-triggering on a timer (polling — D224 forbids the consumer keeping
30472
+ * the fact fresh) or picking a post-buffer long enough to cover every job,
30473
+ * which records the dock for that long after every short one. So the recorder
30474
+ * reads the LEVEL: it records for as long as `active` is true, plus the band's
30475
+ * own post-buffer once it falls.
30476
+ *
30477
+ * Who owns the fact: the PROVIDER of the device, which already reads the state
30478
+ * the signal is derived from (the vacuum's lifecycle state, for Dreame). It
30479
+ * writes this slice on every change; consumers subscribe to the kernel's
30480
+ * `DeviceStateChanged` for it and read it back through
30481
+ * `deviceState.getCapSlice` to reconcile — never a second copy, never a poll
30482
+ * against the device (D224, D8/D11).
30483
+ *
30484
+ * Deliberately NOT a `binary` sensor on the camera: a binary sensor is exported
30485
+ * to Home Assistant, HomeKit and the sensor picker as a thing an operator can
30486
+ * bind, and "the camera wants to record" is not a room sensor. It is a fact
30487
+ * about the camera, on the camera.
30488
+ */
30489
+ var RecordingSignalStatusSchema = object({
30490
+ /** True while the device asks to be recorded. */
30491
+ active: boolean(),
30492
+ /**
30493
+ * Why, in the provider's own vocabulary (a vacuum's `cleaning` / `docked`,
30494
+ * …). Free text for the log line and the UI badge; the recorder never
30495
+ * branches on it.
30496
+ */
30497
+ reason: string(),
30498
+ /** Ms epoch of the last `active` transition. 0 if never observed. */
30499
+ lastChangedAt: number()
30500
+ });
30501
+ /** The runtime-state slice: the status plus the clock every slice carries. */
30502
+ var RecordingSignalRuntimeStateSchema = RecordingSignalStatusSchema.extend({ lastFetchedAt: number() });
30503
+ var recordingSignalCapability = {
30504
+ name: "recording-signal",
30505
+ scope: "device",
30506
+ deviceNative: true,
30507
+ mode: "singleton",
30508
+ deviceTypes: [DeviceType.Camera],
30509
+ methods: {
30510
+ /** The current level, straight from the slice the provider keeps fresh. */
30511
+ getStatus: method(object({ deviceId: number() }), RecordingSignalStatusSchema) },
30512
+ status: {
30513
+ schema: RecordingSignalStatusSchema,
30514
+ kind: "push",
30515
+ empty: {
30516
+ active: false,
30517
+ reason: "unknown",
30518
+ lastChangedAt: 0
30519
+ }
30520
+ },
30521
+ runtimeState: RecordingSignalRuntimeStateSchema,
30522
+ /**
30523
+ * Runtime-state durability: **session** — a restored `active: true` from
30524
+ * before a restart is exactly the stale level the recorder's reconcile bound
30525
+ * exists to end, and the provider re-derives the true level on activation
30526
+ * anyway. Nothing is lost by forgetting it; a lie is avoided.
30527
+ *
30528
+ * See `RuntimeStateDurability`. Enforced by
30529
+ * `scripts/check-runtime-state-durability.ts`.
30530
+ */
30531
+ durability: "session"
30532
+ };
30533
+ /**
30431
30534
  * scene-monitor — device-scoped reference-region state cap. An operator marks
30432
30535
  * a rect ROI on a camera frame and names one or more states; the engine
30433
30536
  * (pipeline-analytics, designated post-processing node) reports which state is
@@ -30925,6 +31028,8 @@ var CamStreamDescriptorSchema = object({
30925
31028
  deviceFeatures: array(string()).optional(),
30926
31029
  /** Eligible for automatic profile assignment. Absent = `true`. */
30927
31030
  autoEligible: boolean().optional(),
31031
+ /** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
31032
+ profileHint: CamProfileSchema.optional(),
30928
31033
  /** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
30929
31034
  metadata: record(string(), unknown()).optional()
30930
31035
  });
@@ -33277,6 +33382,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
33277
33382
  pressureSensor: pressureSensorCapability,
33278
33383
  privacyMask: privacyMaskCapability,
33279
33384
  ptzAutotrack: ptzAutotrackCapability,
33385
+ recordingSignal: recordingSignalCapability,
33280
33386
  sceneMonitor: sceneMonitorCapability,
33281
33387
  scriptRunner: scriptRunnerCapability,
33282
33388
  smoke: smokeCapability,
@@ -34120,6 +34226,53 @@ var BaseDeviceProvider = class extends BaseAddon {
34120
34226
  const ids = [...this._permanentRestoreFailures.keys()].join(", ");
34121
34227
  return `${this._permanentRestoreFailures.size} device(s) permanently failed restore (deviceIds: ${ids}) — restart the ${this.providerName} provider to retry`;
34122
34228
  }
34229
+ /**
34230
+ * A top-level persisted row with NO configuration is a leftover, not a
34231
+ * device — quarantine it instead of dialling it.
34232
+ *
34233
+ * Device 614 was deleted, resurrected as a config-less shell by a write
34234
+ * already in flight (D376), and then dialled at every single boot: eight
34235
+ * `Failed to restore device — bounded retry scheduled` lines in one day,
34236
+ * each one the same Zod refusal on `host` and `password`. The bound was
34237
+ * real, but it is a bound PER PROCESS, and the runner restarts — so nothing
34238
+ * about the row ever stopped costing attempts and log lines.
34239
+ *
34240
+ * No retry can add a configuration that is not there. The row is reported
34241
+ * once, with its `deviceId`, and set aside.
34242
+ *
34243
+ * Top-level only: an accessory child legitimately carries an empty blob (it
34244
+ * lives off its parent), and a hub-adopted child with an emptied blob is
34245
+ * repaired by `healSavedConfig` from its parent instead. Providers that
34246
+ * genuinely create configuration-free top-level devices turn this off.
34247
+ */
34248
+ quarantineConfiglessTopLevelRestores = true;
34249
+ isUnrestorableShell(saved) {
34250
+ if (!this.quarantineConfiglessTopLevelRestores) return false;
34251
+ if (saved.parentDeviceId !== null) return false;
34252
+ const config = saved.config;
34253
+ if (config === void 0) return false;
34254
+ return Object.keys(config).length === 0;
34255
+ }
34256
+ quarantineShell(saved) {
34257
+ this._permanentRestoreFailures.set(saved.id, {
34258
+ deviceId: saved.id,
34259
+ stableId: saved.stableId,
34260
+ type: saved.type,
34261
+ attempts: 0,
34262
+ lastError: "persisted row has no configuration",
34263
+ failedAt: Date.now()
34264
+ });
34265
+ this.ctx.logger.error("Persisted device row has NO configuration — quarantined: not restored, not retried. Remove it (deviceManager.removeDevice) or re-add the device.", {
34266
+ tags: {
34267
+ deviceId: saved.id,
34268
+ stableId: saved.stableId
34269
+ },
34270
+ meta: {
34271
+ type: saved.type,
34272
+ provider: this.providerName
34273
+ }
34274
+ });
34275
+ }
34123
34276
  cancelRestoreRetries() {
34124
34277
  this._restoreRetryScheduler?.cancel();
34125
34278
  this._restoreRetryScheduler = null;
@@ -34304,6 +34457,10 @@ var BaseDeviceProvider = class extends BaseAddon {
34304
34457
  });
34305
34458
  return;
34306
34459
  }
34460
+ if (this.isUnrestorableShell(saved)) {
34461
+ this.quarantineShell(saved);
34462
+ return;
34463
+ }
34307
34464
  try {
34308
34465
  await attemptRestore(saved);
34309
34466
  } catch (err) {
@@ -39242,6 +39399,12 @@ Object.freeze({
39242
39399
  addonId: null,
39243
39400
  access: "view"
39244
39401
  },
39402
+ "recordingSignal.getStatus": {
39403
+ capName: "recording-signal",
39404
+ capScope: "device",
39405
+ addonId: null,
39406
+ access: "view"
39407
+ },
39245
39408
  "sceneMonitor.captureReference": {
39246
39409
  capName: "scene-monitor",
39247
39410
  capScope: "device",
@@ -42234,6 +42397,11 @@ Object.freeze({
42234
42397
  form: "single",
42235
42398
  optional: true
42236
42399
  }],
42400
+ "recordingSignal.getStatus": [{
42401
+ name: "deviceId",
42402
+ form: "single",
42403
+ optional: false
42404
+ }],
42237
42405
  "sceneMonitor.captureReference": [{
42238
42406
  name: "deviceId",
42239
42407
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.2.80",
3
+ "version": "1.2.82",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",