@camstack/addon-provider-dreame 0.2.88 → 0.2.90
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
|
@@ -73402,6 +73402,22 @@ var occupancyRecheckFramesField = {
|
|
|
73402
73402
|
step: 1
|
|
73403
73403
|
};
|
|
73404
73404
|
/**
|
|
73405
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
73406
|
+
*
|
|
73407
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
73408
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
73409
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
73410
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
73411
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
73412
|
+
* discarded — the pre-D411 behaviour).
|
|
73413
|
+
*/
|
|
73414
|
+
var preRollInferenceFramesField = {
|
|
73415
|
+
min: 0,
|
|
73416
|
+
max: 30,
|
|
73417
|
+
default: 12,
|
|
73418
|
+
step: 1
|
|
73419
|
+
};
|
|
73420
|
+
/**
|
|
73405
73421
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
73406
73422
|
* new variants here when new motion-trigger paths are wired in
|
|
73407
73423
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -73642,6 +73658,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
73642
73658
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
73643
73659
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
73644
73660
|
*/
|
|
73661
|
+
/**
|
|
73662
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
73663
|
+
* at session open — instead of decoding it and throwing it away.
|
|
73664
|
+
*
|
|
73665
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
73666
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
73667
|
+
* already served, already decoded and already paid for on every on-motion
|
|
73668
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
73669
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
73670
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
73671
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
73672
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
73673
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
73674
|
+
* was decoded, and was freed.
|
|
73675
|
+
*
|
|
73676
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
73677
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
73678
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
73679
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
73680
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
73681
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
73682
|
+
* door), not as a hedge against the feature.
|
|
73683
|
+
*/
|
|
73684
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
73685
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
73645
73686
|
occupancyRecheckEnabled: boolean().default(true),
|
|
73646
73687
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
73647
73688
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -73670,7 +73711,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
73670
73711
|
*/
|
|
73671
73712
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
73672
73713
|
});
|
|
73673
|
-
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;
|
|
73714
|
+
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;
|
|
73674
73715
|
/**
|
|
73675
73716
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
73676
73717
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
package/dist/addon.mjs
CHANGED
|
@@ -73399,6 +73399,22 @@ var occupancyRecheckFramesField = {
|
|
|
73399
73399
|
step: 1
|
|
73400
73400
|
};
|
|
73401
73401
|
/**
|
|
73402
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
73403
|
+
*
|
|
73404
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
73405
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
73406
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
73407
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
73408
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
73409
|
+
* discarded — the pre-D411 behaviour).
|
|
73410
|
+
*/
|
|
73411
|
+
var preRollInferenceFramesField = {
|
|
73412
|
+
min: 0,
|
|
73413
|
+
max: 30,
|
|
73414
|
+
default: 12,
|
|
73415
|
+
step: 1
|
|
73416
|
+
};
|
|
73417
|
+
/**
|
|
73402
73418
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
73403
73419
|
* new variants here when new motion-trigger paths are wired in
|
|
73404
73420
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -73639,6 +73655,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
73639
73655
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
73640
73656
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
73641
73657
|
*/
|
|
73658
|
+
/**
|
|
73659
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
73660
|
+
* at session open — instead of decoding it and throwing it away.
|
|
73661
|
+
*
|
|
73662
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
73663
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
73664
|
+
* already served, already decoded and already paid for on every on-motion
|
|
73665
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
73666
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
73667
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
73668
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
73669
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
73670
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
73671
|
+
* was decoded, and was freed.
|
|
73672
|
+
*
|
|
73673
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
73674
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
73675
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
73676
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
73677
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
73678
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
73679
|
+
* door), not as a hedge against the feature.
|
|
73680
|
+
*/
|
|
73681
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
73682
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
73642
73683
|
occupancyRecheckEnabled: boolean().default(true),
|
|
73643
73684
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
73644
73685
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -73667,7 +73708,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
73667
73708
|
*/
|
|
73668
73709
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
73669
73710
|
});
|
|
73670
|
-
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;
|
|
73711
|
+
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;
|
|
73671
73712
|
/**
|
|
73672
73713
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
73673
73714
|
* 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-provider-dreame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.90",
|
|
4
4
|
"description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|