@camstack/addon-provider-rademacher 0.2.102 → 0.2.104
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 +48 -8
- package/dist/addon.mjs +48 -8
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -20423,13 +20423,26 @@ var TrackAudioLabelSchema = object({
|
|
|
20423
20423
|
* - `audio` — an audio event on the camera itself that was anomalous for
|
|
20424
20424
|
* THAT camera, loud, and heard while nothing visual was happening (D62).
|
|
20425
20425
|
*
|
|
20426
|
+
* - `onboard` — the CAMERA's own firmware, paired with a decoded frame in
|
|
20427
|
+
* that frame's pixel space. A real root detector and a SPATIAL one: its
|
|
20428
|
+
* boxes are the same kind of fact `pipeline`'s are, produced by a different
|
|
20429
|
+
* detector.
|
|
20430
|
+
*
|
|
20431
|
+
* `onboard` was missing here while `DetectionSourceSchema` already had it, so
|
|
20432
|
+
* a persisted onboard track failed `safeParse` on read and came back with NO
|
|
20433
|
+
* source at all — which `isSpatialTrack` then admitted by accident, through the
|
|
20434
|
+
* `undefined` arm rather than by anybody's decision, and which `excludeSources`
|
|
20435
|
+
* could not name.
|
|
20436
|
+
*
|
|
20426
20437
|
* The spatial subsystems (tracker association, occupancy count, re-id /
|
|
20427
20438
|
* embedding, resurrection) MUST skip every synthetic source. Test for that
|
|
20428
|
-
* with `isSpatialTrack`, which allow-lists
|
|
20429
|
-
* check silently readmits every source added after it was
|
|
20439
|
+
* with `isSpatialTrack`, which allow-lists the spatial sources explicitly — a
|
|
20440
|
+
* `!== 'sensor'` check silently readmits every source added after it was
|
|
20441
|
+
* written.
|
|
20430
20442
|
*/
|
|
20431
20443
|
var TrackSourceSchema = _enum([
|
|
20432
20444
|
"pipeline",
|
|
20445
|
+
"onboard",
|
|
20433
20446
|
"sensor",
|
|
20434
20447
|
"audio"
|
|
20435
20448
|
]);
|
|
@@ -21017,6 +21030,7 @@ var MediaFileKindEnum = _enum([
|
|
|
21017
21030
|
"keyFrame",
|
|
21018
21031
|
"keyFrameSmall",
|
|
21019
21032
|
"thumbnailSmall",
|
|
21033
|
+
"confirmationCrop",
|
|
21020
21034
|
"sceneFrame"
|
|
21021
21035
|
]);
|
|
21022
21036
|
/**
|
|
@@ -22511,13 +22525,39 @@ var MotionSourceEnum = _enum([
|
|
|
22511
22525
|
*/
|
|
22512
22526
|
var MotionSourcesSchema = array(MotionSourceEnum);
|
|
22513
22527
|
/**
|
|
22514
|
-
* Which root
|
|
22515
|
-
*
|
|
22516
|
-
*
|
|
22517
|
-
*
|
|
22518
|
-
*
|
|
22528
|
+
* Which root detector a camera runs — EXACTLY ONE.
|
|
22529
|
+
*
|
|
22530
|
+
* Deliberately the SAME vocabulary post-analysis already tags every detection
|
|
22531
|
+
* with (`DetectionSource`) rather than a second spelling of the same two
|
|
22532
|
+
* ideas: the value an operator picks here is the value that comes back on the
|
|
22533
|
+
* track, the overlay and the debug row.
|
|
22534
|
+
*
|
|
22535
|
+
* ## Why one, and why it is still an array
|
|
22536
|
+
*
|
|
22537
|
+
* Two roots on one camera is a capability nobody asked for and the operator has
|
|
22538
|
+
* since ruled out. It was never free: both planes feed the SAME per-device
|
|
22539
|
+
* stationary registry, both can promote the same parked object, and the two
|
|
22540
|
+
* detectors disagree about the same box by construction — which is the
|
|
22541
|
+
* disagreement D505 had to arbitrate. Removing the case removes the arbitration.
|
|
22542
|
+
*
|
|
22543
|
+
* The ARRAY shape survives because the stored settings and the attach payload
|
|
22544
|
+
* already speak it on every camera of every fleet, and a cap input that
|
|
22545
|
+
* suddenly refuses a stored value makes the camera un-attachable — a fail-closed
|
|
22546
|
+
* in the one direction that costs an operator their cameras. So the wire stays
|
|
22547
|
+
* tolerant and the TYPE is exact: a longer list is truncated to its first
|
|
22548
|
+
* element rather than refused, and `max(1)` is what every consumer can then
|
|
22549
|
+
* rely on.
|
|
22550
|
+
*
|
|
22551
|
+
* AT MOST one, not exactly one. The EMPTY list is a legal, deliberate pick —
|
|
22552
|
+
* a camera an operator left with no root detector — and `planDetectionSources`
|
|
22553
|
+
* has always said so: inventing a root for them is how a default acts without
|
|
22554
|
+
* anybody choosing it. Tightening this to `length(1)` broke that, and the
|
|
22555
|
+
* suite caught it.
|
|
22556
|
+
*
|
|
22557
|
+
* Measured before tightening (2026-09-15, this fleet, 6 h of attaches): 3327
|
|
22558
|
+
* `["pipeline"]` and 2 `["onboard"]`. Not one camera had two.
|
|
22519
22559
|
*/
|
|
22520
|
-
var DetectionSourcesSchema = array(DetectionSourceSchema);
|
|
22560
|
+
var DetectionSourcesSchema = preprocess((value) => Array.isArray(value) && value.length > 1 ? value.slice(0, 1) : value, array(DetectionSourceSchema).max(1));
|
|
22521
22561
|
/**
|
|
22522
22562
|
* Input shape for `pipeline-runner.reportMotion` cap method. Exported
|
|
22523
22563
|
* so cap-side consumers (the orchestrator forward, the runner addon's
|
package/dist/addon.mjs
CHANGED
|
@@ -20422,13 +20422,26 @@ var TrackAudioLabelSchema = object({
|
|
|
20422
20422
|
* - `audio` — an audio event on the camera itself that was anomalous for
|
|
20423
20423
|
* THAT camera, loud, and heard while nothing visual was happening (D62).
|
|
20424
20424
|
*
|
|
20425
|
+
* - `onboard` — the CAMERA's own firmware, paired with a decoded frame in
|
|
20426
|
+
* that frame's pixel space. A real root detector and a SPATIAL one: its
|
|
20427
|
+
* boxes are the same kind of fact `pipeline`'s are, produced by a different
|
|
20428
|
+
* detector.
|
|
20429
|
+
*
|
|
20430
|
+
* `onboard` was missing here while `DetectionSourceSchema` already had it, so
|
|
20431
|
+
* a persisted onboard track failed `safeParse` on read and came back with NO
|
|
20432
|
+
* source at all — which `isSpatialTrack` then admitted by accident, through the
|
|
20433
|
+
* `undefined` arm rather than by anybody's decision, and which `excludeSources`
|
|
20434
|
+
* could not name.
|
|
20435
|
+
*
|
|
20425
20436
|
* The spatial subsystems (tracker association, occupancy count, re-id /
|
|
20426
20437
|
* embedding, resurrection) MUST skip every synthetic source. Test for that
|
|
20427
|
-
* with `isSpatialTrack`, which allow-lists
|
|
20428
|
-
* check silently readmits every source added after it was
|
|
20438
|
+
* with `isSpatialTrack`, which allow-lists the spatial sources explicitly — a
|
|
20439
|
+
* `!== 'sensor'` check silently readmits every source added after it was
|
|
20440
|
+
* written.
|
|
20429
20441
|
*/
|
|
20430
20442
|
var TrackSourceSchema = _enum([
|
|
20431
20443
|
"pipeline",
|
|
20444
|
+
"onboard",
|
|
20432
20445
|
"sensor",
|
|
20433
20446
|
"audio"
|
|
20434
20447
|
]);
|
|
@@ -21016,6 +21029,7 @@ var MediaFileKindEnum = _enum([
|
|
|
21016
21029
|
"keyFrame",
|
|
21017
21030
|
"keyFrameSmall",
|
|
21018
21031
|
"thumbnailSmall",
|
|
21032
|
+
"confirmationCrop",
|
|
21019
21033
|
"sceneFrame"
|
|
21020
21034
|
]);
|
|
21021
21035
|
/**
|
|
@@ -22510,13 +22524,39 @@ var MotionSourceEnum = _enum([
|
|
|
22510
22524
|
*/
|
|
22511
22525
|
var MotionSourcesSchema = array(MotionSourceEnum);
|
|
22512
22526
|
/**
|
|
22513
|
-
* Which root
|
|
22514
|
-
*
|
|
22515
|
-
*
|
|
22516
|
-
*
|
|
22517
|
-
*
|
|
22527
|
+
* Which root detector a camera runs — EXACTLY ONE.
|
|
22528
|
+
*
|
|
22529
|
+
* Deliberately the SAME vocabulary post-analysis already tags every detection
|
|
22530
|
+
* with (`DetectionSource`) rather than a second spelling of the same two
|
|
22531
|
+
* ideas: the value an operator picks here is the value that comes back on the
|
|
22532
|
+
* track, the overlay and the debug row.
|
|
22533
|
+
*
|
|
22534
|
+
* ## Why one, and why it is still an array
|
|
22535
|
+
*
|
|
22536
|
+
* Two roots on one camera is a capability nobody asked for and the operator has
|
|
22537
|
+
* since ruled out. It was never free: both planes feed the SAME per-device
|
|
22538
|
+
* stationary registry, both can promote the same parked object, and the two
|
|
22539
|
+
* detectors disagree about the same box by construction — which is the
|
|
22540
|
+
* disagreement D505 had to arbitrate. Removing the case removes the arbitration.
|
|
22541
|
+
*
|
|
22542
|
+
* The ARRAY shape survives because the stored settings and the attach payload
|
|
22543
|
+
* already speak it on every camera of every fleet, and a cap input that
|
|
22544
|
+
* suddenly refuses a stored value makes the camera un-attachable — a fail-closed
|
|
22545
|
+
* in the one direction that costs an operator their cameras. So the wire stays
|
|
22546
|
+
* tolerant and the TYPE is exact: a longer list is truncated to its first
|
|
22547
|
+
* element rather than refused, and `max(1)` is what every consumer can then
|
|
22548
|
+
* rely on.
|
|
22549
|
+
*
|
|
22550
|
+
* AT MOST one, not exactly one. The EMPTY list is a legal, deliberate pick —
|
|
22551
|
+
* a camera an operator left with no root detector — and `planDetectionSources`
|
|
22552
|
+
* has always said so: inventing a root for them is how a default acts without
|
|
22553
|
+
* anybody choosing it. Tightening this to `length(1)` broke that, and the
|
|
22554
|
+
* suite caught it.
|
|
22555
|
+
*
|
|
22556
|
+
* Measured before tightening (2026-09-15, this fleet, 6 h of attaches): 3327
|
|
22557
|
+
* `["pipeline"]` and 2 `["onboard"]`. Not one camera had two.
|
|
22518
22558
|
*/
|
|
22519
|
-
var DetectionSourcesSchema = array(DetectionSourceSchema);
|
|
22559
|
+
var DetectionSourcesSchema = preprocess((value) => Array.isArray(value) && value.length > 1 ? value.slice(0, 1) : value, array(DetectionSourceSchema).max(1));
|
|
22520
22560
|
/**
|
|
22521
22561
|
* Input shape for `pipeline-runner.reportMotion` cap method. Exported
|
|
22522
22562
|
* so cap-side consumers (the orchestrator forward, the runner addon's
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.104",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|