@camstack/addon-provider-dreo 0.2.88 → 0.2.89

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
@@ -20765,6 +20765,22 @@ var occupancyRecheckFramesField = {
20765
20765
  step: 1
20766
20766
  };
20767
20767
  /**
20768
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
20769
+ *
20770
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
20771
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
20772
+ * fleet measures — one-shot, and only ever taken while a permit would still be
20773
+ * spare for live. `0` turns the burst off entirely (the history is still
20774
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
20775
+ * discarded — the pre-D411 behaviour).
20776
+ */
20777
+ var preRollInferenceFramesField = {
20778
+ min: 0,
20779
+ max: 30,
20780
+ default: 12,
20781
+ step: 1
20782
+ };
20783
+ /**
20768
20784
  * Source enum for motion signals fed to the runner. Extensible — add
20769
20785
  * new variants here when new motion-trigger paths are wired in
20770
20786
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -21005,6 +21021,31 @@ var RunnerCameraConfigSchema = object({
21005
21021
  * to every occupancy rule until something moved in front of it. The churn is
21006
21022
  * now paid on the interval instead — see `occupancyRecheckSecField`.
21007
21023
  */
21024
+ /**
21025
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
21026
+ * at session open — instead of decoding it and throwing it away.
21027
+ *
21028
+ * DEFAULT `true`, and the default is the argument. This is not a new
21029
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
21030
+ * already served, already decoded and already paid for on every on-motion
21031
+ * detection session that asks for history. What shipped was a last-moment
21032
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
21033
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
21034
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
21035
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
21036
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
21037
+ * was decoded, and was freed.
21038
+ *
21039
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
21040
+ * setting whose absence looks exactly like a camera that noticed the cyclist
21041
+ * late. What makes ON safe is not a switch but the BOUND —
21042
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
21043
+ * the last inference permit — so the switch exists for the camera where the
21044
+ * history is worthless (a doorbell whose subject is always already at the
21045
+ * door), not as a hedge against the feature.
21046
+ */
21047
+ preRollInferenceEnabled: boolean().default(true),
21048
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
21008
21049
  occupancyRecheckEnabled: boolean().default(true),
21009
21050
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
21010
21051
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -21033,7 +21074,7 @@ var RunnerCameraConfigSchema = object({
21033
21074
  */
21034
21075
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
21035
21076
  });
21036
- motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
21077
+ motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, preRollInferenceFramesField.min, preRollInferenceFramesField.max, preRollInferenceFramesField.step, preRollInferenceFramesField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
21037
21078
  /**
21038
21079
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
21039
21080
  * load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
package/dist/addon.mjs CHANGED
@@ -20766,6 +20766,22 @@ var occupancyRecheckFramesField = {
20766
20766
  step: 1
20767
20767
  };
20768
20768
  /**
20769
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
20770
+ *
20771
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
20772
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
20773
+ * fleet measures — one-shot, and only ever taken while a permit would still be
20774
+ * spare for live. `0` turns the burst off entirely (the history is still
20775
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
20776
+ * discarded — the pre-D411 behaviour).
20777
+ */
20778
+ var preRollInferenceFramesField = {
20779
+ min: 0,
20780
+ max: 30,
20781
+ default: 12,
20782
+ step: 1
20783
+ };
20784
+ /**
20769
20785
  * Source enum for motion signals fed to the runner. Extensible — add
20770
20786
  * new variants here when new motion-trigger paths are wired in
20771
20787
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -21006,6 +21022,31 @@ var RunnerCameraConfigSchema = object({
21006
21022
  * to every occupancy rule until something moved in front of it. The churn is
21007
21023
  * now paid on the interval instead — see `occupancyRecheckSecField`.
21008
21024
  */
21025
+ /**
21026
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
21027
+ * at session open — instead of decoding it and throwing it away.
21028
+ *
21029
+ * DEFAULT `true`, and the default is the argument. This is not a new
21030
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
21031
+ * already served, already decoded and already paid for on every on-motion
21032
+ * detection session that asks for history. What shipped was a last-moment
21033
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
21034
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
21035
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
21036
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
21037
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
21038
+ * was decoded, and was freed.
21039
+ *
21040
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
21041
+ * setting whose absence looks exactly like a camera that noticed the cyclist
21042
+ * late. What makes ON safe is not a switch but the BOUND —
21043
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
21044
+ * the last inference permit — so the switch exists for the camera where the
21045
+ * history is worthless (a doorbell whose subject is always already at the
21046
+ * door), not as a hedge against the feature.
21047
+ */
21048
+ preRollInferenceEnabled: boolean().default(true),
21049
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
21009
21050
  occupancyRecheckEnabled: boolean().default(true),
21010
21051
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
21011
21052
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -21034,7 +21075,7 @@ var RunnerCameraConfigSchema = object({
21034
21075
  */
21035
21076
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
21036
21077
  });
21037
- motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
21078
+ motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, preRollInferenceFramesField.min, preRollInferenceFramesField.max, preRollInferenceFramesField.step, preRollInferenceFramesField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
21038
21079
  /**
21039
21080
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
21040
21081
  * load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreo",
3
- "version": "0.2.88",
3
+ "version": "0.2.89",
4
4
  "description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
5
5
  "keywords": [
6
6
  "camstack",