@camstack/addon-decoder-nodeav 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/index.js CHANGED
@@ -18508,11 +18508,30 @@ var SensorEventSchema = object({
18508
18508
  value: record(string(), unknown()).nullable(),
18509
18509
  timestamp: number()
18510
18510
  });
18511
+ /**
18512
+ * One stored sighting on a track's trajectory.
18513
+ *
18514
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18515
+ * arrival order, and the two detector passes interleave, so a consumer must not
18516
+ * assume the two are the same on a row written by an older build.
18517
+ */
18511
18518
  var TrackPositionSchema = object({
18512
18519
  x: number(),
18513
18520
  y: number(),
18514
18521
  timestamp: number(),
18515
- bbox: BoundingBoxSchema
18522
+ bbox: BoundingBoxSchema,
18523
+ /**
18524
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18525
+ * pass on the analysis raster, `recovery` is the native-resolution
18526
+ * small-subject second pass (D377/D378). Both write into one array, and until
18527
+ * this field existed the only way to tell them apart was that full-frame boxes
18528
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18529
+ * Absent on rows written before D399.
18530
+ */
18531
+ source: _enum(["frame", "recovery"]).optional(),
18532
+ /** Detection score of this box, so a position can be weighed and not only
18533
+ * plotted. Absent on rows written before D399. */
18534
+ score: number().optional()
18516
18535
  });
18517
18536
  var TrackSnapshotSchema = object({
18518
18537
  timestamp: number(),
@@ -18912,14 +18931,25 @@ var TrackSchema = object({
18912
18931
  */
18913
18932
  hasRider: boolean().optional(),
18914
18933
  /**
18915
- * WHY this track ended without a NATIVE best-shot tile
18916
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
18934
+ * WHY this track ended without a NATIVE best-shot FRAME
18935
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
18936
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
18917
18937
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
18918
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
18919
- * the late-keyFrame upgrade when a native tile lands after all. The
18920
- * operator-facing answer to "perché manca l'immagine?" on a track whose
18938
+ * `derive-returned-null tile=standin`,
18939
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
18940
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
18941
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
18921
18942
  * tile is a face/plate stand-in, a raster crop, or an icon.
18922
18943
  *
18944
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
18945
+ * the TILE ranked below native, so a track whose thumbnail landed natively
18946
+ * while its key frame missed carried no reason at all — three of the four
18947
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
18948
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
18949
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
18950
+ * lastFrame copy source`), so its absence is now on this line whatever the
18951
+ * tile ended up being.
18952
+ *
18923
18953
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
18924
18954
  * that predates the field, and every track whose tile landed native all
18925
18955
  * omit it. Render nothing when absent.
@@ -27227,8 +27257,27 @@ var PrivacyMaskRegionSchema = object({
27227
27257
  });
27228
27258
  object({
27229
27259
  enabled: boolean(),
27230
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27231
- regions: array(PrivacyMaskRegionSchema),
27260
+ /**
27261
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27262
+ *
27263
+ * `null` means "no answer" — the provider has never reached this camera
27264
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27265
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27266
+ * has no zones": those two look identical to an operator right up to the
27267
+ * moment one of them is acted on, and acting on them differs completely.
27268
+ * The switch group turned an unanswered read into *"nothing is set up for
27269
+ * it to act on"* — an instruction to go and draw a zone that already
27270
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27271
+ * from deleting the mask it could not read.
27272
+ *
27273
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27274
+ * has no zones. The distinction is the same one {@link
27275
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27276
+ * microphone, on the very same payload — both planes come from ONE refresh,
27277
+ * so it was never coherent for one of them to be able to say "unknown"
27278
+ * while the other could not.
27279
+ */
27280
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27232
27281
  /**
27233
27282
  * Is the camera capturing sound right now? Read from the camera, never from
27234
27283
  * a server-side mirror.
package/dist/index.mjs CHANGED
@@ -18504,11 +18504,30 @@ var SensorEventSchema = object({
18504
18504
  value: record(string(), unknown()).nullable(),
18505
18505
  timestamp: number()
18506
18506
  });
18507
+ /**
18508
+ * One stored sighting on a track's trajectory.
18509
+ *
18510
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18511
+ * arrival order, and the two detector passes interleave, so a consumer must not
18512
+ * assume the two are the same on a row written by an older build.
18513
+ */
18507
18514
  var TrackPositionSchema = object({
18508
18515
  x: number(),
18509
18516
  y: number(),
18510
18517
  timestamp: number(),
18511
- bbox: BoundingBoxSchema
18518
+ bbox: BoundingBoxSchema,
18519
+ /**
18520
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18521
+ * pass on the analysis raster, `recovery` is the native-resolution
18522
+ * small-subject second pass (D377/D378). Both write into one array, and until
18523
+ * this field existed the only way to tell them apart was that full-frame boxes
18524
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18525
+ * Absent on rows written before D399.
18526
+ */
18527
+ source: _enum(["frame", "recovery"]).optional(),
18528
+ /** Detection score of this box, so a position can be weighed and not only
18529
+ * plotted. Absent on rows written before D399. */
18530
+ score: number().optional()
18512
18531
  });
18513
18532
  var TrackSnapshotSchema = object({
18514
18533
  timestamp: number(),
@@ -18908,14 +18927,25 @@ var TrackSchema = object({
18908
18927
  */
18909
18928
  hasRider: boolean().optional(),
18910
18929
  /**
18911
- * WHY this track ended without a NATIVE best-shot tile
18912
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
18930
+ * WHY this track ended without a NATIVE best-shot FRAME
18931
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
18932
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
18913
18933
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
18914
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
18915
- * the late-keyFrame upgrade when a native tile lands after all. The
18916
- * operator-facing answer to "perché manca l'immagine?" on a track whose
18934
+ * `derive-returned-null tile=standin`,
18935
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
18936
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
18937
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
18917
18938
  * tile is a face/plate stand-in, a raster crop, or an icon.
18918
18939
  *
18940
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
18941
+ * the TILE ranked below native, so a track whose thumbnail landed natively
18942
+ * while its key frame missed carried no reason at all — three of the four
18943
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
18944
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
18945
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
18946
+ * lastFrame copy source`), so its absence is now on this line whatever the
18947
+ * tile ended up being.
18948
+ *
18919
18949
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
18920
18950
  * that predates the field, and every track whose tile landed native all
18921
18951
  * omit it. Render nothing when absent.
@@ -27223,8 +27253,27 @@ var PrivacyMaskRegionSchema = object({
27223
27253
  });
27224
27254
  object({
27225
27255
  enabled: boolean(),
27226
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27227
- regions: array(PrivacyMaskRegionSchema),
27256
+ /**
27257
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27258
+ *
27259
+ * `null` means "no answer" — the provider has never reached this camera
27260
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27261
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27262
+ * has no zones": those two look identical to an operator right up to the
27263
+ * moment one of them is acted on, and acting on them differs completely.
27264
+ * The switch group turned an unanswered read into *"nothing is set up for
27265
+ * it to act on"* — an instruction to go and draw a zone that already
27266
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27267
+ * from deleting the mask it could not read.
27268
+ *
27269
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27270
+ * has no zones. The distinction is the same one {@link
27271
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27272
+ * microphone, on the very same payload — both planes come from ONE refresh,
27273
+ * so it was never coherent for one of them to be able to say "unknown"
27274
+ * while the other could not.
27275
+ */
27276
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27228
27277
  /**
27229
27278
  * Is the camera capturing sound right now? Read from the camera, never from
27230
27279
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-nodeav",
3
- "version": "1.2.82",
3
+ "version": "1.2.84",
4
4
  "description": "Standalone in-process node-av decoder addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",