@camstack/addon-terminal 0.1.93 → 0.1.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.
- package/dist/addon.js +42 -1
- package/dist/addon.mjs +42 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -20730,6 +20730,22 @@ var occupancyRecheckFramesField = {
|
|
|
20730
20730
|
step: 1
|
|
20731
20731
|
};
|
|
20732
20732
|
/**
|
|
20733
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
20734
|
+
*
|
|
20735
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
20736
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
20737
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
20738
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
20739
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
20740
|
+
* discarded — the pre-D411 behaviour).
|
|
20741
|
+
*/
|
|
20742
|
+
var preRollInferenceFramesField = {
|
|
20743
|
+
min: 0,
|
|
20744
|
+
max: 30,
|
|
20745
|
+
default: 12,
|
|
20746
|
+
step: 1
|
|
20747
|
+
};
|
|
20748
|
+
/**
|
|
20733
20749
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
20734
20750
|
* new variants here when new motion-trigger paths are wired in
|
|
20735
20751
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -20970,6 +20986,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
20970
20986
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
20971
20987
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
20972
20988
|
*/
|
|
20989
|
+
/**
|
|
20990
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
20991
|
+
* at session open — instead of decoding it and throwing it away.
|
|
20992
|
+
*
|
|
20993
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
20994
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
20995
|
+
* already served, already decoded and already paid for on every on-motion
|
|
20996
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
20997
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
20998
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
20999
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
21000
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
21001
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
21002
|
+
* was decoded, and was freed.
|
|
21003
|
+
*
|
|
21004
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
21005
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
21006
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
21007
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
21008
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
21009
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
21010
|
+
* door), not as a hedge against the feature.
|
|
21011
|
+
*/
|
|
21012
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
21013
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
20973
21014
|
occupancyRecheckEnabled: boolean().default(true),
|
|
20974
21015
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
20975
21016
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -20998,7 +21039,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20998
21039
|
*/
|
|
20999
21040
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
21000
21041
|
});
|
|
21001
|
-
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;
|
|
21042
|
+
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;
|
|
21002
21043
|
/**
|
|
21003
21044
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
21004
21045
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
package/dist/addon.mjs
CHANGED
|
@@ -20707,6 +20707,22 @@ var occupancyRecheckFramesField = {
|
|
|
20707
20707
|
step: 1
|
|
20708
20708
|
};
|
|
20709
20709
|
/**
|
|
20710
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
20711
|
+
*
|
|
20712
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
20713
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
20714
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
20715
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
20716
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
20717
|
+
* discarded — the pre-D411 behaviour).
|
|
20718
|
+
*/
|
|
20719
|
+
var preRollInferenceFramesField = {
|
|
20720
|
+
min: 0,
|
|
20721
|
+
max: 30,
|
|
20722
|
+
default: 12,
|
|
20723
|
+
step: 1
|
|
20724
|
+
};
|
|
20725
|
+
/**
|
|
20710
20726
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
20711
20727
|
* new variants here when new motion-trigger paths are wired in
|
|
20712
20728
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -20947,6 +20963,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
20947
20963
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
20948
20964
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
20949
20965
|
*/
|
|
20966
|
+
/**
|
|
20967
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
20968
|
+
* at session open — instead of decoding it and throwing it away.
|
|
20969
|
+
*
|
|
20970
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
20971
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
20972
|
+
* already served, already decoded and already paid for on every on-motion
|
|
20973
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
20974
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
20975
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
20976
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
20977
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
20978
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
20979
|
+
* was decoded, and was freed.
|
|
20980
|
+
*
|
|
20981
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
20982
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
20983
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
20984
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
20985
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
20986
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
20987
|
+
* door), not as a hedge against the feature.
|
|
20988
|
+
*/
|
|
20989
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
20990
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
20950
20991
|
occupancyRecheckEnabled: boolean().default(true),
|
|
20951
20992
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
20952
20993
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -20975,7 +21016,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20975
21016
|
*/
|
|
20976
21017
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
20977
21018
|
});
|
|
20978
|
-
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;
|
|
21019
|
+
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;
|
|
20979
21020
|
/**
|
|
20980
21021
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
20981
21022
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|