@camstack/addon-provider-gree 0.2.87 → 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
@@ -20715,6 +20715,22 @@ var occupancyRecheckFramesField = {
20715
20715
  step: 1
20716
20716
  };
20717
20717
  /**
20718
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
20719
+ *
20720
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
20721
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
20722
+ * fleet measures — one-shot, and only ever taken while a permit would still be
20723
+ * spare for live. `0` turns the burst off entirely (the history is still
20724
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
20725
+ * discarded — the pre-D411 behaviour).
20726
+ */
20727
+ var preRollInferenceFramesField = {
20728
+ min: 0,
20729
+ max: 30,
20730
+ default: 12,
20731
+ step: 1
20732
+ };
20733
+ /**
20718
20734
  * Source enum for motion signals fed to the runner. Extensible — add
20719
20735
  * new variants here when new motion-trigger paths are wired in
20720
20736
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -20955,6 +20971,31 @@ var RunnerCameraConfigSchema = object({
20955
20971
  * to every occupancy rule until something moved in front of it. The churn is
20956
20972
  * now paid on the interval instead — see `occupancyRecheckSecField`.
20957
20973
  */
20974
+ /**
20975
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
20976
+ * at session open — instead of decoding it and throwing it away.
20977
+ *
20978
+ * DEFAULT `true`, and the default is the argument. This is not a new
20979
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
20980
+ * already served, already decoded and already paid for on every on-motion
20981
+ * detection session that asks for history. What shipped was a last-moment
20982
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
20983
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
20984
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
20985
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
20986
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
20987
+ * was decoded, and was freed.
20988
+ *
20989
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
20990
+ * setting whose absence looks exactly like a camera that noticed the cyclist
20991
+ * late. What makes ON safe is not a switch but the BOUND —
20992
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
20993
+ * the last inference permit — so the switch exists for the camera where the
20994
+ * history is worthless (a doorbell whose subject is always already at the
20995
+ * door), not as a hedge against the feature.
20996
+ */
20997
+ preRollInferenceEnabled: boolean().default(true),
20998
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
20958
20999
  occupancyRecheckEnabled: boolean().default(true),
20959
21000
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
20960
21001
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -20983,7 +21024,7 @@ var RunnerCameraConfigSchema = object({
20983
21024
  */
20984
21025
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
20985
21026
  });
20986
- 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;
21027
+ 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;
20987
21028
  /**
20988
21029
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
20989
21030
  * load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
package/dist/addon.mjs CHANGED
@@ -20714,6 +20714,22 @@ var occupancyRecheckFramesField = {
20714
20714
  step: 1
20715
20715
  };
20716
20716
  /**
20717
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
20718
+ *
20719
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
20720
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
20721
+ * fleet measures — one-shot, and only ever taken while a permit would still be
20722
+ * spare for live. `0` turns the burst off entirely (the history is still
20723
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
20724
+ * discarded — the pre-D411 behaviour).
20725
+ */
20726
+ var preRollInferenceFramesField = {
20727
+ min: 0,
20728
+ max: 30,
20729
+ default: 12,
20730
+ step: 1
20731
+ };
20732
+ /**
20717
20733
  * Source enum for motion signals fed to the runner. Extensible — add
20718
20734
  * new variants here when new motion-trigger paths are wired in
20719
20735
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -20954,6 +20970,31 @@ var RunnerCameraConfigSchema = object({
20954
20970
  * to every occupancy rule until something moved in front of it. The churn is
20955
20971
  * now paid on the interval instead — see `occupancyRecheckSecField`.
20956
20972
  */
20973
+ /**
20974
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
20975
+ * at session open — instead of decoding it and throwing it away.
20976
+ *
20977
+ * DEFAULT `true`, and the default is the argument. This is not a new
20978
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
20979
+ * already served, already decoded and already paid for on every on-motion
20980
+ * detection session that asks for history. What shipped was a last-moment
20981
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
20982
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
20983
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
20984
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
20985
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
20986
+ * was decoded, and was freed.
20987
+ *
20988
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
20989
+ * setting whose absence looks exactly like a camera that noticed the cyclist
20990
+ * late. What makes ON safe is not a switch but the BOUND —
20991
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
20992
+ * the last inference permit — so the switch exists for the camera where the
20993
+ * history is worthless (a doorbell whose subject is always already at the
20994
+ * door), not as a hedge against the feature.
20995
+ */
20996
+ preRollInferenceEnabled: boolean().default(true),
20997
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
20957
20998
  occupancyRecheckEnabled: boolean().default(true),
20958
20999
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
20959
21000
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -20982,7 +21023,7 @@ var RunnerCameraConfigSchema = object({
20982
21023
  */
20983
21024
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
20984
21025
  });
20985
- 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;
21026
+ 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;
20986
21027
  /**
20987
21028
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
20988
21029
  * 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-gree",
3
- "version": "0.2.87",
3
+ "version": "0.2.89",
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",