@camstack/addon-mqtt-broker 1.2.82 → 1.2.84
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/mqtt-broker.addon.js +57 -8
- package/dist/mqtt-broker.addon.mjs +57 -8
- package/package.json +1 -1
|
@@ -18475,11 +18475,30 @@ var SensorEventSchema = object({
|
|
|
18475
18475
|
value: record(string(), unknown()).nullable(),
|
|
18476
18476
|
timestamp: number()
|
|
18477
18477
|
});
|
|
18478
|
+
/**
|
|
18479
|
+
* One stored sighting on a track's trajectory.
|
|
18480
|
+
*
|
|
18481
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18482
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18483
|
+
* assume the two are the same on a row written by an older build.
|
|
18484
|
+
*/
|
|
18478
18485
|
var TrackPositionSchema = object({
|
|
18479
18486
|
x: number(),
|
|
18480
18487
|
y: number(),
|
|
18481
18488
|
timestamp: number(),
|
|
18482
|
-
bbox: BoundingBoxSchema
|
|
18489
|
+
bbox: BoundingBoxSchema,
|
|
18490
|
+
/**
|
|
18491
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18492
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18493
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18494
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18495
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18496
|
+
* Absent on rows written before D399.
|
|
18497
|
+
*/
|
|
18498
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18499
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18500
|
+
* plotted. Absent on rows written before D399. */
|
|
18501
|
+
score: number().optional()
|
|
18483
18502
|
});
|
|
18484
18503
|
var TrackSnapshotSchema = object({
|
|
18485
18504
|
timestamp: number(),
|
|
@@ -18879,14 +18898,25 @@ var TrackSchema = object({
|
|
|
18879
18898
|
*/
|
|
18880
18899
|
hasRider: boolean().optional(),
|
|
18881
18900
|
/**
|
|
18882
|
-
* WHY this track ended without a NATIVE best-shot
|
|
18883
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
18901
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
18902
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
18903
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
18884
18904
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
18885
|
-
* `derive-returned-null tile=standin`,
|
|
18886
|
-
*
|
|
18887
|
-
*
|
|
18905
|
+
* `derive-returned-null tile=standin`,
|
|
18906
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
18907
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
18908
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
18888
18909
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
18889
18910
|
*
|
|
18911
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
18912
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
18913
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
18914
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
18915
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
18916
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
18917
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
18918
|
+
* tile ended up being.
|
|
18919
|
+
*
|
|
18890
18920
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
18891
18921
|
* that predates the field, and every track whose tile landed native all
|
|
18892
18922
|
* omit it. Render nothing when absent.
|
|
@@ -27194,8 +27224,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
27194
27224
|
});
|
|
27195
27225
|
object({
|
|
27196
27226
|
enabled: boolean(),
|
|
27197
|
-
/**
|
|
27198
|
-
|
|
27227
|
+
/**
|
|
27228
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
27229
|
+
*
|
|
27230
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
27231
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
27232
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
27233
|
+
* has no zones": those two look identical to an operator right up to the
|
|
27234
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
27235
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
27236
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
27237
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
27238
|
+
* from deleting the mask it could not read.
|
|
27239
|
+
*
|
|
27240
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
27241
|
+
* has no zones. The distinction is the same one {@link
|
|
27242
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
27243
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
27244
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
27245
|
+
* while the other could not.
|
|
27246
|
+
*/
|
|
27247
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
27199
27248
|
/**
|
|
27200
27249
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
27201
27250
|
* a server-side mirror.
|
|
@@ -18470,11 +18470,30 @@ var SensorEventSchema = object({
|
|
|
18470
18470
|
value: record(string(), unknown()).nullable(),
|
|
18471
18471
|
timestamp: number()
|
|
18472
18472
|
});
|
|
18473
|
+
/**
|
|
18474
|
+
* One stored sighting on a track's trajectory.
|
|
18475
|
+
*
|
|
18476
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18477
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18478
|
+
* assume the two are the same on a row written by an older build.
|
|
18479
|
+
*/
|
|
18473
18480
|
var TrackPositionSchema = object({
|
|
18474
18481
|
x: number(),
|
|
18475
18482
|
y: number(),
|
|
18476
18483
|
timestamp: number(),
|
|
18477
|
-
bbox: BoundingBoxSchema
|
|
18484
|
+
bbox: BoundingBoxSchema,
|
|
18485
|
+
/**
|
|
18486
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18487
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18488
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18489
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18490
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18491
|
+
* Absent on rows written before D399.
|
|
18492
|
+
*/
|
|
18493
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18494
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18495
|
+
* plotted. Absent on rows written before D399. */
|
|
18496
|
+
score: number().optional()
|
|
18478
18497
|
});
|
|
18479
18498
|
var TrackSnapshotSchema = object({
|
|
18480
18499
|
timestamp: number(),
|
|
@@ -18874,14 +18893,25 @@ var TrackSchema = object({
|
|
|
18874
18893
|
*/
|
|
18875
18894
|
hasRider: boolean().optional(),
|
|
18876
18895
|
/**
|
|
18877
|
-
* WHY this track ended without a NATIVE best-shot
|
|
18878
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
18896
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
18897
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
18898
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
18879
18899
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
18880
|
-
* `derive-returned-null tile=standin`,
|
|
18881
|
-
*
|
|
18882
|
-
*
|
|
18900
|
+
* `derive-returned-null tile=standin`,
|
|
18901
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
18902
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
18903
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
18883
18904
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
18884
18905
|
*
|
|
18906
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
18907
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
18908
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
18909
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
18910
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
18911
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
18912
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
18913
|
+
* tile ended up being.
|
|
18914
|
+
*
|
|
18885
18915
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
18886
18916
|
* that predates the field, and every track whose tile landed native all
|
|
18887
18917
|
* omit it. Render nothing when absent.
|
|
@@ -27189,8 +27219,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
27189
27219
|
});
|
|
27190
27220
|
object({
|
|
27191
27221
|
enabled: boolean(),
|
|
27192
|
-
/**
|
|
27193
|
-
|
|
27222
|
+
/**
|
|
27223
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
27224
|
+
*
|
|
27225
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
27226
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
27227
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
27228
|
+
* has no zones": those two look identical to an operator right up to the
|
|
27229
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
27230
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
27231
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
27232
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
27233
|
+
* from deleting the mask it could not read.
|
|
27234
|
+
*
|
|
27235
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
27236
|
+
* has no zones. The distinction is the same one {@link
|
|
27237
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
27238
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
27239
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
27240
|
+
* while the other could not.
|
|
27241
|
+
*/
|
|
27242
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
27194
27243
|
/**
|
|
27195
27244
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
27196
27245
|
* a server-side mirror.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.84",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|