@camstack/addon-provider-dreo 0.2.82 → 0.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/addon.js CHANGED
@@ -18799,11 +18799,30 @@ var SensorEventSchema = object({
18799
18799
  value: record(string(), unknown()).nullable(),
18800
18800
  timestamp: number()
18801
18801
  });
18802
+ /**
18803
+ * One stored sighting on a track's trajectory.
18804
+ *
18805
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18806
+ * arrival order, and the two detector passes interleave, so a consumer must not
18807
+ * assume the two are the same on a row written by an older build.
18808
+ */
18802
18809
  var TrackPositionSchema = object({
18803
18810
  x: number(),
18804
18811
  y: number(),
18805
18812
  timestamp: number(),
18806
- bbox: BoundingBoxSchema
18813
+ bbox: BoundingBoxSchema,
18814
+ /**
18815
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18816
+ * pass on the analysis raster, `recovery` is the native-resolution
18817
+ * small-subject second pass (D377/D378). Both write into one array, and until
18818
+ * this field existed the only way to tell them apart was that full-frame boxes
18819
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18820
+ * Absent on rows written before D399.
18821
+ */
18822
+ source: _enum(["frame", "recovery"]).optional(),
18823
+ /** Detection score of this box, so a position can be weighed and not only
18824
+ * plotted. Absent on rows written before D399. */
18825
+ score: number().optional()
18807
18826
  });
18808
18827
  var TrackSnapshotSchema = object({
18809
18828
  timestamp: number(),
@@ -19203,14 +19222,25 @@ var TrackSchema = object({
19203
19222
  */
19204
19223
  hasRider: boolean().optional(),
19205
19224
  /**
19206
- * WHY this track ended without a NATIVE best-shot tile
19207
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19225
+ * WHY this track ended without a NATIVE best-shot FRAME
19226
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19227
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19208
19228
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19209
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19210
- * the late-keyFrame upgrade when a native tile lands after all. The
19211
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19229
+ * `derive-returned-null tile=standin`,
19230
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19231
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19232
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19212
19233
  * tile is a face/plate stand-in, a raster crop, or an icon.
19213
19234
  *
19235
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19236
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19237
+ * while its key frame missed carried no reason at all — three of the four
19238
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19239
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19240
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19241
+ * lastFrame copy source`), so its absence is now on this line whatever the
19242
+ * tile ended up being.
19243
+ *
19214
19244
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19215
19245
  * that predates the field, and every track whose tile landed native all
19216
19246
  * omit it. Render nothing when absent.
@@ -29255,8 +29285,27 @@ var PrivacyMaskRegionSchema = object({
29255
29285
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29256
29286
  var PrivacyMaskStatusSchema = object({
29257
29287
  enabled: boolean(),
29258
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29259
- regions: array(PrivacyMaskRegionSchema),
29288
+ /**
29289
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29290
+ *
29291
+ * `null` means "no answer" — the provider has never reached this camera
29292
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29293
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29294
+ * has no zones": those two look identical to an operator right up to the
29295
+ * moment one of them is acted on, and acting on them differs completely.
29296
+ * The switch group turned an unanswered read into *"nothing is set up for
29297
+ * it to act on"* — an instruction to go and draw a zone that already
29298
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29299
+ * from deleting the mask it could not read.
29300
+ *
29301
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29302
+ * has no zones. The distinction is the same one {@link
29303
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29304
+ * microphone, on the very same payload — both planes come from ONE refresh,
29305
+ * so it was never coherent for one of them to be able to say "unknown"
29306
+ * while the other could not.
29307
+ */
29308
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29260
29309
  /**
29261
29310
  * Is the camera capturing sound right now? Read from the camera, never from
29262
29311
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -18800,11 +18800,30 @@ var SensorEventSchema = object({
18800
18800
  value: record(string(), unknown()).nullable(),
18801
18801
  timestamp: number()
18802
18802
  });
18803
+ /**
18804
+ * One stored sighting on a track's trajectory.
18805
+ *
18806
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18807
+ * arrival order, and the two detector passes interleave, so a consumer must not
18808
+ * assume the two are the same on a row written by an older build.
18809
+ */
18803
18810
  var TrackPositionSchema = object({
18804
18811
  x: number(),
18805
18812
  y: number(),
18806
18813
  timestamp: number(),
18807
- bbox: BoundingBoxSchema
18814
+ bbox: BoundingBoxSchema,
18815
+ /**
18816
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18817
+ * pass on the analysis raster, `recovery` is the native-resolution
18818
+ * small-subject second pass (D377/D378). Both write into one array, and until
18819
+ * this field existed the only way to tell them apart was that full-frame boxes
18820
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18821
+ * Absent on rows written before D399.
18822
+ */
18823
+ source: _enum(["frame", "recovery"]).optional(),
18824
+ /** Detection score of this box, so a position can be weighed and not only
18825
+ * plotted. Absent on rows written before D399. */
18826
+ score: number().optional()
18808
18827
  });
18809
18828
  var TrackSnapshotSchema = object({
18810
18829
  timestamp: number(),
@@ -19204,14 +19223,25 @@ var TrackSchema = object({
19204
19223
  */
19205
19224
  hasRider: boolean().optional(),
19206
19225
  /**
19207
- * WHY this track ended without a NATIVE best-shot tile
19208
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19226
+ * WHY this track ended without a NATIVE best-shot FRAME
19227
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19228
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19209
19229
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19210
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19211
- * the late-keyFrame upgrade when a native tile lands after all. The
19212
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19230
+ * `derive-returned-null tile=standin`,
19231
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19232
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19233
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19213
19234
  * tile is a face/plate stand-in, a raster crop, or an icon.
19214
19235
  *
19236
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19237
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19238
+ * while its key frame missed carried no reason at all — three of the four
19239
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19240
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19241
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19242
+ * lastFrame copy source`), so its absence is now on this line whatever the
19243
+ * tile ended up being.
19244
+ *
19215
19245
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19216
19246
  * that predates the field, and every track whose tile landed native all
19217
19247
  * omit it. Render nothing when absent.
@@ -29256,8 +29286,27 @@ var PrivacyMaskRegionSchema = object({
29256
29286
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29257
29287
  var PrivacyMaskStatusSchema = object({
29258
29288
  enabled: boolean(),
29259
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29260
- regions: array(PrivacyMaskRegionSchema),
29289
+ /**
29290
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29291
+ *
29292
+ * `null` means "no answer" — the provider has never reached this camera
29293
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29294
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29295
+ * has no zones": those two look identical to an operator right up to the
29296
+ * moment one of them is acted on, and acting on them differs completely.
29297
+ * The switch group turned an unanswered read into *"nothing is set up for
29298
+ * it to act on"* — an instruction to go and draw a zone that already
29299
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29300
+ * from deleting the mask it could not read.
29301
+ *
29302
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29303
+ * has no zones. The distinction is the same one {@link
29304
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29305
+ * microphone, on the very same payload — both planes come from ONE refresh,
29306
+ * so it was never coherent for one of them to be able to say "unknown"
29307
+ * while the other could not.
29308
+ */
29309
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29261
29310
  /**
29262
29311
  * Is the camera capturing sound right now? Read from the camera, never from
29263
29312
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreo",
3
- "version": "0.2.82",
3
+ "version": "0.2.84",
4
4
  "description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
5
5
  "keywords": [
6
6
  "camstack",