@camstack/addon-provider-petkit 0.2.88 → 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 +42 -1
- package/dist/addon.mjs +42 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -21831,6 +21831,22 @@ var occupancyRecheckFramesField = {
|
|
|
21831
21831
|
step: 1
|
|
21832
21832
|
};
|
|
21833
21833
|
/**
|
|
21834
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
21835
|
+
*
|
|
21836
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
21837
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
21838
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
21839
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
21840
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
21841
|
+
* discarded — the pre-D411 behaviour).
|
|
21842
|
+
*/
|
|
21843
|
+
var preRollInferenceFramesField = {
|
|
21844
|
+
min: 0,
|
|
21845
|
+
max: 30,
|
|
21846
|
+
default: 12,
|
|
21847
|
+
step: 1
|
|
21848
|
+
};
|
|
21849
|
+
/**
|
|
21834
21850
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
21835
21851
|
* new variants here when new motion-trigger paths are wired in
|
|
21836
21852
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -22071,6 +22087,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
22071
22087
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
22072
22088
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
22073
22089
|
*/
|
|
22090
|
+
/**
|
|
22091
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
22092
|
+
* at session open — instead of decoding it and throwing it away.
|
|
22093
|
+
*
|
|
22094
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
22095
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
22096
|
+
* already served, already decoded and already paid for on every on-motion
|
|
22097
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
22098
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
22099
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
22100
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
22101
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
22102
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
22103
|
+
* was decoded, and was freed.
|
|
22104
|
+
*
|
|
22105
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
22106
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
22107
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
22108
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
22109
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
22110
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
22111
|
+
* door), not as a hedge against the feature.
|
|
22112
|
+
*/
|
|
22113
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
22114
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
22074
22115
|
occupancyRecheckEnabled: boolean().default(true),
|
|
22075
22116
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
22076
22117
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -22099,7 +22140,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
22099
22140
|
*/
|
|
22100
22141
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
22101
22142
|
});
|
|
22102
|
-
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;
|
|
22143
|
+
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;
|
|
22103
22144
|
/**
|
|
22104
22145
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
22105
22146
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
package/dist/addon.mjs
CHANGED
|
@@ -21830,6 +21830,22 @@ var occupancyRecheckFramesField = {
|
|
|
21830
21830
|
step: 1
|
|
21831
21831
|
};
|
|
21832
21832
|
/**
|
|
21833
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
21834
|
+
*
|
|
21835
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
21836
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
21837
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
21838
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
21839
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
21840
|
+
* discarded — the pre-D411 behaviour).
|
|
21841
|
+
*/
|
|
21842
|
+
var preRollInferenceFramesField = {
|
|
21843
|
+
min: 0,
|
|
21844
|
+
max: 30,
|
|
21845
|
+
default: 12,
|
|
21846
|
+
step: 1
|
|
21847
|
+
};
|
|
21848
|
+
/**
|
|
21833
21849
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
21834
21850
|
* new variants here when new motion-trigger paths are wired in
|
|
21835
21851
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -22070,6 +22086,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
22070
22086
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
22071
22087
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
22072
22088
|
*/
|
|
22089
|
+
/**
|
|
22090
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
22091
|
+
* at session open — instead of decoding it and throwing it away.
|
|
22092
|
+
*
|
|
22093
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
22094
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
22095
|
+
* already served, already decoded and already paid for on every on-motion
|
|
22096
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
22097
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
22098
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
22099
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
22100
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
22101
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
22102
|
+
* was decoded, and was freed.
|
|
22103
|
+
*
|
|
22104
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
22105
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
22106
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
22107
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
22108
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
22109
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
22110
|
+
* door), not as a hedge against the feature.
|
|
22111
|
+
*/
|
|
22112
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
22113
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
22073
22114
|
occupancyRecheckEnabled: boolean().default(true),
|
|
22074
22115
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
22075
22116
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -22098,7 +22139,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
22098
22139
|
*/
|
|
22099
22140
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
22100
22141
|
});
|
|
22101
|
-
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;
|
|
22142
|
+
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;
|
|
22102
22143
|
/**
|
|
22103
22144
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
22104
22145
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
package/package.json
CHANGED