@camstack/addon-notifiers 1.2.92 → 1.2.93
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
|
@@ -20532,6 +20532,22 @@ var occupancyRecheckFramesField = {
|
|
|
20532
20532
|
step: 1
|
|
20533
20533
|
};
|
|
20534
20534
|
/**
|
|
20535
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
20536
|
+
*
|
|
20537
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
20538
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
20539
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
20540
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
20541
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
20542
|
+
* discarded — the pre-D411 behaviour).
|
|
20543
|
+
*/
|
|
20544
|
+
var preRollInferenceFramesField = {
|
|
20545
|
+
min: 0,
|
|
20546
|
+
max: 30,
|
|
20547
|
+
default: 12,
|
|
20548
|
+
step: 1
|
|
20549
|
+
};
|
|
20550
|
+
/**
|
|
20535
20551
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
20536
20552
|
* new variants here when new motion-trigger paths are wired in
|
|
20537
20553
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -20772,6 +20788,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
20772
20788
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
20773
20789
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
20774
20790
|
*/
|
|
20791
|
+
/**
|
|
20792
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
20793
|
+
* at session open — instead of decoding it and throwing it away.
|
|
20794
|
+
*
|
|
20795
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
20796
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
20797
|
+
* already served, already decoded and already paid for on every on-motion
|
|
20798
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
20799
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
20800
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
20801
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
20802
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
20803
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
20804
|
+
* was decoded, and was freed.
|
|
20805
|
+
*
|
|
20806
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
20807
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
20808
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
20809
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
20810
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
20811
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
20812
|
+
* door), not as a hedge against the feature.
|
|
20813
|
+
*/
|
|
20814
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
20815
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
20775
20816
|
occupancyRecheckEnabled: boolean().default(true),
|
|
20776
20817
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
20777
20818
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -20800,7 +20841,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20800
20841
|
*/
|
|
20801
20842
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
20802
20843
|
});
|
|
20803
|
-
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;
|
|
20844
|
+
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;
|
|
20804
20845
|
/**
|
|
20805
20846
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
20806
20847
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
package/dist/addon.mjs
CHANGED
|
@@ -20505,6 +20505,22 @@ var occupancyRecheckFramesField = {
|
|
|
20505
20505
|
step: 1
|
|
20506
20506
|
};
|
|
20507
20507
|
/**
|
|
20508
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
20509
|
+
*
|
|
20510
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
20511
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
20512
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
20513
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
20514
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
20515
|
+
* discarded — the pre-D411 behaviour).
|
|
20516
|
+
*/
|
|
20517
|
+
var preRollInferenceFramesField = {
|
|
20518
|
+
min: 0,
|
|
20519
|
+
max: 30,
|
|
20520
|
+
default: 12,
|
|
20521
|
+
step: 1
|
|
20522
|
+
};
|
|
20523
|
+
/**
|
|
20508
20524
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
20509
20525
|
* new variants here when new motion-trigger paths are wired in
|
|
20510
20526
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -20745,6 +20761,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
20745
20761
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
20746
20762
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
20747
20763
|
*/
|
|
20764
|
+
/**
|
|
20765
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
20766
|
+
* at session open — instead of decoding it and throwing it away.
|
|
20767
|
+
*
|
|
20768
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
20769
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
20770
|
+
* already served, already decoded and already paid for on every on-motion
|
|
20771
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
20772
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
20773
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
20774
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
20775
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
20776
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
20777
|
+
* was decoded, and was freed.
|
|
20778
|
+
*
|
|
20779
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
20780
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
20781
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
20782
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
20783
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
20784
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
20785
|
+
* door), not as a hedge against the feature.
|
|
20786
|
+
*/
|
|
20787
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
20788
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
20748
20789
|
occupancyRecheckEnabled: boolean().default(true),
|
|
20749
20790
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
20750
20791
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -20773,7 +20814,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20773
20814
|
*/
|
|
20774
20815
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
20775
20816
|
});
|
|
20776
|
-
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;
|
|
20817
|
+
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;
|
|
20777
20818
|
/**
|
|
20778
20819
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
20779
20820
|
* 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-notifiers",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.93",
|
|
4
4
|
"description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|