@camstack/addon-export-google 0.1.52 → 0.1.53

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.
@@ -20626,6 +20626,22 @@ var occupancyRecheckFramesField = {
20626
20626
  step: 1
20627
20627
  };
20628
20628
  /**
20629
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
20630
+ *
20631
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
20632
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
20633
+ * fleet measures — one-shot, and only ever taken while a permit would still be
20634
+ * spare for live. `0` turns the burst off entirely (the history is still
20635
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
20636
+ * discarded — the pre-D411 behaviour).
20637
+ */
20638
+ var preRollInferenceFramesField = {
20639
+ min: 0,
20640
+ max: 30,
20641
+ default: 12,
20642
+ step: 1
20643
+ };
20644
+ /**
20629
20645
  * Source enum for motion signals fed to the runner. Extensible — add
20630
20646
  * new variants here when new motion-trigger paths are wired in
20631
20647
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -20866,6 +20882,31 @@ var RunnerCameraConfigSchema = object({
20866
20882
  * to every occupancy rule until something moved in front of it. The churn is
20867
20883
  * now paid on the interval instead — see `occupancyRecheckSecField`.
20868
20884
  */
20885
+ /**
20886
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
20887
+ * at session open — instead of decoding it and throwing it away.
20888
+ *
20889
+ * DEFAULT `true`, and the default is the argument. This is not a new
20890
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
20891
+ * already served, already decoded and already paid for on every on-motion
20892
+ * detection session that asks for history. What shipped was a last-moment
20893
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
20894
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
20895
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
20896
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
20897
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
20898
+ * was decoded, and was freed.
20899
+ *
20900
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
20901
+ * setting whose absence looks exactly like a camera that noticed the cyclist
20902
+ * late. What makes ON safe is not a switch but the BOUND —
20903
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
20904
+ * the last inference permit — so the switch exists for the camera where the
20905
+ * history is worthless (a doorbell whose subject is always already at the
20906
+ * door), not as a hedge against the feature.
20907
+ */
20908
+ preRollInferenceEnabled: boolean().default(true),
20909
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
20869
20910
  occupancyRecheckEnabled: boolean().default(true),
20870
20911
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
20871
20912
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -20894,7 +20935,7 @@ var RunnerCameraConfigSchema = object({
20894
20935
  */
20895
20936
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
20896
20937
  });
20897
- 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;
20938
+ 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;
20898
20939
  /**
20899
20940
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
20900
20941
  * load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
@@ -20622,6 +20622,22 @@ var occupancyRecheckFramesField = {
20622
20622
  step: 1
20623
20623
  };
20624
20624
  /**
20625
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
20626
+ *
20627
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
20628
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
20629
+ * fleet measures — one-shot, and only ever taken while a permit would still be
20630
+ * spare for live. `0` turns the burst off entirely (the history is still
20631
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
20632
+ * discarded — the pre-D411 behaviour).
20633
+ */
20634
+ var preRollInferenceFramesField = {
20635
+ min: 0,
20636
+ max: 30,
20637
+ default: 12,
20638
+ step: 1
20639
+ };
20640
+ /**
20625
20641
  * Source enum for motion signals fed to the runner. Extensible — add
20626
20642
  * new variants here when new motion-trigger paths are wired in
20627
20643
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -20862,6 +20878,31 @@ var RunnerCameraConfigSchema = object({
20862
20878
  * to every occupancy rule until something moved in front of it. The churn is
20863
20879
  * now paid on the interval instead — see `occupancyRecheckSecField`.
20864
20880
  */
20881
+ /**
20882
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
20883
+ * at session open — instead of decoding it and throwing it away.
20884
+ *
20885
+ * DEFAULT `true`, and the default is the argument. This is not a new
20886
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
20887
+ * already served, already decoded and already paid for on every on-motion
20888
+ * detection session that asks for history. What shipped was a last-moment
20889
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
20890
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
20891
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
20892
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
20893
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
20894
+ * was decoded, and was freed.
20895
+ *
20896
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
20897
+ * setting whose absence looks exactly like a camera that noticed the cyclist
20898
+ * late. What makes ON safe is not a switch but the BOUND —
20899
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
20900
+ * the last inference permit — so the switch exists for the camera where the
20901
+ * history is worthless (a doorbell whose subject is always already at the
20902
+ * door), not as a hedge against the feature.
20903
+ */
20904
+ preRollInferenceEnabled: boolean().default(true),
20905
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
20865
20906
  occupancyRecheckEnabled: boolean().default(true),
20866
20907
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
20867
20908
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -20890,7 +20931,7 @@ var RunnerCameraConfigSchema = object({
20890
20931
  */
20891
20932
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
20892
20933
  });
20893
- 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;
20934
+ 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;
20894
20935
  /**
20895
20936
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
20896
20937
  * 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-export-google",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
4
4
  "description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
5
5
  "keywords": [
6
6
  "camstack",