@camstack/addon-export-alexa 1.2.88 → 1.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.
@@ -18689,11 +18689,30 @@ var SensorEventSchema = object({
18689
18689
  value: record(string(), unknown()).nullable(),
18690
18690
  timestamp: number()
18691
18691
  });
18692
+ /**
18693
+ * One stored sighting on a track's trajectory.
18694
+ *
18695
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18696
+ * arrival order, and the two detector passes interleave, so a consumer must not
18697
+ * assume the two are the same on a row written by an older build.
18698
+ */
18692
18699
  var TrackPositionSchema = object({
18693
18700
  x: number(),
18694
18701
  y: number(),
18695
18702
  timestamp: number(),
18696
- bbox: BoundingBoxSchema
18703
+ bbox: BoundingBoxSchema,
18704
+ /**
18705
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18706
+ * pass on the analysis raster, `recovery` is the native-resolution
18707
+ * small-subject second pass (D377/D378). Both write into one array, and until
18708
+ * this field existed the only way to tell them apart was that full-frame boxes
18709
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18710
+ * Absent on rows written before D399.
18711
+ */
18712
+ source: _enum(["frame", "recovery"]).optional(),
18713
+ /** Detection score of this box, so a position can be weighed and not only
18714
+ * plotted. Absent on rows written before D399. */
18715
+ score: number().optional()
18697
18716
  });
18698
18717
  var TrackSnapshotSchema = object({
18699
18718
  timestamp: number(),
@@ -19093,14 +19112,25 @@ var TrackSchema = object({
19093
19112
  */
19094
19113
  hasRider: boolean().optional(),
19095
19114
  /**
19096
- * WHY this track ended without a NATIVE best-shot tile
19097
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19115
+ * WHY this track ended without a NATIVE best-shot FRAME
19116
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19117
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19098
19118
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19099
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19100
- * the late-keyFrame upgrade when a native tile lands after all. The
19101
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19119
+ * `derive-returned-null tile=standin`,
19120
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19121
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19122
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19102
19123
  * tile is a face/plate stand-in, a raster crop, or an icon.
19103
19124
  *
19125
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19126
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19127
+ * while its key frame missed carried no reason at all — three of the four
19128
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19129
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19130
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19131
+ * lastFrame copy source`), so its absence is now on this line whatever the
19132
+ * tile ended up being.
19133
+ *
19104
19134
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19105
19135
  * that predates the field, and every track whose tile landed native all
19106
19136
  * omit it. Render nothing when absent.
@@ -27408,8 +27438,27 @@ var PrivacyMaskRegionSchema = object({
27408
27438
  });
27409
27439
  object({
27410
27440
  enabled: boolean(),
27411
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27412
- regions: array(PrivacyMaskRegionSchema),
27441
+ /**
27442
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27443
+ *
27444
+ * `null` means "no answer" — the provider has never reached this camera
27445
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27446
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27447
+ * has no zones": those two look identical to an operator right up to the
27448
+ * moment one of them is acted on, and acting on them differs completely.
27449
+ * The switch group turned an unanswered read into *"nothing is set up for
27450
+ * it to act on"* — an instruction to go and draw a zone that already
27451
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27452
+ * from deleting the mask it could not read.
27453
+ *
27454
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27455
+ * has no zones. The distinction is the same one {@link
27456
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27457
+ * microphone, on the very same payload — both planes come from ONE refresh,
27458
+ * so it was never coherent for one of them to be able to say "unknown"
27459
+ * while the other could not.
27460
+ */
27461
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27413
27462
  /**
27414
27463
  * Is the camera capturing sound right now? Read from the camera, never from
27415
27464
  * a server-side mirror.
@@ -18662,11 +18662,30 @@ var SensorEventSchema = object({
18662
18662
  value: record(string(), unknown()).nullable(),
18663
18663
  timestamp: number()
18664
18664
  });
18665
+ /**
18666
+ * One stored sighting on a track's trajectory.
18667
+ *
18668
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18669
+ * arrival order, and the two detector passes interleave, so a consumer must not
18670
+ * assume the two are the same on a row written by an older build.
18671
+ */
18665
18672
  var TrackPositionSchema = object({
18666
18673
  x: number(),
18667
18674
  y: number(),
18668
18675
  timestamp: number(),
18669
- bbox: BoundingBoxSchema
18676
+ bbox: BoundingBoxSchema,
18677
+ /**
18678
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18679
+ * pass on the analysis raster, `recovery` is the native-resolution
18680
+ * small-subject second pass (D377/D378). Both write into one array, and until
18681
+ * this field existed the only way to tell them apart was that full-frame boxes
18682
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18683
+ * Absent on rows written before D399.
18684
+ */
18685
+ source: _enum(["frame", "recovery"]).optional(),
18686
+ /** Detection score of this box, so a position can be weighed and not only
18687
+ * plotted. Absent on rows written before D399. */
18688
+ score: number().optional()
18670
18689
  });
18671
18690
  var TrackSnapshotSchema = object({
18672
18691
  timestamp: number(),
@@ -19066,14 +19085,25 @@ var TrackSchema = object({
19066
19085
  */
19067
19086
  hasRider: boolean().optional(),
19068
19087
  /**
19069
- * WHY this track ended without a NATIVE best-shot tile
19070
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19088
+ * WHY this track ended without a NATIVE best-shot FRAME
19089
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19090
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19071
19091
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19072
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19073
- * the late-keyFrame upgrade when a native tile lands after all. The
19074
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19092
+ * `derive-returned-null tile=standin`,
19093
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19094
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19095
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19075
19096
  * tile is a face/plate stand-in, a raster crop, or an icon.
19076
19097
  *
19098
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19099
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19100
+ * while its key frame missed carried no reason at all — three of the four
19101
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19102
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19103
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19104
+ * lastFrame copy source`), so its absence is now on this line whatever the
19105
+ * tile ended up being.
19106
+ *
19077
19107
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19078
19108
  * that predates the field, and every track whose tile landed native all
19079
19109
  * omit it. Render nothing when absent.
@@ -27381,8 +27411,27 @@ var PrivacyMaskRegionSchema = object({
27381
27411
  });
27382
27412
  object({
27383
27413
  enabled: boolean(),
27384
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27385
- regions: array(PrivacyMaskRegionSchema),
27414
+ /**
27415
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27416
+ *
27417
+ * `null` means "no answer" — the provider has never reached this camera
27418
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27419
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27420
+ * has no zones": those two look identical to an operator right up to the
27421
+ * moment one of them is acted on, and acting on them differs completely.
27422
+ * The switch group turned an unanswered read into *"nothing is set up for
27423
+ * it to act on"* — an instruction to go and draw a zone that already
27424
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27425
+ * from deleting the mask it could not read.
27426
+ *
27427
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27428
+ * has no zones. The distinction is the same one {@link
27429
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27430
+ * microphone, on the very same payload — both planes come from ONE refresh,
27431
+ * so it was never coherent for one of them to be able to say "unknown"
27432
+ * while the other could not.
27433
+ */
27434
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27386
27435
  /**
27387
27436
  * Is the camera capturing sound right now? Read from the camera, never from
27388
27437
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.88",
3
+ "version": "1.2.90",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",