@camstack/addon-import-alexa 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
@@ -18989,11 +18989,30 @@ var SensorEventSchema = object({
18989
18989
  value: record(string(), unknown()).nullable(),
18990
18990
  timestamp: number()
18991
18991
  });
18992
+ /**
18993
+ * One stored sighting on a track's trajectory.
18994
+ *
18995
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18996
+ * arrival order, and the two detector passes interleave, so a consumer must not
18997
+ * assume the two are the same on a row written by an older build.
18998
+ */
18992
18999
  var TrackPositionSchema = object({
18993
19000
  x: number(),
18994
19001
  y: number(),
18995
19002
  timestamp: number(),
18996
- bbox: BoundingBoxSchema
19003
+ bbox: BoundingBoxSchema,
19004
+ /**
19005
+ * Which detector pass measured this box (D399): `frame` is the full-frame
19006
+ * pass on the analysis raster, `recovery` is the native-resolution
19007
+ * small-subject second pass (D377/D378). Both write into one array, and until
19008
+ * this field existed the only way to tell them apart was that full-frame boxes
19009
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
19010
+ * Absent on rows written before D399.
19011
+ */
19012
+ source: _enum(["frame", "recovery"]).optional(),
19013
+ /** Detection score of this box, so a position can be weighed and not only
19014
+ * plotted. Absent on rows written before D399. */
19015
+ score: number().optional()
18997
19016
  });
18998
19017
  var TrackSnapshotSchema = object({
18999
19018
  timestamp: number(),
@@ -19393,14 +19412,25 @@ var TrackSchema = object({
19393
19412
  */
19394
19413
  hasRider: boolean().optional(),
19395
19414
  /**
19396
- * WHY this track ended without a NATIVE best-shot tile
19397
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19415
+ * WHY this track ended without a NATIVE best-shot FRAME
19416
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19417
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19398
19418
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19399
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19400
- * the late-keyFrame upgrade when a native tile lands after all. The
19401
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19419
+ * `derive-returned-null tile=standin`,
19420
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19421
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19422
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19402
19423
  * tile is a face/plate stand-in, a raster crop, or an icon.
19403
19424
  *
19425
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19426
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19427
+ * while its key frame missed carried no reason at all — three of the four
19428
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19429
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19430
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19431
+ * lastFrame copy source`), so its absence is now on this line whatever the
19432
+ * tile ended up being.
19433
+ *
19404
19434
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19405
19435
  * that predates the field, and every track whose tile landed native all
19406
19436
  * omit it. Render nothing when absent.
@@ -29454,8 +29484,27 @@ var PrivacyMaskRegionSchema = object({
29454
29484
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29455
29485
  var PrivacyMaskStatusSchema = object({
29456
29486
  enabled: boolean(),
29457
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29458
- regions: array(PrivacyMaskRegionSchema),
29487
+ /**
29488
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29489
+ *
29490
+ * `null` means "no answer" — the provider has never reached this camera
29491
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29492
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29493
+ * has no zones": those two look identical to an operator right up to the
29494
+ * moment one of them is acted on, and acting on them differs completely.
29495
+ * The switch group turned an unanswered read into *"nothing is set up for
29496
+ * it to act on"* — an instruction to go and draw a zone that already
29497
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29498
+ * from deleting the mask it could not read.
29499
+ *
29500
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29501
+ * has no zones. The distinction is the same one {@link
29502
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29503
+ * microphone, on the very same payload — both planes come from ONE refresh,
29504
+ * so it was never coherent for one of them to be able to say "unknown"
29505
+ * while the other could not.
29506
+ */
29507
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29459
29508
  /**
29460
29509
  * Is the camera capturing sound right now? Read from the camera, never from
29461
29510
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -18989,11 +18989,30 @@ var SensorEventSchema = object({
18989
18989
  value: record(string(), unknown()).nullable(),
18990
18990
  timestamp: number()
18991
18991
  });
18992
+ /**
18993
+ * One stored sighting on a track's trajectory.
18994
+ *
18995
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18996
+ * arrival order, and the two detector passes interleave, so a consumer must not
18997
+ * assume the two are the same on a row written by an older build.
18998
+ */
18992
18999
  var TrackPositionSchema = object({
18993
19000
  x: number(),
18994
19001
  y: number(),
18995
19002
  timestamp: number(),
18996
- bbox: BoundingBoxSchema
19003
+ bbox: BoundingBoxSchema,
19004
+ /**
19005
+ * Which detector pass measured this box (D399): `frame` is the full-frame
19006
+ * pass on the analysis raster, `recovery` is the native-resolution
19007
+ * small-subject second pass (D377/D378). Both write into one array, and until
19008
+ * this field existed the only way to tell them apart was that full-frame boxes
19009
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
19010
+ * Absent on rows written before D399.
19011
+ */
19012
+ source: _enum(["frame", "recovery"]).optional(),
19013
+ /** Detection score of this box, so a position can be weighed and not only
19014
+ * plotted. Absent on rows written before D399. */
19015
+ score: number().optional()
18997
19016
  });
18998
19017
  var TrackSnapshotSchema = object({
18999
19018
  timestamp: number(),
@@ -19393,14 +19412,25 @@ var TrackSchema = object({
19393
19412
  */
19394
19413
  hasRider: boolean().optional(),
19395
19414
  /**
19396
- * WHY this track ended without a NATIVE best-shot tile
19397
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19415
+ * WHY this track ended without a NATIVE best-shot FRAME
19416
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19417
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19398
19418
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19399
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19400
- * the late-keyFrame upgrade when a native tile lands after all. The
19401
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19419
+ * `derive-returned-null tile=standin`,
19420
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19421
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19422
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19402
19423
  * tile is a face/plate stand-in, a raster crop, or an icon.
19403
19424
  *
19425
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19426
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19427
+ * while its key frame missed carried no reason at all — three of the four
19428
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19429
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19430
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19431
+ * lastFrame copy source`), so its absence is now on this line whatever the
19432
+ * tile ended up being.
19433
+ *
19404
19434
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19405
19435
  * that predates the field, and every track whose tile landed native all
19406
19436
  * omit it. Render nothing when absent.
@@ -29454,8 +29484,27 @@ var PrivacyMaskRegionSchema = object({
29454
29484
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29455
29485
  var PrivacyMaskStatusSchema = object({
29456
29486
  enabled: boolean(),
29457
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29458
- regions: array(PrivacyMaskRegionSchema),
29487
+ /**
29488
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29489
+ *
29490
+ * `null` means "no answer" — the provider has never reached this camera
29491
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29492
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29493
+ * has no zones": those two look identical to an operator right up to the
29494
+ * moment one of them is acted on, and acting on them differs completely.
29495
+ * The switch group turned an unanswered read into *"nothing is set up for
29496
+ * it to act on"* — an instruction to go and draw a zone that already
29497
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29498
+ * from deleting the mask it could not read.
29499
+ *
29500
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29501
+ * has no zones. The distinction is the same one {@link
29502
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29503
+ * microphone, on the very same payload — both planes come from ONE refresh,
29504
+ * so it was never coherent for one of them to be able to say "unknown"
29505
+ * while the other could not.
29506
+ */
29507
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29459
29508
  /**
29460
29509
  * Is the camera capturing sound right now? Read from the camera, never from
29461
29510
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.81",
3
+ "version": "0.2.83",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",