@camstack/addon-export-alexa 1.2.94 → 1.2.95
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.
|
@@ -20655,6 +20655,22 @@ var occupancyRecheckFramesField = {
|
|
|
20655
20655
|
step: 1
|
|
20656
20656
|
};
|
|
20657
20657
|
/**
|
|
20658
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
20659
|
+
*
|
|
20660
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
20661
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
20662
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
20663
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
20664
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
20665
|
+
* discarded — the pre-D411 behaviour).
|
|
20666
|
+
*/
|
|
20667
|
+
var preRollInferenceFramesField = {
|
|
20668
|
+
min: 0,
|
|
20669
|
+
max: 30,
|
|
20670
|
+
default: 12,
|
|
20671
|
+
step: 1
|
|
20672
|
+
};
|
|
20673
|
+
/**
|
|
20658
20674
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
20659
20675
|
* new variants here when new motion-trigger paths are wired in
|
|
20660
20676
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -20895,6 +20911,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
20895
20911
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
20896
20912
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
20897
20913
|
*/
|
|
20914
|
+
/**
|
|
20915
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
20916
|
+
* at session open — instead of decoding it and throwing it away.
|
|
20917
|
+
*
|
|
20918
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
20919
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
20920
|
+
* already served, already decoded and already paid for on every on-motion
|
|
20921
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
20922
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
20923
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
20924
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
20925
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
20926
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
20927
|
+
* was decoded, and was freed.
|
|
20928
|
+
*
|
|
20929
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
20930
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
20931
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
20932
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
20933
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
20934
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
20935
|
+
* door), not as a hedge against the feature.
|
|
20936
|
+
*/
|
|
20937
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
20938
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
20898
20939
|
occupancyRecheckEnabled: boolean().default(true),
|
|
20899
20940
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
20900
20941
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -20923,7 +20964,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20923
20964
|
*/
|
|
20924
20965
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
20925
20966
|
});
|
|
20926
|
-
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;
|
|
20967
|
+
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;
|
|
20927
20968
|
/**
|
|
20928
20969
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
20929
20970
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -20628,6 +20628,22 @@ var occupancyRecheckFramesField = {
|
|
|
20628
20628
|
step: 1
|
|
20629
20629
|
};
|
|
20630
20630
|
/**
|
|
20631
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
20632
|
+
*
|
|
20633
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
20634
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
20635
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
20636
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
20637
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
20638
|
+
* discarded — the pre-D411 behaviour).
|
|
20639
|
+
*/
|
|
20640
|
+
var preRollInferenceFramesField = {
|
|
20641
|
+
min: 0,
|
|
20642
|
+
max: 30,
|
|
20643
|
+
default: 12,
|
|
20644
|
+
step: 1
|
|
20645
|
+
};
|
|
20646
|
+
/**
|
|
20631
20647
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
20632
20648
|
* new variants here when new motion-trigger paths are wired in
|
|
20633
20649
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -20868,6 +20884,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
20868
20884
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
20869
20885
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
20870
20886
|
*/
|
|
20887
|
+
/**
|
|
20888
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
20889
|
+
* at session open — instead of decoding it and throwing it away.
|
|
20890
|
+
*
|
|
20891
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
20892
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
20893
|
+
* already served, already decoded and already paid for on every on-motion
|
|
20894
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
20895
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
20896
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
20897
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
20898
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
20899
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
20900
|
+
* was decoded, and was freed.
|
|
20901
|
+
*
|
|
20902
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
20903
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
20904
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
20905
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
20906
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
20907
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
20908
|
+
* door), not as a hedge against the feature.
|
|
20909
|
+
*/
|
|
20910
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
20911
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
20871
20912
|
occupancyRecheckEnabled: boolean().default(true),
|
|
20872
20913
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
20873
20914
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -20896,7 +20937,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20896
20937
|
*/
|
|
20897
20938
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
20898
20939
|
});
|
|
20899
|
-
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;
|
|
20940
|
+
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;
|
|
20900
20941
|
/**
|
|
20901
20942
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
20902
20943
|
* 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-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.95",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|