@camstack/addon-matter-broker 0.2.81 → 0.2.83

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 CHANGED
@@ -18826,11 +18826,30 @@ var SensorEventSchema = object({
18826
18826
  value: record(string$2(), unknown()).nullable(),
18827
18827
  timestamp: number()
18828
18828
  });
18829
+ /**
18830
+ * One stored sighting on a track's trajectory.
18831
+ *
18832
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18833
+ * arrival order, and the two detector passes interleave, so a consumer must not
18834
+ * assume the two are the same on a row written by an older build.
18835
+ */
18829
18836
  var TrackPositionSchema = object({
18830
18837
  x: number(),
18831
18838
  y: number(),
18832
18839
  timestamp: number(),
18833
- bbox: BoundingBoxSchema
18840
+ bbox: BoundingBoxSchema,
18841
+ /**
18842
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18843
+ * pass on the analysis raster, `recovery` is the native-resolution
18844
+ * small-subject second pass (D377/D378). Both write into one array, and until
18845
+ * this field existed the only way to tell them apart was that full-frame boxes
18846
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18847
+ * Absent on rows written before D399.
18848
+ */
18849
+ source: _enum(["frame", "recovery"]).optional(),
18850
+ /** Detection score of this box, so a position can be weighed and not only
18851
+ * plotted. Absent on rows written before D399. */
18852
+ score: number().optional()
18834
18853
  });
18835
18854
  var TrackSnapshotSchema = object({
18836
18855
  timestamp: number(),
@@ -19230,14 +19249,25 @@ var TrackSchema = object({
19230
19249
  */
19231
19250
  hasRider: boolean().optional(),
19232
19251
  /**
19233
- * WHY this track ended without a NATIVE best-shot tile
19234
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19252
+ * WHY this track ended without a NATIVE best-shot FRAME
19253
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19254
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19235
19255
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19236
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19237
- * the late-keyFrame upgrade when a native tile lands after all. The
19238
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19256
+ * `derive-returned-null tile=standin`,
19257
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19258
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19259
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19239
19260
  * tile is a face/plate stand-in, a raster crop, or an icon.
19240
19261
  *
19262
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19263
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19264
+ * while its key frame missed carried no reason at all — three of the four
19265
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19266
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19267
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19268
+ * lastFrame copy source`), so its absence is now on this line whatever the
19269
+ * tile ended up being.
19270
+ *
19241
19271
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19242
19272
  * that predates the field, and every track whose tile landed native all
19243
19273
  * omit it. Render nothing when absent.
@@ -29291,8 +29321,27 @@ var PrivacyMaskRegionSchema = object({
29291
29321
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29292
29322
  var PrivacyMaskStatusSchema = object({
29293
29323
  enabled: boolean(),
29294
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29295
- regions: array(PrivacyMaskRegionSchema),
29324
+ /**
29325
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29326
+ *
29327
+ * `null` means "no answer" — the provider has never reached this camera
29328
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29329
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29330
+ * has no zones": those two look identical to an operator right up to the
29331
+ * moment one of them is acted on, and acting on them differs completely.
29332
+ * The switch group turned an unanswered read into *"nothing is set up for
29333
+ * it to act on"* — an instruction to go and draw a zone that already
29334
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29335
+ * from deleting the mask it could not read.
29336
+ *
29337
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29338
+ * has no zones. The distinction is the same one {@link
29339
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29340
+ * microphone, on the very same payload — both planes come from ONE refresh,
29341
+ * so it was never coherent for one of them to be able to say "unknown"
29342
+ * while the other could not.
29343
+ */
29344
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29296
29345
  /**
29297
29346
  * Is the camera capturing sound right now? Read from the camera, never from
29298
29347
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -18824,11 +18824,30 @@ var SensorEventSchema = object({
18824
18824
  value: record(string$2(), unknown()).nullable(),
18825
18825
  timestamp: number()
18826
18826
  });
18827
+ /**
18828
+ * One stored sighting on a track's trajectory.
18829
+ *
18830
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18831
+ * arrival order, and the two detector passes interleave, so a consumer must not
18832
+ * assume the two are the same on a row written by an older build.
18833
+ */
18827
18834
  var TrackPositionSchema = object({
18828
18835
  x: number(),
18829
18836
  y: number(),
18830
18837
  timestamp: number(),
18831
- bbox: BoundingBoxSchema
18838
+ bbox: BoundingBoxSchema,
18839
+ /**
18840
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18841
+ * pass on the analysis raster, `recovery` is the native-resolution
18842
+ * small-subject second pass (D377/D378). Both write into one array, and until
18843
+ * this field existed the only way to tell them apart was that full-frame boxes
18844
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18845
+ * Absent on rows written before D399.
18846
+ */
18847
+ source: _enum(["frame", "recovery"]).optional(),
18848
+ /** Detection score of this box, so a position can be weighed and not only
18849
+ * plotted. Absent on rows written before D399. */
18850
+ score: number().optional()
18832
18851
  });
18833
18852
  var TrackSnapshotSchema = object({
18834
18853
  timestamp: number(),
@@ -19228,14 +19247,25 @@ var TrackSchema = object({
19228
19247
  */
19229
19248
  hasRider: boolean().optional(),
19230
19249
  /**
19231
- * WHY this track ended without a NATIVE best-shot tile
19232
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19250
+ * WHY this track ended without a NATIVE best-shot FRAME
19251
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19252
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19233
19253
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19234
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19235
- * the late-keyFrame upgrade when a native tile lands after all. The
19236
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19254
+ * `derive-returned-null tile=standin`,
19255
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19256
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19257
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19237
19258
  * tile is a face/plate stand-in, a raster crop, or an icon.
19238
19259
  *
19260
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19261
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19262
+ * while its key frame missed carried no reason at all — three of the four
19263
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19264
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19265
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19266
+ * lastFrame copy source`), so its absence is now on this line whatever the
19267
+ * tile ended up being.
19268
+ *
19239
19269
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19240
19270
  * that predates the field, and every track whose tile landed native all
19241
19271
  * omit it. Render nothing when absent.
@@ -29289,8 +29319,27 @@ var PrivacyMaskRegionSchema = object({
29289
29319
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29290
29320
  var PrivacyMaskStatusSchema = object({
29291
29321
  enabled: boolean(),
29292
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29293
- regions: array(PrivacyMaskRegionSchema),
29322
+ /**
29323
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29324
+ *
29325
+ * `null` means "no answer" — the provider has never reached this camera
29326
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29327
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29328
+ * has no zones": those two look identical to an operator right up to the
29329
+ * moment one of them is acted on, and acting on them differs completely.
29330
+ * The switch group turned an unanswered read into *"nothing is set up for
29331
+ * it to act on"* — an instruction to go and draw a zone that already
29332
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29333
+ * from deleting the mask it could not read.
29334
+ *
29335
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29336
+ * has no zones. The distinction is the same one {@link
29337
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29338
+ * microphone, on the very same payload — both planes come from ONE refresh,
29339
+ * so it was never coherent for one of them to be able to say "unknown"
29340
+ * while the other could not.
29341
+ */
29342
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29294
29343
  /**
29295
29344
  * Is the camera capturing sound right now? Read from the camera, never from
29296
29345
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.81",
3
+ "version": "0.2.83",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",