@camstack/addon-provider-rademacher 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
@@ -19731,11 +19731,30 @@ var SensorEventSchema = object({
19731
19731
  value: record(string(), unknown()).nullable(),
19732
19732
  timestamp: number()
19733
19733
  });
19734
+ /**
19735
+ * One stored sighting on a track's trajectory.
19736
+ *
19737
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
19738
+ * arrival order, and the two detector passes interleave, so a consumer must not
19739
+ * assume the two are the same on a row written by an older build.
19740
+ */
19734
19741
  var TrackPositionSchema = object({
19735
19742
  x: number(),
19736
19743
  y: number(),
19737
19744
  timestamp: number(),
19738
- bbox: BoundingBoxSchema
19745
+ bbox: BoundingBoxSchema,
19746
+ /**
19747
+ * Which detector pass measured this box (D399): `frame` is the full-frame
19748
+ * pass on the analysis raster, `recovery` is the native-resolution
19749
+ * small-subject second pass (D377/D378). Both write into one array, and until
19750
+ * this field existed the only way to tell them apart was that full-frame boxes
19751
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
19752
+ * Absent on rows written before D399.
19753
+ */
19754
+ source: _enum(["frame", "recovery"]).optional(),
19755
+ /** Detection score of this box, so a position can be weighed and not only
19756
+ * plotted. Absent on rows written before D399. */
19757
+ score: number().optional()
19739
19758
  });
19740
19759
  var TrackSnapshotSchema = object({
19741
19760
  timestamp: number(),
@@ -20135,14 +20154,25 @@ var TrackSchema = object({
20135
20154
  */
20136
20155
  hasRider: boolean().optional(),
20137
20156
  /**
20138
- * WHY this track ended without a NATIVE best-shot tile
20139
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
20157
+ * WHY this track ended without a NATIVE best-shot FRAME
20158
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
20159
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
20140
20160
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
20141
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
20142
- * the late-keyFrame upgrade when a native tile lands after all. The
20143
- * operator-facing answer to "perché manca l'immagine?" on a track whose
20161
+ * `derive-returned-null tile=standin`,
20162
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
20163
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
20164
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
20144
20165
  * tile is a face/plate stand-in, a raster crop, or an icon.
20145
20166
  *
20167
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
20168
+ * the TILE ranked below native, so a track whose thumbnail landed natively
20169
+ * while its key frame missed carried no reason at all — three of the four
20170
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
20171
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
20172
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
20173
+ * lastFrame copy source`), so its absence is now on this line whatever the
20174
+ * tile ended up being.
20175
+ *
20146
20176
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
20147
20177
  * that predates the field, and every track whose tile landed native all
20148
20178
  * omit it. Render nothing when absent.
@@ -30179,8 +30209,27 @@ var PrivacyMaskRegionSchema = object({
30179
30209
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
30180
30210
  var PrivacyMaskStatusSchema = object({
30181
30211
  enabled: boolean(),
30182
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
30183
- regions: array(PrivacyMaskRegionSchema),
30212
+ /**
30213
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
30214
+ *
30215
+ * `null` means "no answer" — the provider has never reached this camera
30216
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
30217
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
30218
+ * has no zones": those two look identical to an operator right up to the
30219
+ * moment one of them is acted on, and acting on them differs completely.
30220
+ * The switch group turned an unanswered read into *"nothing is set up for
30221
+ * it to act on"* — an instruction to go and draw a zone that already
30222
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
30223
+ * from deleting the mask it could not read.
30224
+ *
30225
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
30226
+ * has no zones. The distinction is the same one {@link
30227
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
30228
+ * microphone, on the very same payload — both planes come from ONE refresh,
30229
+ * so it was never coherent for one of them to be able to say "unknown"
30230
+ * while the other could not.
30231
+ */
30232
+ regions: array(PrivacyMaskRegionSchema).nullable(),
30184
30233
  /**
30185
30234
  * Is the camera capturing sound right now? Read from the camera, never from
30186
30235
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -19730,11 +19730,30 @@ var SensorEventSchema = object({
19730
19730
  value: record(string(), unknown()).nullable(),
19731
19731
  timestamp: number()
19732
19732
  });
19733
+ /**
19734
+ * One stored sighting on a track's trajectory.
19735
+ *
19736
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
19737
+ * arrival order, and the two detector passes interleave, so a consumer must not
19738
+ * assume the two are the same on a row written by an older build.
19739
+ */
19733
19740
  var TrackPositionSchema = object({
19734
19741
  x: number(),
19735
19742
  y: number(),
19736
19743
  timestamp: number(),
19737
- bbox: BoundingBoxSchema
19744
+ bbox: BoundingBoxSchema,
19745
+ /**
19746
+ * Which detector pass measured this box (D399): `frame` is the full-frame
19747
+ * pass on the analysis raster, `recovery` is the native-resolution
19748
+ * small-subject second pass (D377/D378). Both write into one array, and until
19749
+ * this field existed the only way to tell them apart was that full-frame boxes
19750
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
19751
+ * Absent on rows written before D399.
19752
+ */
19753
+ source: _enum(["frame", "recovery"]).optional(),
19754
+ /** Detection score of this box, so a position can be weighed and not only
19755
+ * plotted. Absent on rows written before D399. */
19756
+ score: number().optional()
19738
19757
  });
19739
19758
  var TrackSnapshotSchema = object({
19740
19759
  timestamp: number(),
@@ -20134,14 +20153,25 @@ var TrackSchema = object({
20134
20153
  */
20135
20154
  hasRider: boolean().optional(),
20136
20155
  /**
20137
- * WHY this track ended without a NATIVE best-shot tile
20138
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
20156
+ * WHY this track ended without a NATIVE best-shot FRAME
20157
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
20158
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
20139
20159
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
20140
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
20141
- * the late-keyFrame upgrade when a native tile lands after all. The
20142
- * operator-facing answer to "perché manca l'immagine?" on a track whose
20160
+ * `derive-returned-null tile=standin`,
20161
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
20162
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
20163
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
20143
20164
  * tile is a face/plate stand-in, a raster crop, or an icon.
20144
20165
  *
20166
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
20167
+ * the TILE ranked below native, so a track whose thumbnail landed natively
20168
+ * while its key frame missed carried no reason at all — three of the four
20169
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
20170
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
20171
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
20172
+ * lastFrame copy source`), so its absence is now on this line whatever the
20173
+ * tile ended up being.
20174
+ *
20145
20175
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
20146
20176
  * that predates the field, and every track whose tile landed native all
20147
20177
  * omit it. Render nothing when absent.
@@ -30178,8 +30208,27 @@ var PrivacyMaskRegionSchema = object({
30178
30208
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
30179
30209
  var PrivacyMaskStatusSchema = object({
30180
30210
  enabled: boolean(),
30181
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
30182
- regions: array(PrivacyMaskRegionSchema),
30211
+ /**
30212
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
30213
+ *
30214
+ * `null` means "no answer" — the provider has never reached this camera
30215
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
30216
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
30217
+ * has no zones": those two look identical to an operator right up to the
30218
+ * moment one of them is acted on, and acting on them differs completely.
30219
+ * The switch group turned an unanswered read into *"nothing is set up for
30220
+ * it to act on"* — an instruction to go and draw a zone that already
30221
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
30222
+ * from deleting the mask it could not read.
30223
+ *
30224
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
30225
+ * has no zones. The distinction is the same one {@link
30226
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
30227
+ * microphone, on the very same payload — both planes come from ONE refresh,
30228
+ * so it was never coherent for one of them to be able to say "unknown"
30229
+ * while the other could not.
30230
+ */
30231
+ regions: array(PrivacyMaskRegionSchema).nullable(),
30183
30232
  /**
30184
30233
  * Is the camera capturing sound right now? Read from the camera, never from
30185
30234
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.81",
3
+ "version": "0.2.83",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",